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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x6cbafc
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp + 0xb0]
push edi
xor edi, edi
or ebx, 0xffffffff
cmp eax, edi
jne 0x60845c
mov esi, dword [ebp + 0x18]
shl esi, 1
lea eax, [esi + esi*2]
lea ecx, [eax*8 + 4]
push ecx
call fcn.0069197a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x1b0], edi
je 0x60844f
push fcn.0058bad0
push 0x607ec0
push esi
lea edi, [eax + 4]
push 0x18
push edi
mov dword [eax], esi
call fcn.006944f7
mov dword [esp + 0x1b0], ebx
mov dword [ebp + 0xb0], edi
mov eax, dword [ebp + 0x68]
test eax, eax
jle 0x6084c1
mov eax, dword [ebp + 0xb4]
test eax, eax
jne 0x6084c1
mov esi, dword [ebp + 0x18]
shl esi, 1
lea edx, [esi + esi*2]
lea eax, [edx*8 + 4]
push eax
call fcn.0069197a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1b0], 1
je 0x6084b2
push fcn.0058bad0
push 0x607ec0
push esi
lea edi, [eax + 4]
push 0x18
push edi
mov dword [eax], esi
call fcn.006944f7
jmp 0x6084b4
xor edi, edi
mov dword [esp + 0x1b0], ebx
mov dword [ebp + 0xb4], edi
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x168]
push edx
push 2
push eax
call dword [ecx + 0x98]
lea eax, [esp + 0x168]
push eax
push 0
lea ecx, [esp + 0x130]
push ecx
call fcn.00541a2e
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x70], edx
mov edx, dword [ebp + 0x18]
xor esi, esi
shl edx, 1
test edx, edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x20], esi
jle 0x608c3a
xor edi, edi
jmp 0x608530
mov esi, dword [esp + 0x20]
lea ebx, [ebx]
mov eax, dword [ebp + 0x18]
lea ecx, [eax + eax - 2]
cmp esi, ecx
jl 0x60859e
mov ecx, dword [ebp + 0x10]
lea ebx, [esi - 1]
lea eax, [ebx - 1]
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + eax*2]
lea eax, [ecx + edx*4]
mov dword [esp + 0x14], eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + eax*2]
shl esi, 2
add ecx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
fld dword [ecx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x18]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x14]
fld dword [ecx]
fsub dword [eax]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
fstp dword [esp + 0xe0]
mov edx, dword [esp + 0xe0]
jmp 0x6085fd
mov ebx, dword [esp + 0x20]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + eax*2]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
shl esi, 2
lea ecx, [esi + eax]
dec ebx
lea eax, [ebx + 3]
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x10]
lea eax, [eax + edx*4]
fld dword [eax + 8]
fsub dword [ecx + 8]
fstp dword [esp + 0x14]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [esp + 0x18]
fld dword [eax]
mov eax, dword [esp + 0x18]
fsub dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
fstp dword [esp + 0xf8]
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x68]
test eax, eax
mov dword [esp + 0x24], edx
jne 0x60864c
fld dword [esp + 0x78]
fsub dword [ecx + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x74]
fsub dword [ecx + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x70]
mov eax, dword [esp + 0x18]
fsub dword [ecx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
fstp dword [esp + 0xc8]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x3c], edx
jmp 0x608661
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, 0x3f800000
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push ecx
call fcn.00540bf1
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
call fcn.00540bf1
fld dword [esp + 0x44]
fmul dword [esp + 0x28]
fld dword [esp + 0x40]
fmul dword [esp + 0x2c]
fsubp st(1)
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
fld dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
fmul dword [esp + 0x3c]
lea ecx, [esp + 0x30]
fld dword [esp + 0x44]
push ecx
fmul dword [esp + 0x28]
fsubp st(1)
fstp dword [esp + 0x84]
mov edx, dword [esp + 0x84]
fld dword [esp + 0x44]
mov dword [esp + 0x38], edx
fmul dword [esp + 0x28]
mov edx, ecx
fld dword [esp + 0x2c]
push edx
fmul dword [esp + 0x44]
fsubp st(1)
fstp dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], eax
call fcn.00540bf1
mov eax, dword [ebp + 0x68]
xor ecx, ecx
cmp eax, ecx
jle 0x608772
fld dword [esp + 0x38]
fmul dword [esp + 0x28]
fld dword [esp + 0x34]
fmul dword [esp + 0x2c]
fsubp st(1)
fstp dword [esp + 0x88]
mov eax, dword [esp + 0x88]
fld dword [esp + 0x2c]
mov dword [esp + 0x58], eax
fmul dword [esp + 0x30]
lea eax, [esp + 0x58]
fld dword [esp + 0x38]
push eax
fmul dword [esp + 0x28]
fsubp st(1)
fstp dword [esp + 0x90]
mov ecx, dword [esp + 0x90]
fld dword [esp + 0x38]
mov dword [esp + 0x60], ecx
fmul dword [esp + 0x28]
mov ecx, eax
fld dword [esp + 0x2c]
push ecx
fmul dword [esp + 0x38]
fsubp st(1)
fstp dword [esp + 0x98]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x68], edx
call fcn.00540bf1
xor ecx, ecx
mov edx, dword [esp + 0x20]
and edx, 0x80000001
jns 0x608783
dec edx
or edx, 0xfffffffe
inc edx
fld dword [esp + 0x38]
jne 0x608862
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x54], eax
fmul dword [esp + 0x54]
lea eax, [esi + edx]
fstp dword [esp + 0x18]
fld dword [esp + 0x34]
fmul dword [esp + 0x54]
fstp dword [esp + 0x14]
fld dword [esp + 0x30]
fmul dword [esp + 0x54]
fstp dword [esp + 0x11c]
fld dword [esp + 0x18]
fadd dword [eax + 8]
fstp dword [esp + 0x10]
mov esi, dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x11c]
mov edx, dword [esp + 0x18]
fadd dword [eax]
mov dword [esp + 0x9c], edx
cmp dword [ebp + 0x68], ecx
fstp dword [esp + 0xa4]
mov ebx, dword [esp + 0xa4]
jle 0x608950
mov ecx, dword [ebp + 0x1c]
fld dword [esp + 0x60]
mov dword [esp + 0x4c], ecx
fmul dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [esp + 0x5c]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x18]
fld dword [esp + 0x58]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x110]
fld dword [esp + 0x10]
fadd dword [eax + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [eax + 4]
fstp dword [esp + 0x10]
fld dword [esp + 0x110]
fadd dword [eax]
fstp dword [esp + 0xb0]
mov ecx, dword [esp + 0xb0]
jmp 0x60893a
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x50], edx
fmul dword [esp + 0x50]
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [ebp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
sar eax, 1
fmul dword [esp + 0x50]
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
fstp dword [esp + 0x18]
fld dword [esp + 0x50]
fmul dword [esp + 0x30]
fstp dword [esp + 0xbc]
fld dword [eax + 8]
fsub dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [eax + 4]
mov esi, dword [esp + 0x14]
fsub dword [esp + 0x18]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fld dword [eax]
mov dword [esp + 0x9c], edx
fsub dword [esp + 0xbc]
mov edx, dword [ebp + 0x68]
cmp edx, ecx
fstp dword [esp + 0xd4]
mov ebx, dword [esp + 0xd4]
jle 0x608950
mov ecx, dword [ebp + 0x1c]
fld dword [esp + 0x60]
mov dword [esp + 0x48], ecx
fmul dword [esp + 0x48]
fstp dword [esp + 0x10]
fld dword [esp + 0x5c]
fmul dword [esp + 0x48]
fstp dword [esp + 0x18]
fld dword [esp + 0x48]
fmul dword [esp + 0x58]
fstp dword [esp + 0xec]
fld dword [eax + 8]
fsub dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [eax + 4]
fsub dword [esp + 0x18]
fstp dword [esp + 0x10]
fld dword [eax]
fsub dword [esp + 0xec]
fstp dword [esp + 0x104]
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
xor ecx, ecx
mov al, byte [ebp + 0x58]
test al, al
je 0x608997
fld dword [ebp + 0x54]
fmul dword [0x6d5098]
call fcn.00693530
fld dword [ebp + 0x54]
fsub dword [ebp + 0x5c]
shl eax, 0x18
or eax, 0xffffff
mov dword [ebp + 0x50], eax
fstp dword [esp + 0x14]
xor ecx, ecx
fld dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fcomp dword [0x6f3614]
mov dword [ebp + 0x54], edx
fnstsw ax
test ah, 0x41
jp 0x608997
mov dword [ebp + 0x54], ecx
mov eax, dword [ebp + 0xb0]
mov dword [edi + eax], ebx
mov edx, dword [ebp + 0xb0]
mov eax, dword [esp + 0x9c]
mov dword [edi + edx + 4], eax
mov edx, dword [ebp + 0xb0]
mov dword [edi + edx + 8], esi
mov al, byte [ebp + 0xa8]
test al, al
je 0x6089d6
mov eax, dword [ebp + 0xac]
shl eax, 0x18
or eax, 0xffffff
mov dword [ebp + 0x50], eax
mov edx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0x50]
mov dword [edi + edx + 0xc], eax
mov edx, dword [esp + 0x1bc]
cmp edx, ecx
mov eax, dword [esp + 0x20]
jne 0x608a8c
and eax, 0x80000003
jns 0x608a02
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
ja case.default.0x608a0b
jmp dword [eax*4 + 0x608cfc]
fild dword [esp + 0x1c]
mov esi, dword [ebp + 0xb0]
mov dword [edi + esi + 0x10], ecx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x60]
jmp 0x608adb
fild dword [esp + 0x1c]
mov esi, dword [ebp + 0xb0]
mov dword [edi + esi + 0x10], 0x3f800000
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x60]
jmp 0x608adb
fild dword [esp + 0x1c]
mov esi, dword [ebp + 0xb0]
mov dword [edi + esi + 0x10], ecx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x60]
jmp 0x608adb
fild dword [esp + 0x1c]
mov esi, dword [ebp + 0xb0]
mov dword [edi + esi + 0x10], 0x3f800000
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x60]
jmp 0x608adb
and eax, 0x80000003
jns 0x608a98
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
ja case.default.0x608a9d
jmp dword [eax*4 + 0x608d0c]
mov esi, dword [ebp + 0xb0]
mov dword [edi + esi + 0x10], ecx
jmp case.default.0x608a9d
mov esi, dword [ebp + 0xb0]
mov dword [edi + esi + 0x10], 0x3f800000
fild dword [ebp + 0x18]
fstp dword [esp + 0x10]
fld dword [0x6d4fc8]
fdiv dword [esp + 0x10]
fild dword [esp + 0x1c]
fstp dword [esp + 0x10]
fmul dword [esp + 0x10]
mov esi, dword [ebp + 0xb0]
fstp dword [edi + esi + 0x14]
cmp dword [ebp + 0x68], ecx
jle case.default.0x608b35
cmp edx, ecx
mov esi, dword [ebp + 0xb4]
mov ebx, dword [esp + 0x64]
mov dword [edi + esi], ebx
mov esi, dword [ebp + 0xb4]
mov ebx, dword [esp + 0x68]
mov dword [edi + esi + 4], ebx
mov esi, dword [ebp + 0xb4]
mov ebx, dword [esp + 0x6c]
mov dword [edi + esi + 8], ebx
mov esi, dword [ebp + 0xb4]
mov ebx, dword [ebp + 0x50]
mov dword [edi + esi + 0xc], ebx
jne 0x608bd4
cmp eax, 3
ja case.default.0x608b35
jmp dword [eax*4 + 0x608d1c]
fild dword [esp + 0x1c]
mov edx, dword [ebp + 0xb4]
mov dword [edi + edx + 0x10], ecx
mov eax, dword [ebp + 0xb4]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x60]
fstp dword [edi + eax + 0x14]
jmp case.default.0x608b35
fild dword [esp + 0x1c]
mov ecx, dword [ebp + 0xb4]
mov dword [edi + ecx + 0x10], 0x3f800000
mov edx, dword [ebp + 0xb4]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x60]
fstp dword [edi + edx + 0x14]
jmp case.default.0x608b35
fild dword [esp + 0x1c]
mov eax, dword [ebp + 0xb4]
mov dword [edi + eax + 0x10], ecx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x60]
jmp 0x608c17
fild dword [esp + 0x1c]
mov edx, dword [ebp + 0xb4]
mov dword [edi + edx + 0x10], 0x3f800000
mov eax, dword [ebp + 0xb4]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebp + 0x60]
fstp dword [edi + eax + 0x14]
jmp case.default.0x608b35
cmp eax, 3
ja case.default.0x608bd9
jmp dword [eax*4 + 0x608d2c]
mov edx, dword [ebp + 0xb4]
mov dword [edi + edx + 0x10], ecx
jmp case.default.0x608bd9
mov eax, dword [ebp + 0xb4]
mov dword [edi + eax + 0x10], 0x3f800000
fild dword [ebp + 0x18]
fstp dword [esp + 0x10]
fld dword [0x6d4fc8]
fdiv dword [esp + 0x10]
fild dword [esp + 0x1c]
fstp dword [esp + 0x10]
fmul dword [esp + 0x10]
mov ecx, dword [ebp + 0xb4]
fstp dword [edi + ecx + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
inc eax
shl edx, 1
add edi, 0x18
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x608526
mov eax, dword [ebp + 0x30]
mov ebx, dword [esp + 0x1b8]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x98]
push edx
push 0
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0xb0]
mov edi, dword [esp + 0x94]
lea ecx, [eax + eax*2]
shl ecx, 4
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx + ebx*4]
mov edx, dword [eax]
push eax
call dword [edx + 0x30]
mov eax, dword [ebp + 0x68]
test eax, eax
jle 0x608cd6
mov eax, dword [ebp + 0x34]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0xb4]
mov edi, dword [esp + 0x10]
lea ecx, [eax + eax*2]
shl ecx, 4
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x34]
mov ebx, dword [ecx + ebx*4]
mov edx, dword [ebx]
push ebx
call dword [edx + 0x30]
mov eax, dword [ebp + 0x18]
pop edi
lea ecx, [eax + eax - 2]
mov dword [ebp + 0x28], ecx
mov ecx, dword [esp + 0x1a4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret 8