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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x370]
cmp eax, dword [ecx + 8]
jbe 0x46c5a0
sub esp, 0x3f0
mov eax, dword [esp + 0x3f4]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f8]
mov dword [esp + 4], ecx
call fcn.0046a3a0
movzx eax, byte [esp + 0x14]
movsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0x10]
test al, al
jne 0x46c55e
mov eax, dword [esp + 0x3f4]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f8]
mov dword [esp + 4], ecx
call fcn.0046a810
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0x14]
movzx ebp, byte [esp + 0x15]
xchg ebp, eax
mov byte [esp + 0x2e], al
xchg ebp, eax
movzx esi, byte [esp + 0x16]
movzx edi, byte [esp + 0x1c]
mov ebp, dword [esp + 8]
xchg edi, eax
test al, al
xchg edi, eax
je 0x46c45b
xchg esi, eax
test al, al
xchg esi, eax
je 0x46c050
mov esi, dword [esp + 0x3f8]
cmp esi, ecx
jb 0x46c598
mov esi, dword [esp + 0x3f4]
mov dword [esp], esi
mov dword [esp + 4], ecx
lea esi, [0x62b4a8]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
movzx eax, byte [esp + 0x2e]
mov byte [esp + 0x19], al
call fcn.0046b880
movsd xmm0, qword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x400], edx
mov dword [esp + 0x404], eax
mov dword [esp + 0x408], ecx
add esp, 0x3f0
ret
movzx esi, byte [0x62b384]
xchg esi, eax
test al, al
xchg esi, eax
je 0x46c1ca
mov dword [esp + 0x4c], edx
mov byte [esp + 0x2f], bl
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
movzx esi, byte [esp + 0x2e]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x46c0b4
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 8], edx
mov byte [esp + 0xc], bl
call fcn.0046b6c0
movzx eax, byte [esp + 0x14]
movss xmm0, dword [esp + 0x10]
test al, al
jne 0x46c199
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
movzx ebx, byte [esp + 0x2f]
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 8], edx
mov byte [esp + 0xc], bl
call fcn.0046f780
movss xmm0, dword [esp + 0x10]
movzx eax, byte [esp + 0x14]
test al, al
je 0x46c193
movzx eax, byte [esp + 0x2e]
test al, al
je 0x46c162
movss dword [esp + 0x48], xmm0
mov eax, dword [esp + 0x40]
add eax, 1
mov ecx, dword [esp + 0x44]
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x2f]
mov byte [esp + 0xc], al
call fcn.0046f780
movzx eax, byte [esp + 0x14]
movss xmm0, dword [esp + 0x10]
test al, al
je 0x46c193
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm0
jne 0x46c193
jp 0x46c193
movss dword [esp + 0x3fc], xmm1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], 0
mov dword [esp + 0x408], 0
add esp, 0x3f0
ret
movss dword [esp + 0x3fc], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], 0
mov dword [esp + 0x408], 0
add esp, 0x3f0
ret
mov ecx, dword [esp + 0x54]
jmp 0x46c1ca
movss dword [esp + 0x3fc], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], 0
mov dword [esp + 0x408], 0
add esp, 0x3f0
ret
lea edi, [esp + 0xb8]
xor eax, eax
mov edx, ecx
mov ecx, 0xcb
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x3f8]
cmp ebx, edx
jb 0x46c58f
lea eax, [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f4]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0046a5b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x46c35b
lea eax, [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x62b4a8]
mov dword [esp + 4], eax
call fcn.0046b090
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
movss xmm0, dword [esp + 0x50]
test al, al
jne 0x46c24f
xor eax, eax
xor ecx, ecx
jmp 0x46c332
movss dword [esp + 0x3c], xmm0
nop
lea eax, [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x3f4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3f8]
mov dword [esp + 8], eax
call fcn.0044d3f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044d230
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3e4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x522640]
mov dword [esp], edx
call fcn.0040ba60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x535d65]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x737a60]
test ecx, ecx
jne 0x46c2e5
mov ecx, dword [esp + 0x3e4]
mov dword [eax + 8], ecx
jmp 0x46c2f8
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x3e4]
call fcn.004614c0
mov eax, ecx
mov ecx, dword [0x712004]
mov edx, dword [0x712000]
mov dword [eax + 0x10], edx
mov edx, dword [0x737a60]
test edx, edx
jne 0x46c316
mov dword [eax + 0x14], ecx
jmp 0x46c324
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.004614c0
mov eax, edx
movss xmm0, dword [esp + 0x3c]
mov ecx, eax
lea eax, [0x57ae64]
movss dword [esp + 0x3fc], xmm0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x400], edx
mov dword [esp + 0x404], eax
mov dword [esp + 0x408], ecx
add esp, 0x3f0
ret
lea eax, [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x3f4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3f8]
mov dword [esp + 8], eax
call fcn.0044d3f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044d230
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3e8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
lea edx, [0x522640]
mov dword [esp], edx
call fcn.0040ba60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x535d65]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x737a60]
test ecx, ecx
jne 0x46c3ea
mov ecx, dword [esp + 0x3e8]
mov dword [eax + 8], ecx
jmp 0x46c3fd
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x3e8]
call fcn.004614c0
mov eax, ecx
mov ecx, dword [0x71200c]
mov edx, dword [0x712008]
mov dword [eax + 0x10], edx
mov edx, dword [0x737a60]
test edx, edx
jne 0x46c41b
mov dword [eax + 0x14], ecx
jmp 0x46c429
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.004614c0
mov eax, edx
xorps xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x400], ecx
lea ecx, [0x57ae64]
mov dword [esp + 0x404], ecx
mov dword [esp + 0x408], eax
add esp, 0x3f0
ret
lea eax, [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x3f4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3f8]
mov dword [esp + 8], eax
call fcn.0044d3f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044d230
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3ec], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
lea edx, [0x522640]
mov dword [esp], edx
call fcn.0040ba60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x535d65]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x737a60]
test ecx, ecx
jne 0x46c4ed
mov ecx, dword [esp + 0x3ec]
mov dword [eax + 8], ecx
jmp 0x46c500
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x3ec]
call fcn.004614c0
mov eax, ecx
mov ecx, dword [0x71200c]
mov edx, dword [0x712008]
mov dword [eax + 0x10], edx
mov edx, dword [0x737a60]
test edx, edx
jne 0x46c51e
mov dword [eax + 0x14], ecx
jmp 0x46c52c
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.004614c0
mov eax, edx
xorps xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x400], ecx
lea ecx, [0x57ae64]
mov dword [esp + 0x404], ecx
mov dword [esp + 0x408], eax
add esp, 0x3f0
ret
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov dword [esp + 0x400], ecx
mov dword [esp + 0x404], 0
mov dword [esp + 0x408], 0
add esp, 0x3f0
ret
mov ecx, edx
mov edx, ebx
call fcn.00461560
mov edx, esi
call fcn.00461560
nop
call fcn.004600b0
jmp fcn.0046bf20