Function at 0x41a8d9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x445530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0x30]
push edi
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x44]
call fcn.00441366
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], 0
call fcn.00441366
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 1
call fcn.00405cf0
mov dword [esp + 0x2c], 0x448d00
mov edi, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
test edi, edi
jne 0x41a939
xor eax, eax
jmp 0x41a93c
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CDC::Attach
test edi, edi
jne 0x41a957
xor eax, eax
jmp 0x41a95a
mov eax, dword [edi + 4]
push eax
call ebx
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
sub eax, ebx
sub ecx, edx
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ebx
push eax
mov eax, dword [esp + 0x5c]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x20], eax
lea eax, [esi + 0x102c]
test eax, eax
je 0x41a9cf
mov eax, dword [eax + 4]
test eax, eax
je 0x41a9cf
mov ecx, dword [esp + 0x48]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call edi
jmp 0x41a9d5
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x44]
push ebp
push 0xcc0020
neg eax
mov edx, dword [esp + 0x60]
push 0x1c
sbb eax, eax
push 0x13
mov ebp, dword [sym.imp.GDI32.dll_StretchBlt]
and eax, ecx
push 0
push 0
push eax
push 0x1c
push 0x13
push 0
push 0
push edx
call ebp
lea eax, [esi + 0x1034]
test eax, eax
je 0x41aa20
mov eax, dword [eax + 4]
test eax, eax
je 0x41aa20
push eax
mov eax, dword [esp + 0x50]
push eax
call edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
sub ecx, 0x13
neg eax
push 0xcc0020
push 0x1c
sbb eax, eax
push 0x13
and eax, edx
push 0
push 0
push eax
push 0x1c
push ecx
mov ecx, dword [esp + 0x7c]
push 0
push 0x13
push ecx
call ebp
lea eax, [esi + 0x103c]
test eax, eax
je 0x41aa70
mov eax, dword [eax + 4]
test eax, eax
je 0x41aa70
mov edx, dword [esp + 0x4c]
push eax
push edx
call edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
sub ecx, 0x13
neg eax
push 0xcc0020
push 0x1c
sbb eax, eax
push 0x13
and eax, edx
push 0
push 0
push eax
mov eax, dword [esp + 0x74]
push 0x1c
push 0x13
push 0
push ecx
push eax
call ebp
lea eax, [esi + 0x1044]
test eax, eax
je 0x41aac0
mov eax, dword [eax + 4]
test eax, eax
je 0x41aac0
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call edi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sub ecx, edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
sub ecx, 0x4b
neg eax
push 0xcc0020
push 0x12
sbb eax, eax
push 4
and eax, edx
mov edx, dword [esp + 0x68]
push 0
push 0
push eax
push ecx
push 4
push 0x1c
push 0
push edx
call ebp
lea eax, [esi + 0x104c]
test eax, eax
je 0x41ab10
mov eax, dword [eax + 4]
test eax, eax
je 0x41ab10
push eax
mov eax, dword [esp + 0x50]
push eax
call edi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x48]
sub edx, ebx
mov ebx, dword [esp + 0x4c]
sub ecx, 0x1c
sub edx, 8
neg eax
push 0xcc0020
push 0xa
sbb eax, eax
push 0xa
and eax, ebx
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x78]
push edx
push 0x1c
push 4
push ecx
call ebp
lea eax, [esi + 0x105c]
test eax, eax
je 0x41ab6c
mov eax, dword [eax + 4]
test eax, eax
je 0x41ab6c
mov edx, dword [esp + 0x4c]
push eax
push edx
call edi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov eax, edx
xor ebx, ebx
sub eax, ecx
mov ecx, dword [esp + 0x3c]
sub eax, 0x96
mov dword [esp + 0x10], ebx
test eax, eax
mov eax, dword [esp + 0x44]
jle 0x41ac14
mov ebx, eax
xor edi, edi
sub ebx, ecx
sub ebx, 0x50
test ebx, ebx
jle 0x41abed
mov ecx, dword [esp + 0x10]
lea ebx, [ecx + 0xa]
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
push 0xcc0020
push 0x14
sbb eax, eax
push 0x14
and eax, ecx
push 0
push 0
push eax
mov eax, dword [esp + 0x74]
push 0x14
lea edx, [edi + 0x26]
push 0x14
push edx
push ebx
push eax
call ebp
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, eax
add edi, 0x14
sub edx, ecx
sub edx, 0x50
cmp edi, edx
jl 0x41aba7
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
add edi, 0x14
mov dword [esp + 0x10], edi
mov edi, edx
sub edi, ebx
mov ebx, dword [esp + 0x10]
sub edi, 0x96
cmp ebx, edi
jl 0x41ab93
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
sub eax, ecx
push 1
push 0x1f
sub eax, 0x6a
push 0x70
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esi + 0xb80]
sub edx, eax
sub edx, 0x78
push edx
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
push 1
push 0x11
sub eax, 0x37
push 0x62
lea ecx, [ebx - 0x58]
push eax
push ecx
lea ecx, [esi + 0xce4]
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esi + 0x1090]
test eax, eax
je 0x41ac6a
mov edx, dword [esp + 0x4c]
push eax
push edx
call edi
mov ecx, dword [esi + 0x10c4]
add ecx, 0x80
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 3
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CDC::SetStretchBltMode
mov ecx, dword [esi + 0x1090]
lea eax, [esp + 0x68]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
cmp eax, edx
mov edx, dword [esp + 0x38]
jg 0x41acc9
fild dword [esp + 0x70]
mov eax, edi
sub eax, dword [esp + 0x3c]
sub eax, 0x50
mov dword [esp + 0x1c], eax
fidiv dword [esp + 0x1c]
jmp 0x41acde
fild dword [esp + 0x6c]
mov eax, ecx
sub eax, edx
sub eax, 0xb4
mov dword [esp + 0x1c], eax
fidiv dword [esp + 0x1c]
fmul dword [0x44af40]
fild dword [esp + 0x6c]
add ebx, 0xfffffff6
mov dword [esp + 0x20], ebx
fst dword [esp + 0x18]
fdiv st(1)
fmul dword [0x44af40]
fstp dword [esp + 0x10]
fild dword [esp + 0x70]
fst dword [esp + 0x1c]
fdivrp st(1)
fmul dword [0x44af40]
fild dword [esp + 0x20]
fld dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41ad26
fstp dword [esp + 0x10]
jmp 0x41ad28
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
je 0x41ad42
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x41ad50
mov eax, dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov ebx, edi
sub ebx, eax
lea eax, [ebx - 0xc8]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [esp + 0x1c]
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x41ad7b
fstp st(0)
fld dword [esp + 0x1c]
mov eax, ecx
sub eax, edx
sub eax, 0xb4
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fld dword [esp + 0x10]
fmul dword [0x44af3c]
fsubp st(1)
fadd dword [0x44af38]
call sub.MSVCRT.dll__ftol
mov edi, eax
lea eax, [ebx - 0x50]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fld st(1)
fmul dword [0x44af3c]
fsubp st(1)
fadd dword [0x44af38]
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
mov ebx, eax
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x70]
push ecx
push edx
push 0
push 0
push eax
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x28]
push eax
call sub.MSVCRT.dll__ftol
push eax
mov eax, dword [esp + 0x7c]
push ebx
push edi
push eax
call ebp
lea eax, [esi + 0x1054]
test eax, eax
je 0x41ae2d
mov eax, dword [eax + 4]
test eax, eax
je 0x41ae2d
mov ecx, dword [esp + 0x4c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call edi
jmp 0x41ae33
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x48]
sub edx, ebx
mov ebx, dword [esp + 0x4c]
sub ecx, 0x1c
sub edx, 4
neg eax
push 0xcc0020
push 0x12
sbb eax, eax
push 4
and eax, ebx
push 0
push 0
push eax
push ecx
push 4
push 0x1c
push edx
mov edx, dword [esp + 0x84]
push edx
call ebp
lea eax, [esi + 0x1064]
test eax, eax
je 0x41ae92
mov eax, dword [eax + 4]
test eax, eax
je 0x41ae92
push eax
mov eax, dword [esp + 0x50]
push eax
call edi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sub ecx, edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
sub ecx, 0x4b
neg eax
push 0xcc0020
push 0x4b
sbb eax, eax
push 0x19
and eax, edx
push 0
push 0
push eax
push 0x4b
push 0x19
push ecx
mov ecx, dword [esp + 0x80]
push 0
push ecx
call ebp
lea eax, [esi + 0x106c]
test eax, eax
je 0x41aee5
mov eax, dword [eax + 4]
test eax, eax
je 0x41aee5
mov edx, dword [esp + 0x4c]
push eax
push edx
call edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
sub ecx, edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x48]
sub edx, ebx
mov ebx, dword [esp + 0x4c]
sub ecx, 0x19
sub edx, 0x4b
neg eax
push 0xcc0020
push 0x4b
sbb eax, eax
push 0x19
and eax, ebx
push 0
push 0
push eax
mov eax, dword [esp + 0x74]
push 0x4b
push ecx
push edx
push 0x19
push eax
call ebp
lea eax, [esi + 0x1074]
test eax, eax
je 0x41af41
mov eax, dword [eax + 4]
test eax, eax
je 0x41af41
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call edi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x48]
sub edx, ebx
mov ebx, dword [esp + 0x4c]
sub ecx, 0x4b
sub edx, 0x19
neg eax
push 0xcc0020
push 0x4b
sbb eax, eax
push 0x19
and eax, ebx
push 0
push 0
push eax
push 0x4b
push 0x19
push ecx
push edx
mov edx, dword [esp + 0x84]
push edx
call ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x449740
push 0x456750
push 0x12
push 1
push 2
push 3
push 0x81
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xc
mov byte [esp + 0xc0], 3
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x28]
test eax, eax
je 0x41afec
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41afec
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call edi
push 1
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CDC::SetBkMode
push 0
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CDC::SetTextColor
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sub eax, ecx
mov ecx, dword [esi + 0x1098]
sub eax, 0x37
add edx, 0xa
mov edi, dword [ecx - 8]
push edi
push ecx
push eax
mov eax, dword [esp + 0x64]
push edx
lea ecx, [esp + 0x68]
call dword [eax + 0x64]
push 0x45727c
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
sub eax, edx
mov edx, dword [esp + 0x1c]
sub eax, 0x1e
add ecx, 0xa
mov byte [esp + 0x88], 4
mov edi, dword [edx - 8]
push edi
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x68]
call dword [edx + 0x64]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub eax, ecx
lea ecx, [esi + 0x109c]
sub eax, 0x108
push ecx
lea ecx, [esp + 0x18]
mov dword [esi + 0x10b0], eax
call fcn.00441540
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x5c]
lea eax, [esp + 0x58]
lea edi, [esi + 0x10a8]
mov edx, dword [ecx - 8]
push edi
neg eax
sbb eax, eax
push edx
and eax, ebp
push ecx
push eax
mov byte [esp + 0x98], 5
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esi + 0x10b0]
mov edi, dword [edi]
cmp eax, edi
jge 0x41b0e8
lea edx, [eax + 0x78]
mov dword [esi + 0x10a4], edx
jmp 0x41b0f1
add edi, 0x78
mov dword [esi + 0x10a4], edi
mov ebx, dword [esp + 0x90]
test ebx, ebx
jne 0x41b100
xor edi, edi
jmp 0x41b103
mov edi, dword [ebx + 4]
push eax
push 0x209
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathCompactPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
sub eax, edx
mov edx, dword [esp + 0x14]
sub eax, 0x1e
add ecx, 0x6e
mov edi, dword [edx - 8]
push edi
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x68]
call dword [edx + 0x64]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
sub ecx, eax
lea eax, [esp + 0x58]
sub edx, ebp
mov ebp, dword [esp + 0x5c]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebp
push 0
push 0
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x24]
pop ebp
test eax, eax
je 0x41b1a0
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x58]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CDC::DeleteDC
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CDC::DeleteDC
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 3
call sub.MFC42.DLL_CString::CString
mov edi, 0x448b98
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x448bc0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x84], 0
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x44]
mov dword [esp + 0x84], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret 4