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

Disassembly:
push 0xffffffffffffffff
push 0x492744
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
xor edx, edx
cmp dword [ebp + 0x16c], edx
je 0x46d803
mov ecx, dword [esp + 0x74]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
lea esi, [ebp + 0x44]
push 0x4a69b0
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push esi
lea ebx, [ebp + 0x270]
call fcn.00474390
mov eax, dword [esi]
push esi
push eax
push ebp
call fcn.00470cc0
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call dword [0x497c80]
push ebp
call fcn.00470f20
xor ebx, ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0x70], ebx
call dword [0x497e20]
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x6c], 1
call fcn.00471de0
lea ecx, [esp + 0x1c]
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 + 0x20]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00471fe0
push ebx
mov byte [esp + 0x64], 2
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
mov dword [ebp + 0x9c], ebx
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0xa4], ebx
mov dword [ebp + 0xa0], ebx
push eax
mov ebx, ebp
call fcn.00472b20
mov eax, dword [ebp + 0x16c]
cmp eax, 1
jne 0x46d936
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x98]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
cmp dword [ebp + 0x98], 0
jle 0x46d908
mov dword [eax + 0x18], 1
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
add edx, edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
jmp 0x46da4e
test eax, eax
jne 0x46da4a
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], eax
test ecx, ecx
jl 0x46d98f
mov edx, dword [ebp + 0x78]
mov eax, dword [ebp + 0x74]
mov ebx, dword [ebp + 0x164]
push 0
push 5
push edx
mov edx, dword [ebp + 0x68]
push eax
push edx
push ecx
lea eax, [ebp + 0xd8]
push eax
lea eax, [esp + 0x64]
call fcn.004683c0
mov eax, dword [esp + 0x54]
cmp dword [ebp + 0x14c], 0
mov esi, dword [ebp + 0x164]
je 0x46d9c0
mov ecx, dword [ebp + 0x90]
mov edx, dword [ebp + 0x6c]
mov edi, dword [ebp + 0x70]
test ecx, ecx
je 0x46d9ed
push 1
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push edi
push eax
push ecx
push edx
jmp 0x46d9e0
mov edx, dword [ebp + 0x90]
mov ecx, dword [ebp + 0x150]
test edx, edx
je 0x46d9ed
push 1
push edx
push ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x64]
push eax
push ecx
mov eax, dword [esp + 0x64]
call fcn.004694b0
mov eax, dword [esp + 0x54]
mov ecx, dword [ebp + 0xac]
mov edx, dword [ebp + 0x94]
lea esi, [edx + ecx]
add dword [esp + 0x48], esi
add dword [esp + 0x4c], esi
lea esi, [edx + ecx]
sub dword [esp + 0x50], esi
add edx, ecx
mov ecx, dword [ebp + 0x8c]
sub eax, edx
sub ecx, 1
mov dword [esp + 0x54], eax
je 0x46da32
sub ecx, 1
jne 0x46da4a
mov edx, dword [esp + 0x74]
sub eax, dword [edx + 0xc]
mov dword [esp + 0x4c], eax
mov eax, edx
jmp 0x46da4e
mov ecx, dword [esp + 0x74]
sub eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x4c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
mov ecx, dword [ecx - 0xc]
mov ebx, dword [esp + 0x70]
cmp ebx, ecx
jge 0x46dbc2
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4a69b8
mov dword [esp + 0x78], ebx
mov dword [esp + 0x1c], ebx
call dword [0x497c80]
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x74]
call fcn.00472290
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.table
call dword [0x497c80]
lea esi, [esp + 0x18]
call fcn.00472290
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
cmp eax, esi
mov edi, eax
jl 0x46dab5
mov edi, esi
xor edx, edx
cmp edi, ebx
mov dword [esp + 0x2c], edx
jle 0x46db12
mov ecx, dword [esp + 0x6c]
mov edx, edi
sub edx, ebx
push edx
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
push ebp
mov byte [esp + 0x70], 3
call fcn.0046dc60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, edi
mov byte [esp + 0x60], 2
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 edx, dword [esp + 0x28]
jmp 0x46db87
cmp esi, eax
jge 0x46db7e
mov edi, dword [esp + 0x6c]
lea eax, [esp + 0x70]
push eax
mov eax, edi
mov dword [esp + 0x74], esi
call fcn.00472930
mov ebx, dword [esp + 0x70]
mov ecx, ebx
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
mov byte [esp + 0x6c], 4
call fcn.0046bf40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov byte [esp + 0x60], 2
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 edx, dword [esp + 0x28]
jmp 0x46db87
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov ebx, dword [ecx - 0xc]
cmp dword [ebp + 0x16c], 0
je 0x46dba7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 8]
cmp edx, ecx
jle 0x46db9d
mov ecx, edx
mov edx, dword [esp + 0x2c]
add dword [eax + 0xc], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add dword [esp + 0x4c], eax
cmp ebx, dword [edx - 0xc]
jl 0x46da63
mov eax, dword [esp + 0x74]
cmp dword [ebp + 0x16c], 0
je 0x46dc13
mov ecx, dword [ebp + 0x98]
mov esi, dword [eax + 8]
cmp ecx, esi
jle 0x46dbda
mov esi, ecx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x10], esi
mov ecx, dword [ebp + 0x9c]
cmp ecx, edx
jg 0x46dbec
mov ecx, edx
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 0x94]
add edx, dword [ebp + 0xac]
lea edx, [esi + edx*2]
mov dword [eax + 0x10], edx
mov edx, dword [ebp + 0x94]
add edx, dword [ebp + 0xac]
lea ecx, [ecx + edx*2]
mov dword [eax + 0x14], ecx
push 0x4a69b0
lea ecx, [ebp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push 1
mov ecx, ebp
call fcn.00470030
test eax, eax
je 0x46dc35
mov esi, ebp
call fcn.00470270
lea ecx, [esp + 0x20]
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 + 0x68]
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 + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10