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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd3f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xc8]
xor esi, esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x68], 0x5e2984
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
lea ecx, [esp + 0xb4]
mov dword [esp + 0x110], esi
call fcn.005c0f92
mov eax, dword [ebx + 0x150]
mov dword [esp + 0x14], esi
mov esi, 1
mov byte [esp + 0x110], 1
cmp eax, esi
jle 0x46fdfc
lea edi, [ebx + 0xa0]
push 1
push esi
mov ecx, edi
call fcn.004c0820
cmp eax, dword [ebp + 8]
jne 0x46fded
push 2
push esi
mov ecx, edi
call fcn.004c0820
mov edx, dword [esp + eax*4 + 0xc8]
lea eax, [esp + eax*4 + 0xc8]
inc edx
push 5
mov dword [eax], edx
lea eax, [esp + 0x10]
push esi
push eax
mov ecx, edi
call fcn.004c4290
mov ecx, dword [esp + 0xbc]
push eax
push ecx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x118], 2
call sub.mfc42u.dll_CStringArray::SetAtGrow
lea ecx, [esp + 0xc]
mov byte [esp + 0x110], 1
call sub.mfc42u.dll_CString::CString
push 6
lea edx, [esp + 0x14]
push esi
push edx
mov ecx, edi
call fcn.004c4290
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
mov byte [esp + 0x118], 3
mov dword [esp + 0x1c], 0
call dword [sym.imp.msvcrt.dll_wcstod]
fmul qword [0x5e27a0]
mov ecx, dword [esp + 0x78]
add esp, 8
fstp qword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push edx
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.0040c860
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 1
call sub.mfc42u.dll_CString::CString
mov dword [esp + 0x14], esi
mov eax, dword [ebx + 0x150]
inc esi
cmp esi, eax
jl 0x46fd18
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4705d5
xor esi, esi
mov dword [esp + 0x40], 0x5e9170
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], 0x5e2984
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], 0x5e27fc
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x14]
push 1
push edx
lea ecx, [ebx + 0xa0]
mov byte [esp + 0x118], 6
call fcn.004c0820
mov ecx, dword [ebx + 0x314]
mov edi, eax
call fcn.004f8140
test eax, eax
jle 0x46fead
mov ecx, dword [ebx + 0x314]
push esi
call fcn.004f8150
cmp dword [eax + 0x4c], edi
jne 0x46fe9d
push eax
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x48]
call fcn.0040c9d0
mov ecx, dword [ebx + 0x314]
inc esi
call fcn.004f8140
cmp esi, eax
jl 0x46fe7d
lea ecx, [esp + 0x90]
call fcn.005b57c0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x98]
mov byte [esp + 0x118], 7
call fcn.005b5820
mov ecx, dword [esp + 0x48]
xor ebx, ebx
mov esi, ecx
cmp ecx, ebx
mov dword [esp + 0x10], esi
jne 0x46ff0d
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x46ff00
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
jmp 0x47000f
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jne 0x46ff41
lea eax, [ecx*8]
push eax
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
push esi
push eax
call fcn.0049df10
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
jmp 0x47000f
mov edi, dword [esp + 0x24]
cmp ecx, edi
jg 0x46ff6a
mov eax, dword [esp + 0x20]
cmp ecx, eax
jle 0x46ff61
sub ecx, eax
push ecx
lea ecx, [edx + eax*8]
push ecx
call fcn.0049df10
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], esi
jmp 0x47000f
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x46ff97
mov eax, dword [esp + 0x20]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x46ff8b
mov eax, 4
jmp 0x46ff97
cmp eax, 0x400
jle 0x46ff97
mov eax, 0x400
add eax, edi
cmp ecx, eax
mov dword [esp + 0xc], eax
jl 0x46ffa5
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xc]
lea eax, [edx*8]
push eax
call sub.mfc42u.dll_operatornew
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shl ecx, 3
mov ebx, eax
mov edx, ecx
mov edi, ebx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, esi
sub ecx, eax
lea edx, [ebx + eax*8]
push ecx
push edx
call fcn.0049df10
mov eax, dword [esp + 0x1c]
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], esi
xor ebx, ebx
mov esi, ecx
cmp ecx, ebx
mov dword [esp + 0x10], esi
jne 0x47003f
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x470032
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
jmp 0x470132
mov edx, dword [esp + 0x30]
cmp edx, ebx
jne 0x470073
lea edx, [ecx*4]
push edx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x30], eax
push esi
push eax
call fcn.005463a0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
jmp 0x470132
mov edi, dword [esp + 0x38]
cmp ecx, edi
jg 0x47009c
mov eax, dword [esp + 0x34]
cmp ecx, eax
jle 0x470093
sub ecx, eax
lea eax, [edx + eax*4]
push ecx
push eax
call fcn.005463a0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], esi
jmp 0x470132
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x4700c9
mov eax, dword [esp + 0x34]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4700bd
mov eax, 4
jmp 0x4700c9
cmp eax, 0x400
jle 0x4700c9
mov eax, 0x400
add eax, edi
cmp ecx, eax
mov dword [esp + 0xc], eax
jl 0x4700d7
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
lea edx, [ecx*4]
push edx
call sub.mfc42u.dll_operatornew
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ebx, eax
add esp, 4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, eax
lea edx, [ebx + eax*4]
push ecx
push edx
call fcn.005463a0
mov eax, dword [esp + 0x30]
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], esi
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x470300
mov edx, ebx
xor eax, eax
mov ebx, dword [esp + edx*4 + 0xc8]
cmp ebx, eax
mov dword [esp + 0x7c], ebx
je 0x4702ee
xor edi, edi
mov dword [esp + 0x54], 0x5e27fc
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov esi, ebx
mov byte [esp + 0x110], 8
imul esi, ecx
cmp esi, eax
jne 0x470191
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
jmp 0x4701bc
lea edx, [esi*4]
push edx
call sub.mfc42u.dll_operatornew
add esp, 4
mov edi, eax
mov dword [esp + 0x58], edi
push esi
push eax
call fcn.005463a0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
xor eax, eax
cmp ecx, eax
jle 0x470215
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
inc eax
fld qword [0x5e27a0]
mov ecx, dword [ecx + eax*4 - 4]
fsub qword [ecx + 0x28]
fdivr qword [0x5e27a0]
fmul qword [ecx + 0xc0]
fld dword [ecx + 0xf4]
mov ecx, dword [esp + 0x1c]
fadd st(0), st(0)
faddp st(1)
fstp qword [ecx + eax*8 - 8]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
mov ecx, dword [ecx + eax*4 - 4]
mov ecx, dword [ecx + 0xfc]
mov ecx, dword [ecx + edx*4]
mov dword [esi + eax*4 - 4], ecx
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jl 0x4701c4
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
push edi
push edx
push eax
push ecx
mov ecx, dword [esp + 0x7c]
push ebx
lea edx, [ecx + esi*8]
push edx
push 0
call fcn.0051ba40
add esp, 0x1c
test eax, eax
jne 0x470267
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [eax + esi*8]
push ebx
push ecx
push 1
call fcn.0051ba40
add esp, 0x1c
test eax, eax
je 0x4704e3
mov ecx, dword [esp + 0x48]
xor edx, edx
test ebx, ebx
jle 0x4702ad
xor eax, eax
test ecx, ecx
jle 0x4702a8
mov esi, dword [esp + 0x98]
imul ecx, edx
imul esi, eax
mov ebx, dword [esp + 0xc]
add esi, edx
add ecx, eax
add esi, ebx
mov ebx, dword [esp + 0x94]
inc eax
mov ecx, dword [edi + ecx*4]
mov dword [ebx + esi*4], ecx
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jl 0x470277
mov ebx, dword [esp + 0x7c]
inc edx
cmp edx, ebx
jl 0x470271
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], 0x5e27fc
add edx, ebx
mov dword [esp + 0xc], edx
test edi, edi
mov byte [esp + 0x110], 0xe
je 0x4702d8
push edi
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x4c]
add esp, 4
mov edx, dword [esp + 0x10]
mov byte [esp + 0x110], 7
mov dword [esp + 0x54], 0x5e262c
xor eax, eax
mov esi, dword [ebp + 0xc]
inc edx
cmp edx, esi
mov dword [esp + 0x10], edx
jl 0x470149
xor ebx, ebx
lea ecx, [esp + 0xa0]
call fcn.00460670
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
mov byte [esp + 0x110], 0xf
push edx
push eax
lea edx, [esp + 0x98]
push ecx
push edx
call fcn.005b6130
mov eax, dword [esp + 0xb8]
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x470446
lea ecx, [esp + 0x54]
call fcn.004706a0
mov eax, dword [ebp + 0xc]
xor edi, edi
xor esi, esi
mov byte [esp + 0x110], 0x10
test eax, eax
jle 0x470407
lea eax, [esp + 0xc8]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
jle 0x4703f0
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xa4]
lea ecx, [esp + 0x90]
mov eax, dword [ebx + edx]
push eax
push edi
call fcn.00470620
cmp dword [eax], 0
je 0x4703e4
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
mov edx, dword [ebx + ecx]
lea ecx, [esp + 0x90]
push edx
push esi
call fcn.00470620
mov eax, dword [eax]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
call fcn.004706c0
mov eax, dword [esp + 0xc]
inc edi
dec eax
mov dword [esp + 0xc], eax
jne 0x470382
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
inc esi
add ecx, 4
cmp esi, eax
mov dword [esp + 0x14], ecx
jl 0x470374
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x54]
push edx
push eax
push 0x64
call fcn.004d6740
add esp, 0xc
lea ecx, [esp + 0x54]
mov byte [esp + 0x110], 0xf
call fcn.00470840
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa8]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x470349
lea ecx, [esp + 0xa0]
mov byte [esp + 0x110], 7
call fcn.0040a7f0
lea ecx, [esp + 0x90]
mov byte [esp + 0x110], 6
call fcn.005b5800
lea ecx, [esp + 0x2c]
mov byte [esp + 0x110], 5
call fcn.0040a7f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x110], 4
call fcn.0040a9d0
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 1
call fcn.00470640
lea ecx, [esp + 0xb4]
mov byte [esp + 0x110], 0
call sub.mfc42u.dll_CStringArray::CStringArray
lea ecx, [esp + 0x68]
mov dword [esp + 0x110], 0xffffffff
call fcn.0040a9d0
or eax, 0xffffffff
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, 0x5e27fc
mov dword [esp + 0x54], esi
test edi, edi
mov byte [esp + 0x110], 9
je 0x470501
push edi
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x110], 6
call fcn.005b5800
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0x110], 0xa
test eax, eax
je 0x470532
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov edi, 0x5e2984
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x110], 0xb
test eax, eax
je 0x47055d
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], 0x5e9170
mov eax, dword [esp + 0x44]
mov byte [esp + 0x110], 0xc
test eax, eax
je 0x470582
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0x40], esi
mov byte [esp + 0x110], 0
call sub.mfc42u.dll_CStringArray::CStringArray
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x110], 0xd
test eax, eax
je 0x4705ba
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0xb4]
mov byte [esp + 0x110], 0
call sub.mfc42u.dll_CStringArray::CStringArray
lea ecx, [esp + 0x68]
mov dword [esp + 0x110], 0xffffffff
call fcn.0040a9d0
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov eax, 0xfffffffe
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8