Function at 0x43ecf0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
cmp dword [ebp - 4], 0
je 0x43eef2
cmp dword [ebp - 8], 0
je 0x43eef2
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
call sub.user32.dll_GetDC
mov esi, eax
test esi, esi
je 0x43eef2
push 0x43ef00
mov eax, dword [0x471658]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x43ed67
call sub.user32.dll_GetDesktopWindow
push eax
call dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
jmp 0x43ed6e
mov dword [ebp - 0x1c], 0x60
push 0x26
push esi
call sub.gdi32.dll_GetDeviceCaps
and eax, 0x100
cmp eax, 0x100
jne 0x43edd3
mov eax, 0x404
call fcn.00402a48
mov edi, eax
mov eax, edi
xor ecx, ecx
mov edx, 0x404
call fcn.004030fc
mov word [edi], 0x300
lea eax, [edi + 4]
push eax
push pe_nt_image_headers32
push 0
push esi
call sub.gdi32.dll_GetSystemPaletteEntries
mov word [edi + 2], ax
cmp word [edi + 2], 0
je 0x43edcc
push edi
call sub.gdi32.dll_CreatePalette
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, edi
call fcn.00402a78
mov eax, dword [ebp - 4]
imul dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fdiv dword [0x43ef10]
call fcn.00402eb8
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 8]
imul dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fdiv dword [0x43ef10]
call fcn.00402eb8
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push esi
call sub.gdi32.dll_CreateCompatibleDC
mov edi, eax
test edi, edi
jne 0x43ee2c
push esi
push 0
call sub.user32.dll_ReleaseDC
jmp 0x43eef2
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43ee5e
push edi
call sub.gdi32.dll_DeleteDC
push esi
push 0
call sub.user32.dll_ReleaseDC
jmp 0x43eef2
mov eax, dword [ebp - 0x18]
push eax
push edi
call sub.gdi32.dll_SelectObject
cmp byte [ebp + 8], 0
je 0x43ee9c
push 0xcc0020
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push esi
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_StretchBlt
jmp 0x43eec0
push 0xcc0020
push 0
push 0
push esi
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x11]
push eax
call sub.user32.dll_GetCursorPos
lea edx, [ebp - 0x11]
mov eax, edi
call fcn.0043eca8
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00438a64
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_DeleteObject
push esi
push 0
call sub.user32.dll_ReleaseDC
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8