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

Disassembly:
push 0xffffffffffffffff
push 0x478df9
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
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 + 0x7c], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
cmp ecx, ebx
je 0x42da09
lea eax, [esp + 0x84]
push eax
mov eax, dword [edi + 0x78]
lea edx, [esp + 0x80]
push edx
call fcn.00428dd0
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x1b4]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
add eax, 0xc8
mov dword [esp + 0x20], ecx
add ecx, 0xaa
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.004348f0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x1b0], ebx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0x18c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x198], ecx
mov ecx, dword [esp + 0x88]
sbb ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov eax, ecx
mov dword [esp + 0x58], ecx
and ecx, 0x7fffffff
mov dword [esp + 0x40], ecx
fild qword [esp + 0x3c]
mov cl, byte [edi + 0xca]
and eax, 0x80000000
mov dword [esp + 0x40], eax
movzx eax, byte [edi + 0xc8]
mov dword [esp + 0x190], edx
mov dl, byte [edi + 0xc9]
mov dword [esp + 0x3c], ebx
shl eax, 8
fild qword [esp + 0x3c]
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 + 0x4c], esp
push 0x4831d0
call dword [0x47ce1c]
push ecx
mov byte [esp + 0x1bc], 1
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x4831d0
call dword [0x47ce1c]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1bc], bl
call fcn.00435550
mov edx, dword [esp + 0x7c]
mov eax, esi
mov ecx, esi
and eax, 0x7fffffff
mov dword [esp + 0x40], eax
movzx eax, byte [edi + 0xc4]
mov dword [esp + 0x3c], edx
mov dl, byte [edi + 0xc5]
fild qword [esp + 0x3c]
and ecx, 0x80000000
mov dword [esp + 0x40], ecx
mov cl, byte [edi + 0xc6]
mov dword [esp + 0x3c], ebx
shl eax, 8
fild qword [esp + 0x3c]
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 + 0x4c], esp
push str.ulFree
call dword [0x47ce1c]
push ecx
mov byte [esp + 0x1bc], 2
mov ecx, esp
mov dword [esp + 0x60], esp
push str.ulFree
call dword [0x47ce1c]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1bc], bl
call fcn.00435550
fld dword [esp + 0x144]
push ecx
mov ebx, 0xffffff
fstp dword [esp]
push ebx
lea esi, [esp + 0x44]
mov dword [esp + 0x13c], ebx
call fcn.00435950
fld dword [esp + 0x140]
mov edx, dword [eax]
push ecx
fstp dword [esp]
push ebx
lea esi, [esp + 0x44]
mov dword [esp + 0x144], edx
call fcn.00435800
fld dword [0x4886f8]
mov eax, dword [eax]
push ecx
lea ebx, [esp + 0x90]
fstp dword [esp]
mov dword [esp + 0x13c], eax
call fcn.00436590
fld dword [0x4886f8]
push ecx
fst dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
fstp dword [esp]
push ecx
lea esi, [esp + 0x44]
call fcn.00435800
fld dword [0x4886e0]
mov edx, dword [eax]
push ecx
mov ecx, ebx
fstp dword [esp]
mov dword [esp + 0x13c], edx
call fcn.00436630
fld dword [0x4886f4]
push ecx
fstp dword [esp]
mov esi, ebx
call fcn.00437db0
fld dword [0x4886f0]
push ecx
mov ecx, ebx
fstp dword [esp]
call fcn.00437d50
cmp dword [esp + 0x188], 0
jne 0x42dcb6
push ebp
call fcn.00434d10
cmp dword [esp + 0x188], 1
jne 0x42dccd
push ebp
lea ecx, [esp + 0x90]
call fcn.00436af0
cmp dword [esp + 0x188], 2
jne 0x42dce5
push ebp
lea eax, [esp + 0x90]
push eax
call fcn.004372f0
push 1
mov ecx, ebp
call sub.mfc90u.dll_CDC::SetBkMode
mov ecx, dword [esp + 0x1b4]
push ecx
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x1c], ecx
add ecx, 0xa
sub edx, 0xa
mov dword [esp + 0x28], edx
lea edx, [ecx + 0xf]
add eax, 0xa0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0xc8]
mov dword [esp + 0x2c], ecx
lea ecx, [eax + 0xf]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
push edx
lea eax, [esp + 0x30]
mov dword [esp + 0x3c], ecx
push eax
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
push 0
lea ecx, [esp + 0x50]
call sub.mfc90u.dll_CBrush::CBrush
test eax, eax
je 0x42dd6f
mov eax, dword [eax + 4]
mov edx, dword [ebp + 4]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.CBrush.0
call fcn.00403b70
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], ecx
add eax, 0x17
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], 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 0x47d9d0
push 0x47d9d0
push 0x47d9d0
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 0x483200
lea ecx, [esp + 0x18]
call dword [0x47c850]
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 + 0x5c]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
push eax
mov eax, dword [esp + 0x5c]
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 [0x47c84c]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp]
push 0
lea esi, [esp + 0x60]
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 + 0x2c]
add eax, 0x15
add dword [esp + 0x34], edx
mov edx, dword [edi + 0xc4]
mov dword [esp + 0x2c], ecx
mov ecx, eax
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
add dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
push 0
lea ecx, [esp + 0x58]
call sub.mfc90u.dll_CBrush::CBrush
test eax, eax
je 0x42deb4
mov eax, dword [eax + 4]
mov edx, dword [ebp + 4]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], vtable.CBrush.0
call fcn.00403b70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0x47d9d0
push 0x47d9d0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
push 0x47d9d0
add eax, 0x17
push str.3401037
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], 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 0x483200
lea ecx, [esp + 0x18]
call dword [0x47c850]
push 0x40
push 0x40
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
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 [0x47c84c]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp]
push 0
lea esi, [esp + 0x60]
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 0x42e260
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov esi, dword [edi + 0x78]
sub ecx, edx
mov dword [esp + 0x4c], edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jae 0x42e260
mov eax, dword [esp + 0x4c]
lea edx, [esi + esi*2]
mov esi, dword [eax + edx*4 + 4]
test esi, esi
je 0x42e260
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
push 0x47d9d0
push 0x47d9d0
push 0x47d9d0
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 0x483200
lea ecx, [esp + 0x18]
call dword [0x47c850]
push 0x40
push 0x40
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push eax
push ecx
push edx
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call dword [0x47c84c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ebx, eax
sub ebx, dword [esp + 0x2c]
add ecx, 0x15
add edx, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov ebx, ecx
sub ebx, dword [esp + 0x30]
mov dword [esp + 0x34], edx
add eax, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], eax
sub eax, ecx
mov dword [esp + 0x74], edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x6c], ebx
mov ebx, ecx
mov ecx, dword [edi + 0xc8]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], eax
call sub.mfc90u.dll_CDC::FillSolidRect
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [edi + 0xc4]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
push 0
lea ecx, [esp + 0x58]
call sub.mfc90u.dll_CBrush::CBrush
test eax, eax
je 0x42e0f3
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 4]
push eax
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], vtable.CBrush.0
call fcn.00403b70
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
add eax, 0x17
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
push 0x4020
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp]
lea edi, [esp + 0x60]
push edi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
add dword [esp + 0x20], 0x15
push esi
call fcn.00426e70
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 0x42e260
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edx
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.00426e70
lea eax, [esi + 0xb8]
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x4c]
cmp dword [ecx - 0xc], 0
je 0x42e24e
push 0x47d9d0
push 0x47d9d0
push 0x47d9d0
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 0x4028
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 + 0x58]
call fcn.004157f0
mov eax, dword [eax]
mov edx, dword [ebp]
add eax, 0x14
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax - 0xc]
push 0x4028
lea esi, [esp + 0x20]
push esi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
lea ecx, [esp + 0x4c]
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 + 0x3c]
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.00434b50
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