Function at 0x42c590
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetUpdateRect
test eax, eax
je 0x42c5b0
jmp 0x42c5b5
jmp 0x42c845
mov eax, dword [ebp - 4]
mov byte [eax + 0xdc], 1
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xb9]
mov byte [ebp - 0x3c], al
cmp byte [ebp - 0x3c], 0
jne 0x42c5d3
jmp 0x42c5e4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetClientRect
jmp 0x42c608
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x10]
neg eax
push eax
mov eax, dword [ebp - 0x14]
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetDC
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x42c630
jmp 0x42c64b
lea ecx, [ebp - 0x44]
mov edx, 0x42d310
mov eax, dword [ebp - 4]
call fcn.0042d340
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.0042d370
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd4]
cmp eax, dword [ebp - 0xc]
jl 0x42c691
jmp 0x42c65b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd8]
cmp eax, dword [ebp - 8]
jl 0x42c691
jmp 0x42c66b
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, 0x20
cmp eax, dword [edx + 0xd4]
jl 0x42c691
jmp 0x42c67e
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add edx, 0x20
cmp edx, dword [eax + 0xd8]
jl 0x42c691
jmp 0x42c6bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd0]
test eax, eax
jne 0x42c6a0
jmp 0x42c6bb
mov eax, dword [ebp - 4]
push dword [eax + 0xd0]
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
mov dword [eax + 0xd0], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x42c6ca
jmp 0x42c6f9
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x28]
call sub.gdi32.dll_CreateCompatibleBitmap
mov edx, dword [ebp - 4]
mov dword [edx + 0xd0], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xd4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xd8], edx
mov eax, dword [ebp - 4]
push dword [eax + 0xd0]
push dword [ebp - 0x2c]
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0xcc], edx
cmp byte [ebp - 0x3c], 0
jne 0x42c72d
jmp 0x42c762
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetClientRect
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_ClientToScreen
push 0xc
push dword [ebp - 0x2c]
push 0x317
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_SendMessageA
jmp 0x42c771
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
lea ecx, [ebp - 0x24]
mov dl, byte [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
call fcn.0042d3e0
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.0042d570
cmp byte [ebp - 0x3c], 0
jne 0x42c7a9
jmp 0x42c7d3
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x10], eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x2c]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x30]
call sub.gdi32.dll_BitBlt
push dword [ebp - 0x30]
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_ReleaseDC
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
call sub.gdi32.dll_SelectObject
push dword [ebp - 0x2c]
call sub.gdi32.dll_DeleteDC
push dword [ebp - 0x28]
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0xcc], edx
push 0
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_ValidateRect
mov eax, dword [ebp - 4]
mov byte [eax + 0xdc], 0
leave
ret