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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x848b98
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebp
push 0xffffffffffffffff
mov ebp, ecx
call fcn.0056e210
mov ecx, dword [eax + 0x58c]
add esp, 4
cmp ecx, ebp
je 0x6f867c
mov eax, dword [eax + 0x47c]
push ebx
push esi
mov esi, dword [eax + 0x10]
test esi, esi
push edi
je 0x6f81db
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
cmp eax, 0x2bd
je 0x6f81d2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
cmp eax, 0x2bc
jne 0x6f81db
cmp dword [esi + 0xc], ebp
je 0x6f8679
xor eax, eax
mov al, byte [ebp + 0x5b8]
shr eax, 6
and eax, 1
mov dword [esp + 0x28], eax
mov al, byte [ebp + 0x5cb]
mov cl, al
and cl, 0xf
shr al, 4
cmp cl, al
je 0x6f8679
mov eax, dword [ebp + 0x5cc]
test eax, eax
lea esi, [ebp + 0x5cc]
mov dword [esp + 0x3c], esi
je 0x6f829d
mov ecx, dword [eax + 0x478]
shr ecx, 0x12
and ecx, 1
mov edi, 0x100
jne 0x6f823a
test dword [eax + 0x46c], edi
je 0x6f8679
test ecx, ecx
je 0x6f824a
test dword [eax + 0x46c], edi
jne 0x6f8679
mov eax, dword [eax + 0x47c]
push 0x2c3
mov ecx, eax
call fcn.00600ee0
test eax, eax
jne 0x6f8679
mov ecx, dword [esi]
test ecx, ecx
je 0x6f8270
push esi
call fcn.00571a00
mov eax, dword [esi]
test dword [eax + 0x478], 0x40000
jne 0x6f8297
test dword [eax + 0x46c], edi
je 0x6f8297
cmp dword [eax + 0x58c], ebp
jne 0x6f8297
push eax
call fcn.00610f20
add esp, 4
mov dword [esi], 0
mov eax, dword [ebp + 0x14]
test eax, eax
lea ecx, [eax + 0x30]
jne 0x6f82aa
lea ecx, [ebp + 4]
fld dword [ecx + 8]
mov ebx, dword [0xb74490]
fmul dword [eax + 8]
mov edi, dword [ebx + 8]
test edi, edi
fld dword [ecx + 4]
fmul dword [eax + 4]
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0x497423f0
mov dword [esp + 0x34], ebx
faddp st(1)
fld dword [ecx]
fmul dword [eax]
faddp st(1)
fchs
fstp dword [esp + 0x20]
je 0x6f8679
mov eax, edi
imul eax, eax, 0x7c4
jmp 0x6f82f7
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov cl, byte [edi + edx - 1]
dec edi
sub eax, 0x7c4
test cl, cl
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], eax
js 0x6f8476
mov esi, dword [ebx]
add esi, eax
je 0x6f8476
cmp byte [esi + 0x484], 1
jne 0x6f8476
push esi
call fcn.005f7e80
add esp, 4
test eax, eax
jne 0x6f8476
mov eax, dword [esi + 0x480]
test eax, eax
jne 0x6f8476
cmp dword [esi + 0x598], 6
je 0x6f8476
mov eax, dword [esi + 0x46c]
test ah, 1
jne 0x6f8476
test dword [esi + 0x478], 0x40000
jne 0x6f8476
mov eax, dword [esi + 0x530]
cmp eax, 0x36
je 0x6f8476
cmp eax, 0x37
je 0x6f8476
cmp eax, 0x38
je 0x6f8476
mov ecx, dword [esi + 0x47c]
push 0x2bc
call fcn.00600ee0
test eax, eax
jne 0x6f8476
mov ebx, dword [ebp + 0x14]
test ebx, ebx
lea ecx, [ebx + 0x30]
jne 0x6f83bc
lea ecx, [ebp + 4]
mov edi, dword [esi + 0x14]
test edi, edi
lea eax, [edi + 0x30]
jne 0x6f83c9
lea eax, [esi + 4]
push ecx
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0040fe60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
call fcn.00406da0
fst dword [esp + 0x30]
fcomp dword [0x872368]
fnstsw ax
test ah, 0x41
je 0x6f846e
test edi, edi
lea eax, [edi + 0x30]
jne 0x6f8418
lea eax, [esi + 4]
push ebx
push eax
call fcn.0040fdb0
fadd dword [esp + 0x28]
mov eax, dword [esp + 0x30]
add esp, 8
test eax, eax
jne 0x6f843d
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
je 0x6f846e
jmp 0x6f8453
cmp eax, 1
jne 0x6f8451
fcomp dword [0x858b50]
fnstsw ax
test ah, 5
jnp 0x6f846e
jmp 0x6f8453
fstp st(0)
fld dword [esp + 0x30]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 5
jp 0x6f846e
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
test edi, edi
jne 0x6f82f3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x6f8679
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x54]
push ecx
push ebp
push eax
mov dword [esp + 0x30], edi
call fcn.006528f0
xor esi, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov eax, dword [ebp + 0x14]
lea edx, [esp + 0x78]
push edx
push eax
mov dword [esp + 0xd0], esi
call fcn.0059b920
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.0059c890
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
add esp, 0x24
cmp eax, esi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x14]
push eax
jne 0x6f8509
call fcn.00406d70
jmp 0x6f850e
call fcn.00411a00
push 0x58
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0xb8], 1
je 0x6f8555
mov ecx, dword [0x86fc30]
mov edx, dword [0x86fc28]
push 1
push 1
push ecx
mov ecx, dword [0x86fc2c]
push edx
push ecx
push 0x3e8
push 0xc350
push ebp
mov ecx, eax
call fcn.00661dc0
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], 0x86f8f8
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea edi, [esi + 0x44]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov bl, 2
mov dword [edi + 8], edx
push 0x40
mov byte [esp + 0xbc], bl
mov dword [esi + 0x50], 7
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0xb8], 3
je 0x6f85b5
mov ecx, eax
call fcn.00632bd0
mov edi, eax
jmp 0x6f85b7
xor edi, edi
push esi
mov ecx, edi
mov byte [esp + 0xbc], bl
call fcn.00632d10
mov eax, dword [esp + 0x28]
test eax, eax
push 0x50
jne 0x6f85f2
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0xb8], 4
je 0x6f8618
push ebp
mov ecx, eax
call fcn.006402f0
jmp 0x6f861a
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0xb8], 5
je 0x6f8618
push 0
push 0
push ebp
mov ecx, eax
call fcn.00640340
jmp 0x6f861a
xor eax, eax
mov ecx, edi
push eax
mov byte [esp + 0xbc], bl
call fcn.00632d10
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x47c]
push 0
push 3
push edi
lea ecx, [eax + 4]
call fcn.00681af0
mov al, byte [ebp + 0x5cb]
mov dl, al
inc dl
xor dl, al
and dl, 0xf
xor dl, al
mov eax, dword [esp + 0x3c]
push eax
mov ecx, esi
mov byte [ebp + 0x5cb], dl
mov dword [eax], esi
call fcn.00571b70
lea ecx, [esp + 0x68]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0059acd0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa4]
pop ebp
mov dword fs:[0], ecx
add esp, 0xac
ret