Function at 0x419d00
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
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 0x419d20
jmp 0x419d25
jmp 0x41a029
mov eax, dword [ebp - 4]
mov byte [eax + 0xdc], 1
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xb9]
mov byte [ebp - 0x48], al
cmp byte [ebp - 0x48], 0
jne 0x419d43
jmp 0x419d54
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetClientRect
jmp 0x419d78
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 - 0x18], eax
push dword [ebp - 0x18]
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x419da0
jmp 0x419dbb
lea ecx, [ebp - 0x54]
mov edx, 0x41a260
mov eax, dword [ebp - 4]
call fcn.0041a290
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0041a2c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd4]
cmp eax, dword [ebp - 0xc]
jl 0x419e01
jmp 0x419dcb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd8]
cmp eax, dword [ebp - 8]
jl 0x419e01
jmp 0x419ddb
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add edx, 0x20
cmp edx, dword [eax + 0xd4]
jl 0x419e01
jmp 0x419dee
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add edx, 0x20
cmp edx, dword [eax + 0xd8]
jl 0x419e01
jmp 0x419e2b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd0]
test eax, eax
jne 0x419e10
jmp 0x419e2b
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 0x419e3a
jmp 0x419e69
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x18]
call sub.gdi32.dll_CreateCompatibleBitmap
mov edx, dword [ebp - 4]
mov dword [edx + 0xd0], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0xd4], eax
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 - 0x1c]
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0xcc], edx
cmp byte [ebp - 0x48], 0
jne 0x419ea0
jmp 0x419f20
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetClientRect
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_ClientToScreen
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_OffsetRect
push 0
push dword [ebp - 0x1c]
push 0x14
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_SendMessageA
push 0
push dword [ebp - 0x1c]
push 0xf
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_SendMessageA
push 5
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetWindow
push eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0041a330
jmp 0x419f46
lea eax, [ebp - 0x34]
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 - 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0041a330
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.0041a4b0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
cmp byte [ebp - 0x48], 0
jne 0x419f78
jmp 0x419fb7
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_GetClientRect
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
call sub.gdi32.dll_BitBlt
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_ReleaseDC
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call sub.gdi32.dll_SelectObject
push dword [ebp - 0x1c]
call sub.gdi32.dll_DeleteDC
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.user32.dll_ReleaseDC
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0xcc], eax
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