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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a8e58
mov eax, dword fs:[0]
push eax
sub esp, 0x9c0
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x9b8], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x9d0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
test eax, eax
je 0x5a1cbd
test edx, edx
je 0x5a1cbd
mov eax, dword [esi + 0x28]
mov al, byte [eax + 0x2a]
test al, al
jne 0x5a1cbd
push dword [esi + 0x20]
push edi
call fcn.0059f030
add esp, 8
test al, al
je 0x5a17c6
mov ecx, dword [esp + 0x1c]
push edi
push dword [ebp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
push ebx
push ecx
push dword [esp + 0x28]
mov ecx, esi
call fcn.005a1cf0
jmp 0x5a1cbd
mov ecx, edi
call fcn.005776a0
mov ecx, dword [esi + 0x30]
push dword [esi + 0x20]
add ecx, 0x14
mov dword [esp + 0x30], eax
push ecx
push edi
lea ecx, [esp + 0x5c]
call fcn.00575660
mov dword [esp + 0x9d8], 0
lea ecx, [esp + 0xa4]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x38], edi
call fcn.005b0ea0
mov byte [esp + 0x9d8], 1
mov dword [esp + 0x500], 0
mov dword [esp + 0x98c], 0
mov byte [esp + 0x9d8], 2
mov dword [esp + 0x4fc], 0
mov byte [esp + 0x9d8], 3
xor edx, edx
push esi
call fcn.005a3920
add esp, 4
test al, al
je 0x5a188d
push edx
lea eax, [esp + 0x504]
push eax
mov eax, dword [esp + 0x20]
push eax
push dword [esi + 0x20]
push esi
call fcn.005c0f00
mov edx, eax
add esp, 0x14
mov dword [esp + 0x4fc], edx
mov eax, dword [esi + 0x28]
cmp byte [eax + 0x29], 0
jne 0x5a188d
push edx
push eax
lea ecx, [esp + 0xac]
call fcn.005b10e0
mov edx, dword [esp + 0x4f4]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
add esi, dword [esp + 0x28]
push ecx
movzx eax, word [ecx + 0x42]
lea ecx, [esp + 0x78]
push edi
push edx
push dword [esp + 0x2c]
and eax, 3
mov dword [esp + 0x5c], esi
mov dword [esp + 0x40], eax
call fcn.005a36f0
push dword [esp + 0x1c]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x60]
mov eax, dword [esp + 0x24]
push dword [ebp + 0x18]
push dword [eax + 0x20]
call fcn.0059e490
mov ecx, dword [edi + 0xc]
mov cl, byte [ecx + 0x36]
shr cl, 4
test cl, 1
je 0x5a1b05
mov eax, dword [esp + 0x20]
push dword [eax + 0x20]
call fcn.005b6420
add esp, 4
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
cmp eax, 1
jne 0x5a191e
mov dword [esp + 0x20], 0
mov dword [esp + 0xa0], 0x3f000000
jmp 0x5a1936
cmp eax, 2
jne 0x5a1936
mov dword [esp + 0x28], 0
mov dword [esp + 0x9c], 0x3f000000
mov eax, dword [esp + 0x18]
test byte [eax + 0x42], 3
jne 0x5a1a09
cmp dword [esp + 0x14], esi
jae 0x5a1c65
mov eax, dword [esp + 0x1c]
shl eax, 2
mov dword [esp + 0x1c], eax
lea esp, [esp]
lea eax, [esp + 0x44]
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.0059e8c0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0x9c]
mulss xmm0, dword [0x6bdc5c]
call fcn.00551f6e
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], edx
mulss xmm0, dword [0x6bdc5c]
call fcn.00551f6e
mov ecx, dword [esp + 0x18]
and ecx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
and eax, dword [esp + 0x20]
push eax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], edx
push eax
push edi
call dword [esp + 0x3c]
add esp, 0x10
cmp word [eax + 0x10], 0
je 0x5a19f6
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x7c]
push dword [esp + 0x2c]
push dword [esp + 0x44]
push dword [esp + 0x28]
push eax
call dword [esp + 0x4c]
add esp, 0x18
add ebx, dword [esp + 0x1c]
cmp dword [esp + 0x14], esi
jb 0x5a1960
jmp 0x5a1c65
mov eax, dword [esp + 0x14]
cmp eax, esi
jae 0x5a1c65
mov ecx, dword [esp + 0x1c]
shl ecx, 2
mov dword [esp + 0x44], ecx
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push 0
push eax
push edi
call dword [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x18], eax
cmp word [eax + 0x10], 0
je 0x5a1aec
lea eax, [esp + 0x54]
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.0059e8c0
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
call fcn.0059e810
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x9c]
mulss xmm0, dword [0x6bdc5c]
call fcn.00551f6e
movss xmm0, dword [esp + 0x40]
mov ebx, edx
addss xmm0, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
mulss xmm0, dword [0x6bdc5c]
call fcn.00551f6e
mov edi, eax
mov esi, edx
mov ecx, edi
lea eax, [esp + 0x1c]
and ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
and ecx, dword [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x44]
call dword [esp + 0x3c]
push eax
push esi
push edi
push ebx
push dword [esp + 0x38]
lea eax, [esp + 0x98]
push eax
call dword [esp + 0x5c]
mov ebx, dword [esp + 0x4c]
add esp, 0x28
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
add ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
cmp eax, esi
jb 0x5a1a20
jmp 0x5a1c65
mov eax, dword [esp + 0x18]
test byte [eax + 0x42], 3
jne 0x5a1bb3
cmp dword [esp + 0x14], esi
jae 0x5a1c65
mov eax, dword [esp + 0x1c]
shl eax, 2
mov dword [esp + 0x4c], eax
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push edi
call dword [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x44], eax
cmp word [eax + 0x10], 0
je 0x5a1ba0
lea eax, [esp + 0x3c]
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.0059e8c0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x6f8778]
push dword [esp + 0x44]
mulss xmm0, dword [0x6bdc5c]
call fcn.00551f6e
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x6f8778]
push edx
push eax
mulss xmm0, dword [0x6bdc5c]
call fcn.00551f6e
push edx
push eax
lea eax, [esp + 0x88]
push eax
call dword [esp + 0x4c]
add esp, 0x18
add ebx, dword [esp + 0x4c]
cmp dword [esp + 0x14], esi
jb 0x5a1b28
jmp 0x5a1c65
cmp dword [esp + 0x14], esi
jae 0x5a1c65
mov eax, dword [esp + 0x1c]
shl eax, 2
mov dword [esp + 0x44], eax
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push edi
call dword [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x24], eax
cmp word [eax + 0x10], 0
je 0x5a1c57
lea eax, [esp + 0x54]
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.0059e8c0
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
call fcn.0059e810
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x6f8778]
push dword [esp + 0x24]
mulss xmm0, dword [0x6bdc5c]
call fcn.00551f6e
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x6f8778]
push edx
push eax
mulss xmm0, dword [0x6bdc5c]
call fcn.00551f6e
push edx
push eax
lea eax, [esp + 0x88]
push eax
call dword [esp + 0x4c]
add esp, 0x18
add ebx, dword [esp + 0x44]
cmp dword [esp + 0x14], esi
jb 0x5a1bc8
mov byte [esp + 0x9d8], 1
lea ecx, [esp + 0x500]
call fcn.0059e560
mov byte [esp + 0x9d8], 5
lea ecx, [esp + 0xb8]
call fcn.005ae0d0
mov byte [esp + 0x9d8], 0
lea ecx, [esp + 0xa4]
call fcn.0058f120
mov dword [esp + 0x9d8], 0xffffffff
mov eax, dword [esp + 0x50]
test eax, eax
je 0x5a1cbd
push eax
call fcn.005a6790
add esp, 4
mov ecx, dword [esp + 0x9d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9b8]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 0x18