Function at 0x539b70
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x539d8c
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x539d82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x28], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x28]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ReleaseDC
mov dl, 1
mov eax, dword [0x428d50]
call fcn.0042eee8
mov dword [ebp - 0x2c], eax
mov dl, 6
mov eax, dword [ebp - 0x2c]
call fcn.004304c0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
call fcn.0043011c
mov dl, 1
mov eax, dword [0x41b914]
call fcn.0040350c
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x38]
call fcn.0040353c
mov dl, 1
mov eax, dword [0x428d50]
call fcn.0042eee8
mov dword [ebp - 0x30], eax
mov dl, 5
mov eax, dword [ebp - 0x30]
call fcn.004304c0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dl, 7
mov eax, dword [ebp - 0x30]
call fcn.004304c0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x539d6a
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0042f620
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
test eax, eax
jl 0x539d5e
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], 0
push 0x64
push 0x46
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub byte [edx + ecx*4], al
push 0x64
push 0x46
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 1]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub byte [edx + ecx*4 + 1], al
push 0x64
push 0x46
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 2]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub byte [edx + ecx*4 + 2], al
inc dword [ebp - 0x18]
dec dword [ebp - 0x40]
jne 0x539cfb
inc dword [ebp - 0x14]
dec dword [ebp - 0x3c]
jne 0x539cd5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
call fcn.0040353c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x539d8c
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret