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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push edi
push 0x40
lea eax, [esp + 0x54]
push 0
push eax
call fcn.0060c930
mov ecx, dword [esi + 0x205c4]
mov edx, dword [esi + 0x205bc]
lea eax, [ecx + edx]
movzx ecx, word [esi + 0x460]
add esp, 0xc
cmp eax, ecx
jae 0x5a453c
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x5a4542
mov edi, ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 0x205b8]
mov ecx, dword [esi + 0x205c0]
add ecx, eax
movzx eax, word [esi + 0x462]
cmp ecx, eax
jae 0x5a4561
mov dword [esp + 0x18], ecx
jmp 0x5a4567
mov ecx, eax
mov dword [esp + 0x18], eax
cmp edx, edi
fld qword [esp + 0x78]
fld qword [esp + 0x70]
mov dword [esp + 0x10], edx
fld qword [esp + 0x68]
fld qword [esp + 0x60]
fld qword [esp + 0x58]
fld qword [esp + 0x50]
jae 0x5a47c3
mov edi, eax
imul edi, edx
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
mov ebx, dword [esi + 0x205b8]
cmp ebx, ecx
mov dword [esp + 0x24], ebx
jae 0x5a47aa
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [edx + 8]
cmp edx, eax
mov edi, edx
jae 0x5a46db
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
cmp edi, dword [esp + 0x20]
jae 0x5a46db
lea eax, [ebx + 8]
cmp ebx, eax
mov edx, ebx
jae 0x5a46be
cmp edx, dword [esp + 0x18]
jae 0x5a46be
mov ecx, dword [esi + 0x3ac]
xor eax, eax
add ecx, 0xffffffe7
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x338]
test ecx, ecx
je 0x5a4669
movzx ebp, word [esi + 0x46c]
mov eax, edi
and eax, 7
mov ecx, edx
and ecx, 1
lea ecx, [ecx + eax*2]
mov eax, dword [esi + 0x338]
add ecx, ecx
shr eax, cl
movzx ecx, word [esi + 0x468]
mov ebx, edi
shr ebx, cl
and eax, 3
imul ebx, ebp
mov ebp, edx
shr ebp, cl
add ebx, ebp
lea ecx, [eax + ebx*4]
mov ebx, dword [esi + 0x4d8]
movzx ecx, word [ebx + ecx*2]
mov ebx, dword [esp + 0x24]
jmp 0x5a467d
mov ecx, dword [esp + 0x14]
mov ebp, dword [esi + 0x4d8]
add ecx, edx
lea ecx, [eax + ecx*4]
movzx ecx, word [ebp + ecx*2]
cmp ecx, dword [esp + 0x28]
jg 0x5a4793
sub ecx, dword [esi + 0x388]
jns 0x5a4691
xor ecx, ecx
add dword [esp + eax*4 + 0x30], ecx
mov ecx, dword [esi + 0x338]
add dword [esp + eax*4 + 0x40], 1
test ecx, ecx
jne 0x5a46b0
add eax, 1
cmp eax, 4
jb 0x5a461d
add edx, 1
lea eax, [ebx + 8]
cmp edx, eax
jb 0x5a45fe
movzx eax, word [esi + 0x462]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
add edi, 1
add eax, 8
cmp edi, eax
jb 0x5a45e7
mov edx, dword [esp + 0x30]
fild dword [esp + 0x30]
test edx, edx
jge 0x5a46ed
fadd qword [0x6c0c98]
mov eax, dword [esp + 0x34]
faddp st(1)
test eax, eax
fild dword [esp + 0x34]
jge 0x5a4701
fadd qword [0x6c0c98]
mov ecx, dword [esp + 0x38]
faddp st(2)
test ecx, ecx
fild dword [esp + 0x38]
jge 0x5a4715
fadd qword [0x6c0c98]
mov edx, dword [esp + 0x3c]
faddp st(3)
test edx, edx
fild dword [esp + 0x3c]
jge 0x5a4729
fadd qword [0x6c0c98]
mov eax, dword [esp + 0x40]
faddp st(4)
test eax, eax
fild dword [esp + 0x40]
jge 0x5a473d
fadd qword [0x6c0c98]
mov ecx, dword [esp + 0x44]
faddp st(5)
test ecx, ecx
fild dword [esp + 0x44]
jge 0x5a4751
fadd qword [0x6c0c98]
mov edx, dword [esp + 0x48]
faddp st(6)
test edx, edx
fild dword [esp + 0x48]
jge 0x5a4765
fadd qword [0x6c0c98]
fadd qword [esp + 0x80]
mov eax, dword [esp + 0x4c]
test eax, eax
fstp qword [esp + 0x80]
fild dword [esp + 0x4c]
jge 0x5a4785
fadd qword [0x6c0c98]
fadd qword [esp + 0x88]
fstp qword [esp + 0x88]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add ebx, 8
cmp ebx, ecx
mov dword [esp + 0x24], ebx
jb 0x5a45b0
mov eax, dword [esp + 0x2c]
add dword [esp + 0x1c], eax
add edx, 8
cmp edx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
jb 0x5a459e
fldz
fld st(0)
fucomp st(2)
fnstsw ax
test ah, 0x44
jnp 0x5a47dc
fxch st(5)
fdivrp st(1)
fstp dword [esi + 0x205d8]
jmp 0x5a47e0
fstp st(1)
fstp st(4)
fld st(3)
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x5a47f7
fdivp st(4)
fxch st(3)
fstp dword [esi + 0x205dc]
jmp 0x5a47fb
fstp st(0)
fstp st(3)
fld st(1)
fucomp st(3)
fnstsw ax
test ah, 0x44
jnp 0x5a4819
fld qword [esp + 0x80]
fdivrp st(3)
fxch st(2)
fstp dword [esi + 0x205e0]
jmp 0x5a481b
fstp st(2)
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x5a483b
fdivr qword [esp + 0x88]
fstp dword [esi + 0x205e4]
pop edi
pop ebp
pop ebx
add esp, 0x88
ret
pop edi
fstp st(0)
pop ebp
pop ebx
add esp, 0x88
ret