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

Disassembly:
sub esp, 0x194
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 0x2c4]
push edi
test al, al
jne 0x6c46a5
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret 0x10
mov eax, dword [0x9eba64]
mov cl, byte [eax + 0xc8]
test cl, cl
je 0x6c46c3
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret 0x10
mov ecx, dword [0x9ea1d4]
call fcn.00475410
test al, al
je 0x6c4997
mov ecx, dword [0x9ea1d4]
add ecx, 0x7c
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x44], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x48], edx
lea edx, [esp + 0xf8]
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x54], eax
call fcn.00770096
fld dword [esp + 0x128]
fadd dword [esp + 0x118]
mov ecx, dword [0x9ea1d4]
lea eax, [ecx + 0x98]
fstp dword [esp + 0x10]
fld dword [esp + 0x12c]
fadd dword [esp + 0x11c]
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x130]
fadd dword [esp + 0x120]
mov eax, dword [eax + 8]
mov dword [esp + 0xa4], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
fstp dword [esp + 0x18]
fld dword [0x7eda7c]
fmul dword [0x7e5f08]
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
fstp dword [esp + 0x1c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x6c], 0x3f800000
mov eax, dword [ecx + 0x500]
mov dword [esp + 0x38], edx
cmp eax, 0x756c
jne 0x6c482d
call fcn.0046cde0
fmul dword [0x7e5860]
jmp 0x6c4832
call fcn.0046cde0
fstp dword [esp + 0x2c]
xor edi, edi
lea esi, [esp + 0x14c]
mov dword [esp + 0x30], edi
fild dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x70]
fmul dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.0077001b
fld dword [esp + 0x6c]
fmul dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
lea eax, [esi - 8]
push 1
lea ebp, [esp + 0x13c]
push 0
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x94]
push ebp
lea ebp, [esp + 0x68]
push ebp
push 0x3f800000
faddp st(1)
push eax
fadd dword [esp + 0xb4]
fld dword [esp + 0x88]
fmul dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [esp + 0x98]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0xa8]
faddp st(1)
fadd dword [esp + 0xb8]
fstp dword [esp + 0x6c]
fld dword [esp + 0x8c]
fmul dword [esp + 0x28]
fld dword [esp + 0x30]
fmul dword [esp + 0xac]
mov edx, dword [esp + 0x6c]
mov dword [esi - 4], edx
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [esp + 0x9c]
faddp st(1)
fadd dword [esp + 0xbc]
fstp dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
fstp dword [eax]
fld dword [esp + 0x44]
mov dword [esi], ecx
fmul dword [eax]
fld dword [esp + 0x44]
fmul dword [esi - 4]
lea eax, [esp + 0x58]
push eax
fstp dword [esp + 0xcc]
fld dword [esp + 0x48]
fmul dword [esi]
fstp dword [esp + 0xd0]
fld dword [esp + 0x50]
fadd st(1)
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fstp st(0)
fld dword [esp + 0x54]
fadd dword [esp + 0xcc]
mov dword [esp + 0x5c], edx
fstp dword [esp + 0x40]
fld dword [esp + 0x58]
fadd dword [esp + 0xd0]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x9ea1cc]
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x64], edx
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x60]
test al, al
jne 0x6c46b4
inc edi
add esi, 0xc
cmp edi, 8
mov dword [esp + 0x30], edi
jl 0x6c4843
mov eax, dword [0x9ea1d4]
mov ecx, dword [eax + 0xbd8]
test ecx, ecx
jne 0x6c4a70
add eax, 0x98
push 0x8b1814
push 0x8b1794
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x8b1788]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [0x8b1784]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x100]
push eax
call fcn.0076fbab
lea ecx, [esp + 0xf8]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x60]
push edx
push eax
call fcn.0076fb20
fld dword [esp + 0x64]
fdiv dword [esp + 0x68]
fcom qword [0x7e64a0]
fnstsw ax
test ah, 0x41
je 0x6c4b31
fcomp qword [0x7e6060]
fnstsw ax
test ah, 1
jne 0x6c4b33
fld dword [esp + 0x5c]
fdiv dword [esp + 0x68]
fadd dword [0x7e5668]
fimul dword [esp + 0x1c]
fmul dword [0x7e5860]
call fcn.007a2dec
fld dword [esp + 0x60]
fdiv dword [esp + 0x68]
mov esi, eax
fsubr dword [0x7e5668]
fimul dword [esp + 0x30]
fmul dword [0x7e5860]
call fcn.007a2dec
jmp 0x6c4b39
mov ecx, dword [eax + 0xbd8]
push 0x8b1814
add ecx, 0x98
push 0x8b1794
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
mov edx, dword [0x8b1788]
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], eax
mov eax, dword [0x8b1784]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x100]
push ecx
call fcn.0076fbab
lea edx, [esp + 0xf8]
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.0076fb20
fld dword [esp + 0x64]
fdiv dword [esp + 0x68]
fcom qword [0x7e64a0]
fnstsw ax
test ah, 0x41
je 0x6c4b31
fcomp qword [0x7e6060]
fnstsw ax
test ah, 1
jne 0x6c4b33
fld dword [esp + 0x5c]
fdiv dword [esp + 0x68]
fadd dword [0x7e5668]
fimul dword [esp + 0x1c]
fmul dword [0x7e5860]
call fcn.007a2dec
fld dword [esp + 0x60]
fdiv dword [esp + 0x68]
mov esi, eax
fsubr dword [0x7e5668]
fimul dword [esp + 0x30]
fmul dword [0x7e5860]
call fcn.007a2dec
jmp 0x6c4b39
fstp st(0)
or esi, 0xffffffff
or eax, 0xffffffff
mov edi, dword [esp + 0x1a8]
mov ebp, dword [esp + 0x1ac]
mov ecx, esi
mov edx, edi
sub edx, ecx
sub eax, ebp
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x9eba5c]
fstp dword [esp + 0x10]
fild dword [esp + 0x1c]
mov ecx, dword [eax + 0x1ac]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xb8]
fstp dword [esp + 0x18]
call fcn.00425b90
fld dword [esp + 0x30]
fcos
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push 0
push eax
lea ecx, [esp + 0x2c]
fst dword [esp + 0xc4]
fld dword [esp + 0x3c]
fsin
fchs
fst dword [esp + 0xcc]
fchs
fstp dword [esp + 0xe4]
fstp dword [esp + 0xec]
call fcn.004251c0
fld dword [esp + 0x20]
fmul dword [esp + 0xb8]
fld dword [esp + 0xd8]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0xc8]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [esp + 0xe8]
fstp dword [esp + 0x10]
fld dword [esp + 0xdc]
fmul dword [esp + 0x28]
fld dword [esp + 0xcc]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0xbc]
fmul dword [esp + 0x20]
faddp st(1)
fadd dword [esp + 0xec]
fstp dword [esp + 0x14]
fld dword [esp + 0xe0]
fmul dword [esp + 0x28]
fld dword [esp + 0xd0]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0xc0]
fmul dword [esp + 0x20]
faddp st(1)
fadd dword [esp + 0xf0]
fld dword [esp + 0x14]
fld st(1)
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom dword [0x7e5664]
fnstsw ax
test ah, 0x40
jne 0x6c4c8c
fld dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x10]
fxch st(1)
fdiv st(1)
fxch st(1)
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [0x7e5664]
fnstsw ax
fcomp dword [0x7e5664]
test ah, 1
fnstsw ax
jne 0x6c4cc4
fld dword [esp + 0x10]
test ah, 1
jne 0x6c4cb7
call fcn.007a3bc0
jmp 0x6c4ce7
call fcn.007a3af0
fadd dword [0x7e6240]
jmp 0x6c4ce7
fld dword [esp + 0x10]
test ah, 1
fchs
jne 0x6c4cdc
call fcn.007a3af0
fadd dword [0x7e6484]
jmp 0x6c4ce7
call fcn.007a3bc0
fadd dword [0x7e6480]
mov ecx, dword [0x9ea1d4]
fstp dword [esp + 0x2c]
mov eax, dword [ecx + 0x310]
cmp eax, 4
je 0x6c51df
cmp eax, 5
je 0x6c51df
mov edx, dword [0x9eba5c]
cmp dword [edx + 0x1c8], 3
jne 0x6c51df
mov eax, dword [0x9eba50]
mov cl, byte [eax + 0x7d]
test cl, cl
jne 0x6c51df
mov cl, byte [eax + 0x134]
test cl, cl
jne 0x6c51df
call fcn.00441450
fsub dword [ebx + 0x2a8]
mov ecx, dword [0x9ea1d4]
fcom dword [0x7e5864]
fnstsw ax
test ah, 0x41
jne 0x6c4f8c
mov al, byte [ecx + 0xbb4]
test al, al
je 0x6c4f8c
mov al, byte [ecx + 0xb65]
test al, al
fstp st(0)
je 0x6c4db9
call fcn.00475410
test al, al
jne 0x6c4db9
mov ecx, dword [0x9ea1d4]
push 0
call fcn.00471340
test eax, eax
je 0x6c4da0
mov ecx, dword [eax + 0x310]
cmp ecx, 4
je 0x6c4db9
cmp ecx, 5
je 0x6c4db9
push eax
mov eax, dword [0x9ea1d4]
mov cl, byte [eax + 0xb65]
test cl, cl
sete cl
push ecx
mov ecx, ebx
call fcn.006b7cc0
push 0
push 0
push 0
mov ecx, ebx
call fcn.006ba9f0
mov esi, dword [esp + 0x2c]
mov ecx, dword [0x9ea1d4]
push 1
push esi
call fcn.0046a000
mov edx, dword [0x9ea1d4]
mov ecx, dword [edx + 0xbd8]
test ecx, ecx
je 0x6c4df0
push 1
push esi
call fcn.0046a000
push 0
push 1
mov ecx, ebx
call fcn.006b78b0
mov eax, dword [0x9ea1cc]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x10]
push eax
push ebp
mov edx, dword [ecx]
push edi
call dword [edx + 0x34]
mov ecx, dword [0x9ea1cc]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x14]
mov ecx, dword [ecx + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x64]
test al, al
je 0x6c4e43
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, dword [0x9ea1d4]
sub esp, 0xc
fld dword [esp + 0x1c]
lea eax, [ecx + 0x98]
mov edx, eax
mov esi, dword [edx]
mov dword [esp + 0x5c], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x60], esi
mov edx, dword [edx + 8]
mov dword [esp + 0x64], edx
mov edx, esi
mov dword [esp + 0x20], edx
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
fsub dword [esp + 0x2c]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov edx, esp
fstp dword [esp + 0x40]
fld dword [esp + 0x60]
fsub dword [esp + 0x30]
mov dword [edx], eax
mov eax, esi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x44]
fld dword [esp + 0x24]
fsub dword [esp + 0x34]
mov dword [edx + 8], eax
fstp dword [esp + 0x48]
call fcn.004791f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x9eba88]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 0x1fc]
mov eax, dword [edx + 0xe4]
test eax, eax
jne 0x6c51df
mov eax, dword [0x9ea1d4]
push 1
push 0x7531
push 0x7531
mov byte [eax + 0xb69], 0
mov ecx, dword [0x9ea1d4]
mov eax, dword [ecx + 0x4c8]
mov ecx, dword [0x9eba60]
push eax
push eax
call fcn.004920e0
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fsqrt
fcomp dword [0x7e63d4]
fnstsw ax
test ah, 0x41
jne 0x6c51df
mov eax, dword [esp + 0x20]
push 0
push 0xffffffffffffffff
push 0x7531
mov ecx, dword [esp + 0x30]
sub esp, 0xc
mov edx, esp
push 0x7531
push 0
mov dword [edx], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 4], ecx
mov ecx, dword [0x9ea1d4]
mov dword [edx + 8], eax
mov edx, dword [ecx + 0x4c8]
push edx
jmp 0x6c51d4
fcomp dword [0x7e5864]
fnstsw ax
test ah, 0x41
jne 0x6c51df
mov al, byte [ecx + 0xbb4]
test al, al
jne 0x6c51df
mov al, byte [ecx + 0xb65]
test al, al
je 0x6c4ffe
call fcn.00475410
test al, al
jne 0x6c4ff8
mov ecx, dword [0x9ea1d4]
push 0
call fcn.00471340
test eax, eax
je 0x6c4fdf
mov ecx, dword [eax + 0x310]
cmp ecx, 4
je 0x6c4ff8
cmp ecx, 5
je 0x6c4ff8
push eax
mov eax, dword [0x9ea1d4]
mov cl, byte [eax + 0xb65]
test cl, cl
sete cl
push ecx
mov ecx, ebx
call fcn.006b7cc0
mov ecx, dword [0x9ea1d4]
mov esi, dword [esp + 0x2c]
push 1
push esi
call fcn.0046a000
mov edx, dword [0x9ea1d4]
mov ecx, dword [edx + 0xbd8]
test ecx, ecx
je 0x6c5022
push 1
push esi
call fcn.0046a000
mov eax, dword [0x9ea1cc]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x10]
push eax
push ebp
mov edx, dword [ecx]
push edi
call dword [edx + 0x34]
mov ecx, dword [0x9ea1cc]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x14]
mov ecx, dword [ecx + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x64]
test al, al
je 0x6c506a
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, dword [0x9ea1d4]
fld dword [esp + 0x10]
lea eax, [ecx + 0x98]
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x50], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov edx, dword [eax]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
mov edx, dword [eax + 8]
fsub dword [esp + 0x34]
fld dword [esp + 0x54]
fsub dword [esp + 0x38]
fld dword [esp + 0x18]
mov dword [esp + 0x3c], edx
fsub dword [esp + 0x3c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fst dword [esp + 0x1c]
fcomp dword [0x7e63d4]
fnstsw ax
test ah, 0x41
jne 0x6c5129
mov al, byte [ebx + 0x2ac]
test al, al
jne 0x6c50fa
mov byte [ebx + 0x2ac], 1
push 1
jmp 0x6c50fc
push 0
push 1
mov ecx, ebx
call fcn.006b78b0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [0x9ea1d4]
call fcn.004791f0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov edx, dword [0x9eba88]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 0x1fc]
mov ecx, dword [eax + 0xe4]
test ecx, ecx
jne 0x6c51df
mov ecx, dword [0x9ea1d4]
push 1
push 0x7531
push 0x7531
mov byte [ecx + 0xb69], 0
mov edx, dword [0x9ea1d4]
mov ecx, dword [0x9eba60]
mov eax, dword [edx + 0x4c8]
push eax
push eax
call fcn.004920e0
fld dword [esp + 0x1c]
fcomp dword [0x7e63d4]
fnstsw ax
test ah, 0x41
jne 0x6c51df
mov ecx, dword [esp + 0x20]
push 0
push 0xffffffffffffffff
push 0x7531
mov edx, dword [esp + 0x30]
sub esp, 0xc
mov eax, esp
push 0x7531
push 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [0x9ea1d4]
mov dword [eax + 8], ecx
mov eax, dword [edx + 0x4c8]
push eax
mov ecx, dword [0x9eba60]
call fcn.00493bd0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x194
ret 0x10