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

Disassembly:
sub esp, 0x10c
push ebx
push ebp
mov ebp, ecx
mov edx, dword [ebp + 0xf4]
push esi
mov esi, dword [esp + 0x11c]
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x5c]
mov dword [edx + 0xc8], eax
mov edx, dword [ebp + 0xf4]
mov eax, dword [esi + 0x7c]
mov dword [edx + 0xcc], eax
mov edx, dword [ebp + 0xf8]
mov eax, dword [esi + 0x5c]
mov dword [edx + 0xc8], eax
mov edx, dword [ebp + 0xf8]
mov eax, dword [esi + 0x7c]
mov dword [edx + 0xcc], eax
mov edx, dword [ebp + 0xfc]
mov eax, dword [esi + 0x5c]
mov dword [edx + 0xc8], eax
mov edx, dword [ebp + 0xfc]
mov eax, dword [esi + 0x7c]
mov dword [edx + 0xcc], eax
mov edx, dword [ebp + 0x100]
mov eax, dword [esi + 0x5c]
lea ecx, [ebp + 0xf4]
mov dword [edx + 0xc8], eax
mov edx, dword [ebp + 0x100]
mov eax, dword [esi + 0x7c]
mov dword [edx + 0xcc], eax
mov eax, dword [esi + 0xac]
mov dword [esp + 0x78], eax
lea eax, [esi + 0x70]
push edi
mov edi, dword [eax]
mov dword [esp + 0x10], edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
fmul dword [esi + 0x20]
mov dword [esp + 0x14], edi
fld dword [esp + 0x10]
xor edx, edx
fmul dword [esi]
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], edx
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esi + 0x10]
faddp st(1)
fstp dword [esp + 0x104]
fld dword [esp + 0x10]
fmul dword [esi + 4]
fld dword [esp + 0x14]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esi + 0x24]
faddp st(1)
fstp dword [esp + 0x108]
fld dword [esp + 0x14]
fmul dword [esi + 0x18]
fld dword [esp + 0x18]
fmul dword [esi + 0x28]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esi + 8]
faddp st(1)
fstp dword [esp + 0x10c]
mov eax, dword [ebp + 0xc0]
fld dword [eax + 0x30]
mov edi, dword [eax + 8]
fmul dword [0x8aae8c]
mov dword [esp + 0xe4], edi
mov edi, dword [ebp + 0xf8]
mov byte [esp + 0x2f], dl
fstp dword [esp + 0xfc]
fld dword [eax + 0x38]
mov dword [esp + 0x50], edx
fmul dword [0x8aae8c]
mov dword [esp + 0x38], ecx
fstp dword [esp + 0xec]
fld dword [eax + 0x48]
fmul dword [0x8aae8c]
fld dword [eax + 0x10]
fmul dword [0x8a9388]
fstp dword [esp + 0xf4]
fld dword [eax + 0x18]
fmul dword [0x8a9388]
fstp dword [esp + 0xcc]
fld dword [eax + 0x34]
fmul dword [0x8aae8c]
fstp dword [esp + 0x100]
fld dword [eax + 0x3c]
fmul dword [0x8aae8c]
fstp dword [esp + 0xf0]
fld dword [eax + 0x4c]
fmul dword [0x8aae8c]
fld dword [eax + 0x14]
fmul dword [0x8a9388]
fstp dword [esp + 0xf8]
fld dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
fmul dword [0x8a9388]
mov dword [esp + 0xe8], eax
mov eax, dword [ecx]
fstp dword [esp + 0xd0]
fld dword [eax + 0x78]
mov eax, dword [ebp + 0xfc]
fsub dword [edi + 0x78]
mov edi, dword [ebp + 0x100]
fmul st(2)
fst dword [esp + 0xd4]
fchs
fstp dword [esp + 0xd8]
fld dword [eax + 0x78]
fsub dword [edi + 0x78]
fmul st(1)
fstp dword [esp + 0xdc]
fstp st(0)
fstp st(0)
fld dword [esp + 0xdc]
fchs
fstp dword [esp + 0xe0]
nop
fld dword [esi + 0x84]
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0xd8]
fadd st(0), st(0)
mov edi, dword [ecx]
mov eax, dword [edi + 0xc4]
mov ebx, dword [esp + 0x50]
push ecx
mov ecx, dword [esi + 0xc0]
fstp dword [esp]
push edx
push 1
push eax
push ecx
lea edx, [esp + 0x118]
push edx
push esi
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x60]
push eax
mov ecx, edi
shr ebx, 1
call fcn.00671530
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x60], edx
fld dword [esp + 0x60]
fmul dword [esp + 0x40]
mov dword [esp + 0x5c], ecx
fld dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
fmul dword [esp + 0x44]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x58], eax
fsubp st(1)
fstp dword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
fld dword [esp + 0x44]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x58]
lea eax, [esp + 0x10]
fld dword [esp + 0x60]
push eax
fmul dword [esp + 0x40]
fsubp st(1)
fstp dword [esp + 0xc8]
mov ecx, dword [esp + 0xc8]
fld dword [esp + 0x60]
mov dword [esp + 0x18], ecx
fmul dword [esp + 0x40]
mov ecx, eax
fld dword [esp + 0x44]
push ecx
fmul dword [esp + 0x60]
fsubp st(1)
fstp dword [esp + 0xd0]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x20], edx
call fcn.0040fe20
fld dword [esp + 0x48]
fmul dword [esi + 0x14]
mov edx, dword [edi + 0x48]
fld dword [esp + 0x4c]
add esp, 8
fmul dword [esi + 0x18]
mov dword [esp + 0xa4], edx
faddp st(1)
fld dword [esp + 0x3c]
fmul dword [esi + 0x10]
faddp st(1)
fst dword [esp + 0x28]
fcomp dword [0x89096c]
fnstsw ax
test ah, 5
jp 0x6ad8f5
fld dword [esp + 0x28]
fld dword [0x890968]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x6ad862
fstp st(0)
fld dword [0x890968]
fld st(0)
fmul dword [esp + ebx*4 + 0xcc]
fadd dword [esp + 0xa4]
fld dword [esp + ebx*4 + 0xf4]
fstp dword [esp + 0x28]
fld dword [0x890968]
fld dword [edi + 0x78]
fucompp
fnstsw ax
test ah, 0x44
jp 0x6ad8ac
fld dword [esp + 0x28]
fsubr st(1)
fld dword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x6ad8a8
fstp st(0)
fld dword [esp + 0x30]
fstp dword [esp + 0x30]
fcom dword [0x890968]
fnstsw ax
test ah, 0x41
je 0x6ad8c1
fstp st(0)
fld dword [0x890968]
fcom dword [esp + 0x28]
fst dword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x6ad900
fsub dword [esp + 0x28]
fld dword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x6ad8e7
fstp st(0)
fld dword [esp + 0x30]
mov eax, dword [esp + 0x28]
fstp dword [esp + 0x30]
mov dword [esp + 0x34], eax
jmp 0x6ad902
fld dword [0x89096c]
jmp 0x6ad862
fstp st(0)
fld dword [esp + 0x34]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6adc90
fcom dword [0x8f8760]
fnstsw ax
test ah, 0x41
jne 0x6adc90
fld dword [esp + 0x34]
mov ecx, dword [ebp + 0xc0]
fmul dword [esp + ebx*4 + 0xe4]
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
fadd dword [0x89096c]
fmul dword [esp + ebx*4 + 0xec]
fmul dword [esp + 0x34]
fld dword [0x89096c]
fdiv dword [esp + 0x88]
fstp dword [esp + 0x28]
fld dword [esp + 0x34]
fsub dword [edi + 0x78]
fmul dword [esp + 0x28]
fmul dword [esp + ebx*4 + 0xfc]
fld dword [esp + 0x7c]
fmul dword [ecx + 0x58]
fmul dword [0x891608]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x6ad996
fstp st(0)
fld dword [0x890968]
mov edx, dword [esp + 0x50]
fadd dword [esp + edx*4 + 0xd4]
faddp st(1)
fcom dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6ad9b6
fstp dword [esp + 0x4c]
jmp 0x6ad9c0
fstp st(0)
mov dword [esp + 0x4c], 0
fld dword [esi + 0x10]
mov eax, dword [esi + 0x18]
fld dword [esi + 0x14]
mov dword [esp + 0x118], eax
fld dword [esp + 0x4c]
fmul st(2)
fstp dword [esp + 0x64]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x68]
fstp st(0)
fld dword [esp + 0x118]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x6c]
fmul dword [0x890e98]
fsub dword [0x8aac70]
fcom dword [0x894b58]
fnstsw ax
test ah, 0x41
jne 0x6ada15
fstp dword [esp + 0x80]
jmp 0x6ada22
fstp st(0)
mov dword [esp + 0x80], 0x3e99999a
fld dword [edi + 0x8c]
push ecx
fld dword [edi + 0x90]
fld dword [edi + 0x94]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.005c5e80
fstp st(0)
mov ecx, dword [esi + 0xc0]
fld dword [esp + 0x18]
add esp, 4
fmul dword [edi + 0x90]
push ecx
fld dword [esp + 0x14]
sub esp, 8
fmul dword [edi + 0x8c]
mov ecx, edi
faddp st(1)
fld dword [esp + 0x24]
fmul dword [edi + 0x94]
faddp st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x8c]
mov edx, dword [esp + 0x54]
fmul dword [esp + 0x58]
fstp dword [esp + 4]
fld dword [esp + 0x68]
fmul dword [edi + 0x90]
fld dword [esp + 0x6c]
fmul dword [edi + 0x94]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [edi + 0x8c]
faddp st(1)
fstp dword [esp]
push edx
call fcn.006906b0
fld dword [esp + 0x28]
fmul dword [esp + 0x48]
mov eax, dword [edi + 0xd8]
fld dword [esp + 0x7c]
mov dword [esp + 0x84], eax
fmul dword [0x8910f0]
fmulp st(1)
fcom dword [0x890968]
fnstsw ax
test ah, 5
jp 0x6adaf8
fchs
fld st(0)
fchs
fstp dword [esp + 0x48]
fld dword [esp + 0x84]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x6adb19
fstp st(0)
fld dword [esp + 0x84]
fld dword [esp + 0x48]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x6adb2c
fstp st(0)
fld dword [esp + 0x48]
fld dword [esp + 0x10]
fmul st(1)
fld dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
fld dword [esp + 0x18]
mov dword [esp + 0xb8], ecx
fmul st(2)
mov dword [esp + 0x74], ecx
fstp dword [esp + 0xa0]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0xbc], edx
fstp dword [esp + 0xb4]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x70], eax
fstp st(0)
mov dword [esp + 0x78], edx
fld dword [esp + 0x14]
fmul dword [esp + 0x44]
fld dword [esp + 0x18]
fmul dword [esp + 0x40]
fsubp st(1)
fstp dword [esp + 0xa8]
mov eax, dword [esp + 0xa8]
fld dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fmul dword [esp + 0x3c]
lea eax, [esp + 0x1c]
fld dword [esp + 0x44]
push eax
fmul dword [esp + 0x14]
fsubp st(1)
fstp dword [esp + 0xb0]
mov ecx, dword [esp + 0xb0]
fld dword [esp + 0x44]
mov dword [esp + 0x24], ecx
fmul dword [esp + 0x14]
mov ecx, eax
fld dword [esp + 0x18]
push ecx
fmul dword [esp + 0x44]
fsubp st(1)
fstp dword [esp + 0xb8]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x2c], edx
call fcn.0040fe20
fld dword [edi + 0xdc]
fld dword [esp + 0x24]
lea edx, [edi + 0x5c]
fmul st(1)
add esp, 8
fld dword [esp + 0x20]
fmul st(2)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(2)
fstp dword [esp + 0x24]
fadd dword [esp + 0x70]
fstp st(1)
fld dword [esp + 0x74]
fadd dword [esp + 0x20]
fld dword [esp + 0x78]
fadd dword [esp + 0x24]
fstp dword [esp + 0x94]
fxch st(1)
fadd dword [esp + 0x64]
fstp dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
mov dword [edx], eax
fadd dword [esp + 0x68]
fstp dword [esp + 0x90]
fld dword [esp + 0x94]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov byte [esp + 0x2f], 1
xor ecx, ecx
jmp 0x6adcfa
mov edx, dword [0x8a2fb4]
fstp st(0)
fld dword [edi + 0xcc]
lea ecx, [edi + 0x5c]
fcomp dword [0x890968]
mov dword [ecx], edx
mov eax, dword [0x8a2fb8]
mov dword [ecx + 4], eax
mov edx, dword [0x8a2fbc]
fnstsw ax
mov dword [ecx + 8], edx
xor ecx, ecx
test ah, 0x41
mov dword [edi + 0xd4], ecx
mov dword [edi + 0xe4], ecx
mov byte [edi + 0x100], cl
je 0x6adce8
fld dword [edi + 0xc8]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6adcee
mov dword [edi + 0xd0], ecx
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xdc], ecx
fld dword [0x890968]
fld dword [esp + 0x34]
fucompp
fnstsw ax
test ah, 0x44
jp 0x6add1c
fld dword [esp + 0x88]
fadd dword [edi + 0x68]
fstp dword [edi + 0x68]
jmp 0x6add1f
mov dword [edi + 0x68], ecx
fld dword [esp + 0x34]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6add36
fld dword [esp + 0x34]
jmp 0x6add3c
fld dword [0x890968]
mov eax, dword [esp + 0x50]
fstp dword [edi + 0x78]
mov edx, dword [esp + 0x38]
inc eax
add edx, 4
cmp eax, 4
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], edx
jb 0x6ad720
mov al, byte [esp + 0x2f]
test al, al
je 0x6adf59
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x78]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
fmul dword [esi]
mov dword [esp + 0x20], ecx
fld dword [esp + 0x20]
mov dword [esp + 0x24], edx
fmul dword [esi + 0x10]
mov eax, dword [ebp + 0x4c]
lea ecx, [ebp + 0x4c]
faddp st(1)
fld dword [esp + 0x24]
xor edi, edi
fmul dword [esi + 0x20]
faddp st(1)
fadd dword [esi + 0x30]
fstp dword [esp + 0x64]
fld dword [esp + 0x24]
fmul dword [esi + 0x24]
fld dword [esp + 0x20]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esi + 4]
faddp st(1)
fadd dword [esi + 0x34]
fstp dword [esp + 0x68]
fld dword [esp + 0x20]
fmul dword [esi + 0x18]
fld dword [esp + 0x1c]
fmul dword [esi + 8]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esi + 0x28]
faddp st(1)
fadd dword [esi + 0x38]
fstp dword [esp + 0x6c]
call dword [eax + 8]
test eax, eax
jbe 0x6adf59
lea eax, [ebp + 0xf4]
mov dword [esp + 0x38], eax
lea esp, [esp]
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x6c]
fld dword [ecx + 0x70]
fadd dword [ecx + 0x78]
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x10], edx
mov edx, edi
shr edx, 1
fsub dword [esp + edx*4 + 0xcc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fld dword [esp + 0x1c]
mov dword [esp + 0x20], edx
fmul dword [esi]
mov dword [esp + 0x18], eax
fld dword [esp + 0x20]
mov edx, dword [esp + 0x18]
fmul dword [esi + 0x10]
mov dword [esp + 0x24], edx
lea eax, [ecx + 0x5c]
faddp st(1)
fld dword [esp + 0x24]
add ecx, 0x4c
fmul dword [esi + 0x20]
faddp st(1)
fadd dword [esi + 0x30]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fld dword [esp + 0x24]
fmul dword [esi + 0x24]
fld dword [esp + 0x20]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esi + 4]
faddp st(1)
fadd dword [esi + 0x34]
fstp dword [esp + 0x14]
fld dword [esp + 0x20]
fmul dword [esi + 0x18]
fld dword [esp + 0x1c]
fmul dword [esi + 8]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esi + 0x28]
faddp st(1)
fadd dword [esi + 0x38]
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [esp + 0x10]
mov dword [ecx + 8], edx
fsub dword [esp + 0x64]
fld dword [esp + 0x14]
fsub dword [esp + 0x68]
fld dword [esp + 0x18]
fsub dword [esp + 0x6c]
fld st(1)
fmul dword [eax + 8]
fld st(1)
fmul dword [eax + 4]
fsubp st(1)
fstp dword [esp + 0x70]
fmul dword [eax]
mov ecx, dword [esp + 0x70]
fld st(2)
fmul dword [eax + 8]
lea ebx, [esp + 0x98]
push ebx
fsubp st(1)
push eax
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
fxch st(1)
fmul dword [eax + 4]
fxch st(1)
fmul dword [eax]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
fsubp st(1)
fstp dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xa8], ecx
mov ecx, dword [ebp + 0xcc]
mov edx, dword [ecx]
call dword [edx + 0x84]
mov edx, dword [esp + 0x38]
mov eax, dword [ebp + 0x4c]
lea ecx, [ebp + 0x4c]
add edx, 4
inc edi
mov dword [esp + 0x38], edx
call dword [eax + 8]
cmp edi, eax
jb 0x6ade00
fld dword [esp + 0x30]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6adfc3
mov edx, dword [ebp + 0x4c]
lea esi, [ebp + 0x4c]
mov ecx, esi
xor edi, edi
call dword [edx + 8]
test eax, eax
jbe 0x6adf9c
lea ebx, [ebp + 0xf4]
mov eax, dword [ebx]
fld dword [esp + 0x30]
fadd dword [eax + 0x50]
mov ecx, esi
inc edi
add ebx, 4
fstp dword [eax + 0x50]
mov eax, dword [esi]
call dword [eax + 8]
cmp edi, eax
jb 0x6adf81
mov ecx, dword [ebp + 0xcc]
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
push eax
call dword [edx + 0x7c]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
mov dword [ebp + 0xe0], ecx
pop ebp
pop ebx
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x54]
pop edi
pop esi
mov dword [ebp + 0xe0], edx
pop ebp
pop ebx
add esp, 0x10c
ret 4