Function at 0x43d790
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x578390
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], edi
call fcn.00572d84
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x80], 0
test ebp, ebp
jne 0x43d7d5
xor eax, eax
jmp 0x43d7d8
mov eax, dword [ebp + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [edi + 0xe4]
test eax, eax
jne 0x43d874
lea eax, [edi + 0xbc]
test eax, eax
je 0x43d802
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x40]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov esi, eax
mov eax, dword [esp + 0x8c]
push 0xcc0020
push 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
sub ecx, edx
mov edx, dword [eax + 8]
lea eax, [esp + 0x40]
sub edx, ebx
mov ebx, dword [esp + 0x44]
neg eax
sbb eax, eax
push 0
and eax, ebx
push eax
push ecx
mov ecx, dword [ebp + 4]
push edx
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test esi, esi
jne 0x43d861
mov edx, dword [esp + 0x3c]
push esi
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x43ddba
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x3c]
push esi
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x43ddba
lea ecx, [esp + 0x30]
call fcn.00405db0
mov dword [esp + 0x30], 0x5916cc
mov esi, dword [esp + 0x90]
mov byte [esp + 0x80], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub eax, ecx
mov ecx, dword [esi + 8]
push eax
mov eax, dword [ebp + 4]
sub ecx, edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], eax
call fcn.00572d84
test ebp, ebp
mov byte [esp + 0x80], 2
jne 0x43d8ef
xor eax, eax
jmp 0x43d8f2
mov eax, dword [ebp + 4]
push eax
call ebx
push eax
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CDC::Attach
lea eax, [edi + 0xbc]
test eax, eax
je 0x43d90c
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x5c]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x58]
sub ecx, ebx
sub edx, edi
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x60]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push edi
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push 0
push 0
push eax
call ebx
lea ecx, [esp + 0x68]
call fcn.00572d84
test ebp, ebp
mov byte [esp + 0x80], 3
jne 0x43d96d
xor eax, eax
jmp 0x43d970
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CDC::Attach
lea ecx, [esp + 0x28]
call fcn.00405db0
mov dword [esp + 0x28], 0x5916cc
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
push 0
sub eax, edi
push 1
sub ecx, edx
push 1
push eax
push ecx
mov byte [esp + 0x94], 4
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xf8]
test eax, eax
mov eax, 0xc0c0c0
jne 0x43d9f4
mov eax, dword [edi + 0x40]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::SetBkColor
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov eax, dword [esi]
sub ecx, edx
mov edx, dword [esi + 8]
push 0xcc0020
sub edx, eax
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x44]
push 0
push eax
push ecx
push edx
mov edx, dword [esp + 0x84]
push 0
push 0
push edx
call ebx
mov eax, dword [esp + 0x90]
test eax, eax
je 0x43da41
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x60]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
lea eax, [edi + 0xe0]
test eax, eax
je 0x43da59
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x48]
mov dword [esp + 0x90], eax
call fcn.00572d84
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 5
call fcn.00405db0
mov dword [esp + 0x20], 0x5916cc
test ebp, ebp
mov byte [esp + 0x80], 6
jne 0x43da9d
xor eax, eax
jmp 0x43daa0
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CDC::Attach
mov edi, dword [esp + 0x8c]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
mov edx, dword [ebp + 4]
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [esp + 0x50]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [ebp + 8]
push 0x26
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x43db4c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xdc]
test ecx, ecx
je 0x43db4c
add eax, 0xd8
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x94], eax
call sub.MFC42.DLL_CDC::SelectPalette
mov edx, dword [ebp + 4]
push edx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [esp + 0x8c]
push 0
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CDC::SelectPalette
mov ecx, dword [edi + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x8c], eax
jle 0x43dbd5
mov ecx, dword [edi + 0xc]
xor ebp, ebp
test ecx, ecx
jle 0x43dbbb
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xec]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x58]
neg eax
mov edx, dword [edx + 0xe8]
push 0xcc0020
sbb eax, eax
push 0
and eax, dword [esp + 0x64]
push 0
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push ebp
push eax
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [edx + 0xec]
add ebp, ecx
cmp ebp, eax
jl 0x43db6f
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xe8]
mov ecx, dword [edi + 8]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x8c], eax
jl 0x43db5c
push 0
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::SetBkColor
push 0xffffff
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::SetTextColor
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov eax, dword [esi]
sub ecx, edx
mov edx, dword [esi + 8]
mov ebp, dword [esp + 0x6c]
sub edx, eax
lea eax, [esp + 0x68]
neg eax
sbb eax, eax
push 0x8800c6
and eax, ebp
push 0
push 0
push eax
push ecx
push edx
mov edx, dword [esp + 0x54]
push 0
push 0
push edx
call ebx
push 0xffffff
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CDC::SetBkColor
push 0
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CDC::SetTextColor
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ebp, dword [esi + 4]
mov ecx, dword [esi + 0xc]
sub edx, eax
lea eax, [esp + 0x68]
sub ecx, ebp
push 0x8800c6
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x74]
push 0
push eax
mov eax, dword [esi]
push ecx
push edx
push ebp
push eax
mov eax, dword [esp + 0x6c]
push eax
call ebx
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov ebp, dword [esi]
mov esi, dword [esi + 8]
lea eax, [esp + 0x38]
sub ecx, edx
sub esi, ebp
push 0xee0086
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x44]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x60]
push esi
push edx
push ebp
push ecx
call ebx
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
sub ecx, edx
mov edx, dword [edi + 8]
mov eax, dword [edi]
mov edi, dword [esp + 0x4c]
sub edx, eax
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edi
push 0
push 0
push eax
push ecx
push edx
mov edx, dword [esp + 0xa0]
push 0
push 0
mov eax, dword [edx + 4]
push eax
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43dce2
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43dcf8
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x6c]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x90]
test eax, eax
je 0x43dd11
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x60]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43dd27
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edi, 0x5916f4
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x5916e0
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], esi
mov byte [esp + 0x80], 4
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], esi
mov byte [esp + 0x80], 2
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 1
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc