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

Disassembly:
sub esp, 0x3c
push ebp
push esi
mov esi, ecx
mov ebp, dword [esi + 0x110]
test ebp, ebp
je 0x6b00e3
mov ecx, dword [esi + 0x114]
test ecx, ecx
je 0x6b00e3
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, 4
jne 0x6b00e3
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
push ebx
push edi
call dword [edx + 0xcc]
mov ecx, dword [esi + 0x48]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x13], al
call dword [edx + 0x3c]
fstp dword [esi + 0x8c]
mov eax, dword [esi]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x44], eax
call dword [edx + 8]
movzx eax, byte [eax + 0x21]
mov ebx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x48]
push ebx
push edi
mov ecx, esi
call dword [eax + 0x44]
mov edx, dword [esi]
mov ecx, esi
fstp dword [esi + 0xfc]
call dword [edx + 0x38]
mov eax, dword [esi]
push ebx
push edi
mov ecx, esi
call dword [eax + 0x40]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x48]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
test al, al
mov eax, dword [esi + 0x14c]
je 0x6af7ef
fld dword [eax + 0x58]
jmp 0x6af7f2
fld dword [eax + 0x54]
mov ecx, dword [esi + 0x84]
fmul dword [0x8a9398]
mov edi, 1
cmp ecx, edi
setne cl
fstp dword [esp + 0x24]
fld dword [eax + 0x5c]
lea edx, [esi + 0x144]
fmul dword [0x8a9398]
fstp dword [esp + 0x34]
push ecx
push edx
call fcn.0066bb00
fstp dword [esp + 0x40]
add esp, 8
push 0
mov ecx, esi
call fcn.00692140
fstp dword [esp + 0x14]
push edi
mov ecx, esi
call fcn.00692140
fstp dword [esp + 0x1c]
mov ecx, dword [esi + 0x114]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fmul dword [0x8910f0]
fld dword [0x8910f0]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x6af87a
fstp st(0)
mov dword [esp + 0x2c], 0x3e800000
jmp 0x6af87e
fstp dword [esp + 0x2c]
lea ebp, [esi + 0x198]
push ebx
mov ecx, ebp
call fcn.00691a10
fstp dword [esp + 0x3c]
mov eax, dword [esi + 0x84]
test eax, eax
mov dword [esp + 0x30], 0xbf800000
je 0x6af8aa
mov dword [esp + 0x30], 0x3f800000
push eax
mov ecx, esi
call fcn.00691ac0
fstp st(0)
mov ecx, dword [esi + 0x160]
mov edx, dword [ecx + 0x80]
mov eax, dword [esi + 0x84]
push eax
mov ecx, esi
mov dword [esp + 0x48], edx
call fcn.00691ac0
fmul dword [esp + 0x44]
mov ecx, dword [esi + 0x160]
fmul dword [esp + 0x30]
fstp dword [esp + 0x18]
fld dword [esi + 0xec]
fmul dword [0x8a9394]
fstp dword [esp + 0x44]
fld dword [ecx + 0x6c]
mov ebx, dword [esp + 0x44]
fst dword [esp + 0x28]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6af95d
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x14c]
mov ecx, dword [eax + 0x5c]
push edx
push ecx
push ebx
call fcn.00401ae0
fsubr dword [0x89096c]
mov edx, dword [esi + 0x4c]
lea ecx, [esi + 0x4c]
fmul dword [esp + 0x34]
add esp, 0xc
fmul dword [esi + 0x8c]
fstp dword [esp + 0x28]
call dword [edx + 0x10]
test al, al
fld dword [esp + 0x28]
je 0x6af94f
fmul dword [esp + 0x3c]
fadd dword [0x89096c]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [0x890968]
fld dword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x6af97c
cmp dword [esi + 0x84], edi
jne 0x6b00e1
mov eax, dword [esi + 0x84]
test eax, eax
je 0x6af9a5
cmp eax, 2
je 0x6af9a5
cmp eax, edi
jne 0x6af99e
cmp dword [ebp], 0
jne 0x6af9fe
mov dword [ebp], 2
jmp 0x6af9fe
push 0x3e800000
jmp 0x6af9f7
test eax, eax
fld dword [0x8aae24]
jne 0x6af9b7
fstp st(0)
fld dword [0x8abe70]
fmul dword [0x8a9398]
fadd dword [esp + 0x34]
fcom dword [esi + 0xec]
fnstsw ax
test ah, 1
jne 0x6af9f0
fcomp dword [esi + 0xf4]
fnstsw ax
test ah, 1
jne 0x6af9f2
fld dword [esi + 0x8c]
fcomp dword [0x890cd4]
fnstsw ax
test ah, 5
jp 0x6af9f2
jmp 0x6af98f
fstp st(0)
push 0x3d4ccccd
mov ecx, ebp
call fcn.006919c0
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x50]
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
push ebx
push ecx
mov ecx, esi
call fcn.006a0910
fst dword [esp + 0x28]
mov al, byte [esp + 0x13]
test al, al
jne 0x6afa73
mov ecx, dword [esi + 0x48]
fstp st(0)
mov edx, dword [ecx]
call dword [edx + 0x28]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6afa6f
fld dword [esi + 0x8c]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6afa6f
fld dword [esi + 0x18c]
mov dword [esi + 0x8c], 0x3f800000
fmul dword [esi + 0xfc]
fstp dword [esp + 0x20]
fld dword [0x890968]
jmp 0x6afa73
fld dword [esp + 0x28]
fld dword [esi + 0xf4]
mov ebx, dword [esi + 0x84]
cmp ebx, 1
fld dword [esp + 0x24]
fsub dword [esp + 0x34]
fdiv dword [esp + 0x24]
fmul dword [esp + 0x18]
fmul dword [esp + 0x1c]
fadd dword [esp + 0x34]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fsub st(1)
mov dword [esi + 0xf4], eax
fdiv dword [esp + 0x50]
fstp dword [esp + 0x48]
fstp st(0)
je 0x6afadd
cmp dword [ebp], 0
jne 0x6afadd
fld dword [esp + 0x30]
fmul st(1)
fmul dword [esp + 0x14]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6afadd
fmul dword [0x8aac20]
fld dword [0x89096c]
mov dword [esp + 0x1c], 0
fsub dword [esi + 0x8c]
mov dword [esp + 0x14], 0
fmul st(1)
fld dword [esp + 0x20]
fmul dword [esi + 0x8c]
faddp st(1)
fstp dword [esp + 0x20]
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [0x890968]
fnstsw ax
test ah, 5
jp 0x6afb25
mov eax, 1
jmp 0x6afb27
xor eax, eax
cmp ebx, 1
mov byte [esi + 0x108], al
je 0x6afe47
mov eax, dword [ebp]
xor ecx, ecx
sub eax, ecx
je 0x6afc18
dec eax
je 0x6afb58
dec eax
jne 0x6afc34
mov dword [esi + 0x104], ecx
jmp 0x6afc34
fld dword [esi + 0xec]
fsub dword [esp + 0x28]
fcom dword [0x8f8dc8]
fnstsw ax
test ah, 0x41
jne 0x6afb79
fstp st(0)
fld dword [0x8f8dc8]
jmp 0x6afb96
fld dword [0x8f8dc8]
fchs
fstp dword [esp + 0x1c]
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x6afb96
fstp st(0)
fld dword [esp + 0x1c]
fld dword [0x8f8d9c]
fld dword [esp + 0x28]
fsub dword [esi + 0xec]
fmul dword [0x8a9394]
fld dword [0x890968]
fld dword [esi + 0x104]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x6afc06
fld st(0)
fmul dword [esi + 0x104]
fcomp dword [0x890968]
fnstsw ax
test ah, 5
jp 0x6afc06
fld st(0)
fabs
fcomp dword [0x8aac54]
fnstsw ax
test ah, 0x41
jne 0x6afc06
fld dword [esi + 0x104]
fabs
fcomp dword [0x8aac54]
fnstsw ax
test ah, 0x41
jne 0x6afc06
fxch st(1)
fmul dword [0x8933d4]
fxch st(1)
fstp dword [esi + 0x104]
fmulp st(1)
fmul dword [esp + 0x3c]
fst dword [esp + 0x1c]
jmp 0x6afc2a
fld dword [esp + 0x20]
mov dword [esi + 0x104], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
fmul dword [esp + 0x2c]
fchs
fstp dword [esp + 0x14]
cmp ebx, 1
je 0x6afe47
cmp dword [ebp], 0
jne 0x6afd0f
fld dword [0x89096c]
mov edx, dword [esi + 0x160]
fdiv dword [esp + 0x38]
mov ecx, esi
fld dword [esp + 0x14]
fadd dword [esp + 0x20]
fmul st(1)
fsub dword [esp + 0x48]
fstp dword [esp + 0x48]
fstp dword [esp + 0x28]
fld dword [0x89096c]
fsub dword [edx + 0x70]
fstp dword [esp + 0x3c]
call fcn.00691c30
test al, al
mov edi, dword [esp + 0x18]
je 0x6afcb0
push edi
call fcn.00401d10
fld dword [0x89096c]
fsub dword [esp + 0x40]
add esp, 4
fmul st(1)
fmul st(1)
fmul dword [0x890ea8]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fstp st(0)
mov ecx, esi
call fcn.00691c10
test al, al
je 0x6afcd8
push edi
call fcn.00401d10
fld st(0)
fmulp st(1)
add esp, 4
fmul dword [esp + 0x3c]
fmul dword [0x890ea8]
fadd dword [esp + 0x28]
jmp 0x6afcdc
fld dword [esp + 0x28]
fld dword [esp + 0x48]
push 0
fdiv st(1)
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
push eax
fstp st(0)
call fcn.00401da0
fadd dword [esp + 0x24]
add esp, 8
fstp dword [esp + 0x1c]
fld dword [esp + 0x3c]
fmul dword [esp + 0x2c]
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
cmp ebx, 1
je 0x6afe47
cmp dword [ebp], 0
jne 0x6afddf
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x6afddf
mov ecx, esi
call fcn.006922c0
fld dword [esi + 0xf4]
fsub dword [esi + 0xec]
fstp dword [esp + 0x3c]
fld dword [esi + 0x8c]
fcomp dword [0x895074]
fnstsw ax
test ah, 0x41
jne 0x6afda4
fld dword [esp + 0x30]
fmul st(1)
fcomp dword [0x890cd4]
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x6afda6
cmp dword [esi + 0x84], 2
jg 0x6afda6
fld dword [esp + 0x3c]
fcomp dword [0x890968]
fnstsw ax
test ah, 5
jp 0x6afda6
fld dword [esi + 0xec]
push ecx
fst dword [esi + 0xf4]
mov ecx, esi
fdiv dword [esp + 0x1c]
fstp dword [esp]
call fcn.00692380
jmp 0x6afddf
fstp st(0)
fld dword [esp + 0x20]
fabs
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
fld dword [esp + 0x40]
fchs
push ecx
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x48]
fmul dword [0x8f8d9c]
fstp dword [esp]
call fcn.00402060
fadd dword [esp + 0x20]
add esp, 0xc
fstp dword [esp + 0x14]
mov eax, dword [esi + 0x84]
cmp eax, 2
je 0x6afdee
test eax, eax
jne 0x6afe47
fld dword [esp + 0x14]
fadd dword [esp + 0x20]
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x6afe47
fld dword [esp + 0x30]
fcomp dword [0x890968]
fnstsw ax
test ah, 5
jp 0x6afe47
fld dword [esp + 0x30]
push ecx
fmul dword [0x894200]
mov ecx, 0x8f8fd8
fstp dword [esp]
call fcn.00478d00
mov edx, dword [esi + 0x160]
fmul dword [edx + 0x74]
fmul dword [esp + 0x30]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esi + 0x1a8]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6afea9
call fcn.006e8de0
fsubr dword [esi + 0x1a8]
fcom dword [0x890968]
fnstsw ax
test ah, 0x41
jp 0x6afe89
mov eax, dword [esi + 0x78]
fstp st(0)
lea ecx, [esi + 0x78]
mov dword [esi + 0x1a8], 0
call dword [eax + 8]
jmp 0x6afea9
fmul dword [0x8abe6c]
fsin
fmul dword [0x8933d4]
fadd dword [0x89096c]
fmul dword [esi + 0xec]
fstp dword [esi + 0xec]
mov ecx, dword [esi + 0x84]
cmp ecx, 1
je 0x6aff3a
fld dword [esi + 0x8c]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6aff3a
cmp ecx, 2
jg 0x6aff3a
cmp dword [ebp], 0
jne 0x6aff3a
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fcomp dword [0x890968]
fnstsw ax
test ah, 5
jp 0x6aff3a
mov ecx, dword [esi + 0x190]
mov edx, dword [esi + 0x14c]
mov eax, dword [edx + 0x5c]
push ecx
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.00401ae0
fmul dword [esi + 0x8c]
mov edx, dword [esi + 0x160]
add esp, 0xc
fsubr dword [0x89096c]
fld dword [edx + 0x74]
fmul dword [esi + 0x8c]
fmulp st(1)
fsubr dword [0x89096c]
fld st(0)
fmul st(1)
fmul dword [esp + 0x14]
fstp dword [esp + 0x14]
fstp st(0)
fld dword [esp + 0x14]
mov eax, dword [esp + 0x24]
fadd dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push eax
push ecx
fdiv dword [esp + 0x40]
push ecx
fst dword [esi + 0xf0]
fmul dword [esp + 0x5c]
fadd dword [esi + 0xec]
fstp dword [esp]
call fcn.00401d70
fstp dword [esi + 0xec]
add esp, 0xc
fld dword [0x890968]
fld dword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x6aff98
fld dword [esp + 0x24]
push ecx
fdiv dword [esp + 0x1c]
mov ecx, esi
fstp dword [esp]
call fcn.00692690
fld dword [esi + 0xf4]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x6afff6
fld dword [0x890968]
fld dword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x6afff6
fld dword [esp + 0x1c]
fmul dword [esp + 0x18]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6affd9
mov dword [esp + 0x1c], 0
fld dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fdiv dword [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esi + 0xf4], edx
fstp dword [esp]
call fcn.00692380
fld dword [esp + 0x1c]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6b002a
mov ecx, dword [esi + 0x118]
test ecx, ecx
je 0x6b002a
mov eax, dword [ecx]
call dword [eax + 4]
fmul dword [0x8933d4]
fadd dword [0x89096c]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
mov ecx, dword [esi + 0x84]
push ecx
mov ecx, esi
call fcn.00691af0
fmul dword [esp + 0x1c]
mov edx, dword [esi]
mov ecx, esi
fmul dword [esp + 0x18]
fstp dword [esi + 0x80]
call dword [edx + 0x2c]
test al, al
jne 0x6b005b
cmp dword [ebp], 2
je 0x6b005b
xor bl, bl
jmp 0x6b005d
mov bl, 1
mov eax, dword [esp + 0x38]
fld dword [esi + 0xec]
fmul dword [0x8a9394]
mov edx, dword [esi + 0x180]
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esi + 0x4c]
push ecx
fstp dword [esp]
push edx
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push eax
push ebx
call fcn.006927a0
fstp dword [esi + 0x180]
mov eax, dword [ebp]
add esp, 0x18
test eax, eax
jne 0x6b00d7
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x20]
test al, al
jne 0x6b00d7
fld dword [esi + 0xf4]
mov eax, dword [esi + 0x84]
fmul dword [0x8a9394]
mov edx, dword [esi]
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call dword [edx + 0x4c]
pop edi
pop ebx
mov dword [esi + 0x188], eax
pop esi
pop ebp
add esp, 0x3c
ret 4
mov dword [esi + 0x188], 0
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3c
ret 4