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

Disassembly:
sub esp, 0x8c8
push ebx
push ebp
mov ebp, ecx
mov al, byte [ebp + 0x55]
xor ebx, ebx
test al, al
je 0x77764a
mov eax, dword [ebp + 0x84]
cmp eax, ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
mov byte [ebp + 0x60], bl
mov dword [ebp + 0x64], ebx
je 0x77764a
lea ecx, [eax + 0x4c]
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, ebx
je 0x77764a
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x54]
mov esi, eax
cmp esi, ebx
je 0x777649
mov eax, dword [ebp + 8]
push edi
mov edi, dword [eax]
cmp edi, ebx
mov dword [esp + 0x58], edi
jle 0x777648
mov edx, dword [esi]
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
fld dword [esp + 0x8c]
fmul dword [0x890968]
mov edx, dword [ebp + 0x78]
cmp edx, 1
fadd dword [eax]
fstp dword [esp + 0x3c]
fld dword [esp + 0x90]
fmul dword [0x890968]
fadd dword [eax + 4]
fstp dword [esp + 0x40]
fld dword [esp + 0x94]
fmul dword [0x890968]
fadd dword [eax + 8]
sete al
test al, al
fstp dword [esp + 0x44]
je 0x7766e0
mov dword [esp + 0x34], 0x40800000
mov dword [esp + 0x1c], 0x3fc00000
jmp 0x7766f0
mov dword [esp + 0x34], 0x41000000
mov dword [esp + 0x1c], 0x3f800000
mov ebx, dword [ebp + 4]
fld dword [0x890d3c]
mov ecx, edi
sub ecx, ebx
cmp ecx, 4
mov dword [esp + 0x50], 0
jl 0x776ab1
mov ecx, dword [ebp + 8]
lea edx, [ebx + 2]
mov dword [esp + 0x14], edx
mov esi, dword [ecx + 8]
mov edi, dword [ecx]
cmp edi, esi
jge 0x776728
mov eax, ebx
cdq
idiv edi
jmp 0x776732
mov eax, dword [ecx + 4]
lea eax, [eax + ebx + 1]
cdq
idiv esi
shl edx, 6
fld dword [edx + ecx + 0x40]
lea edx, [edx + ecx + 0x10]
fld dword [edx + 0x38]
fld dword [esp + 0x3c]
fsub st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x44]
fsub st(1)
fstp st(2)
fstp st(0)
fld st(0)
fmul dword [edx + 0x14]
fld dword [esp + 0x24]
fmul dword [edx + 0x10]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [0x890968]
fnstsw ax
test ah, 1
jne 0x7767dd
fld dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov dword [ebp + 4], ebx
fmul dword [edx + 0x14]
fxch st(1)
mov dword [esp + 0x50], eax
fmul dword [edx + 0x10]
fsubp st(1)
fld dword [edx + 0x20]
fsub st(1)
fstp dword [esp + 0x48]
fsub dword [edx + 0x24]
fcom dword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x7767a9
fstp st(0)
fld dword [esp + 0x48]
fadd dword [esp + 0x1c]
fld dword [0x890968]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x7767c4
fstp st(0)
fld dword [0x890968]
fadd st(0), st(0)
faddp st(1)
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x7767df
fstp st(0)
fld dword [esp + 0x34]
jmp 0x7767df
fstp st(0)
fld st(0)
fchs
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x776bb0
mov esi, dword [ecx + 8]
mov edi, dword [ecx]
cmp edi, esi
jge 0x776805
mov eax, dword [esp + 0x14]
dec eax
cdq
idiv edi
jmp 0x77680f
mov edx, dword [ecx + 4]
lea eax, [edx + ebx + 2]
cdq
idiv esi
shl edx, 6
fld dword [edx + ecx + 0x40]
lea edx, [edx + ecx + 0x10]
fld dword [edx + 0x38]
fld dword [esp + 0x3c]
fsub st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x44]
fsub st(1)
fstp st(2)
fstp st(0)
fld st(0)
fmul dword [edx + 0x14]
fld dword [esp + 0x24]
fmul dword [edx + 0x10]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [0x890968]
fnstsw ax
test ah, 1
jne 0x7768bf
mov eax, dword [esp + 0x14]
fld dword [esp + 0x24]
dec eax
mov dword [ebp + 4], eax
fmul dword [edx + 0x14]
mov eax, dword [esp + 0x10]
fxch st(1)
fmul dword [edx + 0x10]
mov dword [esp + 0x50], eax
fsubp st(1)
fld dword [edx + 0x20]
fsub st(1)
fstp dword [esp + 0x48]
fsub dword [edx + 0x24]
fcom dword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x77688b
fstp st(0)
fld dword [esp + 0x48]
fadd dword [esp + 0x1c]
fld dword [0x890968]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x7768a6
fstp st(0)
fld dword [0x890968]
fadd st(0), st(0)
faddp st(1)
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x7768c1
fstp st(0)
fld dword [esp + 0x34]
jmp 0x7768c1
fstp st(0)
fld st(0)
fchs
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x776ba5
mov esi, dword [ecx + 8]
mov edi, dword [ecx]
cmp edi, esi
jge 0x7768e6
mov eax, dword [esp + 0x14]
cdq
idiv edi
jmp 0x7768f0
mov edx, dword [ecx + 4]
lea eax, [edx + ebx + 3]
cdq
idiv esi
shl edx, 6
fld dword [edx + ecx + 0x40]
lea edx, [edx + ecx + 0x10]
fld dword [edx + 0x38]
fld dword [esp + 0x3c]
fsub st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x44]
fsub st(1)
fstp st(2)
fstp st(0)
fld st(0)
fmul dword [edx + 0x14]
fld dword [esp + 0x24]
fmul dword [edx + 0x10]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [0x890968]
fnstsw ax
test ah, 1
jne 0x77699f
mov eax, dword [esp + 0x14]
fld dword [esp + 0x24]
mov dword [ebp + 4], eax
fmul dword [edx + 0x14]
mov eax, dword [esp + 0x10]
fxch st(1)
fmul dword [edx + 0x10]
mov dword [esp + 0x50], eax
fsubp st(1)
fld dword [edx + 0x20]
fsub st(1)
fstp dword [esp + 0x48]
fsub dword [edx + 0x24]
fcom dword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x77696b
fstp st(0)
fld dword [esp + 0x48]
fadd dword [esp + 0x1c]
fld dword [0x890968]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x776986
fstp st(0)
fld dword [0x890968]
fadd st(0), st(0)
faddp st(1)
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x7769a1
fstp st(0)
fld dword [esp + 0x34]
jmp 0x7769a1
fstp st(0)
fld st(0)
fchs
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x776ba8
mov esi, dword [ecx + 8]
mov edi, dword [ecx]
cmp edi, esi
jge 0x7769c7
mov eax, dword [esp + 0x14]
inc eax
cdq
idiv edi
jmp 0x7769d1
mov edx, dword [ecx + 4]
lea eax, [edx + ebx + 4]
cdq
idiv esi
shl edx, 6
fld dword [edx + ecx + 0x40]
lea edx, [edx + ecx + 0x10]
fld dword [edx + 0x38]
fld dword [esp + 0x3c]
fsub st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x44]
fsub st(1)
fstp st(2)
fstp st(0)
fld st(0)
fmul dword [edx + 0x14]
fld dword [esp + 0x24]
fmul dword [edx + 0x10]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [0x890968]
fnstsw ax
test ah, 1
jne 0x776a81
mov eax, dword [esp + 0x14]
fld dword [esp + 0x24]
inc eax
mov dword [ebp + 4], eax
fmul dword [edx + 0x14]
mov eax, dword [esp + 0x10]
fxch st(1)
fmul dword [edx + 0x10]
mov dword [esp + 0x50], eax
fsubp st(1)
fld dword [edx + 0x20]
fsub st(1)
fstp dword [esp + 0x48]
fsub dword [edx + 0x24]
fcom dword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x776a4d
fstp st(0)
fld dword [esp + 0x48]
fadd dword [esp + 0x1c]
fld dword [0x890968]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x776a68
fstp st(0)
fld dword [0x890968]
fadd st(0), st(0)
faddp st(1)
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x776a83
fstp st(0)
fld dword [esp + 0x34]
jmp 0x776a83
fstp st(0)
fld st(0)
fchs
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x776bad
add dword [esp + 0x14], 4
mov edx, dword [esp + 0x58]
add ebx, 4
add edx, 0xfffffffd
cmp ebx, edx
jl 0x776718
mov edi, dword [esp + 0x58]
cmp ebx, edi
jge 0x776bb0
mov esi, dword [ebp + 8]
lea esp, [esp]
mov ecx, dword [esi + 8]
mov edi, dword [esi]
cmp edi, ecx
jge 0x776ad0
mov eax, ebx
cdq
idiv edi
jmp 0x776ada
mov eax, dword [esi + 4]
lea eax, [eax + ebx + 1]
cdq
idiv ecx
shl edx, 6
fld dword [edx + esi + 0x40]
lea ecx, [edx + esi + 0x10]
fld dword [ecx + 0x38]
fld dword [esp + 0x3c]
fsub st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x44]
fsub st(1)
fstp st(2)
fstp st(0)
fld st(0)
fmul dword [ecx + 0x14]
fld dword [esp + 0x24]
fmul dword [ecx + 0x10]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [0x890968]
fnstsw ax
test ah, 1
jne 0x776b85
fld dword [esp + 0x24]
mov dword [ebp + 4], ebx
fmul dword [ecx + 0x14]
mov edx, dword [esp + 0x10]
fxch st(1)
mov dword [esp + 0x50], edx
fmul dword [ecx + 0x10]
fsubp st(1)
fld dword [ecx + 0x20]
fsub st(1)
fstp dword [esp + 0x48]
fsub dword [ecx + 0x24]
fcom dword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x776b51
fstp st(0)
fld dword [esp + 0x48]
fadd dword [esp + 0x1c]
fld dword [0x890968]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x776b6c
fstp st(0)
fld dword [0x890968]
fadd st(0), st(0)
faddp st(1)
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x776b87
fstp st(0)
fld dword [esp + 0x34]
jmp 0x776b87
fstp st(0)
fld st(0)
fchs
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x776bb0
mov eax, dword [esp + 0x58]
inc ebx
cmp ebx, eax
jl 0x776ac0
jmp 0x776bb0
inc ebx
jmp 0x776bb0
add ebx, 2
jmp 0x776bb0
add ebx, 3
mov ecx, dword [ebp + 8]
fstp st(0)
mov esi, dword [ecx + 8]
cmp dword [ecx], esi
mov edi, dword [ebp + 4]
jge 0x776bc6
mov eax, edi
cdq
idiv dword [ecx]
jmp 0x776bd0
mov eax, dword [ecx + 4]
lea eax, [eax + edi + 1]
cdq
idiv esi
shl edx, 6
lea esi, [edx + ecx + 0x10]
mov edx, dword [esp + 0x58]
lea eax, [edi + 1]
cmp eax, edx
jge 0x776ebf
push eax
call fcn.007698a0
mov edi, eax
fld dword [edi + 0x30]
fld dword [edi + 0x38]
fld dword [esp + 0x3c]
fsub st(2)
fstp dword [esp + 0x64]
fld dword [esp + 0x44]
fsub st(1)
fstp st(2)
fstp st(0)
fmul dword [esi + 0x14]
fld dword [esp + 0x64]
fmul dword [esi + 0x10]
faddp st(1)
fabs
fadd dword [esp + 0x50]
fcom dword [0x890d60]
fnstsw ax
test ah, 0x41
jne 0x776c39
fld dword [esp + 0x50]
fdiv st(1)
fsubr dword [0x89096c]
fstp dword [esp + 0x10]
jmp 0x776c41
mov dword [esp + 0x10], 0x3f800000
fstp st(0)
lea eax, [ebp + 0x1c]
fld dword [0x89096c]
push eax
fsub dword [esp + 0x14]
fst dword [esp + 0x20]
fld st(0)
fld dword [esp + 0x14]
fmul dword [esi]
fld st(1)
fmul dword [edi]
faddp st(1)
fstp dword [ebp + 0xc]
fmul dword [edi + 4]
fld dword [esp + 0x14]
fmul dword [esi + 4]
faddp st(1)
fstp dword [ebp + 0x10]
fld st(0)
fld st(0)
fmul dword [edi + 8]
fld dword [esp + 0x14]
fmul dword [esi + 8]
faddp st(1)
fstp dword [ebp + 0x14]
fld dword [esp + 0x14]
fmul dword [esi + 0xc]
fxch st(1)
fmul dword [edi + 0xc]
faddp st(1)
fstp dword [ebp + 0x18]
fld dword [esp + 0x14]
fmul dword [esi + 0x10]
fld st(1)
fmul dword [edi + 0x10]
faddp st(1)
fstp dword [eax]
fld dword [esp + 0x14]
fmul dword [esi + 0x14]
fxch st(1)
fmul dword [edi + 0x14]
faddp st(1)
fstp dword [eax + 4]
call fcn.00762300
fstp st(0)
add esp, 4
fld dword [esp + 0x10]
fmul dword [esi + 0x30]
fld dword [esp + 0x1c]
fmul dword [edi + 0x30]
faddp st(1)
fstp dword [ebp + 0x3c]
fld dword [esp + 0x1c]
fmul dword [edi + 0x34]
fld dword [esp + 0x10]
fmul dword [esi + 0x34]
faddp st(1)
fstp dword [ebp + 0x40]
fld dword [esp + 0x10]
fmul dword [esi + 0x38]
fld dword [esp + 0x1c]
fmul dword [edi + 0x38]
faddp st(1)
fstp dword [ebp + 0x44]
fld dword [esi + 0x20]
fld dword [edi + 0x20]
fsub st(1)
fmul dword [esp + 0x10]
fadd st(1)
fstp dword [ebp + 0x2c]
fstp st(0)
fld dword [esi + 0x24]
fld dword [edi + 0x24]
fsub st(1)
fmul dword [esp + 0x10]
fadd st(1)
fstp dword [ebp + 0x30]
xor eax, eax
fstp st(0)
mov ax, word [edi + 0x3e]
xor ecx, ecx
mov cx, word [esi + 0x3e]
and eax, 0x7fff
mov dword [esp + 0x84], eax
and ecx, 0x7fff
cmp ecx, eax
jne 0x776db2
xor edx, edx
mov dx, word [ebp + 0x4a]
xor dx, cx
xor ecx, ecx
and edx, 0x7fff
xor word [ebp + 0x4a], dx
mov ax, word [ebp + 0x4a]
mov cx, word [esi + 0x3e]
xor cx, ax
and ecx, 0x7fff
xor cx, word [esi + 0x3e]
mov word [ebp + 0x4a], cx
movsx edx, word [esi + 0x3c]
movsx eax, word [edi + 0x3c]
mov dword [esp + 0x2c], edx
push ecx
fild dword [esp + 0x30]
mov dword [esp + 0x30], eax
lea ecx, [ebp + 0xc]
fmul dword [0x899ddc]
fild dword [esp + 0x30]
fmul dword [0x899ddc]
fsub st(1)
fmul dword [esp + 0x14]
fadd st(1)
fstp dword [esp]
fstp st(0)
call fcn.00764c20
jmp 0x776f58
mov edx, eax
mov eax, dword [0x9b38c0]
imul edx, edx, 0x16
movzx edx, word [edx + eax + 4]
mov dword [esp + 0x2c], edx
mov edx, ecx
fild dword [esp + 0x2c]
imul edx, edx, 0x16
movzx eax, word [edx + eax + 4]
movsx edx, word [esi + 0x3c]
mov dword [esp + 0x2c], eax
fmul dword [0x9b3a14]
movsx eax, word [edi + 0x3c]
fstp dword [esp + 0x14]
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
xor edx, edx
mov dx, word [ebp + 0x4a]
fmul dword [0x9b3a14]
fstp dword [esp + 0x1c]
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
fmul dword [0x899ddc]
fsub dword [0x89096c]
fmul dword [esp + 0x1c]
fild dword [esp + 0x2c]
fmul dword [0x899ddc]
fmul dword [esp + 0x14]
fsub st(1)
fmul dword [esp + 0x10]
faddp st(1)
fcom dword [0x890968]
fnstsw ax
test ah, 5
jp 0x776e7d
fadd dword [esp + 0x1c]
xor dx, cx
xor ecx, ecx
fdiv dword [esp + 0x1c]
and edx, 0x7fff
xor word [ebp + 0x4a], dx
mov cx, word [esi + 0x3e]
mov ax, word [ebp + 0x4a]
xor cx, ax
and ecx, 0x7fff
xor cx, word [esi + 0x3e]
mov word [ebp + 0x4a], cx
push ecx
lea ecx, [ebp + 0xc]
fstp dword [esp]
call fcn.00764c20
jmp 0x776f58
fdiv dword [esp + 0x14]
xor dx, word [esp + 0x84]
xor ecx, ecx
and edx, 0x7fff
xor word [ebp + 0x4a], dx
mov cx, word [edi + 0x3e]
mov ax, word [ebp + 0x4a]
xor cx, ax
and ecx, 0x7fff
xor cx, word [edi + 0x3e]
mov word [ebp + 0x4a], cx
push ecx
lea ecx, [ebp + 0xc]
fstp dword [esp]
call fcn.00764c20
jmp 0x776f58
mov edx, dword [esi + 0x10]
fld dword [esp + 0x50]
mov dword [ebp + 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp + 0x20], eax
mov ecx, dword [esi + 0x20]
mov dword [ebp + 0x2c], ecx
mov edx, dword [esi + 0x24]
mov dword [ebp + 0x30], edx
xor eax, eax
mov ax, word [ebp + 0x4a]
xor ax, word [esi + 0x3e]
xor ecx, ecx
and eax, 0x7fff
xor word [ebp + 0x4a], ax
mov cx, word [esi + 0x3e]
mov ax, word [ebp + 0x4a]
xor cx, ax
and ecx, 0x7fff
xor cx, word [esi + 0x3e]
mov word [ebp + 0x4a], cx
fmul dword [esi + 0x10]
fadd dword [esi]
fstp dword [ebp + 0xc]
fld dword [esp + 0x50]
fmul dword [esi + 0x14]
fadd dword [esi + 4]
fstp dword [ebp + 0x10]
fld dword [esp + 0x50]
fmul dword [esi + 0x10]
fadd dword [esi + 8]
fstp dword [ebp + 0x14]
fld dword [esp + 0x50]
fmul dword [esi + 0x14]
fadd dword [esi + 0xc]
fstp dword [ebp + 0x18]
fld dword [esp + 0x50]
fmul dword [esi + 0x10]
fadd dword [esi + 0x30]
fstp dword [ebp + 0x3c]
fld dword [esp + 0x50]
fmul dword [esi + 0x14]
fadd dword [esi + 0x38]
fstp dword [ebp + 0x44]
mov edx, dword [esi + 0x34]
mov dword [ebp + 0x40], edx
fld dword [ebp + 0x3c]
fld dword [ebp + 0x44]
fld dword [esp + 0x3c]
fsub st(2)
fstp dword [esp + 0x64]
fld dword [esp + 0x44]
fsub st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x64]
fmul dword [ebp + 0x20]
fxch st(1)
fmul dword [ebp + 0x1c]
fsubp st(1)
fstp dword [esp + 0x34]
fld dword [ebp + 0x2c]
fsub dword [esp + 0x34]
fld dword [esp + 0x34]
fsub dword [ebp + 0x30]
fst dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x776fa5
fstp st(0)
fld dword [esp + 0x2c]
fadd dword [ebp + 0x88]
mov eax, dword [esp + 0x58]
cmp ebx, eax
fstp dword [ebp + 0x4c]
jge 0x777648
mov edi, dword [esp + 0x58]
shl edi, 6
xor eax, eax
mov ecx, 0x10
lea edi, [esp + edi + 0x98]
rep stosd dword es:[edi], eax
mov eax, ebx
shl eax, 6
mov dword [esp + 0x48], eax
lea eax, [esp + eax + 0x98]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x14], 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], eax
lea ecx, [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov esi, dword [eax]
cmp esi, ecx
jge 0x777025
mov eax, dword [esp + 0x1c]
cdq
idiv esi
jmp 0x777033
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x1c]
lea eax, [eax + edx + 1]
cdq
idiv ecx
mov eax, dword [ebp + 8]
shl edx, 6
lea esi, [edx + eax + 0x10]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov edi, edx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x58]
inc eax
add edx, 0x40
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], edx
jl 0x777010
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov al, byte [esp + 0x8dc]
test al, al
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
je 0x7770b1
fld dword [esp + 0x50]
mov eax, dword [esp + 0x34]
fmul dword [ebp + 0x20]
push ecx
fld dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
fmul dword [ebp + 0x1c]
sub ecx, ebx
fsubp st(1)
fstp dword [esp]
push eax
mov eax, dword [esp + 0x50]
push ecx
lea eax, [esp + eax + 0xa4]
push eax
mov ecx, ebp
call fcn.00775be0
mov eax, dword [esp + 0x5c]
fld dword [eax]
lea ecx, [ebp + 0x68]
fmul dword [0x890968]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [eax + 4]
fmul dword [0x890968]
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [eax + 8]
lea eax, [ebp + 0x70]
fmul dword [0x890968]
push eax
push ecx
fadd dword [esp + 0x4c]
fstp dword [esp + 0x4c]
call fcn.0045f800
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x60]
add esp, 8
lea esi, [esp + esi + 0xa0]
lea ebx, [ebx]
cmp ebx, edx
mov eax, dword [esi - 8]
mov ecx, dword [esi - 4]
mov dword [esp + 0x48], eax
fld dword [esp + 0x48]
fsub dword [esp + 0x3c]
mov eax, dword [esi]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 4]
fstp dword [esp + 0x1c]
mov dword [esp + 0x78], eax
fld dword [esp + 0x4c]
mov dword [esp + 0x7c], ecx
fsub dword [esp + 0x44]
fstp dword [esp + 0x20]
fld dword [esp + 0x78]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x34]
fld dword [esp + 0x7c]
fsub dword [esp + 0x44]
fstp dword [esp + 0x38]
jge 0x77718d
lea edx, [esp + 0x48]
push edx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.0045f850
lea eax, [esp + 0x84]
push eax
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.0045f850
mov edx, dword [esp + 0x70]
add esp, 0x18
cmp ebx, dword [esp + 0x24]
jne 0x7771b8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
jmp 0x7772b1
cmp ebx, edx
sete cl
test cl, cl
lea eax, [ebp + 0x98]
jne 0x7771ca
lea eax, [esi + 0x28]
test cl, cl
fld dword [eax + 8]
fld dword [eax]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x64]
fsub dword [esp + 0x44]
jne 0x777248
fld dword [esp + 0x20]
fmul dword [esp + 0x70]
fld dword [esp + 0x74]
fmul dword [esp + 0x1c]
fsubp st(1)
fcomp dword [0x890968]
fnstsw ax
test ah, 5
jp 0x777212
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], ebx
fld dword [esp + 0x38]
fmul dword [esp + 0x5c]
fld dword [esp + 0x60]
fmul dword [esp + 0x34]
fsubp st(1)
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x777248
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x84], ebx
fld dword [esp + 0x74]
fmul dword [esp + 0x64]
fld st(1)
fmul dword [esp + 0x70]
fsubp st(1)
fcomp dword [0x890968]
fnstsw ax
test ah, 5
jp 0x77727a
mov edi, dword [esp + 0x10]
fstp st(0)
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x1b], 1
jmp 0x7772b1
fld dword [esp + 0x60]
fmul dword [esp + 0x64]
fxch st(1)
fmul dword [esp + 0x5c]
fsubp st(1)
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x7772ad
mov edi, dword [esp + 0x84]
lea eax, [esp + 0x5c]
mov dword [esp + 0x14], eax
mov byte [esp + 0x1b], 0
jmp 0x7772b1
mov dword [esp + 0x2c], ebx
fld dword [esp + 0x60]
fmul dword [esp + 0x70]
fld dword [esp + 0x74]
fmul dword [esp + 0x5c]
fsubp st(1)
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
je 0x7772dc
inc ebx
add esi, 0x40
cmp ebx, edx
jle 0x777110
cmp dword [esp + 0x2c], edx
jge 0x777636
mov eax, dword [esp + 0x14]
test eax, eax
je 0x777636
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
shl edi, 6
mov eax, edi
fld dword [esp + eax + 0xcc]
lea esi, [esp + eax + 0x98]
fsub dword [esp + 0x40]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + eax + 0xc0]
mov dword [esp + 0x78], edx
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
fld dword [esp + 0x78]
mov dword [esp + 0x7c], ecx
fadd dword [esp + 0x3c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x6c]
fld dword [esp + 0x7c]
fadd dword [esp + 0x40]
mov dword [esp + 0x80], edx
fld dword [esp + 0x80]
lea edi, [ebp + 0x158]
fadd dword [esp + 0x44]
mov edx, edi
fstp dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x6c], ecx
fxch st(1)
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
mov dword [edx], ecx
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [edx + 8], ecx
mov ecx, eax
xor edx, edx
and ecx, 1
jne 0x7773a5
mov bl, byte [esp + 0x1b]
test bl, bl
sete dl
lea edx, [edx + edx - 1]
test ecx, ecx
mov dword [ebp + 0x58], edx
je 0x7773bd
mov bl, byte [esp + 0x1b]
xor ecx, ecx
test bl, bl
sete cl
lea ecx, [ecx + ecx - 1]
jmp 0x7773bf
xor ecx, ecx
test ecx, ecx
mov dword [ebp + 0x5c], ecx
je 0x7773d1
test al, 2
je 0x7773d1
mov eax, 1
jmp 0x7773d3
xor eax, eax
mov byte [ebp + 0x60], al
mov al, byte [ebp + 0x55]
test al, al
je 0x77761a
test edx, edx
jne 0x7773ed
test ecx, ecx
je 0x77761a
fld dword [esi + 0x24]
mov edx, dword [edi]
fsub dword [esi + 0x20]
mov eax, dword [ebp + 0x160]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
fabs
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
lea ecx, [esp + 0x64]
fsub dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x7c]
push edx
fst dword [esp + 0x2c]
fstp dword [esp + 0x6c]
fld dword [esp + 0x38]
fsub dword [esp + 0x4c]
fst dword [esp + 0x78]
fstp dword [esp + 0x70]
call fcn.0045f3c0
fld dword [ebp + 0x98]
mov eax, dword [esp + 0x80]
fld dword [ebp + 0xa0]
mov ecx, dword [esp + 0x84]
fld dword [esp + 0x34]
lea edx, [esp + 0x6c]
fsub st(2)
mov dword [esp + 0x64], eax
push edx
lea eax, [esp + 0x84]
fstp dword [esp + 0x70]
push eax
fld dword [esp + 0x40]
mov dword [esp + 0x70], ecx
fsub st(1)
fstp dword [esp + 0x78]
fstp st(0)
fstp st(0)
call fcn.0045f3c0
fld dword [esp + 0x34]
mov ecx, dword [esp + 0x88]
fld dword [esp + 0x80]
mov edx, dword [esp + 0x8c]
fld st(1)
mov dword [esp + 0x94], ecx
fmulp st(2)
mov dword [esp + 0x98], edx
lea edx, [esp + 0x74]
fld st(0)
fmul st(1)
faddp st(2)
fxch st(1)
fsqrt
fstp st(1)
fld dword [esp + 0x94]
fmul st(1)
fstp dword [esp + 0x88]
mov eax, dword [esp + 0x88]
fld dword [esp + 0x98]
mov dword [esp + 0x34], eax
fmul st(1)
fstp dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x38], ecx
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x88]
fld dword [esp + 0x40]
fadd dword [esp + 0x38]
fstp dword [esp + 0x8c]
fld dword [esp + 0x6c]
fadd dword [esp + 0x94]
fstp dword [esp + 0x74]
fld dword [esp + 0x70]
fadd dword [esp + 0x98]
fstp dword [esp + 0x78]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.0045f3c0
fld dword [esp + 0x90]
fsub dword [esp + 0x44]
mov edx, dword [esp + 0x8c]
fld dword [esp + 0x94]
mov ecx, dword [esp + 0x88]
fsub dword [esp + 0x48]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
add esp, 0x18
fmul dword [esp + 0x28]
fxch st(1)
fmul dword [esp + 0x24]
faddp st(1)
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x77758d
fstp dword [esp + 0x14]
jmp 0x777597
mov eax, dword [esp + 0x1c]
fstp st(0)
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x7775e6
fld dword [esp + 0x5c]
push ecx
fmul dword [esp + 0x54]
fld dword [esp + 0x64]
fmul dword [esp + 0x58]
faddp st(1)
fld st(0)
fadd st(1)
fstp dword [esp]
push 0
push ecx
fsub dword [ebp + 0x64]
fstp dword [esp]
call fcn.00401ae0
fadd st(0), st(0)
add esp, 0xc
fmul dword [esp + 0x14]
fst dword [esp + 0x14]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jnp 0x7775e6
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
fld dword [esp + 0x24]
mov edx, dword [ebp + 0x15c]
fmul dword [esp + 0x14]
mov dword [ebp + 0x168], edx
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fxch st(1)
fadd dword [edi]
fstp dword [ebp + 0x164]
fadd dword [ebp + 0x160]
fstp dword [ebp + 0x16c]
jmp 0x777636
lea eax, [ebp + 0x98]
mov edx, dword [eax]
lea ecx, [ebp + 0x164]
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 eax, dword [ebp + 0x5c]
test eax, eax
jne 0x777648
mov dword [ebp + 0x64], 0
mov byte [ebp + 0x60], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c8
ret 4