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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd29d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov edi, ecx
mov dword [esp + 0x18], 0x5e9170
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [edi + 0x314]
mov dword [esp + 0x110], ebp
xor esi, esi
call fcn.004f8140
test eax, eax
jle 0x46ee4c
or ebx, 0xffffffff
mov eax, dword [edi + 0x314]
inc esi
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + esi*4 - 4]
mov dword [edx + 0x4c], ebx
mov ecx, dword [edi + 0x314]
call fcn.004f8140
cmp esi, eax
jl 0x46ee2c
mov ecx, dword [edi + 0x314]
mov dword [esp + 0x14], ebp
mov eax, dword [ecx + 0x9c]
cmp eax, ebp
jle 0x46efed
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0x5e27fc
mov dword [esp + 0x38], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x110], 1
xor ebx, ebx
call fcn.004f8140
test eax, eax
jle 0x46ef86
mov ecx, dword [edi + 0x314]
push ebx
call fcn.004f8150
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [edi + 0x314]
mov ecx, dword [eax + 0x98]
lea eax, [ecx + edx + 0x10]
mov eax, dword [ecx + edx + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
add esp, 8
cmp eax, ebp
jne 0x46ef72
cmp dword [esi + 0xcc], 1
jle 0x46ef72
mov ecx, dword [edi + 0x314]
mov eax, dword [esi + 0x100]
mov edx, dword [ecx + 0x98]
mov ecx, dword [esp + 0x30]
cmp eax, dword [edx + ecx + 0x78]
jne 0x46ef72
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x46ef39
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x314]
mov eax, dword [edx + ebp*4]
push eax
call fcn.004f8150
fld qword [esi + 0x18]
fsub qword [eax + 0x18]
fabs
fcomp qword [0x5e2790]
fnstsw ax
test ah, 1
jne 0x46ef39
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, eax
jl 0x46ef08
mov edx, dword [edi + 0x314]
mov ecx, dword [esp + 0x2c]
add ecx, ebp
push esi
mov eax, dword [edx + 0x48]
mov edx, dword [eax + ebx*4]
mov dword [edx + 0x4c], ecx
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.0040c9d0
mov eax, dword [esp + 0x3c]
cmp ebp, eax
jne 0x46ef70
push ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.0040c9d0
xor ebp, ebp
mov ecx, dword [edi + 0x314]
inc ebx
call fcn.004f8140
cmp ebx, eax
jl 0x46ee9b
mov dword [esp + 0x34], 0x5e27fc
mov eax, dword [esp + 0x38]
mov byte [esp + 0x110], 2
cmp eax, ebp
je 0x46efa7
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [edi + 0x314]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 0x9c]
inc eax
add ebx, 0x210
add esi, 0x14
cmp eax, edx
mov byte [esp + 0x110], 0
mov dword [esp + 0x34], 0x5e262c
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
jl 0x46ee6c
mov esi, dword [esp + 0x20]
cmp esi, ebp
jne 0x46f019
mov dword [esp + 0x18], 0x5e9170
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x110], 3
cmp eax, ebp
je 0x46f2e9
jmp 0x46f2e0
jle 0x46f06e
mov eax, dword [esp + 0x1c]
mov edx, 1
xor ecx, ecx
mov dword [esp + 0x14], edx
cmp edx, esi
jge 0x46f05f
mov esi, dword [eax + edx*4]
mov ebx, dword [eax + ecx]
mov ebp, dword [esi + 0x4c]
cmp ebp, dword [ebx + 0x4c]
jge 0x46f050
mov dword [eax + edx*4], ebx
mov eax, dword [esp + 0x1c]
mov dword [eax + ecx], esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x46f054
mov esi, dword [esp + 0x20]
inc edx
cmp edx, esi
jl 0x46f02e
mov edx, dword [esp + 0x14]
xor ebp, ebp
inc edx
add ecx, 4
mov dword [esp + 0x14], edx
lea ebx, [edx - 1]
cmp ebx, esi
jl 0x46f02a
push sub.mfc42u.dll_CString::CString
push sub.mfc42u.dll_CString::CString_3
push 0x10
lea ecx, [esp + 0x54]
push 4
push ecx
call fcn.005c1f9f
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x110], 4
mov eax, dword [edx]
mov ecx, dword [eax + 0x4c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
lea eax, [esp + 0x48]
shr ecx, 0x1f
add edx, ecx
push eax
mov ecx, edx
shl ecx, 5
add ecx, edx
mov edx, dword [edi + 0x314]
shl ecx, 4
add ecx, dword [edx + 0x98]
call fcn.00501d60
mov ebx, dword [esp + 0x1c]
mov esi, eax
xor ecx, ecx
cmp esi, ebp
jle 0x46f119
lea edx, [esp + 0x88]
mov eax, dword [ebx]
inc ecx
fld qword [0x5e27a0]
fsub qword [eax + 0x28]
mov ebp, dword [eax + 0xfc]
add edx, 8
cmp ecx, esi
fdivr qword [0x5e27a0]
mov ebp, dword [ebp + ecx*4 - 4]
mov dword [esp + 0x14], ebp
fmul qword [eax + 0xc0]
fld dword [eax + 0xf4]
fadd st(0), st(0)
faddp st(1)
fimul dword [esp + 0x14]
fstp qword [edx - 8]
jl 0x46f0db
mov eax, dword [esp + 0x20]
mov ebp, 1
cmp eax, ebp
jne 0x46f142
mov edx, dword [ebx]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x88]
push eax
push ecx
push esi
push edx
mov ecx, edi
call fcn.0046f300
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x20], 1
jle 0x46f29d
mov ecx, dword [ebx + ebp*4]
mov eax, dword [ebx + ebp*4 - 4]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [eax + 0x4c]
cmp edx, ecx
je 0x46f217
lea ecx, [esp + 0x48]
lea edx, [esp + 0x88]
push ecx
push edx
push esi
push eax
mov ecx, edi
call fcn.0046f300
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + ebp*4]
mov eax, 0x66666667
mov ecx, dword [ecx + 0x4c]
imul ecx
sar edx, 3
mov eax, edx
lea ecx, [esp + 0x48]
shr eax, 0x1f
add edx, eax
push ecx
mov ecx, edx
shl ecx, 5
add ecx, edx
mov edx, dword [edi + 0x314]
shl ecx, 4
add ecx, dword [edx + 0x98]
call fcn.00501d60
mov ebx, dword [esp + 0x1c]
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x46f290
lea eax, [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + ebp*4]
inc ecx
fld qword [0x5e27a0]
fsub qword [eax + 0x28]
mov edx, dword [eax + 0xfc]
fdivr qword [0x5e27a0]
mov edx, dword [edx + ecx*4 - 4]
mov dword [esp + 0x2c], edx
fmul qword [eax + 0xc0]
fld dword [eax + 0xf4]
fadd st(0), st(0)
mov eax, dword [esp + 0x14]
add eax, 8
cmp ecx, esi
faddp st(1)
mov dword [esp + 0x14], eax
fimul dword [esp + 0x2c]
fstp qword [eax - 8]
jl 0x46f1ce
jmp 0x46f290
xor ecx, ecx
test esi, esi
jle 0x46f26a
lea edx, [esp + 0x88]
mov eax, dword [ebx + ebp*4]
inc ecx
fld qword [0x5e27a0]
fsub qword [eax + 0x28]
mov ebx, dword [eax + 0xfc]
add edx, 8
cmp ecx, esi
fdivr qword [0x5e27a0]
mov ebx, dword [ebx + ecx*4 - 4]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1c]
fmul qword [eax + 0xc0]
fld dword [eax + 0xf4]
fadd st(0), st(0)
faddp st(1)
fimul dword [esp + 0x14]
fadd qword [edx - 8]
fstp qword [edx - 8]
jl 0x46f224
mov eax, dword [esp + 0x20]
dec eax
cmp ebp, eax
jne 0x46f290
mov eax, dword [ebx + ebp*4]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x88]
push ecx
push edx
push esi
push eax
mov ecx, edi
call fcn.0046f300
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x46f14d
push 0
lea ecx, [edi + 0xa0]
call fcn.004c11c0
push sub.mfc42u.dll_CString::CString
push 0x10
lea ecx, [esp + 0x50]
push 4
push ecx
mov byte [esp + 0x120], 0
call fcn.005c2021
mov dword [esp + 0x18], 0x5e9170
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x110], 5
test eax, eax
je 0x46f2e9
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x108]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret