Function at 0x40f5d0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4387a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00411d80
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004321c4
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.00431db2
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
call fcn.00431db2
cmp word [esi + 0x130], 0
mov byte [esp + 0x40], 2
je 0x40f812
cmp word [esi + 0x132], 0
je 0x40f812
cmp word [esi + 0x134], 0
je 0x40f812
mov ebp, dword [esp + 0x4c]
test ebp, ebp
je 0x40f812
push edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
call fcn.00432526
push ebx
lea ecx, [esp + 0x30]
call fcn.00407020
push ebx
lea ecx, [esp + 0x20]
call fcn.00407020
push ebp
lea ecx, [esp + 0x18]
call fcn.00411db0
lea ecx, [esp + 0x14]
call fcn.00411fc0
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.00411ff0
mov ecx, dword [esi + 0x138]
push ecx
mov ecx, esi
mov dword [esp + 0x54], eax
call fcn.0040f560
push ebp
push eax
push ebx
mov ecx, edi
mov dword [esi + 0x138], eax
call fcn.00406f30
push edi
lea ecx, [esp + 0x30]
call fcn.00407060
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.00407060
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push 0xcc0020
push 0
push 0
push ecx
mov dword [esp + 0x5c], eax
movzx eax, word [esi + 0x130]
push ebp
push eax
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
movzx edi, word [esi + 0x130]
movzx eax, word [esi + 0x132]
jmp 0x40f720
movzx ecx, word [esi + 0x130]
mov edx, dword [esp + 0x30]
push 0xcc0020
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
push eax
push 0
push edi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
movzx ecx, word [esi + 0x134]
movzx eax, word [esi + 0x132]
mov edx, dword [esi + 0x138]
sub edx, ecx
add edi, eax
inc edx
cmp edi, edx
jl 0x40f720
movzx eax, word [esi + 0x134]
mov ecx, dword [esp + 0x50]
movzx edx, word [esi + 0x132]
push 0xcc0020
push 0
sub ecx, eax
push ecx
lea ecx, [esp + 0x28]
push ecx
push ebp
push eax
push 0
sub edi, edx
push edi
lea ecx, [esp + 0x4c]
call fcn.004070e0
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.00407060
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.00407060
lea ecx, [esp + 0x1c]
call fcn.0043223a
lea ecx, [esp + 0x2c]
call fcn.0043223a
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 1
call fcn.00432250
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 0
call fcn.00432250
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call fcn.00412020
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 8
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
call fcn.00432250
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 0
call fcn.00432250
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.00412020
mov ecx, dword [esp + 0x38]
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8