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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
cmp eax, 0xa
jge 0x5be2f0
mov edx, dword [eax*4 + 0x68c3f4]
mov dword [ebp - 8], edx
jmp 0x5be2f5
xor ecx, ecx
mov dword [ebp - 8], ecx
fld dword [ebx + 0x68]
fcomp dword [ebx + 0x6c]
fnstsw ax
sahf
jae 0x5be325
fld dword [ebx + 0x6c]
fcomp dword [ebx + 0x70]
fnstsw ax
sahf
jae 0x5be310
fld dword [ebx + 0x6c]
jmp 0x5be348
fld dword [ebx + 0x68]
fcomp dword [ebx + 0x70]
fnstsw ax
sahf
jae 0x5be320
fld dword [ebx + 0x70]
jmp 0x5be348
fld dword [ebx + 0x68]
jmp 0x5be348
fld dword [ebx + 0x70]
fcomp dword [ebx + 0x6c]
fnstsw ax
sahf
jae 0x5be335
fld dword [ebx + 0x6c]
jmp 0x5be348
fld dword [ebx + 0x70]
fcomp dword [ebx + 0x68]
fnstsw ax
sahf
jae 0x5be345
fld dword [ebx + 0x70]
jmp 0x5be348
fld dword [ebx + 0x68]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fcomp dword [ebx + 0x64]
fnstsw ax
sahf
jae 0x5be35c
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x64], edx
fld dword [0x5be4d4]
fmul dword [ebx + 0x64]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fcomp qword [0x5be4d8]
fnstsw ax
sahf
jbe 0x5be37d
mov dword [ebp - 4], 0x3f59999a
fld dword [ebp - 8]
fmul dword [ebp - 4]
fadd dword [0x5be4e0]
fstp dword [ebp - 4]
mov ecx, dword [ebx + 0xc]
push ecx
mov eax, dword [ebx + 0x34]
push eax
call fcn.005c6540
fstp dword [ebp - 0x10]
fld dword [ebp - 4]
fmul dword [ebp - 4]
add esp, 8
fsubr dword [0x5be4d4]
fmul dword [ebp - 8]
fmul dword [ebp - 0x10]
fstp dword [ebp - 0x14]
mov edx, dword [ebx + 0x20]
add edx, edx
mov ecx, dword [ebx + 0x10]
add edx, ecx
add edx, 0xc
shl edx, 2
push edx
mov edx, dword [ebx + 0xc]
shl edx, 2
mov eax, dword [ebx + 0x30]
add edx, eax
push edx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
lea ecx, [ebx + 0x78]
push ecx
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
add esp, 0xfffffffc
fstp dword [esp]
call fcn.005bff9c
add esp, 8
call fcn.005b8bc4
mov edi, eax
mov eax, dword [ebx + 0x60]
add edi, eax
mov eax, dword [ebx + 0x20]
cmp edi, eax
jle 0x5be40b
mov edi, eax
mov eax, dword [ebx + 0x1c]
cmp edi, eax
jge 0x5be414
mov edi, eax
xor esi, esi
jmp 0x5be443
lea eax, [ebx + 0x78]
push eax
push dword [ebp - 0x14]
call fcn.005bff9c
add esp, 8
mov ecx, esi
sub ecx, edi
mov eax, dword [ebx + 0x34]
fld dword [eax + ecx*4]
fadd dword [0x5be4e0]
fmul dword [ebp - 4]
faddp st(1)
mov edx, dword [ebx + 0x34]
fstp dword [edx + esi*4]
inc esi
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
jl 0x5be418
mov edx, dword [ebx + 0x18]
push edx
mov eax, dword [ebx + 0x3c]
push eax
push eax
push 0x3f7ae148
call fcn.005c6324
add esp, 0x10
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebx + 0x40]
push eax
mov edx, dword [ebx + 0x18]
push edx
mov ecx, dword [ebx + 0xc]
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebx + 0x3c]
push edx
mov ecx, dword [ebx + 0x10]
neg ecx
shl ecx, 2
mov eax, dword [ebx + 0x34]
add ecx, eax
push ecx
call fcn.005c6638
add esp, 0x1c
lea edx, [ebx + 0x44]
push edx
push 1
mov ecx, dword [ebx + 0xc]
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.005c63b8
add esp, 0x14
xor ecx, ecx
mov dword [ebx + 4], ecx
inc dword [ebx + 8]
mov eax, dword [ebx + 0x74]
inc dword [ebx + 0x74]
mov edx, dword [ebp - 4]
mov dword [ebx + eax*4 + 0x68], edx
mov ecx, dword [ebx + 0x74]
cmp ecx, 2
jle 0x5be4ca
xor eax, eax
mov dword [ebx + 0x74], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret