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

Disassembly:
push ebx
mov ebx, esp
and esp, 0xfffffff8
push edi
push esi
push ebp
sub esp, 0x94
mov ebp, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
xor eax, eax
mov edi, dword [0x964d80]
test edi, edi
mov dword [esp + 0x88], eax
mov eax, 0x964d80
mov dword [esp + 0x80], eax
je 0x84c721
mov edx, dword [ebx + 0x20]
lea esi, [edx + edx]
add esi, esi
mov dword [esp + 0x78], esi
lea esi, [edx + edx]
add esi, esi
mov eax, dword [ebx + 0x1c]
add esi, eax
mov dword [esp + 0x48], esi
lea esi, [edx + edx]
add esi, esi
add esi, esi
add esi, eax
mov dword [esp + 0x44], esi
lea esi, [edx + edx]
add esi, esi
lea ecx, [esi + esi]
add ecx, esi
add ecx, eax
mov dword [esp + 0x7c], ecx
lea edx, [edx + edx]
add edx, edx
add edx, edx
add edx, edx
add edx, eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x80]
cmp ebp, dword [edi + 0xc]
jne 0x84c717
mov edx, dword [edi + 0x10]
cmp edx, 4
je 0x84c8e7
cmp edx, 5
je 0x84c8e7
mov edi, dword [esi + 4]
add esi, 4
test edi, edi
jne 0x84c6fd
mov eax, 0x964d80
mov esi, dword [0x964d80]
test esi, esi
mov dword [esp + 0x3c], eax
je 0x84c7b6
mov eax, dword [ebx + 0x20]
lea edx, [eax + eax]
add edx, edx
mov dword [esp + 0x40], edx
lea edx, [eax + eax]
add edx, edx
mov edi, dword [ebx + 0x1c]
add edx, edi
lea ecx, [eax + eax]
mov dword [esp + 0x80], edx
lea edx, [eax + eax]
add edx, edx
add edx, edx
add edx, edi
add ecx, ecx
mov dword [esp + 0x7c], edx
lea edx, [ecx + ecx]
add edx, ecx
add edx, edi
lea eax, [eax + eax]
add eax, eax
add eax, eax
add eax, eax
add eax, edi
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x80], ecx
cmp ebp, dword [esi + 0xc]
jne 0x84c7ac
mov eax, dword [esi + 0x10]
cmp eax, 6
je 0x84cb88
mov esi, dword [edi + 4]
add edi, 4
test esi, esi
jne 0x84c79b
mov eax, dword [ebx + 0x14]
test ah, 2
jne 0x84c7e8
mov esi, 0x964d80
mov edi, dword [0x964d80]
test edi, edi
je 0x84c7e8
cmp ebp, dword [edi + 0xc]
jne 0x84c7de
mov eax, dword [edi + 0x10]
cmp eax, 6
je 0x84ceb0
mov edi, dword [esi + 4]
add esi, 4
test edi, edi
jne 0x84c7cd
mov eax, dword [esp + 0x58]
and eax, 1
test eax, eax
je 0x84c8d3
cmp ebp, 0xffffffff
je 0x84d571
mov edi, 0x8677a8
xor eax, eax
mov esi, dword [esp + 0x58]
mov dword [esp + 0x70], eax
cmp esi, 1
jle 0x84c8d3
mov dword [esp + 0x44], esi
mov edx, dword [ebx + 0x20]
lea esi, [edx + edx]
add esi, esi
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x80], esi
lea esi, [edx + edx]
add esi, esi
add esi, eax
mov dword [esp + 0x78], esi
lea esi, [edx + edx]
add esi, esi
add esi, esi
add esi, eax
mov dword [esp + 0x74], esi
lea esi, [edx + edx]
add esi, esi
lea ecx, [esi + esi]
add ecx, esi
add ecx, eax
lea edx, [edx + edx]
mov dword [esp + 0x7c], ecx
add edx, edx
add edx, edx
add edx, edx
add edx, eax
mov esi, dword [esp + 0x44]
mov dword [esp + 0x38], edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x60], ebp
mov edi, dword [esp + 0x70]
push esi
call fcn.00866f0c
mov ebp, eax
add esp, 4
mov eax, esi
cdq
idiv ebp
mov esi, eax
cmp ebp, edi
je 0x84c8ce
mov edi, ebp
mov ecx, 0x964d80
mov edx, dword [0x964d80]
test edx, edx
je 0x84c8c6
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x60]
cmp esi, dword [edx + 0xc]
jne 0x84c8b8
mov eax, dword [edx + 0x10]
cmp eax, 6
je 0x84d23d
mov edx, dword [ecx + 4]
add ecx, 4
test edx, edx
jne 0x84c8a7
mov esi, dword [esp + 0x44]
test ebp, ebp
jne 0x84d24f
cmp esi, 1
jg 0x84c878
mov eax, dword [esp + 0x88]
add esp, 0x94
pop ebp
pop esi
pop edi
mov esp, ebx
pop ebx
ret
mov eax, dword [esp + 0x58]
cmp eax, dword [edi + 8]
jne 0x84c717
cmp edx, 4
je 0x84cb79
push edi
push eax
call fcn.008668a0
add esp, 8
mov edx, dword [ebx + 0x18]
push edx
push 0
push dword [edi + 0x14]
push dword [edi + 0x10]
mov edi, dword [ebx + 0x14]
push edi
push eax
push ebp
mov eax, dword [esp + 0x74]
push eax
call fcn.008669cc
mov edi, eax
push edi
call fcn.00866b9c
add esp, 0x24
mov edx, dword [0x9d431c]
test edx, edx
je 0x84c950
test edi, edi
je 0x84c950
push dword [edi]
push dword [edi + 0x1c]
call fcn.00866a48
push edi
call dword [0x9d431c]
add esp, 0xc
test dword [edi + 0xc], 1
jne 0x84c98b
push dword [edi + 0x1c]
call fcn.00866c3c
pop ecx
fild dword [edi]
fmulp st(1)
fild dword [edi + 0x2c]
fmulp st(1)
fstp qword [edi + 0x20]
mov edx, dword [esp + 0x88]
push edx
push edi
call fcn.00866d80
mov dword [esp + 0x90], eax
add esp, 8
jmp 0x84c717
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi]
mov eax, 1
mov dword [esp + 0x38], ecx
imul edx, ecx
lea ecx, [edx - 6]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x80], esi
mov edi, eax
mov esi, dword [esp + 0x78]
mov dword [esp + 0x60], ebp
mov ebp, edx
jmp 0x84c9be
add edi, edi
fld qword [0xa451c0]
xor edx, edx
test ebp, ebp
fstp qword [esp + 0x68]
jle 0x84ca57
cmp ebp, 6
jl 0x84ca41
mov eax, edx
imul eax, esi
lea ecx, [esi + esi]
add ecx, ecx
add ecx, esi
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x64], edi
mov dword [eax + esi], 0
mov edi, dword [esp + 0x7c]
add edx, 5
mov dword [ebp + eax], 0
mov dword [ecx + eax], 0
mov dword [edi + eax], 0
mov edi, dword [esp + 0x40]
mov dword [edi + eax], 0
mov edi, dword [esp + 0x3c]
add eax, dword [esp + 0x74]
cmp edx, edi
jle 0x84c9fa
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
mov ecx, edx
imul ecx, esi
mov eax, dword [ebx + 0x1c]
mov dword [ecx + eax], 0
add ecx, esi
inc edx
cmp edx, ebp
jl 0x84ca49
call fcn.00867c50
mov edx, eax
xor eax, eax
mov esi, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x64], edi
call fcn.00867c50
mov edi, eax
xor ebp, ebp
mov edx, dword [esp + 0x64]
test edx, edx
jle 0x84cabc
mov dword [esp + 0x74], edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x50], esi
mov esi, dword [ebx + 0x28]
push esi
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
push esi
push eax
push edi
push edi
push ecx
mov edx, dword [esp + 0x50]
push edx
mov eax, dword [esp + 0x70]
push eax
call fcn.0084d588
add esp, 0x20
inc ebp
mov eax, dword [esp + 0x64]
cmp ebp, eax
jl 0x84ca8d
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x50]
call fcn.00867c50
mov ebp, eax
neg edi
add edi, ebp
mov dword [esp + 0x28], edi
shr edi, 0x1f
fild dword [esp + 0x28]
fadd dword [edi*4 + 0xa451d0]
fstp qword [esp]
call fcn.00867ca4
fld qword [esp + 0x68]
fcom st(1)
fnstsw ax
sahf
fcmovnbe st(0), st(1)
fstp st(1)
fstp qword [esp + 0x68]
sub ebp, dword [esp + 0x4c]
mov dword [esp + 0x30], ebp
fild dword [esp + 0x30]
shr ebp, 0x1f
fadd dword [ebp*4 + 0xa451d0]
fstp qword [esp]
call fcn.00867ca4
fcomp qword [0xa451b8]
fnstsw ax
sahf
ja 0x84cb6b
inc esi
cmp esi, 4
jl 0x84ca6e
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
fld qword [esp + 0x68]
fcomp qword [0xa451b0]
fnstsw ax
sahf
jb 0x84c9bc
mov eax, edi
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x60]
fld qword [esp + 0x68]
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fdivp st(1)
fstp qword [edi + 0x20]
jmp 0x84c96e
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
jmp 0x84cb31
push edi
push eax
call fcn.008668a0
add esp, 8
jmp 0x84c907
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x58]
cdq
idiv ecx
test edx, edx
jne 0x84c7ac
cmp ecx, 1
jle 0x84c7ac
mov eax, dword [esp + 0x88]
test eax, eax
je 0x84cbba
mov eax, dword [esp + 0x58]
cmp eax, ecx
je 0x84c7ac
mov eax, dword [esp + 0x58]
cdq
idiv ecx
mov edx, eax
mov eax, dword [ebx + 0x14]
or eax, 0x200
mov ecx, ebp
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
call fcn.0084c334
mov dword [esp + 0x64], eax
test eax, eax
je 0x84c7ac
mov eax, dword [ebx + 0x14]
push eax
mov edx, dword [esp + 0x68]
push dword [edx + 0x1c]
push esi
push ebp
mov eax, dword [esp + 0x68]
push eax
call fcn.008668d4
mov edx, dword [ebx + 0x18]
push edx
push 0
push dword [esi + 0x14]
push dword [esi + 0x10]
mov esi, dword [ebx + 0x14]
push esi
push eax
push ebp
mov eax, dword [esp + 0x88]
push eax
call fcn.008669cc
mov dword [esp + 0xa4], eax
push eax
call fcn.00866b9c
add esp, 0x38
mov eax, dword [0x9d431c]
test eax, eax
je 0x84cc78
mov eax, dword [esp + 0x70]
test eax, eax
je 0x84cc78
push dword [eax]
push dword [eax + 0x1c]
call fcn.00866a48
mov eax, dword [esp + 0x78]
push eax
call dword [0x9d431c]
add esp, 0xc
mov eax, dword [esp + 0x64]
push eax
call fcn.00866db8
pop ecx
mov eax, dword [esp + 0x70]
test dword [eax + 0xc], 1
jne 0x84ccc6
push dword [eax + 0x1c]
call fcn.00866c3c
pop ecx
mov eax, dword [esp + 0x70]
fild dword [eax]
fmulp st(1)
fild dword [eax + 0x2c]
fmulp st(1)
fstp qword [eax + 0x20]
mov edx, dword [esp + 0x88]
push edx
push eax
call fcn.00866d80
mov dword [esp + 0x90], eax
add esp, 8
jmp 0x84c7ac
mov edx, eax
mov eax, dword [edx + 0x2c]
mov esi, dword [edx]
mov edx, 1
imul esi, eax
lea ecx, [esi - 6]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x60], ebp
mov ebp, edx
jmp 0x84ccf2
add ebp, ebp
fld qword [0xa451c0]
xor edx, edx
test esi, esi
fstp qword [esp + 0x68]
jle 0x84cd8e
cmp esi, 6
jl 0x84cd78
mov eax, edx
imul eax, edi
lea ecx, [edi + edi]
add ecx, ecx
add ecx, edi
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x4c], esi
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + esi], 0
mov edi, dword [esp + 0x78]
add edx, 5
mov dword [ebp + eax], 0
mov dword [ecx + eax], 0
mov dword [edi + eax], 0
mov edi, dword [esp + 0x74]
mov dword [edi + eax], 0
mov edi, dword [esp + 0x54]
add eax, dword [esp + 0x50]
cmp edx, edi
jle 0x84cd31
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov eax, edx
imul eax, edi
mov ecx, dword [ebx + 0x1c]
mov dword [eax + ecx], 0
add eax, edi
inc edx
cmp edx, esi
jl 0x84cd80
call fcn.00867c50
mov edx, eax
xor eax, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x4c], esi
mov esi, eax
mov dword [esp + 0x48], ebp
call fcn.00867c50
mov edi, eax
xor ebp, ebp
mov edx, dword [esp + 0x48]
test edx, edx
jle 0x84cdf6
mov dword [esp + 0x50], edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x38], esi
mov esi, dword [ebx + 0x28]
push esi
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
push esi
push eax
push edi
push edi
push ecx
mov edx, dword [esp + 0x5c]
push edx
mov eax, dword [esp + 0x8c]
push eax
call fcn.0084d588
add esp, 0x20
inc ebp
mov eax, dword [esp + 0x48]
cmp ebp, eax
jl 0x84cdc4
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x38]
call fcn.00867c50
mov ebp, eax
neg edi
add edi, ebp
mov dword [esp + 0x30], edi
shr edi, 0x1f
fild dword [esp + 0x30]
fadd dword [edi*4 + 0xa451d0]
fstp qword [esp]
call fcn.00867ca4
fld qword [esp + 0x68]
fcom st(1)
fnstsw ax
sahf
fcmovnbe st(0), st(1)
fstp st(1)
fstp qword [esp + 0x68]
sub ebp, dword [esp + 0x64]
mov dword [esp + 0x30], ebp
fild dword [esp + 0x30]
shr ebp, 0x1f
fadd dword [ebp*4 + 0xa451d0]
fstp qword [esp]
call fcn.00867ca4
fcomp qword [0xa451b8]
fnstsw ax
sahf
ja 0x84cea2
inc esi
cmp esi, 4
jl 0x84cda5
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
fld qword [esp + 0x68]
fcomp qword [0xa451b0]
fnstsw ax
sahf
jb 0x84ccf0
mov edx, ebp
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x60]
fld qword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fdivp st(1)
fstp qword [eax + 0x20]
jmp 0x84cca9
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
jmp 0x84ce6b
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x58]
cdq
idiv ecx
test edx, edx
jne 0x84c7de
cmp ecx, 1
jle 0x84c7de
mov eax, dword [esp + 0x88]
test eax, eax
je 0x84cee2
mov eax, dword [esp + 0x58]
cmp eax, ecx
je 0x84c7de
mov eax, dword [esp + 0x58]
cdq
idiv ecx
mov edx, eax
mov eax, dword [ebx + 0x14]
or eax, 0x200
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, ebp
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
call fcn.0084c334
mov dword [esp + 0x48], eax
test eax, eax
je 0x84c7de
mov eax, dword [ebx + 0x14]
push eax
mov edx, dword [esp + 0x4c]
push dword [edx + 0x1c]
push edi
push ebp
mov eax, dword [esp + 0x68]
push eax
call fcn.008668d4
mov edx, dword [ebx + 0x18]
push edx
push 1
push dword [edi + 0x14]
push dword [edi + 0x10]
mov edi, dword [ebx + 0x14]
push edi
push eax
push ebp
mov eax, dword [esp + 0x88]
push eax
call fcn.008669cc
mov dword [esp + 0x78], eax
push eax
call fcn.00866b9c
add esp, 0x38
mov eax, dword [0x9d431c]
test eax, eax
je 0x84cf9a
mov eax, dword [esp + 0x44]
test eax, eax
je 0x84cf9a
push dword [eax]
push dword [eax + 0x1c]
call fcn.00866a48
mov eax, dword [esp + 0x4c]
push eax
call dword [0x9d431c]
add esp, 0xc
mov eax, dword [esp + 0x48]
push eax
call fcn.00866db8
pop ecx
mov eax, dword [esp + 0x44]
test dword [eax + 0xc], 1
jne 0x84cfe8
push dword [eax + 0x1c]
call fcn.00866c3c
pop ecx
mov eax, dword [esp + 0x44]
fild dword [eax]
fmulp st(1)
fild dword [eax + 0x2c]
fmulp st(1)
fstp qword [eax + 0x20]
mov edx, dword [esp + 0x88]
push edx
push eax
call fcn.00866d80
mov dword [esp + 0x90], eax
add esp, 8
jmp 0x84c7de
mov dword [esp + 0x60], ebp
mov edi, eax
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x70], esi
mov edi, dword [edi]
mov eax, 1
mov dword [esp + 0x38], ecx
imul edi, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x20]
lea edx, [eax + eax]
add edx, edx
lea ebp, [eax + eax]
add ebp, ebp
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x1c]
add ebp, edx
mov dword [esp + 0x4c], ebp
lea ebp, [eax + eax]
add ebp, ebp
add ebp, ebp
add ebp, edx
mov dword [esp + 0x48], ebp
lea ebp, [eax + eax]
add ebp, ebp
lea esi, [ebp + ebp]
add esi, ebp
add esi, edx
mov dword [esp + 0x54], esi
lea eax, [eax + eax]
add eax, eax
add eax, eax
add eax, eax
add eax, edx
lea ebp, [edi - 6]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
jmp 0x84d071
add esi, esi
fld qword [0xa451c0]
xor edx, edx
test edi, edi
fstp qword [esp + 0x68]
jle 0x84d111
cmp edi, 6
jl 0x84d0fb
mov eax, edx
imul eax, ebp
lea ecx, [ebp + ebp]
add ecx, ecx
add ecx, ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x80], edi
mov dword [esp + 0x3c], esi
mov esi, dword [ebx + 0x1c]
mov dword [eax + esi], 0
mov edi, dword [esp + 0x54]
add edx, 5
mov dword [ebp + eax], 0
mov dword [ecx + eax], 0
mov dword [edi + eax], 0
mov edi, dword [esp + 0x64]
mov dword [edi + eax], 0
mov edi, dword [esp + 0x40]
add eax, dword [esp + 0x7c]
cmp edx, edi
jle 0x84d0b1
mov edi, dword [esp + 0x80]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
mov ecx, edx
imul ecx, ebp
mov eax, dword [ebx + 0x1c]
mov dword [ecx + eax], 0
add ecx, ebp
inc edx
cmp edx, edi
jl 0x84d103
call fcn.00867c50
xor edx, edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x3c], esi
mov esi, edx
call fcn.00867c50
mov edi, eax
xor ebp, ebp
mov edx, dword [esp + 0x3c]
test edx, edx
jle 0x84d177
mov dword [esp + 0x74], edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x78], esi
mov esi, dword [ebx + 0x28]
push esi
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x1c]
push esi
push eax
push edi
push edi
push edx
mov ecx, dword [esp + 0x50]
push ecx
mov eax, dword [esp + 0x60]
push eax
call fcn.0084d588
add esp, 0x20
inc ebp
mov eax, dword [esp + 0x3c]
cmp ebp, eax
jl 0x84d148
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
call fcn.00867c50
mov ebp, eax
neg edi
add edi, ebp
mov dword [esp + 0x30], edi
shr edi, 0x1f
fild dword [esp + 0x30]
fadd dword [edi*4 + 0xa451d0]
fstp qword [esp]
call fcn.00867ca4
fld qword [esp + 0x68]
fcom st(1)
fnstsw ax
sahf
fcmovnbe st(0), st(1)
fstp st(1)
fstp qword [esp + 0x68]
sub ebp, dword [esp + 0x7c]
mov dword [esp + 0x30], ebp
fild dword [esp + 0x30]
shr ebp, 0x1f
fadd dword [ebp*4 + 0xa451d0]
fstp qword [esp]
call fcn.00867ca4
fcomp qword [0xa451b8]
fnstsw ax
sahf
ja 0x84d22c
inc esi
cmp esi, 4
jl 0x84d129
mov edi, dword [esp + 0x80]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
fld qword [esp + 0x68]
fcomp qword [0xa451b0]
fnstsw ax
sahf
jb 0x84d06f
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x60]
fld qword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fdivp st(1)
fstp qword [eax + 0x20]
jmp 0x84cfcb
mov edi, dword [esp + 0x80]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
jmp 0x84d1ef
cmp ebp, dword [edx + 8]
jne 0x84c8b8
mov esi, dword [esp + 0x44]
jmp 0x84c8ce
mov eax, dword [esp + 0x58]
mov ecx, dword [ebx + 0x14]
cdq
or ecx, 0x200
idiv ebp
mov edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x60]
call fcn.0084c334
mov dword [esp + 0x64], eax
mov edx, dword [ebx + 0x14]
push edx
mov ecx, eax
push dword [ecx + 0x1c]
mov edx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x6c]
push edx
push ebp
mov ebp, dword [esp + 0x6c]
push ebp
call fcn.00866940
xor ecx, ecx
mov edx, dword [ebx + 0x18]
mov ebp, dword [ebx + 0x14]
push edx
push ecx
push ecx
push 7
push ebp
push eax
mov edx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x8c]
push edx
call fcn.008669cc
mov dword [esp + 0xc4], eax
mov edx, eax
push edx
call fcn.00866b9c
add esp, 0x3c
mov edx, dword [0x9d431c]
test edx, edx
je 0x84d320
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x84d320
push dword [edx]
push dword [edx + 0x1c]
call fcn.00866a48
mov edx, dword [esp + 0x94]
push edx
call dword [0x9d431c]
add esp, 0xc
mov edx, dword [esp + 0x64]
push edx
call fcn.00866db8
pop ecx
mov edx, dword [esp + 0x8c]
test dword [edx + 0xc], 1
jne 0x84d37b
push dword [edx + 0x1c]
call fcn.00866c3c
pop ecx
mov edx, dword [esp + 0x8c]
fild dword [edx]
fmulp st(1)
fild dword [edx + 0x2c]
fmulp st(1)
fstp qword [edx + 0x20]
mov edx, dword [esp + 0x88]
push edx
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00866d80
mov dword [esp + 0x90], eax
add esp, 8
jmp 0x84c8ce
mov ecx, edx
mov edx, dword [ecx + 0x2c]
mov ebp, dword [ecx]
mov eax, 1
imul ebp, edx
lea ecx, [ebp - 6]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x44], esi
mov esi, eax
jmp 0x84d3aa
add esi, esi
fld qword [0xa451c0]
xor edx, edx
test ebp, ebp
fstp qword [esp + 0x68]
jle 0x84d446
cmp ebp, 6
jl 0x84d430
mov eax, edx
imul eax, edi
lea ecx, [edi + edi]
add ecx, ecx
add ecx, edi
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x4c], esi
mov esi, dword [ebx + 0x1c]
mov dword [eax + esi], 0
mov edi, dword [esp + 0x7c]
add edx, 5
mov dword [ebp + eax], 0
mov dword [ecx + eax], 0
mov dword [edi + eax], 0
mov edi, dword [esp + 0x38]
mov dword [edi + eax], 0
mov edi, dword [esp + 0x64]
add eax, dword [esp + 0x54]
cmp edx, edi
jle 0x84d3e6
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x80]
mov ecx, edx
imul ecx, edi
mov eax, dword [ebx + 0x1c]
mov dword [ecx + eax], 0
add ecx, edi
inc edx
cmp edx, ebp
jl 0x84d438
call fcn.00867c50
mov edx, eax
xor eax, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], esi
mov esi, eax
call fcn.00867c50
mov edi, eax
xor ebp, ebp
mov edx, dword [esp + 0x4c]
test edx, edx
jle 0x84d4ae
mov dword [esp + 0x3c], edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x40], esi
mov esi, dword [ebx + 0x28]
push esi
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x1c]
push esi
push eax
push edi
push edi
push edx
mov ecx, dword [esp + 0x60]
push ecx
mov eax, dword [esp + 0xa8]
push eax
call fcn.0084d588
add esp, 0x20
inc ebp
mov eax, dword [esp + 0x4c]
cmp ebp, eax
jl 0x84d47c
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
call fcn.00867c50
mov ebp, eax
neg edi
add edi, ebp
mov dword [esp + 0x30], edi
shr edi, 0x1f
fild dword [esp + 0x30]
fadd dword [edi*4 + 0xa451d0]
fstp qword [esp]
call fcn.00867ca4
fld qword [esp + 0x68]
fcom st(1)
fnstsw ax
sahf
fcmovnbe st(0), st(1)
fstp st(1)
fstp qword [esp + 0x68]
sub ebp, dword [esp + 0x54]
mov dword [esp + 0x30], ebp
fild dword [esp + 0x30]
shr ebp, 0x1f
fadd dword [ebp*4 + 0xa451d0]
fstp qword [esp]
call fcn.00867ca4
fcomp qword [0xa451b8]
fnstsw ax
sahf
ja 0x84d560
inc esi
cmp esi, 4
jl 0x84d45d
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x80]
fld qword [esp + 0x68]
fcomp qword [0xa451b0]
fnstsw ax
sahf
jb 0x84d3a8
mov eax, esi
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x44]
fld qword [esp + 0x68]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fdivp st(1)
fstp qword [edx + 0x20]
jmp 0x84d357
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x80]
jmp 0x84d526
mov edi, 0x8672cc
jmp 0x84c805