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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
lea eax, [esp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
push 0
push 0x1000300
push eax
call fcn.005bbc80
mov edi, dword [ebp + 8]
mov ecx, edi
push dword [eax]
call fcn.00557aa0
push 0
push 0x1000400
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.005bbc80
cmp byte [ebp + 0x2c], 0
jne 0x58adb9
cmp byte [ebp + 0x30], 0
jne 0x58adb9
movss xmm0, dword [0x627bd0]
jmp 0x58adc1
movss xmm0, dword [0x627c0c]
mov eax, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
mov dword [esp + 0x14], eax
jb 0x58add3
xor al, al
jmp 0x58adfd
comiss xmm0, dword [0x627cbc]
jb 0x58ade0
or al, 0xff
jmp 0x58adfd
mulss xmm0, dword [0x628008]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x627f88]
movsd qword [esp + 0x30], xmm0
mov al, byte [esp + 0x30]
mov byte [esp + 0x17], al
mov ecx, edi
push dword [esp + 0x14]
call fcn.0054bb80
movd xmm0, dword [ebp + 0x28]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x627b48]
movss dword [esp + 0x14], xmm0
jbe 0x58b2c4
cmp byte [ebp + 0x20], 0
mov ecx, dword [edi + 4]
push 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x54]
je 0x58aed3
mov eax, dword [ebp + 0x18]
sub eax, 2
mov dword [esp + 0x3c], eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [0x627c04]
mulss xmm0, dword [0x627bf8]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x627f88]
movsd qword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x627f88]
movsd qword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x1c]
add eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
call edx
mov eax, dword [ebp + 0x10]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffffe
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x28]
jmp 0x58af6a
mov eax, dword [ebp + 0x1c]
sub eax, 2
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x40], eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
movaps xmm0, xmm1
mulss xmm1, dword [0x627c04]
mulss xmm0, dword [0x627bf8]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x627f88]
movsd qword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x627f88]
movsd qword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
call edx
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffffe
push 0
mov dword [esp + 0x30], eax
mov ecx, esi
push 0x1000400
lea eax, [esp + 0x20]
push eax
call fcn.005bbc80
cmp byte [ebp + 0x2c], 0
jne 0x58af97
cmp byte [ebp + 0x30], 0
jne 0x58af97
movss xmm0, dword [0x627c5c]
jmp 0x58af9f
movss xmm0, dword [0x627ca0]
mov eax, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
mov dword [esp + 0xc], eax
jb 0x58afb1
xor al, al
jmp 0x58afdb
comiss xmm0, dword [0x627cbc]
jb 0x58afbe
or al, 0xff
jmp 0x58afdb
mulss xmm0, dword [0x628008]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x627f88]
movsd qword [esp + 0x30], xmm0
mov al, byte [esp + 0x30]
mov byte [esp + 0xf], al
mov ecx, edi
push dword [esp + 0xc]
call fcn.0054bb80
mov ecx, dword [edi + 4]
lea edx, [esp + 0x50]
movaps xmm0, xmmword [esp + 0x20]
movaps xmmword [esp + 0x50], xmm0
push 0
mov eax, dword [ecx]
push edx
call dword [eax + 0x54]
cmp byte [ebp + 0x2c], 0
jne 0x58b019
cmp byte [ebp + 0x30], 0
jne 0x58b019
movss xmm0, dword [0x627be8]
jmp 0x58b021
movss xmm0, dword [0x627c0c]
mulss xmm0, dword [0x628008]
mov ecx, edi
mov eax, dword [0x65ac28]
mov dword [esp + 0xc], eax
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x627f88]
movsd qword [esp + 0x18], xmm0
mov al, byte [esp + 0x18]
mov byte [esp + 0xf], al
push dword [esp + 0xc]
call fcn.0054bb80
movd xmm0, dword [esp + 0x20]
sub esp, 0x10
cvtdq2ps xmm0, xmm0
mov eax, esp
mov ecx, edi
movss xmm1, dword [0x627cbc]
movss dword [esp + 0x50], xmm0
movd xmm0, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
movd xmm0, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x58], xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
call fcn.0054ac50
cmp dword [ebp + 0x28], 0x10
jle 0x58b2c4
movd xmm0, dword [ebp + 0x24]
mov esi, 2
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x627c1c]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movsd xmm0, qword [0x627fa8]
movsd qword [esp + 0x40], xmm0
movss dword [esp + 0x14], xmm1
nop dword [eax + eax]
mov eax, dword [0x65ac28]
dec esi
mov dword [esp + 0x10], eax
mov ecx, edi
mov al, byte [esp + 0x40]
mov byte [esp + 0x13], al
push dword [esp + 0x10]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x627e74]
addss xmm0, xmm1
movss dword [esp + 0x10], xmm0
call fcn.0054bb80
cmp byte [ebp + 0x20], 0
mov ecx, dword [edi + 4]
movss xmm3, dword [esp + 0xc]
je 0x58b1f4
movd xmm2, dword [esp + 0x38]
lea edx, [esp + 0x60]
movd xmm0, dword [ebp + 0x10]
cvtdq2ps xmm2, xmm2
push edx
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm2
movss dword [esp + 0x68], xmm3
mulss xmm1, dword [0x627bd8]
mulss xmm2, dword [0x627c78]
addss xmm0, xmm1
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x64], xmm0
mov eax, dword [ecx]
call dword [eax + 0x64]
mov eax, dword [0x65ac18]
mov ecx, edi
movsd xmm0, qword [0x627fa8]
mov dword [esp + 0x10], eax
movsd qword [esp + 0x20], xmm0
mov al, byte [esp + 0x20]
mov byte [esp + 0x13], al
push dword [esp + 0x10]
call fcn.0054bb80
movss xmm1, dword [esp + 0xc]
lea edx, [esp + 0x70]
subss xmm1, dword [0x627cbc]
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x7c], xmm1
jmp 0x58b2ad
movd xmm1, dword [esp + 0x3c]
lea edx, [esp + 0x80]
cvtdq2ps xmm1, xmm1
push edx
movss dword [esp + 0x84], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x8c], xmm3
mulss xmm0, dword [0x627bd8]
mulss xmm1, dword [0x627c78]
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x90], xmm1
mov eax, dword [ecx]
movss dword [esp + 0x34], xmm1
call dword [eax + 0x64]
mov eax, dword [0x65ac18]
mov ecx, edi
movsd xmm0, qword [0x627fa8]
mov dword [esp + 0x10], eax
movsd qword [esp + 0x20], xmm0
mov al, byte [esp + 0x20]
mov byte [esp + 0x13], al
push dword [esp + 0x10]
call fcn.0054bb80
movss xmm1, dword [esp + 0xc]
lea edx, [esp + 0x50]
subss xmm1, dword [0x627cbc]
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x58], xmm1
mov ecx, dword [edi + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x64]
movss xmm1, dword [esp + 0x14]
test esi, esi
jns 0x58b0f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x2c