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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x848093
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x114]
lea ebp, [esi + 0x5a0]
push edi
mov ecx, ebp
call fcn.006c2230
mov bl, al
mov eax, dword [esp + 0x110]
mov ecx, dword [esi + eax*4 + 0x648]
test ecx, ecx
je 0x6aa1da
cmp bl, 1
je 0x6a9e00
cmp bl, 3
je 0x6a9e00
jae 0x6aa1da
fld dword [esi + 0xd8]
fcomp dword [0x858628]
fnstsw ax
test ah, 0x41
jne 0x6aa1da
cmp edi, 1
jl 0x6aa1da
mov al, byte [esi + 0x36]
shr al, 3
test al, al
je 0x6a9e00
cmp al, 3
jne 0x6aa1da
add ecx, 0x10
push 0
push ecx
lea ecx, [esp + 0xc0]
call fcn.0059c050
test bl, bl
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x108], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
je 0x6a9e47
cmp bl, 2
jne 0x6a9e9d
mov ecx, esi
call fcn.006d1e60
test al, al
je 0x6a9e9d
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0059c790
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x8c0]
push ecx
lea edx, [esi + 0x8b4]
push edx
lea eax, [edi + edi*2 + 0xb7]
push esi
lea ecx, [esi + eax*8]
call fcn.006f4540
test al, al
je 0x6a9e9d
inc bl
movzx ecx, bl
push ecx
push edi
mov ecx, ebp
call fcn.006c21c0
cmp bl, 1
je 0x6a9eab
cmp bl, 3
jne 0x6aa1c3
mov edx, dword [esp + 0x110]
mov eax, dword [esi + edx*4 + 0x648]
push 0
add eax, 0x10
push eax
lea ecx, [esp + 0x48]
call fcn.0059c050
test edi, edi
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov byte [esp + 0x108], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
jne 0x6a9f57
mov cl, byte [esi + 0x5c0]
and cl, 0xf
cmp cl, 1
jne 0x6a9f57
fld dword [esi + 0x5c4]
mov eax, dword [esi + 0x14]
fsin
fadd dword [0x858b1c]
fmul dword [0x8d31cc]
fld st(0)
fmul dword [eax + 0x18]
fld st(1)
fmul dword [eax + 0x14]
fxch st(2)
fmul dword [eax + 0x10]
fxch st(2)
fmul dword [esi + 0x48]
fxch st(1)
fmul dword [esi + 0x4c]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x44]
faddp st(1)
fadd dword [esi + 0x5cc]
fstp dword [esi + 0x5cc]
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0059c790
add esp, 0xc
lea ecx, [esp + 0x94]
push ecx
lea edx, [esi + 0x8c0]
push edx
lea eax, [esi + 0x8b4]
push eax
lea ecx, [edi + edi*2 + 0xb7]
push esi
lea ecx, [esi + ecx*8]
call fcn.006f4040
test al, al
je 0x6a9fb9
dec bl
movzx edx, bl
push edx
push edi
mov ecx, ebp
call fcn.006c21c0
push 0
lea eax, [edi + 0x54]
push eax
lea ecx, [esi + 0x138]
call fcn.004f6420
lea ecx, [edi + edi*2]
movzx edx, byte [esi + ecx*8 + 0x5c2]
fld dword [esi + ecx*8 + 0x5c4]
lea eax, [esi + ecx*8]
fstp dword [esp + edx*4 + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.0059b120
fld dword [esp + 0x70]
lea ecx, [esp + 0x40]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fadd dword [esp + 0x20]
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fadd dword [esp + 0x24]
fstp dword [esp + 0x78]
call fcn.0059bbb0
test edi, edi
jne 0x6aa1b2
cmp byte [esi + 0x5c3], 1
jne 0x6aa1b2
mov eax, dword [esi + 0x14]
fld dword [esi + 0x4c]
fmul dword [eax + 0x18]
lea ebx, [esi + 0x44]
fld dword [ebx + 4]
fmul dword [eax + 0x14]
faddp st(1)
fld dword [ebx]
fmul dword [eax + 0x10]
faddp st(1)
fcomp dword [0x858ee8]
fnstsw ax
test ah, 0x41
jne 0x6aa1b2
push 2
push 0x10
mov ecx, esi
call fcn.006a8580
mov edi, eax
push edi
push 0x5d
lea ecx, [esi + 0x138]
call fcn.004f7580
mov eax, dword [esi + 0x688]
push 0
push eax
mov ecx, esi
call fcn.006d2700
push 4
push 0
mov ecx, ebp
call fcn.006c21c0
test edi, edi
je 0x6aa1b2
call fcn.00821b1e
test al, 1
mov ebp, dword [esi + 0x14]
lea ecx, [ebp + 0x20]
push ecx
push 0x3f000000
je 0x6aa0fe
lea edx, [esp + 0x18]
push edx
call fcn.0040fe90
add esp, 0xc
push eax
push ebp
lea eax, [esp + 0x90]
push 0x3dcccccd
push eax
call fcn.0040fe90
add esp, 0xc
push eax
push ebx
lea ecx, [esp + 0xac]
push 0x3ecccccd
push ecx
call fcn.0040fe90
add esp, 0xc
push eax
lea edx, [esp + 0xb8]
push edx
call fcn.0040fe30
add esp, 0xc
push eax
lea eax, [esp + 0x3c]
jmp 0x6aa14f
lea edx, [esp + 0x3c]
push edx
call fcn.0040fe90
add esp, 0xc
push eax
push ebp
lea eax, [esp + 0xb4]
push 0x3dcccccd
push eax
call fcn.0040fe90
add esp, 0xc
push eax
push ebx
lea ecx, [esp + 0xac]
push 0x3ecccccd
push ecx
call fcn.0040fe90
add esp, 0xc
push eax
lea edx, [esp + 0x94]
push edx
call fcn.0040fe60
add esp, 0xc
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040fe30
mov edx, dword [eax]
lea ecx, [edi + 0x44]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov esi, dword [esi + 0x14]
add esp, 0xc
lea ecx, [esi + 0x20]
push ecx
lea edx, [esp + 0x38]
push 0x41200000
push edx
call fcn.0040fe90
add esi, 0x10
mov edx, dword [esi]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov edx, dword [esi + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.00542a50
lea ecx, [esp + 0x40]
mov byte [esp + 0x108], 0
call fcn.0059acd0
lea ecx, [esp + 0xb8]
mov dword [esp + 0x108], 0xffffffff
call fcn.0059acd0
mov ecx, dword [esp + 0x100]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfc
ret 8