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

Disassembly:
push 0xffffffffffffffff
push 0x442bb9
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1b0]
mov edi, ecx
mov ecx, dword [edi + 0x74]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
cmp ecx, ebx
je 0x417ba7
lea eax, [esp + 0x74]
push eax
mov eax, dword [edi + 0x78]
lea edx, [esp + 0x50]
push edx
call fcn.00413890
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x1b4]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x38]
add eax, 0x64
mov dword [esp + 0x20], ecx
add ecx, 0x46
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x90]
push ecx
call fcn.0041f070
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x1b0], ebx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x18c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x198], ecx
mov ecx, dword [esp + 0x78]
sbb ecx, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov eax, ecx
mov dword [esp + 0x40], ecx
and ecx, 0x7fffffff
mov dword [esp + 0x30], ecx
fild qword [esp + 0x2c]
mov cl, byte [edi + 0xca]
and eax, 0x80000000
mov dword [esp + 0x30], eax
movzx eax, byte [edi + 0xc8]
mov dword [esp + 0x190], edx
mov dl, byte [edi + 0xc9]
mov dword [esp + 0x2c], ebx
shl eax, 8
fild qword [esp + 0x2c]
movzx edx, dl
movzx ecx, cl
fchs
faddp st(1)
or eax, edx
sub esp, 8
shl eax, 8
or eax, ecx
fstp qword [esp]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x449390
call dword [0x4446ac]
push ecx
mov byte [esp + 0x1bc], 1
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x449390
call dword [0x4446ac]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1bc], bl
call fcn.0041fd20
mov edx, dword [esp + 0x4c]
mov eax, esi
mov ecx, esi
and eax, 0x7fffffff
mov dword [esp + 0x30], eax
movzx eax, byte [edi + 0xc4]
mov dword [esp + 0x2c], edx
mov dl, byte [edi + 0xc5]
fild qword [esp + 0x2c]
and ecx, 0x80000000
mov dword [esp + 0x30], ecx
mov cl, byte [edi + 0xc6]
mov dword [esp + 0x2c], ebx
shl eax, 8
fild qword [esp + 0x2c]
movzx edx, dl
movzx ecx, cl
fchs
faddp st(1)
or eax, edx
sub esp, 8
shl eax, 8
or eax, ecx
fstp qword [esp]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.ulFree
call dword [0x4446ac]
push ecx
mov byte [esp + 0x1bc], 2
mov ecx, esp
mov dword [esp + 0x78], esp
push str.ulFree
call dword [0x4446ac]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1bc], bl
call fcn.0041fd20
fld dword [esp + 0x144]
push ecx
mov ebx, 0xffffff
fstp dword [esp]
push ebx
lea esi, [esp + 0x34]
mov dword [esp + 0x13c], ebx
call fcn.00420120
fld dword [esp + 0x140]
mov edx, dword [eax]
push ecx
fstp dword [esp]
push ebx
lea esi, [esp + 0x34]
mov dword [esp + 0x144], edx
call fcn.0041ffd0
fld dword [0x44c460]
mov eax, dword [eax]
push ecx
lea ebx, [esp + 0x90]
fstp dword [esp]
mov dword [esp + 0x13c], eax
call fcn.00420d60
fld dword [0x44c460]
push ecx
fst dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
fstp dword [esp]
push ecx
lea esi, [esp + 0x34]
call fcn.0041ffd0
fld dword [0x44c448]
mov edx, dword [eax]
push ecx
mov ecx, ebx
fstp dword [esp]
mov dword [esp + 0x13c], edx
call fcn.00420e00
fld dword [0x44c45c]
push ecx
fstp dword [esp]
mov esi, ebx
call fcn.00422670
fld dword [0x44c458]
cmp dword [esp + 0x188], 0
fstp dword [esp + 0xec]
jne 0x417e47
push ebp
mov ecx, ebx
call fcn.0041f4e0
cmp dword [esp + 0x188], 1
jne 0x417e5e
push ebp
lea ecx, [esp + 0x90]
call fcn.004212c0
cmp dword [esp + 0x188], 2
jne 0x417e76
push ebp
lea eax, [esp + 0x90]
push eax
call fcn.00421b20
push 1
mov ecx, ebp
call sub.mfc90u.dll_CDC::SetBkMode
mov ecx, dword [esp + 0x1b4]
push ecx
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], ecx
add ecx, 0x6e
sub edx, 0xa
mov dword [esp + 0x28], edx
lea edx, [ecx + 0xf]
add eax, 0x14
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 0xc8]
mov dword [esp + 0x54], ecx
lea ecx, [eax + 0xf]
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x58]
mov dword [esp + 0x64], ecx
push eax
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
push 0
lea ecx, [esp + 0x68]
call sub.mfc90u.dll_CBrush::CBrush
test eax, eax
je 0x417efe
mov eax, dword [eax + 4]
mov edx, dword [ebp + 4]
push eax
lea ecx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], vtable.CBrush.0
call fcn.00402460
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], ecx
add eax, 0x17
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], edx
mov dword [esp + 0x7c], eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0x445468
push 0x445468
push 0x445468
push str.3401036
mov byte [esp + 0x1b8], 3
call sub.Languages.dll_Ordinal_4_1
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push 0x4493c0
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0x40
push 0x40
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b0], 4
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov edx, dword [esp + 0x44]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
push eax
mov eax, dword [esp + 0x44]
push edx
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp]
push 0
lea esi, [esp + 0x80]
push esi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, ecx
sub edx, dword [esp + 0x54]
add eax, 0x19
add dword [esp + 0x5c], edx
mov edx, dword [edi + 0xc4]
mov dword [esp + 0x54], ecx
mov ecx, eax
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x20], eax
add dword [esp + 0x60], ecx
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
push 0
lea ecx, [esp + 0x40]
call sub.mfc90u.dll_CBrush::CBrush
test eax, eax
je 0x41804f
mov eax, dword [eax + 4]
mov edx, dword [ebp + 4]
push eax
lea ecx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], vtable.CBrush.0
call fcn.00402460
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0x445468
push 0x445468
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x30]
push 0x445468
add eax, 0x17
push str.3401037
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x8c], eax
call sub.Languages.dll_Ordinal_4_1
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push 0x4493c0
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push 0x40
push 0x40
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push edx
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp]
push 0
lea esi, [esp + 0x80]
push esi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
mov eax, dword [edi + 0x74]
test eax, eax
je 0x41833c
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov edi, dword [edi + 0x78]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jae 0x41833c
lea edx, [edi + edi*2]
mov esi, dword [esi + edx*4 + 4]
test esi, esi
je 0x41833c
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
push 0x445468
push 0x445468
push 0x445468
push str.3401003
call sub.Languages.dll_Ordinal_4_1
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push 0x4493c0
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push 0x40
push 0x40
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov ecx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x80]
push eax
push ecx
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [esp + 0x1b4]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
add eax, 0x50
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push 0x4020
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp]
lea edi, [esp + 0x20]
push edi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x3c]
add eax, 0x2d
add dword [esp + 0x1c], eax
push esi
call fcn.00412080
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov edi, dword [esi + 0x20]
mov ecx, esi
call eax
mov ecx, edi
and cl, 0xf
cmp cl, 1
jne 0x41833c
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push esi
mov byte [esp + 0x1ac], 5
call fcn.00412080
lea edx, [esi + 0xc8]
push edx
lea ecx, [esp + 0x68]
call dword [0x444764]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov eax, dword [esp + 0x64]
cmp dword [eax - 0xc], 0
je 0x41832a
push 0x445468
push 0x445468
push 0x445468
push str.3401038
call sub.Languages.dll_Ordinal_4_1
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp]
push 0x4020
lea esi, [esp + 0x20]
push esi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
push ebp
lea eax, [esp + 0x18]
lea esi, [esp + 0x40]
call fcn.0040b600
mov eax, dword [eax]
mov edx, dword [ebp]
add eax, 0x14
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax - 0xc]
push 0x4020
lea esi, [esp + 0x20]
push esi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a8], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
call sub.mfc90u.dll_CDC::SetBkMode
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x1ac], 0xffffffff
call fcn.0041f320
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret 8