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

Disassembly:
push 0xffffffffffffffff
push 0x6a7320
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
sub edx, esi
test esi, esi
jle 0x583ce8
jmp 0x583cc0
mov al, byte [edx]
cmp al, 1
je 0x583e99
cmp al, 2
je 0x583e99
cmp al, 3
je 0x583e99
cmp al, 4
je 0x583e99
inc ecx
inc edx
cmp ecx, esi
jl 0x583cc0
mov al, byte [esp + 0x70]
mov byte [esp + 0x13], 1
lea ebx, [edi + 0xa]
xchg byte [ebx], al
mov al, byte [ebx]
mov dword [esp + 0x3c], edi
movzx eax, al
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], 0
lea ecx, [esp + 0x44]
mov esi, dword [esp + 0x6c]
push edi
movdqu xmm0, xmmword [esi]
movdqu xmmword [esp + 0x4c], xmm0
call fcn.005869c0
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x38]
movss xmm0, dword [esi + 8]
movss xmm2, dword [esi]
movaps xmm1, xmm0
movss xmm4, dword [esi + 0xc]
addss xmm1, xmm2
movss xmm3, dword [esi + 4]
push 9
push 9
push edi
mulss xmm1, dword [0x6f8778]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x24], xmm1
movaps xmm1, xmm4
addss xmm1, xmm3
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x20], xmm4
mulss xmm1, dword [0x6f8778]
movss dword [esp + 0x78], xmm1
call fcn.005b4b80
push 0
push 0
push edi
lea ecx, [esp + 0x34]
call fcn.005b4b80
mov eax, dword [edi]
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], 0
mov eax, dword [eax + 0x28]
push 0
mov dword [edi + 4], eax
call fcn.005b5740
movss xmm1, dword [esp + 0x24]
movss xmm0, dword [esp + 0x6c]
movss dword [eax], xmm1
movss dword [eax + 4], xmm0
mov al, 2
mov byte [edi + 9], 0
xchg byte [ebx], al
movss xmm0, dword [esp + 0x18]
sub esp, 0x14
cmp dword [esp + 0x84], 1
mov ecx, edi
mov dword [esp + 0x10], 0x3f3504f3
jne 0x583ea5
movss xmm2, dword [esp + 0x34]
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
call fcn.00585980
movss xmm0, dword [esp + 0x6c]
sub esp, 0x14
movss xmm1, dword [esp + 0x34]
mov ecx, edi
mov dword [esp + 0x10], 0x3f3504f3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.00585980
movss xmm1, dword [esp + 0x14]
sub esp, 0x14
movss xmm0, dword [esp + 0x2c]
mov ecx, edi
mov dword [esp + 0x10], 0x3f3504f3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.00585980
movss xmm1, dword [esp + 0x14]
jmp 0x583f43
mov byte [esp + 0x13], 0
mov al, 2
jmp 0x583cf1
movss xmm2, dword [esp + 0x28]
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
call fcn.00585980
movss xmm0, dword [esp + 0x6c]
sub esp, 0x14
movss xmm1, dword [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x10], 0x3f3504f3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.00585980
movss xmm1, dword [esp + 0x20]
sub esp, 0x14
movss xmm0, dword [esp + 0x2c]
mov ecx, edi
mov dword [esp + 0x10], 0x3f3504f3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.00585980
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [esp + 0x6c]
sub esp, 0x14
mov ecx, edi
mov dword [esp + 0x10], 0x3f3504f3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.00585980
mov ecx, dword [edi]
mov eax, dword [ecx + 0x24]
test eax, eax
jle 0x583faf
mov ecx, dword [ecx + 0x20]
dec eax
not eax
mov al, byte [eax + ecx]
cmp al, 4
ja 0x583faf
push 0
push 0
push edi
lea ecx, [esp + 0x38]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], 0
push 5
call fcn.005b5740
mov ecx, dword [edi + 4]
not ecx
push 0
sar ecx, 0x1f
xor dword [edi + 4], ecx
lea ecx, [esp + 0x34]
push 0
push edi
call fcn.005b4b80
mov eax, dword [esp + 0x30]
mov cl, byte [esp + 0x13]
mov byte [eax + 0x1a], cl
mov byte [esp + 0x64], 0
lea ecx, [esp + 0x44]
call fcn.00583720
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x34]
xchg byte [ebx], al
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret 8