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

Disassembly:
sub esp, 0x9c
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
mov ebp, dword [ebp]
movss xmm3, dword [eax]
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov edi, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov esi, dword [esi]
movss xmm0, dword [edi]
mov edi, dword [esp + 0xac]
movss xmm1, dword [ecx]
movss xmm2, dword [edx]
mov edx, dword [esp + 0xc8]
mov eax, dword [ebx]
mov ecx, dword [edx]
mov ebx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x28], xmm3
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x68], eax
mov eax, dword [ebx]
mov ebx, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
mov edi, dword [eax]
mov dword [esp + 0x5c], ecx
cmp edx, edi
jge 0x5a4913
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], edx
dec edi
mov dword [esp + 0x3c], edi
lea esi, [esp + 0x38]
lea ecx, [esp + 0x3c]
mov eax, 1
mov dword [esp + 0x44], eax
lea edx, [esp + 0x44]
push eax
push eax
push edx
push ecx
push esi
lea eax, [esp + 0x54]
push eax
push 0x22
push ebp
push 0xb8e514
call fcn.00610460
add esp, 0x24
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
cmp eax, edi
jle 0x5a492a
push ebp
push 0xb8e514
call fcn.00610958
add esp, 8
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
add esp, 0x9c
ret
movss xmm0, dword [0xb21f48]
mov eax, dword [esp + 0x5c]
movss xmm5, dword [esp + 0x2c]
movaps xmm1, xmm0
divss xmm1, dword [esp + 0x18]
movss dword [esp + 0x34], xmm1
movaps xmm6, xmm0
divss xmm6, dword [esp + 0x14]
cmp edi, esi
cmovl esi, edi
sub esi, dword [esp + 0x48]
mov ecx, ebx
mov dword [esp + 0x60], ebx
mov dword [esp], ebp
inc esi
mov dword [esp + 0x30], esi
xor edx, edx
shl ecx, 4
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 4]
sub eax, ebx
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x10]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
add esi, edx
imul edi, esi
add ebp, ebx
add ebp, edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x84], ebp
lea ebp, [ebx + ecx]
mov ebx, dword [esp + 0x54]
imul ebx, esi
add ebp, ebx
cmp edi, dword [esp + 0x5c]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
jge 0x5a4c4f
movss xmm4, dword [0xb21f4c]
movss xmm1, dword [0xb21f50]
mov ecx, dword [esp + 0x24]
cvtsi2ss xmm2, esi
movss dword [esp + 0x18], xmm6
subss xmm2, xmm5
mulss xmm2, xmm6
mov dword [esp + 0x14], edx
xor ebp, ebp
mov dword [esp + 0x80], ebp
addss xmm2, xmm5
andps xmm4, xmm2
movaps xmm7, xmm4
movss xmm5, dword [esp + 0x28]
dec eax
mov dword [esp + 0x7c], eax
pxor xmm7, xmm2
cmpltss xmm7, xmm1
andps xmm7, xmm1
orps xmm7, xmm4
movaps xmm3, xmm7
dec ecx
mov esi, ecx
addss xmm3, xmm2
subss xmm3, xmm7
movaps xmm7, xmm3
xor ebx, ebx
subss xmm7, xmm2
cmpnless xmm7, xmm4
andps xmm7, xmm0
subss xmm3, xmm7
cvtss2si edi, xmm3
cvtsi2ss xmm3, edi
cmp ecx, edi
subss xmm2, xmm3
movss xmm3, dword [esp + 0x34]
movss dword [esp + 0x78], xmm2
jl 0x5a4a88
mov esi, edi
test esi, esi
cmovl esi, ebp
inc edi
cmp edi, ecx
mov dword [esp + 0x74], esi
jl 0x5a4a98
mov edi, ecx
mov ecx, dword [esp + 0x60]
test edi, edi
cmovl edi, ebp
mov dword [esp + 0x70], edi
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x8c]
movss xmm6, dword [0xb21f4c]
mov eax, dword [ebx + ebp]
mov dword [esp + 0x90], ecx
mov dword [ebx + edi], eax
mov edx, dword [ebx + ebp + 4]
mov dword [esp + 0x94], ebx
pxor xmm2, xmm2
cvtsi2ss xmm2, ecx
mov dword [ebx + edi + 4], edx
mov esi, dword [ebx + ebp + 8]
mov edx, dword [esp + 0x68]
mov dword [ebx + edi + 8], esi
mov esi, dword [esp + 0x7c]
mov eax, dword [ebx + ebp + 0xc]
subss xmm2, xmm5
mulss xmm2, xmm3
mov dword [ebx + edi + 0xc], eax
mov edi, dword [esp + 0x64]
mov eax, dword [edx + 0x10]
addss xmm2, xmm5
andps xmm6, xmm2
movaps xmm7, xmm6
mov ecx, esi
xor ebp, ebp
pxor xmm7, xmm2
cmpltss xmm7, xmm1
andps xmm7, xmm1
orps xmm7, xmm6
movaps xmm4, xmm7
addss xmm4, xmm2
subss xmm4, xmm7
movaps xmm7, xmm4
subss xmm7, xmm2
cmpnless xmm7, xmm6
andps xmm7, xmm0
subss xmm4, xmm7
cvtss2si ebx, xmm4
cvtsi2ss xmm4, ebx
cmp esi, ebx
subss xmm2, xmm4
jl 0x5a4b53
mov ecx, ebx
test ecx, ecx
cmovl ecx, ebp
inc ebx
cmp ebx, esi
jl 0x5a4b5f
mov ebx, esi
shl ecx, 4
lea ecx, [ecx + edi*4]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x74]
imul ecx, eax
imul eax, dword [esp + 0x70]
add ecx, dword [edx + 4]
add eax, dword [edx + 4]
test ebx, ebx
cmovl ebx, ebp
mov edx, dword [esp + 0x80]
inc edx
shl ebx, 4
mov dword [esp + 0x80], edx
lea ebx, [ebx + edi*4]
movss xmm4, dword [ebx + ecx]
movss xmm6, dword [eax + ebx]
mov ebx, dword [esp + 0x98]
subss xmm4, dword [ecx + ebx]
mulss xmm4, xmm2
subss xmm6, dword [eax + ebx]
mulss xmm6, xmm2
addss xmm4, dword [ecx + ebx]
addss xmm6, dword [eax + ebx]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x94]
subss xmm6, xmm4
mulss xmm6, dword [esp + 0x78]
add ebx, 0x10
addss xmm4, xmm6
movss dword [ecx + edi*4], xmm4
add ecx, 0x10
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x90]
inc ecx
cmp edx, dword [esp + 0x6c]
jb 0x5a4aa5
movss xmm6, dword [esp + 0x18]
movss xmm5, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
inc edx
cmp edx, dword [esp + 0x30]
jae 0x5a4c5a
mov ecx, dword [esp + 0x68]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x54], ebx
mov ebx, dword [edi + 4]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
jmp 0x5a49a8
inc edx
cmp edx, dword [esp + 0x30]
jb 0x5a49a8
mov ebp, dword [esp]
jmp 0x5a4905