Function at 0x409200
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x43a180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x24]
call fcn.00438cea
mov esi, dword [esp + 0x84]
mov dword [esp + 0x7c], 0
test esi, esi
jne 0x40923e
xor eax, eax
jmp 0x409241
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [edi + 0xc8]
test eax, eax
je 0x409279
mov eax, dword [edi + 0xf8]
test eax, eax
jne 0x40926e
push eax
mov eax, dword [esp + 0x2c]
push eax
jmp 0x40928c
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
jmp 0x40928c
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x409286
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov ecx, dword [edi + 0xc0]
lea eax, [esp + 0x24]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esi + 4]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebx
mov ebx, dword [esp + 0x8c]
push 0
push 0
push eax
push ecx
push 4
push ebp
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x90]
add ebx, 4
add eax, 0xfffffffc
cmp ebx, eax
jge 0x409320
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + 0xc0]
lea eax, [esp + 0x24]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, edx
push 4
push eax
push ecx
mov ecx, dword [esi + 4]
push 1
push ebp
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x90]
inc ebx
lea eax, [edx - 4]
cmp ebx, eax
jl 0x4092e4
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + 0xc0]
lea eax, [esp + 0x24]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, edx
push 4
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esi + 4]
push 5
add eax, 0xfffffffb
push ebp
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [edi + 0x20]
push 0
push 1
push 0x7f
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x40938c
test esi, esi
jne 0x409373
xor ecx, ecx
jmp 0x409376
mov ecx, dword [esi + 4]
push 7
push 0
push 0
push 0x10
push 0x10
push eax
push 7
push 5
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
mov ecx, edi
push eax
mov byte [esp + 0x80], 1
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [0x44c920]
mov ebx, dword [esi]
push 1
mov edx, dword [ecx]
call dword [edx + 0x1c]
push eax
mov ecx, esi
call dword [ebx + 0x30]
push 1
mov ecx, esi
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov eax, dword [esi]
push 0x785523
mov ecx, esi
call dword [eax + 0x38]
mov ebx, dword [sym.imp.USER32.dll_SetRectEmpty]
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x20], eax
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
lea ecx, [esp + 0x64]
push 0x400
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
push 9
lea edx, [esp + 0x68]
push 0x14
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
lea ecx, [esp + 0x64]
push 0x25
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
lea edx, [esp + 0x34]
push edx
call ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ebx, [edi + 0x104]
push 0
push 0x20
mov ecx, ebx
mov byte [esp + 0x84], 2
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 3
call fcn.00438fba
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov edx, dword [esi]
lea ebx, [esp + 0x34]
push 0x400
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
sub eax, edx
push 9
add eax, 0x28
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
lea ebx, [esp + 0x34]
push 0x25
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov ebx, dword [esp + 0x88]
sub esp, 0x10
mov ecx, dword [esp + 0xa0]
mov eax, esp
mov edx, dword [esp + 0xa4]
push esi
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call fcn.004096d0
sub esp, 0x10
mov ecx, dword [esp + 0xa0]
mov eax, esp
mov edx, dword [esp + 0xa4]
push esi
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call fcn.004098f0
mov eax, dword [edi + 0x13c]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x40965b
mov ecx, dword [edi + 0x144]
mov edx, dword [esp + 0x3c]
lea ebp, [esp + 0x44]
push 0x400
mov eax, dword [ecx + 0x14]
lea ecx, [edx + 5]
mov edx, dword [esp + 0x44]
sub eax, 5
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x13c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], edx
mov edx, dword [esi]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov ecx, dword [eax - 8]
push ebp
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0x5c]
sub ecx, ebp
cmp eax, ecx
jge 0x40965b
mov ecx, dword [0x44c924]
push ebx
push 0xffff006e
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [ebx + 2]
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov ebp, eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0x43ef08
add ebx, 6
mov byte [esp + 0x7c], 4
push ebx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esi]
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov edi, dword [edi + 0x13c]
mov edx, dword [esi]
mov ebx, eax
lea ecx, [esp + 0x54]
mov eax, dword [edi - 8]
push 0x25
push ecx
push eax
push edi
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x38]
mov dword [esp + 0x88], 0x43ed88
lea ecx, [esp + 0x88]
mov byte [esp + 0x7c], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x7c], 2
mov dword [esp + 0x88], 0x43ed74
xor ebx, ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x20]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x409681
mov ebx, dword [eax + 4]
mov ecx, dword [esp + 0x28]
push ebx
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 0x14