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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [ebp + 0x18]
xorps xmm2, xmm2
push ebx
mov ebx, dword [ebp + 0x24]
add eax, 3
push esi
mov esi, dword [ebp + 0x30]
push edi
mov edi, ecx
mov dword [esp + 0x48], edx
lea edx, [ebx + 0x1c]
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 0
movss dword [esp + 0x40], xmm2
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x30], edx
cmp eax, dword [ebp + 0x14]
jg 0x55740f
mov eax, dword [edx]
mov ecx, eax
shr ecx, 3
sub eax, ecx
test esi, esi
je 0x557401
add dword [ebx + 0x20], eax
test esi, esi
cmovne eax, ecx
mov ecx, ebx
mov dword [edx], eax
call fcn.0054cc80
jmp 0x557413
mov dword [esp + 0x30], edx
test esi, esi
je 0x557421
movss xmm0, dword [0x5f45b0]
jmp 0x55743c
mov eax, dword [ebp + 0x2c]
movss xmm2, dword [eax*4 + 0x5e3aa4]
movss xmm0, dword [eax*4 + 0x5e3ab8]
movss dword [esp + 0x40], xmm2
mov eax, dword [esp + 0x48]
mov ecx, eax
movss dword [esp + 0x5c], xmm0
mov dword [esp + 0x3c], ecx
cmp eax, dword [ebp + 8]
jge 0x557807
fld dword [0x5f45ec]
mov esi, dword [ebp + 0x28]
movss xmm1, dword [0x5f47ec]
mov eax, dword [ebp + 8]
fst dword [esp + 0x60]
mov dword [esp + 0x68], 1
sub eax, ecx
xor edx, edx
imul eax, esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x38], edx
lea eax, [eax + eax*2]
sub esi, eax
mov dword [esp + 0x64], esi
mov esi, dword [edi + 8]
mov eax, dword [ebp + 0x10]
imul esi, edx
add esi, ecx
movss xmm0, dword [eax + esi*4]
comiss xmm1, xmm0
movss dword [esp + 0x50], xmm0
jbe 0x5574aa
movaps xmm0, xmm1
mov eax, dword [ebp + 0xc]
sub esp, 8
mulss xmm0, xmm2
movss xmm2, dword [esp + edx*4 + 0x80]
movss xmm1, dword [eax + esi*4]
subss xmm1, xmm0
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x78], xmm2
subss xmm1, xmm2
movss dword [esp + 0x5c], xmm1
fadd dword [esp + 0x5c]
fstp qword [esp]
call fcn.005b41a0
add esp, 8
call fcn.00584520
movss xmm0, dword [esp + 0x50]
mov edi, eax
movss xmm3, dword [0x5f47f4]
comiss xmm3, xmm0
jbe 0x557508
movaps xmm0, xmm3
subss xmm0, dword [ebp + 0x34]
test edi, edi
jns 0x55752f
mov eax, dword [ebp + 0xc]
movss xmm1, dword [eax + esi*4]
comiss xmm0, xmm1
jbe 0x55752f
subss xmm0, xmm1
cvttss2si eax, xmm0
add edi, eax
xor eax, eax
test edi, edi
cmovg edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x6c], edi
mov edx, dword [eax]
bsr eax, edx
sub eax, dword [ebx + 0x14]
inc eax
add ecx, eax
cmp esi, dword [esp + 0x48]
je 0x557572
cmp ecx, 0x1e
jge 0x557572
cmp ecx, 0x18
jge 0x557562
cmp edi, 1
cmovg edi, dword [esp + 0x68]
cmp ecx, 0x10
jge 0x557572
cmp edi, 0xffffffff
mov ecx, 0xffffffff
cmovl edi, ecx
add eax, dword [ebp + 0x14]
cmp eax, 0xf
jl 0x55769f
mov ebx, dword [ebp + 0x1c]
mov eax, 0x14
cmp esi, eax
cmovl eax, esi
movzx ecx, byte [ebx + eax*2 + 1]
movzx esi, byte [ebx + eax*2]
xor ebx, ebx
shl ecx, 6
shl esi, 7
mov dword [esp + 0x4c], ecx
test edi, edi
je 0x557643
mov eax, edi
mov ecx, 0x7fe0
shr eax, 0x1f
sub ecx, esi
neg eax
mov dword [esp + 0x34], eax
lea ebx, [eax + edi]
xor ebx, eax
mov eax, 0x4000
sub eax, dword [esp + 0x4c]
imul ecx, eax
mov eax, 1
mov dword [esp + 0x50], eax
shr ecx, 0xf
test ecx, ecx
je 0x557604
jmp 0x5575e0
mov dword [esp + 0x50], esi
cmp eax, ebx
jge 0x557673
add ecx, ecx
add esi, 2
add esi, ecx
inc eax
imul ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
shr ecx, 0xf
test ecx, ecx
jne 0x5575e0
mov ecx, dword [esp + 0x34]
sub ebx, eax
mov eax, 0x8000
sub eax, ecx
sub eax, esi
sar eax, 1
dec eax
cmp ebx, eax
cmovge ebx, eax
inc esi
mov dword [esp + 0x4c], ebx
mov eax, 1
mov edi, dword [esp + 0x4c]
lea ebx, [ecx + ebx*2]
add ebx, esi
mov esi, 0x8000
sub esi, ebx
cmp esi, 1
cmova esi, eax
add edi, dword [esp + 0x50]
add edi, ecx
xor edi, ecx
mov ecx, edx
mov eax, 0x8000
sub eax, ebx
shr ecx, 0xf
test ebx, ebx
mov ebx, dword [ebp + 0x24]
je 0x557684
imul eax, ecx
imul ecx, esi
sub edx, eax
mov eax, dword [esp + 0x30]
add dword [ebx + 0x20], edx
mov dword [eax], ecx
mov ecx, ebx
call fcn.0054cc80
jmp 0x55774c
mov ebx, dword [esp + 0x34]
lea esi, [ecx + 1]
not ebx
and ebx, esi
add ebx, dword [esp + 0x50]
jmp 0x557643
sub eax, esi
imul eax, ecx
mov ecx, edx
sub ecx, eax
mov eax, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, ebx
call fcn.0054cc80
jmp 0x55774c
cmp eax, 2
jl 0x55771c
mov eax, 1
mov esi, edx
cmp edi, eax
cmovl eax, edi
mov edi, eax
mov eax, 0xffffffff
cmp edi, 0xffffffff
cmovl edi, eax
shr esi, 2
mov ecx, edi
shr ecx, 0x1f
neg ecx
lea eax, [edi + edi]
xor ecx, eax
test ecx, ecx
jle 0x557701
movzx eax, byte [ecx + 0x5e3ab3]
imul eax, esi
sub edx, eax
add dword [ebx + 0x20], edx
movzx eax, byte [ecx + 0x5e3ab4]
movzx edx, byte [ecx + 0x5e3ab3]
mov ecx, ebx
sub edx, eax
mov eax, dword [esp + 0x30]
imul edx, esi
mov dword [eax], edx
call fcn.0054cc80
jmp 0x55774c
movzx eax, byte [ecx + 0x5e3ab4]
mov ecx, ebx
imul eax, esi
sub edx, eax
mov eax, dword [esp + 0x30]
mov dword [eax], edx
call fcn.0054cc80
jmp 0x55774c
cmp eax, 1
jl 0x557749
xor eax, eax
test edi, edi
cmovg edi, eax
mov eax, edx
shr eax, 1
sub edx, eax
test edi, edi
je 0x557737
add dword [ebx + 0x20], edx
test edi, edi
cmovne edx, eax
mov ecx, ebx
mov eax, dword [esp + 0x30]
mov dword [eax], edx
call fcn.0054cc80
jmp 0x55774c
or edi, 0xffffffff
mov eax, dword [esp + 0x58]
movss xmm0, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 0x20]
mov eax, dword [eax + 8]
imul eax, dword [esp + 0x38]
movss xmm2, dword [esp + 0x70]
cvtsi2ss xmm1, edi
mov esi, dword [ebp + 0x10]
add eax, ecx
fld dword [esp + 0x60]
subss xmm0, xmm1
movss dword [edx + eax*4], xmm0
movaps xmm0, xmm2
mov eax, dword [esp + 0x6c]
addss xmm2, xmm1
addss xmm0, dword [esp + 0x74]
sub eax, edi
mov edi, dword [esp + 0x58]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x38]
add dword [esp + 0x44], eax
addss xmm0, xmm1
mov eax, dword [edi + 8]
mulss xmm1, dword [esp + 0x5c]
imul eax, edx
subss xmm2, xmm1
movss xmm1, dword [0x5f47ec]
add eax, ecx
movss dword [esp + edx*4 + 0x78], xmm2
inc edx
movss xmm2, dword [esp + 0x40]
movss dword [esi + eax*4], xmm0
mov esi, dword [ebp + 0x28]
mov dword [esp + 0x38], edx
cmp edx, esi
jl 0x55748c
mov eax, dword [ebp + 8]
inc ecx
mov dword [esp + 0x3c], ecx
fstp st(0)
fld dword [esp + 0x60]
cmp ecx, eax
jl 0x557475
mov eax, dword [esp + 0x44]
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret