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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0
jne 0x5a6e53
mov eax, 0
jmp 0x5a7594
fld1
fstp dword [ebx + 0x140]
fld dword [ebx + 0x118]
fstp dword [ebp - 0x10]
cmp dword [ebx + 0x114], 0
je 0x5a6f42
mov eax, dword [ebx + 0x114]
cmp eax, 1
je 0x5a6e86
cmp eax, 2
je 0x5a6ee4
jmp 0x5a6f42
cmp dword [ebx + 0x10c], 0x67be60
je 0x5a6ee2
cmp dword [ebx + 0x11c], 0
je 0x5a6eb0
mov eax, dword [ebx + 0x10c]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
add esp, 4
fstp dword [ebx + 0x140]
fld dword [ebx + 0x118]
fldz
fxch st(1)
fucompp
fnstsw ax
sahf
sete al
movzx eax, al
cmp eax, 0
jne 0x5a6ee2
mov eax, dword [ebx + 0x10c]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
add esp, 4
fmul dword [ebx + 0x118]
fstp dword [ebp - 0x10]
jmp 0x5a6f42
cmp dword [ebx + 0x110], 0x67be60
je 0x5a6f40
cmp dword [ebx + 0x11c], 0
je 0x5a6f0e
mov eax, dword [ebx + 0x110]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
add esp, 4
fstp dword [ebx + 0x140]
fld dword [ebx + 0x118]
fldz
fxch st(1)
fucompp
fnstsw ax
sahf
sete al
movzx eax, al
cmp eax, 0
jne 0x5a6f40
mov eax, dword [ebx + 0x110]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
add esp, 4
fmul dword [ebx + 0x118]
fstp dword [ebp - 0x10]
jmp 0x5a6f42
fldz
fld dword [ebp - 0x10]
fucompp
fnstsw ax
sahf
setbe al
movzx eax, al
cmp eax, 0
jne 0x5a6f62
push dword [ebp - 0x10]
call fcn.005c0fb0
add esp, 4
push dword [ebx + 0x140]
call fcn.006594f0
add esp, 4
fld dword [ebx + 0x140]
fld1
fxch st(1)
fucompp
fnstsw ax
sahf
sete al
movzx eax, al
cmp eax, 0
jne 0x5a6fa8
push dword [ebx + 0x140]
push ebx
mov eax, dword [ebx]
call dword [eax + 0x84]
add esp, 8
mov eax, dword [ebx + 0x38]
fld dword [ebx + 0x140]
fstp dword [eax + 0x14]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fadd dword [ebx + 0x138]
fstp dword [ebp - 0xc]
cmp dword [ebx + 0x84], 1
jne 0x5a6fcc
push ebx
mov eax, dword [ebx]
call dword [eax + 0x78]
add esp, 4
cmp dword [ebx + 0xac], 1
jne 0x5a6fde
push ebx
mov eax, dword [ebx]
call dword [eax + 0x7c]
add esp, 4
cmp dword [ebx + 0x10], 0x67be60
je 0x5a7030
push dword [ebx + 0x150]
call fcn.00659941
add esp, 4
push dword [ebx + 0x1c]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fadd dword [ebx + 0x13c]
fadd dword [ebx + 0x164]
sub esp, 4
fstp dword [esp]
push dword [ebp - 0xc]
push dword [ebx + 0x10]
call fcn.005c1148
add esp, 0x10
push 0
call fcn.00659941
add esp, 4
jmp 0x5a70f4
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
add esp, 4
cmp dword [ebx + 0x15c], 0
je 0x5a70da
cmp dword [ebx + 0x158], 0
je 0x5a7099
push 1
push 0x41a00000
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fadd dword [ebx + 0x13c]
sub esp, 4
fstp dword [esp]
push dword [ebp - 0xc]
call fcn.005c165f
add esp, 0x18
jmp 0x5a70da
push dword [ebx + 0x1c]
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fadd dword [ebx + 0x13c]
sub esp, 4
fstp dword [esp]
push dword [ebp - 0xc]
call fcn.005c209f
add esp, 0x14
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
add esp, 4
push dword [ebx + 0x140]
call fcn.006594f0
add esp, 4
push dword [ebx + 0x140]
push ebx
mov eax, dword [ebx]
call dword [eax + 0x8c]
add esp, 8
cmp dword [ebx + 0x74], 0x67be60
je 0x5a7152
cmp dword [ebx + 0x12c], 0
je 0x5a713c
mov eax, dword [ebx + 0x74]
mov dword [eax + 0x2c], 1
mov eax, dword [ebx + 0x74]
fld dword [ebx + 0x138]
fstp dword [eax + 0x24]
mov eax, dword [ebx + 0x74]
fld dword [ebx + 0x13c]
fstp dword [eax + 0x28]
jmp 0x5a7146
mov eax, dword [ebx + 0x74]
mov dword [eax + 0x2c], 0
mov eax, dword [ebx + 0x74]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
add esp, 4
cmp dword [ebx + 0x7c], 0x67be60
je 0x5a7175
mov eax, dword [ebx + 0x7c]
push 1
push dword [ebx + 0x13c]
push dword [ebx + 0x138]
push eax
mov eax, dword [eax]
call dword [eax + 0x68]
add esp, 0x10
cmp dword [ebx + 0xc], 0
je 0x5a7218
push 0
push 0
push 0
call fcn.00659437
add esp, 0xc
fld dword [ebx + 0x140]
fsub dword [0x6a9e08]
sub esp, 4
fstp dword [esp]
call fcn.006594f0
add esp, 4
mov eax, dword [ebx + 8]
fld dword [eax + 0x64]
mov eax, dword [ebx + 8]
fld dword [eax + 0x64]
fdiv dword [0x6a9e0c]
faddp st(1)
push 1
push 0x41a00000
mov eax, dword [ebx + 8]
fld dword [eax + 0x24]
fadd dword [0x6a9e10]
sub esp, 4
fstp dword [esp]
sub esp, 4
fst dword [esp]
mov eax, dword [ebx + 8]
fld dword [eax + 0x4c]
fsub dword [0x6a9e14]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 8]
fld dword [eax + 0x48]
fxch st(1)
fdiv dword [0x6a9e18]
fsubp st(1)
sub esp, 4
fstp dword [esp]
call fcn.005c165f
add esp, 0x18
push dword [ebx + 0x140]
call fcn.006594f0
add esp, 4
mov eax, dword [ebx + 8]
push 1
push dword [ebx + 0x13c]
push dword [ebx + 0x138]
push eax
mov eax, dword [eax]
call dword [eax + 0x68]
add esp, 0x10
fld1
fstp dword [0x6a5efc]
mov eax, dword [ebx + 0x3c]
cmp eax, 0x67be60
setne al
movzx eax, al
cmp eax, 0
je 0x5a7250
mov eax, dword [ebx + 0x40]
cmp eax, 0
je 0x5a7270
mov eax, dword [ebx + 0x3c]
push dword [ebx + 0x13c]
push dword [ebx + 0x138]
push eax
mov eax, dword [eax]
call dword [eax + 0x144]
add esp, 0xc
cmp dword [ebx + 0x84], 0
jne 0x5a7282
push ebx
mov eax, dword [ebx]
call dword [eax + 0x78]
add esp, 4
cmp dword [ebx + 0xac], 0
jne 0x5a7294
push ebx
mov eax, dword [ebx]
call dword [eax + 0x7c]
add esp, 4
cmp dword [ebx + 0xcc], 0x67be60
je 0x5a740a
push dword [ebx + 0xdc]
push dword [ebx + 0xdc]
call fcn.00659970
add esp, 8
push dword [ebx + 0xe0]
call fcn.00659941
add esp, 4
cmp dword [ebx + 0xe4], 0x67be60
je 0x5a7379
mov eax, dword [ebx + 0xe4]
fld dword [eax + 0x10]
fstp dword [ebp - 4]
mov eax, dword [ebx + 0xe4]
fld dword [ebp - 4]
fmul dword [ebx + 0x140]
fstp dword [eax + 0x10]
mov eax, dword [ebx + 0xe4]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
add esp, 4
push 1
push dword [ebx + 0xd8]
mov eax, dword [ebx + 0xd4]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
mov eax, dword [ebx + 0xe4]
fadd dword [eax + 0xc]
fadd dword [ebx + 0x13c]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xd0]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
mov eax, dword [ebx + 0xe4]
fadd dword [eax + 8]
fadd dword [ebx + 0x138]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xcc]
push dword [eax + 0xc]
call fcn.005c61c8
add esp, 0x14
mov eax, dword [ebx + 0xe4]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
add esp, 4
mov eax, dword [ebx + 0xe4]
fld dword [ebp - 4]
fstp dword [eax + 0x10]
push dword [ebx + 0x140]
call fcn.006594f0
add esp, 4
mov eax, dword [ebx + 0xe8]
fld dword [ebx + 0x140]
fstp dword [eax + 0x14]
mov eax, dword [ebx + 0xe8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
add esp, 4
push 1
push dword [ebx + 0xd8]
mov eax, dword [ebx + 0xd4]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fadd dword [ebx + 0x13c]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xd0]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fadd dword [ebx + 0x138]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xcc]
push dword [eax + 0xc]
call fcn.005c61c8
add esp, 0x14
push 0x3f800000
push 0x3f800000
call fcn.00659970
add esp, 8
push 0
call fcn.00659941
add esp, 4
cmp dword [ebx + 0xec], 0x67be60
je 0x5a7580
push dword [ebx + 0xfc]
push dword [ebx + 0xfc]
call fcn.00659970
add esp, 8
push dword [ebx + 0x100]
call fcn.00659941
add esp, 4
cmp dword [ebx + 0x104], 0x67be60
je 0x5a74ef
mov eax, dword [ebx + 0x104]
fld dword [eax + 0x10]
fstp dword [ebp - 8]
mov eax, dword [ebx + 0x104]
fld dword [ebp - 8]
fmul dword [ebx + 0x140]
fstp dword [eax + 0x10]
mov eax, dword [ebx + 0x104]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
add esp, 4
push 1
push dword [ebx + 0xf8]
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
mov eax, dword [ebx + 0x104]
fadd dword [eax + 0xc]
fadd dword [ebx + 0x13c]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xf0]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
mov eax, dword [ebx + 0x104]
fadd dword [eax + 8]
fadd dword [ebx + 0x138]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xec]
push dword [eax + 0xc]
call fcn.005c61c8
add esp, 0x14
mov eax, dword [ebx + 0x104]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
add esp, 4
mov eax, dword [ebx + 0x104]
fld dword [ebp - 8]
fstp dword [eax + 0x10]
push dword [ebx + 0x140]
call fcn.006594f0
add esp, 4
mov eax, dword [ebx + 0x108]
fld dword [ebx + 0x140]
fstp dword [eax + 0x14]
mov eax, dword [ebx + 0x108]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
add esp, 4
push 1
push dword [ebx + 0xf8]
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fadd dword [ebx + 0x13c]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xf0]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fadd dword [ebx + 0x138]
sub esp, 4
fstp dword [esp]
mov eax, dword [ebx + 0xec]
push dword [eax + 0xc]
call fcn.005c61c8
add esp, 0x14
push 0x3f800000
push 0x3f800000
call fcn.00659970
add esp, 8
push 0
call fcn.00659941
add esp, 4
push 0x3f800000
call fcn.006594f0
add esp, 4
mov eax, 1
jmp 0x5a7594
pop ebx
mov esp, ebp
pop ebp
ret