Function at 0x4069c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x564490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [esi + 0x20]
push ecx
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00409121
mov edi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x54], edi
call fcn.00408c39
xor eax, eax
mov dword [ebp - 4], eax
cmp edi, eax
je 0x406a1f
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409135
lea ecx, [ebp - 0x50]
call fcn.00408c39
mov byte [ebp - 4], 1
test edi, edi
je 0x406a42
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x50]
call fcn.00409135
test ebx, ebx
jne 0x406a5a
xor eax, eax
jmp 0x406a5d
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x4c]
push eax
push edx
call fcn.0040949a
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x74]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x70]
cdq
idiv dword [ebp + 0x14]
mov ebx, dword [ebp - 0x6c]
lea edx, [ebp - 0x20]
push edx
mov edi, eax
imul edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x24]
call fcn.00409463
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00409409
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x406adf
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040949a
mov edx, dword [ebp - 0x4c]
mov ecx, dword [esi + 0xa8]
push 0xcc0020
push 0
push edi
push edx
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xa0]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x406b3a
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.004091b6
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004091b6
xor al, al
jmp 0x406e2d
mov eax, dword [esi + 0xa4]
mov edx, dword [ebp - 0x14]
push 0xcc0020
mov ecx, ebx
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x4c]
push edi
push ecx
push eax
sub edx, eax
mov eax, dword [esi + 0xa8]
push eax
push edx
mov edx, dword [ebp - 0x3c]
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x406b18
mov ecx, dword [esi + 0xac]
mov edx, dword [ebp - 0x18]
push 0xcc0020
push 0
mov eax, edi
sub eax, ecx
add eax, dword [ebp - 0x2c]
sub edx, ecx
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [esi + 0xa0]
push eax
push ecx
mov ecx, dword [ebp - 0x3c]
push 0
push edx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x406b18
mov ecx, dword [esi + 0xa4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x24], eax
sub edx, ecx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [esi + 0xac]
push 0xcc0020
mov eax, edi
sub eax, dword [esi + 0xac]
mov dword [ebp - 0x28], edx
add eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [esi + 0xa4]
push eax
mov eax, dword [esi + 0xac]
push eax
mov eax, dword [ebp - 0x3c]
push edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x406b18
mov ecx, dword [esi + 0xa4]
mov edx, dword [esi + 0xac]
mov eax, ebx
sub eax, ecx
sub eax, dword [esi + 0xa0]
push 0xcc0020
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
sub eax, edx
sub eax, dword [esi + 0xa8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
sub eax, dword [esi + 0xa0]
sub ecx, edx
mov edx, dword [ebp - 0x28]
sub eax, dword [ebp - 0x1c]
sub ecx, dword [esi + 0xa8]
push edx
mov edx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
push edx
mov edx, dword [esi + 0xa0]
push edx
mov edx, dword [esi + 0xa8]
add edx, edi
push edx
mov edx, dword [ebp - 0x4c]
push edx
push eax
mov eax, dword [esi + 0xa0]
push ecx
push eax
mov eax, dword [esi + 0xa8]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esi + 0xac]
mov ecx, dword [esi + 0xa8]
mov eax, dword [ebp - 0x2c]
sub eax, edx
sub eax, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
push 0xcc0020
sub eax, edx
mov edx, dword [esi + 0xa0]
push edx
mov edx, dword [ebp - 0x28]
push edx
push 0
lea edx, [ecx + edi]
push edx
mov edx, dword [ebp - 0x4c]
push edx
mov edx, dword [esi + 0xa0]
sub eax, ecx
sub eax, dword [ebp - 0x20]
push edx
push eax
mov eax, dword [ebp - 0x3c]
push 0
push ecx
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esi + 0xac]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 0xa4]
sub eax, edx
sub eax, dword [esi + 0xa8]
mov dword [ebp - 0x28], eax
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
sub eax, edx
sub eax, dword [esi + 0xa8]
mov edx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x20]
push 0xcc0020
sub edx, ecx
push ecx
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x24]
push edx
mov edx, dword [esi + 0xa8]
add edx, edi
push edx
mov edx, dword [ebp - 0x4c]
push edx
push ecx
mov ecx, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [esi + 0xa8]
push eax
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esi + 0xa4]
mov eax, dword [esi + 0xa0]
mov ecx, ebx
sub ecx, edx
sub ecx, eax
push 0xcc0020
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, edx
mov edx, dword [ebp - 0x30]
push edx
mov edx, dword [esi + 0xa8]
push edx
mov edx, dword [ebp - 0x4c]
push eax
push edi
push edx
sub ecx, eax
push ecx
mov ecx, dword [esi + 0xa8]
push ecx
push eax
mov eax, dword [ebp - 0x3c]
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esi + 0xa4]
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0xac]
push 0xcc0020
sub ebx, edx
sub ebx, eax
sub edi, ecx
add edi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x30]
mov ebx, edi
mov edi, dword [ebp - 0x14]
push ecx
push eax
push ebx
mov ebx, dword [ebp - 0x4c]
sub edi, edx
mov edx, dword [ebp - 0x18]
push ebx
sub edi, eax
push edi
push ecx
sub edx, ecx
mov ecx, dword [ebp - 0x3c]
push eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x50]
call fcn.00406620
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406620
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_ReleaseDC]
push edx
push eax
call edi
mov ecx, dword [ebp - 0x4c]
mov edx, dword [esi + 0x20]
push ecx
push edx
call edi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call edi
lea ecx, [ebp - 0x50]
mov dword [esi + 0x74], 1
mov byte [ebp - 4], 0
call fcn.004091b6
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004091b6
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa7f1
mov esp, ebp
pop ebp
ret 0x10