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

Disassembly:
push 0xffffffffffffffff
push 0x70ad39
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
xor edi, edi
push edi
mov dword [esp + 0x28], edi
mov ebp, dword [esp + 0x7c]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x7c], edi
call fcn.005a2860
mov esi, dword [esi + 4]
fild dword [esi + 8]
mov dword [esp + 0x70], edi
mov dword [esp + 0x24], 1
fidiv dword [esp + 0x7c]
fst qword [esp + 0x48]
fild dword [esi + 0xc]
fidiv dword [esp + 0x80]
fst qword [esp + 0x50]
fld st(1)
fld qword [0x759778]
fmul st(1), st(0)
fxch st(1)
fst qword [esp + 0x60]
call fcn.0054ea00
fmulp st(1)
mov dword [esp + 0x38], eax
fst qword [esp + 0x58]
call fcn.0054ea00
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
mov ecx, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edx
call fcn.005a1cc0
xor esi, esi
cmp edi, esi
mov ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], esi
je 0x5a2ac9
push esi
fstp st(0)
push esi
call fcn.005a1ce0
mov ecx, ebp
call fcn.005a1d40
fld qword [esp + 0x48]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x80], esi
mov dword [esp + 0x20], esi
jle 0x5a2d02
fldz
fild dword [esp + 0x20]
fmul qword [esp + 0x50]
call fcn.0054ea00
cmp dword [esp + 0x7c], 0
mov esi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 0
jle 0x5a2ce8
fild dword [esp + 0x24]
fsub qword [esp + 0x58]
fadd qword [0x74d8f0]
call fcn.0054ea00
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
lea ebp, [esi + eax]
mov dword [esp + 0x48], ebp
fild dword [esp + 0x1c]
fmul st(2)
call fcn.0054ea00
fld st(0)
mov esi, dword [esp + 0x30]
fld st(1)
cmp esi, ebp
fld st(2)
mov dword [esp + 0x24], eax
fld st(3)
mov dword [esp + 0x14], 0
jg 0x5a2c0d
test esi, esi
jl 0x5a2bfa
mov ecx, dword [esp + 0x34]
mov ebp, dword [ecx + 4]
mov edx, dword [ebp + 0xc]
sub edx, 1
cmp esi, edx
mov dword [esp + 0x44], ebp
jg 0x5a2bfa
fild dword [esp + 0x24]
fsub qword [esp + 0x60]
fadd qword [0x74d8f0]
call fcn.0054ea00
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
lea ebx, [ecx + edx]
cmp eax, ebx
jg 0x5a2bfa
test eax, eax
jl 0x5a2bf3
mov ecx, dword [ebp + 8]
lea edx, [ecx - 1]
cmp eax, edx
jg 0x5a2bf3
mov edx, dword [esp + 0x3c]
imul ecx, esi
add ecx, eax
lea edx, [edx + ecx*2]
movzx ebp, byte [edx + ecx]
add edx, ecx
test edi, edi
mov dword [esp + 0x40], ebp
movzx ebp, byte [edx + 1]
fild dword [esp + 0x40]
movzx edx, byte [edx + 2]
faddp st(1)
mov dword [esp + 0x40], ebp
fild dword [esp + 0x40]
mov dword [esp + 0x40], edx
faddp st(2)
fild dword [esp + 0x40]
faddp st(3)
je 0x5a2bea
movzx ecx, byte [ecx + edi]
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
faddp st(4)
add dword [esp + 0x14], 1
mov ebp, dword [esp + 0x44]
add eax, 1
cmp eax, ebx
jle 0x5a2b92
mov ebp, dword [esp + 0x48]
add esi, 1
cmp esi, ebp
jle 0x5a2b4f
mov ebx, dword [esp + 0x28]
fild dword [esp + 0x14]
add ebx, 3
fnstcw word [esp + 0x14]
mov dword [esp + 0x28], ebx
movzx eax, word [esp + 0x14]
fdiv st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fxch st(1)
fistp dword [esp + 0x44]
mov dl, byte [esp + 0x44]
mov byte [ebx - 3], dl
fldcw word [esp + 0x14]
fdiv st(1), st(0)
fnstcw word [esp + 0x14]
fxch st(1)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp dword [esp + 0x44]
mov al, byte [esp + 0x44]
mov byte [ebx - 2], al
fldcw word [esp + 0x14]
fnstcw word [esp + 0x14]
fdiv st(1), st(0)
movzx eax, word [esp + 0x14]
or eax, 0xc00
test edi, edi
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fxch st(1)
fistp dword [esp + 0x44]
mov cl, byte [esp + 0x44]
mov byte [ebx - 1], cl
fldcw word [esp + 0x14]
je 0x5a2ccb
fdivp st(1)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
add eax, 1
fldcw word [esp + 0x44]
mov dword [esp + 0x18], eax
fistp dword [esp + 0x44]
mov dl, byte [esp + 0x44]
mov byte [eax - 1], dl
fldcw word [esp + 0x14]
jmp 0x5a2ccf
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
jl 0x5a2b24
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
jl 0x5a2adc
fstp st(0)
mov eax, ebp
fstp st(0)
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc