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

Disassembly:
push 0xffffffffffffffff
push 0x6a7380
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor ecx, ecx
mov edi, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
sub edx, edi
test edi, edi
jle 0x584ae8
jmp 0x584ac0
mov al, byte [edx]
cmp al, 1
je 0x584c7c
cmp al, 2
je 0x584c7c
cmp al, 3
je 0x584c7c
cmp al, 4
je 0x584c7c
inc ecx
inc edx
cmp ecx, edi
jl 0x584ac0
mov dl, 1
mov ebx, dword [esp + 0x74]
lea edi, [esi + 0xa]
test dl, dl
movzx eax, bl
mov ecx, 2
cmovne ecx, eax
xchg byte [edi], cl
mov al, byte [edi]
mov dword [esp + 0x34], esi
movzx eax, al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], 0
lea ecx, [esp + 0x3c]
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x70]
push esi
movss dword [esp + 0x50], xmm0
call fcn.005869c0
mov byte [esp + 0x5c], 1
lea ecx, [esp + 0x30]
push 5
push 5
push esi
call fcn.005b4b80
push 0
push 0
push esi
lea ecx, [esp + 0x80]
call fcn.005b4b80
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x78]
mov dword [esp], 0
mov eax, dword [eax + 0x28]
push 0
mov dword [esi + 4], eax
call fcn.005b5740
movss xmm0, dword [esp + 0x64]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 4], xmm0
mov al, 2
mov byte [esi + 9], 0
xchg byte [edi], al
mov ecx, esi
call fcn.00586ac0
push 0
push 0
push esi
cmp ebx, 1
jne 0x584c83
lea ecx, [esp + 0x1c]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp], 0
push ebx
call fcn.005b5740
movss xmm0, dword [esp + 0x64]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [eax + 4], xmm0
mov al, 2
mov byte [esi + 9], 0
xchg byte [edi], al
mov ecx, esi
call fcn.00586ac0
push 0
push 0
push esi
lea ecx, [esp + 0x20]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
push ebx
call fcn.005b5740
movss xmm0, dword [esp + 0x6c]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [eax + 4], xmm0
mov al, 2
mov byte [esi + 9], 0
xchg byte [edi], al
mov ecx, esi
call fcn.00586ac0
push 0
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp], 0
push ebx
call fcn.005b5740
movss xmm0, dword [esp + 0x6c]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x68]
jmp 0x584d39
xor dl, dl
jmp 0x584aea
lea ecx, [esp + 0x28]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp], 0
push 1
call fcn.005b5740
movss xmm0, dword [esp + 0x6c]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 4], xmm0
mov al, 2
mov byte [esi + 9], 0
xchg byte [edi], al
mov ecx, esi
call fcn.00586ac0
push 0
push 0
push esi
lea ecx, [esp + 0x2c]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp], 0
push 1
call fcn.005b5740
movss xmm0, dword [esp + 0x6c]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [eax + 4], xmm0
mov al, 2
mov byte [esi + 9], 0
xchg byte [edi], al
mov ecx, esi
call fcn.00586ac0
push 0
push 0
push esi
lea ecx, [esp + 0x30]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], 0
push 1
call fcn.005b5740
movss xmm0, dword [esp + 0x64]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [eax + 4], xmm0
mov al, 2
mov byte [esi + 9], 0
xchg byte [edi], al
mov ecx, dword [esi]
mov eax, dword [ecx + 0x24]
test eax, eax
jle 0x584d7d
mov ecx, dword [ecx + 0x20]
dec eax
not eax
mov al, byte [eax + ecx]
cmp al, 4
ja 0x584d7d
push 0
push 0
push esi
lea ecx, [esp + 0x34]
call fcn.005b4b80
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], 0
push 5
call fcn.005b5740
mov ecx, dword [esi + 4]
not ecx
sar ecx, 0x1f
xor dword [esi + 4], ecx
mov byte [esp + 0x5c], 0
lea ecx, [esp + 0x3c]
call fcn.00583720
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x2c]
xchg byte [edi], al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x14