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

Disassembly:
sub esp, 0x4c
mov edx, dword [0x6815a8]
push ebx
mov ebx, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x2c], edx
test edi, edi
jne 0x47e41a
mov edi, ebx
mov dword [esp + 0x74], edi
cmp ebx, 0xffffffff
jae 0x47e41a
nop dword [eax + eax]
mov cl, byte [edi]
test cl, cl
je 0x47e416
cmp cl, 0x23
jne 0x47e410
cmp byte [edi + 1], cl
je 0x47e416
inc edi
cmp edi, 0xffffffff
jb 0x47e400
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x78]
xorps xmm2, xmm2
movss dword [esp + 0x1c], xmm2
test eax, eax
je 0x47e436
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x47e499
movss xmm1, dword [edx + 0x3c98]
movss dword [esp + 0x20], xmm1
cmp ebx, edi
je 0x47e4a5
mov ecx, dword [edx + 0x3c94]
lea eax, [esp + 0x30]
push 0
push edi
push ebx
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7f7fffff
movss dword [esp], xmm1
push eax
call fcn.00489c80
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x54718c]
movss xmm1, dword [esp + 0x34]
mov edx, dword [0x6815a8]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm2
mov eax, dword [esp + 0x64]
movss xmm5, dword [ebp]
push esi
movss xmm0, dword [eax]
subss xmm0, xmm5
comiss xmm2, xmm0
jbe 0x47e853
mov eax, dword [esp + 0x60]
mov edx, 0xffff
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 8]
movss xmm0, dword [eax + 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
movzx eax, word [ecx + 0x3c]
movss dword [esp + 0x1c], xmm0
mov esi, eax
cmp ax, dx
jne 0x47e544
movzx esi, word [ecx + 0x3e]
push esi
call fcn.0048a3f0
mov ecx, dword [esp + 0x60]
mov edx, 3
movss xmm1, dword [eax + 0x10]
mov ecx, dword [ecx + 0x2c]
subss xmm1, dword [eax + 8]
movd xmm2, edx
mov eax, esi
cvtdq2ps xmm2, xmm2
mov esi, edx
movss xmm0, dword [ecx + 0xc]
mov ecx, dword [esp + 0x14]
divss xmm0, dword [ecx + 0x10]
addss xmm1, xmm0
mulss xmm2, xmm1
movss dword [esp + 0x2c], xmm1
subss xmm2, xmm0
movss dword [esp + 0x28], xmm2
jmp 0x47e569
push esi
call fcn.0048a3f0
mov ecx, dword [esp + 0x14]
movss xmm0, dword [eax + 0x10]
mov eax, esi
movss dword [esp + 0x2c], xmm0
movaps xmm2, xmm0
movss dword [esp + 0x28], xmm0
mov esi, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
movss xmm0, dword [eax]
lea eax, [esp + 0x10]
maxss xmm0, dword [esp + 0x70]
push eax
push edi
push ebx
sub esp, 0xc
lea eax, [esp + 0x4c]
subss xmm0, xmm2
mov dword [esp + 8], 0
subss xmm0, dword [ebp]
maxss xmm0, dword [0x672010]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
push eax
call fcn.00489c80
mov edx, dword [esp + 0x10]
movss xmm0, dword [eax]
movss dword [esp + 0x7c], xmm0
cmp edx, ebx
jne 0x47e632
cmp edx, edi
jae 0x47e630
push edi
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 0
push ebx
push eax
call fcn.00475c10
movss xmm0, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x14]
add eax, ebx
mov dword [esp + 0x10], eax
push 0
push eax
push ebx
sub esp, 0xc
lea eax, [esp + 0x4c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7f7fffff
movss dword [esp], xmm0
push eax
call fcn.00489c80
mov edx, dword [esp + 0x10]
movss xmm0, dword [eax]
movss dword [esp + 0x7c], xmm0
cmp edx, ebx
jbe 0x47e6b0
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov al, byte [edx - 1]
lea ecx, [edx - 1]
movzx edi, di
cmp al, 0x20
je 0x47e651
cmp al, 9
jne 0x47e6a8
movss xmm0, dword [esp + 0x1c]
lea eax, [ecx + 1]
push 0
push eax
push ecx
sub esp, 0xc
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x54]
mov ecx, ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7f7fffff
movss dword [esp], xmm0
push eax
call fcn.00489c80
movss xmm0, dword [esp + 0x7c]
mov edx, dword [esp + 0x10]
subss xmm0, dword [eax]
mov eax, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x18], edi
movss dword [esp + 0x7c], xmm0
cmp edx, ebx
ja 0x47e640
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x64]
movss xmm0, dword [ebp]
movss xmm1, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
addss xmm1, xmm0
movss xmm4, dword [esp + 0x6c]
movss xmm2, dword [ebp + 4]
movss dword [esp + 0x34], xmm0
movss xmm3, dword [eax + 4]
comiss xmm1, xmm4
movss dword [esp + 0x38], xmm2
jae 0x47e71e
movss xmm0, dword [esp + 0x24]
addss xmm0, xmm2
comiss xmm0, xmm3
jae 0x47e71e
mov eax, dword [0x6815a8]
push 0
movups xmm0, xmmword [eax + 0x391c]
movups xmmword [esp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x40]
movss dword [esp + 0x4c], xmm0
jmp 0x47e76a
movss xmm0, dword [ebp]
mov eax, dword [0x6815a8]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm3
movups xmm0, xmmword [eax + 0x391c]
movups xmmword [esp + 0x4c], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
movss dword [esp + 0x5c], xmm0
push ecx
mov dword [esp], 0
push edx
push ebx
push eax
call fcn.0046a830
add esp, 4
push eax
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp], 0
push 0
call fcn.00489600
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [ebp]
movss xmm2, dword [esp + 0x70]
movaps xmm0, xmm1
movss dword [esp + 0x7c], xmm1
addss xmm0, dword [esp + 0x28]
comiss xmm2, xmm0
jb 0x47e8f6
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
nop word [eax + eax]
mov eax, dword [0x6815a8]
push edi
movups xmm0, xmmword [eax + 0x391c]
movups xmmword [esp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x50]
push eax
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ebp + 4]
movss dword [esp + 0x40], xmm0
call fcn.0046a830
movss xmm0, dword [esp + 0x24]
add esp, 4
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
movss dword [esp], xmm0
mov ecx, ebx
push dword [esp + 0x70]
call fcn.0048d560
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x7c], xmm1
sub esi, 1
jne 0x47e7d0
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
jmp 0x47e8f6
movss xmm6, dword [esp + 0x6c]
movaps xmm0, xmm5
movss xmm3, dword [ebp + 4]
addss xmm2, xmm0
movss xmm4, dword [eax + 4]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm3
comiss xmm2, xmm6
jae 0x47e888
addss xmm1, xmm3
comiss xmm1, xmm4
jae 0x47e888
push 0
jmp 0x47e8a8
movaps xmm0, xmm3
movss dword [esp + 0x3c], xmm5
lea eax, [esp + 0x3c]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x48], xmm4
push eax
movups xmm0, xmmword [edx + 0x391c]
push ecx
mov dword [esp], 0
lea eax, [esp + 0x54]
movups xmmword [esp + 0x54], xmm0
push edi
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [edx + 0x3854]
push ebx
push eax
movss dword [esp + 0x6c], xmm0
call fcn.0046a830
add esp, 4
push eax
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp], 0
push 0
call fcn.00489600
mov eax, dword [esp + 0x30]
pop esi
cmp byte [eax + 0x53b8], 0
je 0x47e90f
push edi
push ebx
push ebp
call fcn.00477310
add esp, 0xc
pop edi
pop ebp
pop ebx
add esp, 0x4c
ret