Function at 0x4132f0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4165b0
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 + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov edi, eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], edi
call sub.MFC42.DLL_CDC::CDC
test edi, edi
mov dword [esp + 0x6c], 0
jne 0x41333d
xor eax, eax
jmp 0x413340
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::Attach
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::CDC
test edi, edi
mov byte [esp + 0x6c], 1
je 0x413368
mov edi, dword [edi + 4]
push edi
call ebx
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CDC::Attach
mov edi, dword [esp + 0x74]
test edi, edi
jne 0x413381
xor eax, eax
jmp 0x413384
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
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 + 0x20]
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 sub.MFC42.DLL_CGdiObject::DeleteObject
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 sub.MFC42.DLL_CGdiObject::Attach
test ebx, ebx
je 0x41340f
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x40]
push ebx
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x74]
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 0x413567
mov ecx, dword [esi + 0x70]
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 + 0x74]
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 0x413567
mov edx, dword [esi + 0x78]
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 + 0x6c]
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 0x4134f4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], al
call fcn.004143aa
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004143aa
xor al, al
jmp 0x413827
mov edx, dword [esi + 0x70]
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 + 0x78]
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 + 0x78]
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 0x41358d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0
call fcn.004143aa
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004143aa
xor al, al
jmp 0x413827
mov eax, dword [esi + 0x70]
mov ecx, dword [esp + 0x74]
mov ebx, ebp
mov edx, dword [esi + 0x6c]
sub ebx, eax
mov eax, dword [esi + 0x78]
sub ecx, eax
mov eax, dword [esi + 0x74]
sub ecx, eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, dword [esi + 0x78]
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 + 0x74]
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 + 0x6c]
neg eax
push ebx
mov ebx, dword [esi + 0x74]
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 + 0x6c]
push ecx
push edx
push eax
mov eax, dword [esi + 0x74]
push eax
mov eax, dword [esp + 0x68]
push eax
call ebx
mov ecx, dword [esi + 0x78]
mov eax, dword [esp + 0x74]
mov edx, dword [esi + 0x74]
sub eax, ecx
mov ecx, dword [esp + 0x34]
sub eax, edx
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x78]
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 + 0x6c]
push edx
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [esi + 0x74]
add edx, edi
push 0
push edx
push eax
mov eax, dword [esi + 0x6c]
push eax
mov eax, dword [esi + 0x74]
push ecx
push 0
push eax
mov eax, dword [esp + 0x68]
push eax
call ebx
mov ecx, dword [esi + 0x78]
mov eax, dword [esp + 0x74]
mov edx, dword [esi + 0x70]
sub eax, ecx
mov ecx, dword [esi + 0x74]
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 + 0x78]
sub ecx, eax
mov eax, dword [esi + 0x74]
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 + 0x74]
sbb eax, eax
add edx, edi
and eax, dword [esp + 0x30]
push edx
push eax
mov eax, dword [esi + 0x70]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esi + 0x74]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x6c]
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 + 0x74]
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 + 0x70]
mov ecx, dword [esi + 0x6c]
sub ebp, eax
mov edx, dword [esi + 0x78]
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 0x4137b4
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4137ca
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x40]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x20]
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 + 0x20]
push eax
push ecx
call edi
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x20]
push edx
push eax
call edi
lea ecx, [esp + 0x1c]
mov dword [esi + 0x40], 1
mov byte [esp + 0x6c], 0
call fcn.004143aa
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004143aa
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