Function at 0x43329f
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4332cc
mov eax, dword [0x510d40]
cmp eax, esi
je 0x4334e5
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [0x510d40], esi
jmp 0x4334e5
cmp dword [0x510d40], esi
jne 0x4334b5
push dword [0x50e67c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4334b5
mov eax, dword [0x4a5ad4]
cmp eax, 0x1e0
push ebx
push edi
jl 0x433305
push 8
call fcn.0042d264
mov ebx, eax
jmp 0x433343
cmp eax, 0x180
jl 0x433310
push 0x20
jmp 0x43332f
cmp eax, 0x120
jl 0x43331b
push 0x18
jmp 0x43332f
cmp eax, 0xc0
jl 0x433326
push 0x10
jmp 0x43332f
cmp eax, 0xa8
jl 0x433332
push 0xe
pop ebx
jmp 0x433343
xor ebx, ebx
cmp eax, 0x90
setge bl
lea ebx, [ebx*4 + 8]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push esi
mov dword [0x510d3c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
mov eax, dword [0x510d3c]
push eax
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [0x510d3c]
mov dword [0x510d38], esi
sub eax, dword [ebp - 0x1c]
mov dword [0x510d34], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
mov dword [0x510d40], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x8000
push ebx
push ebx
push 1
push 0xbe
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0xc], eax
mov eax, dword [0x510d3c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
cmp dword [0x50e660], esi
je 0x4333f3
mov eax, dword [0x4a5af0]
jmp 0x4333fb
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
lea eax, [ebp - 0x2c]
push eax
push dword [0x510d40]
call dword [sym.imp.USER32.dll_FillRect]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push 1
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 5
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [0x510d3c]
push 3
push esi
push esi
sub ecx, ebx
push ebx
lea eax, [ecx + 1]
cdq
push ebx
push dword [ebp - 0xc]
sub eax, edx
sar eax, 1
push eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push dword [0x510d40]
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [ebp - 8]
call edi
push dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x510d3c]
mov ecx, dword [0x510d34]
mov edx, dword [0x510d38]
lea edi, [ecx + eax]
mov dword [0x510c30], edi
lea edi, [edx + eax]
mov dword [0x510c34], edi
pop edi
mov dword [0x510c28], ecx
mov dword [0x510c2c], edx
mov dword [0x510c38], eax
pop ebx
jmp 0x4334c6
mov edx, dword [0x510d38]
mov ecx, dword [0x510d34]
mov eax, dword [0x510d3c]
push 0xcc0020
push esi
push esi
push dword [0x510d40]
lea esi, [edx + eax]
push esi
add eax, ecx
push eax
push edx
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
pop esi
leave
ret 8