Function at 0x450f98
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5a1574]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov esi, ecx
push eax
push dword [esi + 0x2c]
mov dword [ebp - 0x60], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp dword [esi + 0x3c], eax
jne 0x450ff2
cmp byte [esi + 0x48], bl
jne 0x450ff2
cmp byte [esi + 0x49], bl
je 0x4511fb
cmp dword [esi + 0x30], ebx
je 0x4511fb
cmp dword [esi + 0x34], ebx
je 0x4511fb
mov byte [esi + 0x48], bl
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x44], ebx
jne 0x4510ca
xor eax, eax
lea edi, [ebp - 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
lea edi, [ebp - 0x88]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebp - 0x88]
push eax
push dword [esi + 0x2c]
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esi + 0x44]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x2c]
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x84]
push 0xcc0020
push ecx
mov ecx, dword [ebp - 0x78]
sub ecx, dword [ebp - 0x88]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push ecx
push eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push eax
push ebx
push ebx
push dword [esi + 0x44]
call edi
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4510d0
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push dword [esi + 0x40]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esi + 0x40]
mov dword [ebp - 0x68], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push 0xcc0020
push ebx
push ebx
push dword [esi + 0x44]
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push eax
push ebx
push ebx
push dword [esi + 0x40]
call edi
push 0xfffffffffffffff0
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x8000000
jne 0x4511f0
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x34]
mov ecx, esi
push dword [esi + 0x40]
push dword [ebp - 0x48]
call fcn.00450a78
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push 0xcc0020
push ebx
push ebx
push dword [esi + 0x40]
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push eax
push ebx
push ebx
push dword [ebp - 0x5c]
call edi
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x30]
mov ecx, esi
push dword [ebp - 0x5c]
push dword [ebp - 0x48]
call fcn.00450a78
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push 0x64
imul eax, dword [esi + 0x38]
pop ecx
cdq
idiv ecx
push eax
push ebx
push ebx
push dword [esi + 0x40]
call edi
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x451201
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push 0xcc0020
push ebx
push ebx
push dword [esi + 0x40]
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push eax
push ebx
push ebx
push dword [ebp - 0x48]
call edi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00516d58
leave
ret 4