Function at 0x4047d0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x41ce70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0041997e
mov edi, eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], edi
call fcn.004198dc
test edi, edi
mov dword [esp + 0x6c], 0
jne 0x40481d
xor eax, eax
jmp 0x404820
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x40]
call fcn.00419993
lea ecx, [esp + 0x1c]
call fcn.004198dc
test edi, edi
mov byte [esp + 0x6c], 1
je 0x404848
mov edi, dword [edi + 4]
push edi
call ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00419993
mov edi, dword [esp + 0x74]
test edi, edi
jne 0x404861
xor eax, eax
jmp 0x404864
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00419abe
lea edx, [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
cdq
idiv dword [esp + 0x80]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov edi, eax
mov dword [esp + 0x7c], eax
imul edi, dword [esp + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x78]
mov ecx, ebx
call fcn.00419fe4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x14]
sub ecx, edx
push ecx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.00419f8d
test ebx, ebx
je 0x4048ef
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x40]
push ebx
push edx
call fcn.00419abe
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x70]
lea eax, [esp + 0x1c]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, ebx
push edi
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x404a47
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x38]
mov edx, ebp
lea eax, [esp + 0x1c]
sub edx, ecx
sub ebx, ecx
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x24]
push edx
push edi
push eax
mov eax, dword [esi + 0x70]
push ecx
mov ecx, dword [esp + 0x54]
push eax
push ebx
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x404a47
mov edx, dword [esi + 0x74]
mov ebx, dword [esp + 0x74]
mov ecx, edi
lea eax, [esp + 0x1c]
sub ecx, edx
push 0xcc0020
add ecx, ebx
mov ebx, dword [esp + 0x38]
sub ebx, edx
push 0
neg eax
sbb eax, eax
push ecx
and eax, dword [esp + 0x2c]
push eax
mov eax, dword [esi + 0x68]
push eax
push edx
mov edx, dword [esp + 0x58]
push 0
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x4049d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], al
call fcn.004199fb
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004199fb
xor al, al
jmp 0x404d07
mov edx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x74]
mov eax, ebp
mov ecx, edi
sub eax, edx
push 0xcc0020
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x74]
sub ecx, eax
add ecx, ebx
mov ebx, dword [esp + 0x3c]
sub ebx, edx
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x38]
sub ebx, eax
lea eax, [esp + 0x20]
neg eax
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x24]
sbb eax, eax
and eax, ebx
mov ebx, dword [esp + 0x84]
push ebx
push ecx
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [esi + 0x74]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x94]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x404a6d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0
call fcn.004199fb
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004199fb
xor al, al
jmp 0x404d07
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x74]
mov ebx, ebp
mov edx, dword [esi + 0x68]
sub ebx, eax
mov eax, dword [esi + 0x74]
sub ecx, eax
mov eax, dword [esi + 0x70]
sub ecx, eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, dword [esi + 0x74]
sub ebx, edx
sub ecx, edx
mov edx, dword [esp + 0x30]
push 0xcc0020
sub ecx, edx
mov edx, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esi + 0x70]
sub edx, eax
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x88]
sub edx, eax
lea eax, [esp + 0x24]
push ebx
mov ebx, dword [esi + 0x68]
neg eax
push ebx
mov ebx, dword [esi + 0x70]
sbb eax, eax
add ebx, edi
and eax, dword [esp + 0x30]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_StretchBlt]
push eax
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
mov eax, dword [esi + 0x70]
push eax
mov eax, dword [esp + 0x68]
push eax
call ebx
mov ecx, dword [esi + 0x74]
mov eax, dword [esp + 0x74]
mov edx, dword [esi + 0x70]
sub eax, ecx
mov ecx, dword [esp + 0x34]
sub eax, edx
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x74]
sub ecx, eax
mov eax, dword [esp + 0x2c]
sub ecx, edx
mov edx, dword [esp + 0x20]
sub ecx, eax
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esi + 0x68]
push edx
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [esi + 0x70]
add edx, edi
push 0
push edx
push eax
mov eax, dword [esi + 0x68]
push eax
mov eax, dword [esi + 0x70]
push ecx
push 0
push eax
mov eax, dword [esp + 0x68]
push eax
call ebx
mov ecx, dword [esi + 0x74]
mov eax, dword [esp + 0x74]
mov edx, dword [esi + 0x6c]
sub eax, ecx
mov ecx, dword [esi + 0x70]
push 0xcc0020
sub eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov eax, ebp
sub eax, edx
push edx
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x74]
sub ecx, eax
mov eax, dword [esi + 0x70]
sub ecx, eax
mov eax, dword [esp + 0x34]
sub ecx, eax
mov eax, dword [esp + 0x40]
sub eax, edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x88]
neg eax
push edx
mov edx, dword [esi + 0x70]
sbb eax, eax
add edx, edi
and eax, dword [esp + 0x30]
push edx
push eax
mov eax, dword [esi + 0x6c]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esi + 0x70]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
mov eax, ebp
push 0xcc0020
sub eax, edx
sub eax, ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
sub eax, edx
mov edx, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x80], eax
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esi + 0x70]
push edx
push ecx
push edi
push eax
mov eax, dword [esp + 0x94]
push eax
push edx
push ecx
mov ecx, dword [esp + 0x64]
push 0
push ecx
call ebx
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
sub ebp, eax
mov edx, dword [esi + 0x74]
sub ebp, ecx
sub edi, edx
push 0xcc0020
add edi, dword [esp + 0x78]
push ebp
push edx
push ecx
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x48]
sub edi, eax
mov eax, dword [esp + 0x44]
sub eax, edx
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x2c]
sub edi, ecx
push ebp
neg eax
sbb eax, eax
and eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x58]
push edi
push edx
mov edx, dword [esp + 0xa0]
push ecx
push edx
push eax
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x404c94
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00419abe
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404caa
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x40]
push eax
push edx
call fcn.00419abe
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [eax + 4]
push ecx
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call edi
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x1c]
push edx
push eax
call edi
lea ecx, [esp + 0x1c]
mov dword [esi + 0x3c], 1
mov byte [esp + 0x6c], 0
call fcn.004199fb
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004199fb
mov al, 1
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10