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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x190]
movsx eax, word [ebx + 0xe]
mov dword [ebp - 4], eax
movsx edx, word [ebx + 0xc]
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebx + 0x8a4]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x8c]
shr edx, 8
inc edx
mov eax, dword [ebx + 0x7c]
mov ecx, edx
xor edx, edx
div ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x8b0]
mov dword [ebp - 0x34], ecx
test byte [ebp - 8], 0x20
je 0x6fdef3
mov eax, 0x800000
jmp 0x6fdef8
mov eax, 0x8000
mov dword [ebp - 0x48], eax
xor edx, edx
mov dword [ebp - 0x4c], edx
cmp word [ebx + 0xa], 0
je 0x6fdf27
test byte [ebp - 8], 0x80
jne 0x6fdf27
cmp word [ebx + 8], 3
jge 0x6fdf1f
mov ecx, dword [ebp - 0x48]
shl ecx, 2
mov dword [ebp - 0x48], ecx
jmp 0x6fdf27
mov ecx, dword [ebp - 0x48]
add ecx, ecx
mov dword [ebp - 0x48], ecx
mov eax, dword [ebx + 0x7c]
add eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x8c]
jbe 0x6fdf47
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x8c]
sub eax, dword [ebx + 0x7c]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x6fdf54
xor eax, eax
jmp 0x70083c
cmp dword [ebx + 0x7c], 0
jne 0x6fdf9d
push ebx
call fcn.006fd5b0
pop ecx
mov edx, dword [ebp + 8]
push dword [edx + 0x74]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x70]
lea ecx, [ebx + 0x24]
push ecx
call fcn.006fd4ab
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x98], 0
je 0x6fdf9d
mov edx, dword [ebp + 8]
push dword [edx + 0x78]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x70]
lea eax, [ebx + 0x50]
push eax
call fcn.006fd4ab
add esp, 0xc
mov edx, dword [ebp - 0x18]
cmp byte [ebx + edx*8 + 0x84], 0
jne 0x6fe002
cmp dword [ebx + 0x884], 0
jne 0x6fdfd0
push ebx
call fcn.006fd6b7
pop ecx
mov dword [ebx + 0x888], eax
shl eax, 8
push eax
call fcn.006e9ee4
pop ecx
mov dword [ebx + 0x884], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x7c]
mov dword [ebx + edx*8 + 0x88], ecx
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebx + 0x888]
add ecx, dword [ebx + 0x884]
push ecx
push ebx
call fcn.006fd760
add esp, 8
mov eax, dword [ebp - 0x18]
mov byte [ebx + eax*8 + 0x84], 1
push 0x10
lea edx, [ebx + 0x8b4]
push edx
lea ecx, [ebp - 0x114]
push ecx
call fcn.006e9e18
add esp, 0xc
push 8
lea eax, [ebx + 0x8c4]
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.006e9e18
add esp, 0xc
cmp word [ebx + 0xa], 0
je 0x6fe045
test byte [ebp - 7], 0xa0
je 0x6fe060
mov dword [ebp - 0xc], 0xffffff00
jmp 0x6fe060
test byte [ebp - 7], 0x20
je 0x6fe060
test byte [ebp - 7], 0x80
je 0x6fe058
mov ecx, 0xfffffe00
jmp 0x6fe05d
mov ecx, 0xffffff00
mov dword [ebp - 0xc], ecx
test byte [ebp - 8], 0x20
je 0x6fe092
mov ecx, dword [ebp - 4]
mov eax, 0xff800000
sar eax, cl
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
shl eax, cl
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov eax, 0x7fffff
sar eax, cl
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
shl eax, cl
mov dword [ebp - 0x28], eax
jmp 0x6fe0bc
mov ecx, dword [ebp - 4]
mov eax, 0xffff8000
sar eax, cl
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
shl eax, cl
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov eax, 0x7fff
sar eax, cl
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
shl eax, cl
mov dword [ebp - 0x28], eax
cmp word [ebx + 8], 3
jne 0x6fe6fc
cmp word [ebx + 0xa], 0
jne 0x6fe6fc
test byte [ebp - 8], 1
je 0x6fe6fc
test byte [ebp - 8], 2
je 0x6fe24b
test byte [ebp - 8], 0x40
je 0x6fe1d5
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x70056f
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
jmp 0x6fe160
inc dword [ebx + 0x30]
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [ebx + 0x2c]
jne 0x6fe148
lea eax, [ebx + 0x24]
push eax
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 4
jl 0x6fe135
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x50], eax
cmp dword [ebx + 0x48], 0x20
jle 0x6fe18c
sub dword [ebx + 0x48], 4
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x6fe194
sub dword [ebx + 0x48], 4
shr dword [ebx + 0x3c], 4
mov ecx, dword [ebp - 0x50]
and ecx, 0xf
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, 4
add ecx, edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x50]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x6fe107
jmp 0x70056f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x70056f
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x6fe1ec
jmp 0x70056f
test byte [ebp - 8], 0x10
je 0x6fe4fb
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x70056f
test byte [ebp - 7], 4
je 0x6fe28c
push 0
push ebx
call fcn.007008c8
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
jmp 0x6fe2a4
push 0
push ebx
call fcn.00700e9f
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
test byte [ebp - 7], 0x80
je 0x6fe32e
mov edx, dword [ebx + 0x80]
mov dword [ebp - 0x14], edx
lea eax, [ebx + 0x8cc]
jmp 0x6fe321
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x10]
mov dword [ebp - 0x58], ecx
mov edx, dword [eax + 8]
imul edx, dword [ebp - 0x58]
add edx, 0x100
sar edx, 9
add edx, edi
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x58], 0
je 0x6fe30f
test edi, edi
je 0x6fe30f
xor edi, dword [ebp - 0x58]
jl 0x6fe300
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x200
jne 0x6fe30f
dec dword [eax + 8]
jmp 0x6fe30f
mov edx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp edx, dword [ebp - 0xc]
jne 0x6fe30f
inc dword [eax + 8]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
and ecx, 7
mov dword [eax + ecx*4 + 0x10], edi
add eax, 0x60
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test edx, edx
jne 0x6fe2bf
jmp 0x6fe3ac
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x8cc]
jmp 0x6fe3a1
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [eax + 8]
imul edx, dword [ebp - 0x5c]
add edx, 0x80
sar edx, 8
add edx, edi
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x5c], 0
je 0x6fe38f
test edi, edi
je 0x6fe38f
xor edi, dword [ebp - 0x5c]
jl 0x6fe380
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x6fe38f
dec dword [eax + 8]
jmp 0x6fe38f
mov edx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp edx, dword [ebp - 0xc]
jne 0x6fe38f
inc dword [eax + 8]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
and ecx, 7
mov dword [eax + ecx*4 + 0x10], edi
add eax, 0x60
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test edx, edx
jne 0x6fe33f
mov eax, dword [ebp - 0x10]
inc eax
and eax, 7
mov dword [ebp - 0x10], eax
test byte [ebp - 8], 0x40
je 0x6fe4ce
cmp dword [ebx + 0x8a0], 8
jl 0x6fe44d
cmp dword [ebx + 0x48], 0
je 0x6fe3de
dec dword [ebx + 0x48]
mov ecx, dword [ebx + 0x3c]
and ecx, 1
jmp 0x6fe405
inc dword [ebx + 0x30]
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [ebx + 0x2c]
jne 0x6fe3f1
lea eax, [ebx + 0x24]
push eax
call dword [ebx + 0x24]
pop ecx
mov dword [ebx + 0x48], 7
mov edx, dword [ebx + 0x30]
xor ecx, ecx
mov cl, byte [edx]
mov dword [ebx + 0x3c], ecx
and ecx, 1
test ecx, ecx
je 0x6fe413
shr dword [ebx + 0x3c], 1
mov eax, 1
jmp 0x6fe418
shr dword [ebx + 0x3c], 1
xor eax, eax
test eax, eax
jne 0x6fe4a9
jmp 0x6fe44d
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x6fe435
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 4
jl 0x6fe422
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x48], 0x20
jle 0x6fe479
sub dword [ebx + 0x48], 4
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x6fe481
sub dword [ebx + 0x48], 4
shr dword [ebx + 0x3c], 4
and dword [ebp - 0x54], 0xf
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebx + 0x89c]
je 0x6fe4a3
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0x89c], eax
xor edx, edx
mov dword [ebx + 0x8a0], edx
jmp 0x6fe4a9
inc dword [ebx + 0x8a0]
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
shl edi, 4
add edi, dword [ebx + 0x89c]
mov dword [ebp - 0x54], edi
add ecx, edi
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x6fe4e7
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add ecx, edi
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
shl edi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x6fe26c
jmp 0x70056f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x70056f
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
lea esi, [ebp - 0x40]
mov eax, dword [esi]
imul dword [ebp - 0x110]
add eax, 0x80
sar eax, 8
add ecx, eax
add ecx, edi
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x110], 0
setge dl
and edx, 1
test edi, edi
setg cl
and ecx, 1
cmp edx, ecx
jne 0x6fe57a
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x6fe58b
lea edx, [ebp - 0x40]
dec dword [edx]
jmp 0x6fe58b
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x6fe58b
lea edx, [ebp - 0x40]
inc dword [edx]
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x60]
sub eax, dword [ecx]
mov dword [ebp - 0x110], eax
lea edx, [ebp - 0x114]
add dword [edx], eax
test byte [ebp - 8], 0x40
je 0x6fe6c1
cmp dword [ebx + 0x8a0], 8
jl 0x6fe63b
cmp dword [ebx + 0x48], 0
je 0x6fe5cc
dec dword [ebx + 0x48]
mov ecx, dword [ebx + 0x3c]
and ecx, 1
jmp 0x6fe5f3
inc dword [ebx + 0x30]
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [ebx + 0x2c]
jne 0x6fe5df
lea eax, [ebx + 0x24]
push eax
call dword [ebx + 0x24]
pop ecx
mov dword [ebx + 0x48], 7
mov edx, dword [ebx + 0x30]
xor ecx, ecx
mov cl, byte [edx]
mov dword [ebx + 0x3c], ecx
and ecx, 1
test ecx, ecx
je 0x6fe601
shr dword [ebx + 0x3c], 1
mov eax, 1
jmp 0x6fe606
shr dword [ebx + 0x3c], 1
xor eax, eax
test eax, eax
jne 0x6fe697
jmp 0x6fe63b
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x6fe623
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 4
jl 0x6fe610
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x60], eax
cmp dword [ebx + 0x48], 0x20
jle 0x6fe667
sub dword [ebx + 0x48], 4
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x6fe66f
sub dword [ebx + 0x48], 4
shr dword [ebx + 0x3c], 4
and dword [ebp - 0x60], 0xf
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebx + 0x89c]
je 0x6fe691
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0x89c], eax
xor edx, edx
mov dword [ebx + 0x8a0], edx
jmp 0x6fe697
inc dword [ebx + 0x8a0]
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
shl eax, 4
add eax, dword [ebx + 0x89c]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x38], 4
jmp 0x6fe6e8
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
lea eax, [ebp - 0x114]
add ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x114]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x6fe512
jmp 0x70056f
cmp word [ebx + 8], 3
jne 0x6ff7b4
cmp word [ebx + 0xa], 0
jne 0x6ff7b4
test byte [ebp - 8], 1
jne 0x6ff7b4
mov ecx, dword [ebx + 0x890]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebx + 0x894]
mov dword [ebp - 0x68], eax
mov edx, dword [ebx + 0x88c]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebx + 0x898]
mov dword [ebp - 0x70], ecx
test byte [ebp - 8], 2
je 0x6fe97d
test byte [ebp - 8], 0x40
je 0x6fe89a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jae 0x6ff78b
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x6ff78b
push 1
push ebx
call fcn.00701378
add esp, 8
mov dword [ebp - 0x78], eax
and eax, 1
add edi, edi
or eax, edi
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x78]
sar edx, 1
add dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x114]
add dword [eax], ecx
mov edx, dword [ebp - 0x74]
sub edx, dword [ebp - 0x78]
sar edx, 1
add dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x10c]
add dword [eax], ecx
jmp 0x6fe801
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x6fe7e9
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 8
jl 0x6fe7d6
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x7c], eax
cmp dword [ebx + 0x48], 0x20
jle 0x6fe82d
sub dword [ebx + 0x48], 8
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x6fe835
sub dword [ebx + 0x48], 8
shr dword [ebx + 0x3c], 8
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
shl eax, 4
mov edx, dword [ebp - 0x7c]
sar edx, 4
and edx, 0xf
add eax, edx
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add eax, ecx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x38], 4
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
shl eax, 4
mov edx, dword [ebp - 0x7c]
and edx, 0xf
add eax, edx
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add eax, ecx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x6fe76b
jmp 0x6ff78b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jae 0x6ff78b
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x6ff78b
push 1
push ebx
call fcn.00701378
add esp, 8
mov dword [ebp - 0x84], eax
and eax, 1
add edi, edi
or eax, edi
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
add edx, dword [ebp - 0x84]
sar edx, 1
add dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x84]
sar ecx, 1
add dword [ebp - 0x108], ecx
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x110]
add dword [ecx], eax
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add edx, eax
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x10c]
mov ecx, dword [ebp - 0x108]
add dword [edx], ecx
mov ecx, dword [edx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10c]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x6fe8b1
jmp 0x6ff78b
test byte [ebp - 8], 0x10
je 0x6ff385
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x6ff78b
test byte [ebp - 7], 0x10
je 0x6fe9d3
push 0
push ebx
call fcn.007008c8
add esp, 8
mov esi, eax
cmp esi, 0x80000000
je 0x6ff78b
push 1
push ebx
call fcn.007008c8
add esp, 8
mov dword [ebp - 0x8c], eax
jmp 0x6fec70
test byte [ebp - 7], 4
je 0x6feb4b
push 0
push ebx
call fcn.007008c8
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x6ff78b
push 1
push ebx
call fcn.007008c8
add esp, 8
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x64]
jle 0x6feaad
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x70]
cmp ecx, edx
jge 0x6fea48
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x70]
jge 0x6fea48
mov dword [ebp - 0x8c], edi
mov esi, eax
add edi, eax
mov dword [ebp - 0x88], edi
mov edx, esi
sub edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
jmp 0x6febe8
mov dword [ebp - 0x90], edi
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x64]
jge 0x6fea90
add eax, eax
mov edx, dword [ebp - 0x90]
and edx, 1
or eax, edx
mov dword [ebp - 0x88], eax
mov esi, dword [ebp - 0x88]
add esi, dword [ebp - 0x90]
sar esi, 1
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x90]
sar eax, 1
mov dword [ebp - 0x8c], eax
jmp 0x6febe8
mov esi, eax
mov edx, eax
sub edx, dword [ebp - 0x90]
mov dword [ebp - 0x8c], edx
add eax, edx
mov dword [ebp - 0x88], eax
jmp 0x6febe8
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x70]
cmp ecx, edx
jge 0x6feae8
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x70]
jge 0x6feae8
mov esi, edi
mov dword [ebp - 0x8c], eax
add edi, eax
mov dword [ebp - 0x88], edi
mov edx, esi
sub edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
jmp 0x6febe8
mov dword [ebp - 0x90], edi
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x68]
jge 0x6feb30
add eax, eax
mov edx, dword [ebp - 0x90]
and edx, 1
or eax, edx
mov dword [ebp - 0x88], eax
mov esi, dword [ebp - 0x88]
add esi, dword [ebp - 0x90]
sar esi, 1
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x90]
sar eax, 1
mov dword [ebp - 0x8c], eax
jmp 0x6febe8
mov dword [ebp - 0x8c], eax
mov esi, eax
add esi, dword [ebp - 0x90]
add eax, esi
mov dword [ebp - 0x88], eax
jmp 0x6febe8
push 0
push ebx
call fcn.00700e9f
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x6ff78b
push 1
push ebx
call fcn.00700e9f
add esp, 8
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x68]
jg 0x6febaa
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x64]
jg 0x6febaa
add eax, eax
mov edx, edi
and edx, 1
or eax, edx
mov dword [ebp - 0x88], eax
mov esi, dword [ebp - 0x88]
add esi, edi
sar esi, 1
mov eax, dword [ebp - 0x88]
sub eax, edi
sar eax, 1
mov dword [ebp - 0x8c], eax
jmp 0x6febda
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x68]
jg 0x6febc8
mov esi, eax
mov ecx, eax
sub ecx, edi
mov dword [ebp - 0x8c], ecx
add eax, ecx
mov dword [ebp - 0x88], eax
jmp 0x6febda
mov dword [ebp - 0x8c], eax
mov esi, eax
add esi, edi
add eax, esi
mov dword [ebp - 0x88], eax
mov eax, esi
sub eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x88]
sar edx, 1
push edx
call fcn.006ef560
pop ecx
mov ecx, dword [ebp - 0x6c]
sar ecx, 8
mov edx, dword [ebp - 0x6c]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x6c], eax
push esi
call fcn.006ef560
pop ecx
mov ecx, dword [ebp - 0x64]
sar ecx, 8
mov edx, dword [ebp - 0x64]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x64], eax
push dword [ebp - 0x8c]
call fcn.006ef560
pop ecx
mov ecx, dword [ebp - 0x68]
sar ecx, 8
mov edx, dword [ebp - 0x68]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x68], eax
push dword [ebp - 0x90]
call fcn.006ef560
pop ecx
mov ecx, dword [ebp - 0x70]
sar ecx, 8
mov edx, dword [ebp - 0x70]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x70], eax
test byte [ebp - 7], 0x40
je 0x6fec70
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x88]
sar eax, 1
mov dword [ebp - 0x8c], eax
test byte [ebp - 7], 0x80
je 0x6fef15
mov edx, dword [ebx + 0x80]
mov dword [ebp - 0x14], edx
lea eax, [ebx + 0x8cc]
jmp 0x6fef01
cmp dword [eax], 0
jle 0x6fed93
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x10]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x30]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [eax]
and edx, 7
mov dword [ebp - 0xa4], edx
mov edx, dword [eax + 8]
imul edx, dword [ebp - 0x9c]
add edx, 0x100
sar edx, 9
add edx, esi
mov ecx, dword [eax + 0xc]
imul ecx, dword [ebp - 0xa0]
add ecx, 0x100
sar ecx, 9
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x9c], 0
je 0x6fed2a
test esi, esi
je 0x6fed2a
xor esi, dword [ebp - 0x9c]
jl 0x6fed1b
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x200
jne 0x6fed2a
dec dword [eax + 8]
jmp 0x6fed2a
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6fed2a
inc dword [eax + 8]
cmp dword [ebp - 0xa0], 0
je 0x6fed6c
cmp dword [ebp - 0x8c], 0
je 0x6fed6c
mov ecx, dword [ebp - 0xa0]
xor ecx, dword [ebp - 0x8c]
jl 0x6fed5d
mov ecx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp ecx, 0x200
jne 0x6fed6c
dec dword [eax + 0xc]
jmp 0x6fed6c
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6fed6c
inc dword [eax + 0xc]
mov esi, edx
mov ecx, dword [ebp - 0xa4]
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0xa4]
mov dword [eax + ecx*4 + 0x30], edx
jmp 0x6feefe
cmp dword [eax], 0xffffffff
jne 0x6fee49
mov edx, dword [eax + 8]
imul edx, dword [eax + 0x10]
add edx, 0x100
sar edx, 9
add edx, esi
cmp dword [eax + 0x10], 0
je 0x6feddf
test esi, esi
je 0x6feddf
xor esi, dword [eax + 0x10]
jl 0x6fedd0
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x200
jne 0x6feddf
dec dword [eax + 8]
jmp 0x6feddf
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6feddf
inc dword [eax + 8]
mov esi, edx
mov edx, dword [eax + 0xc]
imul edx, esi
add edx, 0x100
sar edx, 9
add edx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], edx
test esi, esi
je 0x6fee35
cmp dword [ebp - 0x8c], 0
je 0x6fee35
mov ecx, dword [ebp - 0x8c]
xor ecx, esi
jl 0x6fee26
mov edx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp edx, 0x200
jne 0x6fee35
dec dword [eax + 0xc]
jmp 0x6fee35
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6fee35
inc dword [eax + 0xc]
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
mov dword [eax + 0x10], edx
jmp 0x6feefe
mov ecx, dword [eax + 8]
imul ecx, dword [eax + 0x10]
add ecx, 0x100
sar ecx, 9
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], ecx
cmp dword [eax + 0x10], 0
je 0x6feea1
cmp dword [ebp - 0x8c], 0
je 0x6feea1
mov edx, dword [eax + 0x10]
xor edx, dword [ebp - 0x8c]
jl 0x6fee92
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x200
jne 0x6feea1
dec dword [eax + 8]
jmp 0x6feea1
mov edx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp edx, dword [ebp - 0xc]
jne 0x6feea1
inc dword [eax + 8]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], ecx
mov edx, dword [eax + 0xc]
imul edx, dword [ebp - 0x8c]
add edx, 0x100
sar edx, 9
add edx, esi
cmp dword [ebp - 0x8c], 0
je 0x6feef9
test esi, esi
je 0x6feef9
xor esi, dword [ebp - 0x8c]
jl 0x6feeea
mov ecx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp ecx, 0x200
jne 0x6feef9
dec dword [eax + 0xc]
jmp 0x6feef9
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6feef9
inc dword [eax + 0xc]
mov esi, edx
mov dword [eax + 0x10], edx
add eax, 0x60
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test edx, edx
jne 0x6fec8e
jmp 0x6ff198
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x8cc]
jmp 0x6ff189
cmp dword [eax], 0
jle 0x6ff01b
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x10]
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4 + 0x30]
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0x10]
add edx, dword [eax]
and edx, 7
mov dword [ebp - 0xac], edx
mov edx, dword [eax + 8]
imul edx, ecx
add edx, 0x80
sar edx, 8
add edx, esi
mov edi, dword [eax + 0xc]
imul edi, dword [ebp - 0xa8]
add edi, 0x80
sar edi, 8
add edi, dword [ebp - 0x8c]
mov dword [ebp - 0x94], edi
test ecx, ecx
je 0x6fefb2
test esi, esi
je 0x6fefb2
xor ecx, esi
jl 0x6fefa3
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x6fefb2
dec dword [eax + 8]
jmp 0x6fefb2
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6fefb2
inc dword [eax + 8]
cmp dword [ebp - 0xa8], 0
je 0x6feff4
cmp dword [ebp - 0x8c], 0
je 0x6feff4
mov ecx, dword [ebp - 0xa8]
xor ecx, dword [ebp - 0x8c]
jl 0x6fefe5
mov ecx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp ecx, 0x100
jne 0x6feff4
dec dword [eax + 0xc]
jmp 0x6feff4
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6feff4
inc dword [eax + 0xc]
mov esi, edx
mov ecx, dword [ebp - 0xac]
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0xac]
mov dword [eax + ecx*4 + 0x30], edx
jmp 0x6ff186
cmp dword [eax], 0xffffffff
jne 0x6ff0d1
mov edx, dword [eax + 8]
imul edx, dword [eax + 0x10]
add edx, 0x80
sar edx, 8
add edx, esi
cmp dword [eax + 0x10], 0
je 0x6ff067
test esi, esi
je 0x6ff067
xor esi, dword [eax + 0x10]
jl 0x6ff058
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x6ff067
dec dword [eax + 8]
jmp 0x6ff067
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6ff067
inc dword [eax + 8]
mov esi, edx
mov edx, dword [eax + 0xc]
imul edx, esi
add edx, 0x80
sar edx, 8
add edx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], edx
test esi, esi
je 0x6ff0bd
cmp dword [ebp - 0x8c], 0
je 0x6ff0bd
mov ecx, dword [ebp - 0x8c]
xor ecx, esi
jl 0x6ff0ae
mov edx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp edx, 0x100
jne 0x6ff0bd
dec dword [eax + 0xc]
jmp 0x6ff0bd
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6ff0bd
inc dword [eax + 0xc]
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
mov dword [eax + 0x10], edx
jmp 0x6ff186
mov ecx, dword [eax + 8]
imul ecx, dword [eax + 0x10]
add ecx, 0x80
sar ecx, 8
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], ecx
cmp dword [eax + 0x10], 0
je 0x6ff129
cmp dword [ebp - 0x8c], 0
je 0x6ff129
mov edx, dword [eax + 0x10]
xor edx, dword [ebp - 0x8c]
jl 0x6ff11a
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x6ff129
dec dword [eax + 8]
jmp 0x6ff129
mov edx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp edx, dword [ebp - 0xc]
jne 0x6ff129
inc dword [eax + 8]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], ecx
mov edx, dword [eax + 0xc]
imul edx, dword [ebp - 0x8c]
add edx, 0x80
sar edx, 8
add edx, esi
cmp dword [ebp - 0x8c], 0
je 0x6ff181
test esi, esi
je 0x6ff181
xor esi, dword [ebp - 0x8c]
jl 0x6ff172
mov ecx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp ecx, 0x100
jne 0x6ff181
dec dword [eax + 0xc]
jmp 0x6ff181
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6ff181
inc dword [eax + 0xc]
mov esi, edx
mov dword [eax + 0x10], edx
add eax, 0x60
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test edx, edx
jne 0x6fef29
mov eax, dword [ebp - 0x10]
inc eax
and eax, 7
mov dword [ebp - 0x10], eax
test byte [ebp - 7], 0x40
je 0x6ff1e3
mov ecx, dword [ebp - 0x8c]
add ecx, ecx
mov dword [ebp - 0x90], esi
and esi, 1
or ecx, esi
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x90]
sar eax, 1
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x88]
add esi, dword [ebp - 0x90]
sar esi, 1
test byte [ebp - 8], 0x40
je 0x6ff33b
cmp dword [ebx + 0x8a0], 8
jl 0x6ff27a
cmp dword [ebx + 0x48], 0
je 0x6ff20b
dec dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
and eax, 1
jmp 0x6ff232
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x6ff21e
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov dword [ebx + 0x48], 7
mov ecx, dword [ebx + 0x30]
xor eax, eax
mov al, byte [ecx]
mov dword [ebx + 0x3c], eax
and eax, 1
test eax, eax
je 0x6ff240
shr dword [ebx + 0x3c], 1
mov edx, 1
jmp 0x6ff245
shr dword [ebx + 0x3c], 1
xor edx, edx
test edx, edx
jne 0x6ff2e5
jmp 0x6ff27a
inc dword [ebx + 0x30]
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x2c]
jne 0x6ff262
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 8
jl 0x6ff24f
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x98], eax
cmp dword [ebx + 0x48], 0x20
jle 0x6ff2a9
sub dword [ebx + 0x48], 8
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x6ff2b1
sub dword [ebx + 0x48], 8
shr dword [ebx + 0x3c], 8
and dword [ebp - 0x98], 0xff
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [ebx + 0x89c]
je 0x6ff2df
mov eax, dword [ebp - 0x98]
mov dword [ebx + 0x89c], eax
xor edx, edx
mov dword [ebx + 0x8a0], edx
jmp 0x6ff2e5
inc dword [ebx + 0x8a0]
mov ecx, esi
shl ecx, 4
mov eax, dword [ebx + 0x89c]
sar eax, 4
add ecx, eax
mov esi, ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
add dword [ebp - 0x38], 4
mov edx, dword [ebp - 0x8c]
shl edx, 4
mov eax, dword [ebx + 0x89c]
and eax, 0xf
add edx, eax
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0x38]
mov dword [ecx], edx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add edx, eax
mov dword [ebp - 0x34], edx
add dword [ebp - 0x38], 4
jmp 0x6ff371
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*8]
lea edi, [esi + esi*2]
add ecx, edi
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
shl esi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x8c]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x6fe99e
jmp 0x6ff78b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jae 0x6ff78b
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x6ff78b
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x68]
jg 0x6ff401
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x64]
jg 0x6ff401
push 1
push ebx
call fcn.00701378
add esp, 8
add eax, eax
mov ecx, edi
and ecx, 1
or eax, ecx
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
add ecx, edi
sar ecx, 1
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp - 0xb0]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xb8], eax
jmp 0x6ff461
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x68]
jg 0x6ff436
push 1
push ebx
call fcn.00701378
add esp, 8
mov dword [ebp - 0xb4], eax
sub eax, edi
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb4]
add edx, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], edx
jmp 0x6ff461
push 1
push ebx
call fcn.00701378
add esp, 8
mov dword [ebp - 0xb8], eax
add edi, eax
mov dword [ebp - 0xb4], edi
mov edx, dword [ebp - 0xb8]
add edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb0], edx
mov ecx, dword [ebp - 0xb0]
sar ecx, 1
push ecx
call fcn.006ef560
pop ecx
mov edx, dword [ebp - 0x6c]
sar edx, 8
mov ecx, dword [ebp - 0x6c]
sub ecx, edx
add eax, ecx
mov dword [ebp - 0x6c], eax
push dword [ebp - 0xb4]
call fcn.006ef560
pop ecx
mov edx, dword [ebp - 0x64]
sar edx, 8
mov ecx, dword [ebp - 0x64]
sub ecx, edx
add eax, ecx
mov dword [ebp - 0x64], eax
push dword [ebp - 0xb8]
call fcn.006ef560
pop ecx
mov edx, dword [ebp - 0x68]
sar edx, 8
mov ecx, dword [ebp - 0x68]
sub ecx, edx
add eax, ecx
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x114]
mov ecx, dword [eax]
lea eax, [ebp - 0x40]
mov edx, dword [eax]
imul edx, dword [ebp - 0x110]
add edx, 0x80
sar edx, 8
add ecx, edx
add ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], ecx
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
mov edx, dword [edx]
imul edx, dword [ebp - 0x108]
add edx, 0x80
sar edx, 8
add eax, edx
add eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0x110], 0
setge al
and eax, 1
cmp dword [ebp - 0xb4], 0
setg cl
and ecx, 1
cmp eax, ecx
jne 0x6ff541
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x6ff552
lea edx, [ebp - 0x40]
dec dword [edx]
jmp 0x6ff552
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x6ff552
lea edx, [ebp - 0x40]
inc dword [edx]
cmp dword [ebp - 0x108], 0
setge cl
and ecx, 1
cmp dword [ebp - 0xb8], 0
setg al
and eax, 1
cmp ecx, eax
jne 0x6ff585
lea edx, [ebp - 0x3c]
mov eax, dword [edx]
inc dword [edx]
cmp eax, 0x100
jne 0x6ff596
lea edx, [ebp - 0x3c]
dec dword [edx]
jmp 0x6ff596
lea ecx, [ebp - 0x3c]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x6ff596
lea edx, [ebp - 0x3c]
inc dword [edx]
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0xbc]
sub eax, dword [ecx]
mov dword [ebp - 0x110], eax
lea edx, [ebp - 0x114]
add dword [edx], eax
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0xc0]
sub eax, dword [ecx]
mov dword [ebp - 0x108], eax
lea edx, [ebp - 0x10c]
add dword [edx], eax
test byte [ebp - 8], 0x40
je 0x6ff732
cmp dword [ebx + 0x8a0], 8
jl 0x6ff665
cmp dword [ebx + 0x48], 0
je 0x6ff5f6
dec dword [ebx + 0x48]
mov ecx, dword [ebx + 0x3c]
and ecx, 1
jmp 0x6ff61d
inc dword [ebx + 0x30]
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [ebx + 0x2c]
jne 0x6ff609
lea eax, [ebx + 0x24]
push eax
call dword [ebx + 0x24]
pop ecx
mov dword [ebx + 0x48], 7
mov edx, dword [ebx + 0x30]
xor ecx, ecx
mov cl, byte [edx]
mov dword [ebx + 0x3c], ecx
and ecx, 1
test ecx, ecx
je 0x6ff62b
shr dword [ebx + 0x3c], 1
mov eax, 1
jmp 0x6ff630
shr dword [ebx + 0x3c], 1
xor eax, eax
test eax, eax
jne 0x6ff6d0
jmp 0x6ff665
inc dword [ebx + 0x30]
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x2c]
jne 0x6ff64d
lea ecx, [ebx + 0x24]
push ecx
call dword [ebx + 0x24]
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
shl edx, cl
or dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], ecx
cmp dword [ebx + 0x48], 8
jl 0x6ff63a
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0xc4], eax
cmp dword [ebx + 0x48], 0x20
jle 0x6ff694
sub dword [ebx + 0x48], 8
mov ecx, 8
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
xor edx, edx
mov dl, byte [eax]
sar edx, cl
mov dword [ebx + 0x3c], edx
jmp 0x6ff69c
sub dword [ebx + 0x48], 8
shr dword [ebx + 0x3c], 8
and dword [ebp - 0xc4], 0xff
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [ebx + 0x89c]
je 0x6ff6ca
mov eax, dword [ebp - 0xc4]
mov dword [ebx + 0x89c], eax
xor edx, edx
mov dword [ebx + 0x8a0], edx
jmp 0x6ff6d0
inc dword [ebx + 0x8a0]
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
shl eax, 4
mov edx, dword [ebx + 0x89c]
sar edx, 4
add eax, edx
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x38], 4
lea ecx, [ebp - 0x10c]
mov ecx, dword [ecx]
shl ecx, 4
mov eax, dword [ebx + 0x89c]
and eax, 0xf
add ecx, eax
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
add dword [ebp - 0x38], 4
jmp 0x6ff77c
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*8]
lea eax, [ebp - 0x114]
mov ecx, dword [eax]
lea ecx, [ecx + ecx*2]
add edx, ecx
lea eax, [ebp - 0x10c]
add edx, dword [eax]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x114]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
shl edx, cl
mov ecx, dword [ebp - 0x38]
mov dword [ecx], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x6ff39c
mov eax, dword [ebp - 0x64]
mov dword [ebx + 0x890], eax
mov edx, dword [ebp - 0x68]
mov dword [ebx + 0x894], edx
mov ecx, dword [ebp - 0x6c]
mov dword [ebx + 0x88c], ecx
mov eax, dword [ebp - 0x70]
mov dword [ebx + 0x898], eax
jmp 0x70056f
cmp word [ebx + 8], 3
jne 0x6ffbb3
cmp word [ebx + 0xa], 0
je 0x6ffbb3
test byte [ebp - 8], 1
je 0x6ffbb3
test byte [ebp - 8], 2
je 0x6ff8ba
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x70056f
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x6ff861
lea eax, [ebp - 0x114]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x6ff853
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x6ff8a6
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x6ff890
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x6ff882
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x6ff8a6
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x6ff7f5
jmp 0x70056f
test dword [ebp - 8], 0x410
je 0x6ffa67
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x70056f
test byte [ebp - 7], 4
je 0x6ff8f7
lea edx, [ebp - 0x30]
push edx
push 0
push ebx
call fcn.00701648
add esp, 0xc
mov edi, eax
jmp 0x6ff904
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x70056f
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x8cc]
jmp 0x6ff996
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4 + 0x10]
mov ecx, edx
and ecx, 0xffff
imul ecx, dword [eax + 8]
sar ecx, 7
mov esi, edx
and esi, 0xffff0000
sar esi, 7
imul esi, dword [eax + 8]
add ecx, esi
inc ecx
sar ecx, 1
add ecx, edi
mov dword [ebp - 0xc8], ecx
test edx, edx
je 0x6ff981
test edi, edi
je 0x6ff981
xor edx, edi
jl 0x6ff972
mov edx, dword [eax + 8]
inc dword [eax + 8]
cmp edx, 0x100
jne 0x6ff981
dec dword [eax + 8]
jmp 0x6ff981
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6ff981
inc dword [eax + 8]
mov edi, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x10]
add edx, dword [eax]
and edx, 7
mov dword [eax + edx*4 + 0x10], edi
add eax, 0x60
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test ecx, ecx
jne 0x6ff921
mov eax, dword [ebp - 0x10]
inc eax
and eax, 7
mov dword [ebp - 0x10], eax
test byte [ebp - 8], 0x80
je 0x6ff9f8
test byte [ebp - 7], 1
je 0x6ff9da
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebx + 0x8a8]
add edi, ecx
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add eax, edi
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x30]
neg edx
mov dword [ebx + 0x8a8], edx
jmp 0x6ff9e8
add edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add ecx, edi
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
shl edi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
add dword [ebp - 0x38], 4
jmp 0x6ffa53
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add edx, edi
mov dword [ebp - 0x34], edx
cmp edi, dword [ebp - 0x1c]
jge 0x6ffa26
mov ecx, dword [ebp - 0x48]
neg ecx
cmp edi, ecx
jge 0x6ffa18
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x6ffa53
cmp edi, dword [ebp - 0x20]
jle 0x6ffa45
cmp edi, dword [ebp - 0x48]
jle 0x6ffa37
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x6ffa53
mov ecx, dword [ebp - 4]
shl edi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x6ff8de
jmp 0x70056f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x70056f
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
lea esi, [ebp - 0x40]
mov eax, dword [esi]
imul dword [ebp - 0x110]
add eax, 0x80
sar eax, 8
add ecx, eax
add ecx, edi
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0x110], 0
setge dl
and edx, 1
test edi, edi
setg cl
and ecx, 1
cmp edx, ecx
jne 0x6ffae9
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x6ffafa
lea edx, [ebp - 0x40]
dec dword [edx]
jmp 0x6ffafa
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x6ffafa
lea edx, [ebp - 0x40]
inc dword [edx]
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0xcc]
sub eax, dword [ecx]
mov dword [ebp - 0x110], eax
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0xcc]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x114]
mov ecx, dword [ecx]
cmp ecx, dword [ebp - 0x1c]
jge 0x6ffb5a
lea eax, [ebp - 0x114]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x6ffb4c
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x6ffb9f
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x6ffb89
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x6ffb7b
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x6ffb9f
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x6ffa7e
jmp 0x70056f
cmp word [ebx + 8], 3
jne 0x7002d8
cmp word [ebx + 0xa], 0
je 0x7002d8
test byte [ebp - 8], 1
jne 0x7002d8
test byte [ebp - 8], 2
je 0x6ffd5d
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x70056f
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x6ffc60
lea eax, [ebp - 0x114]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x6ffc52
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x6ffca5
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x6ffc8f
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x6ffc81
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x6ffca5
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
push 1
push ebx
call fcn.00701378
add esp, 8
add dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
lea ecx, [ebp - 0x10c]
add dword [ecx], edx
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
add ecx, eax
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x6ffd04
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x6ffcf6
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x6ffd49
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x6ffd33
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x6ffd25
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x6ffd49
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x6ffbf4
jmp 0x70056f
test dword [ebp - 8], 0x410
je 0x700075
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x70056f
test byte [ebp - 7], 4
je 0x6ffdab
lea edx, [ebp - 0x30]
push edx
push 0
push ebx
call fcn.00701648
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push 1
push ebx
call fcn.00701648
add esp, 0xc
mov edx, eax
jmp 0x6ffdc5
push 0
push ebx
call fcn.00701378
add esp, 8
mov esi, eax
push 1
push ebx
call fcn.00701378
add esp, 8
mov edx, eax
cmp esi, 0x80000000
je 0x70056f
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x8cc]
jmp 0x6fff04
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx*4 + 0x10]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx*4 + 0x30]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
and ecx, 7
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0xe0]
and ecx, 0xffff
imul ecx, dword [eax + 8]
sar ecx, 7
mov edi, dword [ebp - 0xe0]
and edi, 0xffff0000
sar edi, 7
imul edi, dword [eax + 8]
add ecx, edi
inc ecx
sar ecx, 1
add ecx, esi
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xe0], 0
je 0x6ffe77
test esi, esi
je 0x6ffe77
xor esi, dword [ebp - 0xe0]
jl 0x6ffe68
mov ecx, dword [eax + 8]
inc dword [eax + 8]
cmp ecx, 0x100
jne 0x6ffe77
dec dword [eax + 8]
jmp 0x6ffe77
mov ecx, dword [eax + 8]
add dword [eax + 8], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6ffe77
inc dword [eax + 8]
mov esi, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xe8]
mov dword [eax + ecx*4 + 0x10], esi
mov ecx, dword [ebp - 0xe4]
and ecx, 0xffff
imul ecx, dword [eax + 0xc]
sar ecx, 7
mov edi, dword [ebp - 0xe4]
and edi, 0xffff0000
sar edi, 7
imul edi, dword [eax + 0xc]
add ecx, edi
inc ecx
sar ecx, 1
add ecx, edx
mov dword [ebp - 0xd4], ecx
cmp dword [ebp - 0xe4], 0
je 0x6ffef1
test edx, edx
je 0x6ffef1
xor edx, dword [ebp - 0xe4]
jl 0x6ffee2
mov edx, dword [eax + 0xc]
inc dword [eax + 0xc]
cmp edx, 0x100
jne 0x6ffef1
dec dword [eax + 0xc]
jmp 0x6ffef1
mov ecx, dword [eax + 0xc]
add dword [eax + 0xc], 0xffffffff
cmp ecx, dword [ebp - 0xc]
jne 0x6ffef1
inc dword [eax + 0xc]
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xe8]
mov dword [eax + ecx*4 + 0x30], edx
add eax, 0x60
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x14], 0xffffffff
test ecx, ecx
jne 0x6ffde5
mov eax, dword [ebp - 0x10]
inc eax
and eax, 7
mov dword [ebp - 0x10], eax
test byte [ebp - 8], 0x80
je 0x6fff5d
test byte [ebp - 7], 1
je 0x6fff57
mov eax, dword [ebp - 0x30]
add eax, dword [ebx + 0x8a8]
add esi, eax
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebx + 0x8ac]
add edx, ecx
mov eax, dword [ebp - 0x30]
neg eax
mov dword [ebx + 0x8a8], eax
mov ecx, dword [ebp - 0x2c]
neg ecx
mov dword [ebx + 0x8ac], ecx
jmp 0x6fff5d
add esi, dword [ebp - 0x30]
add edx, dword [ebp - 0x2c]
test byte [ebp - 7], 0x40
je 0x6fff8a
add edx, edx
mov eax, esi
and eax, 1
or edx, eax
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xdc], esi
sub edx, esi
sar edx, 1
mov esi, dword [ebp - 0xd8]
add esi, dword [ebp - 0xdc]
sar esi, 1
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*8]
lea ecx, [esi + esi*2]
add eax, ecx
add eax, edx
mov dword [ebp - 0x34], eax
test byte [ebp - 8], 0x80
je 0x6fffc1
mov ecx, dword [ebp - 4]
shl esi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x700061
cmp esi, dword [ebp - 0x1c]
jge 0x6fffe4
mov eax, dword [ebp - 0x48]
neg eax
cmp esi, eax
jge 0x6fffd6
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x700011
cmp esi, dword [ebp - 0x20]
jle 0x700003
cmp esi, dword [ebp - 0x48]
jle 0x6ffff5
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x700011
mov ecx, dword [ebp - 4]
shl esi, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
add dword [ebp - 0x38], 4
cmp edx, dword [ebp - 0x1c]
jge 0x700034
mov ecx, dword [ebp - 0x48]
neg ecx
cmp edx, ecx
jge 0x700026
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov dword [edx], eax
add dword [ebp - 0x38], 4
jmp 0x700061
cmp edx, dword [ebp - 0x20]
jle 0x700053
cmp edx, dword [ebp - 0x48]
jle 0x700045
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x700061
mov ecx, dword [ebp - 4]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x6ffd81
jmp 0x70056f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x70056f
push 0
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
lea esi, [ebp - 0x40]
mov eax, dword [esi]
imul dword [ebp - 0x110]
add eax, 0x80
sar eax, 8
add ecx, eax
add ecx, edi
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0x110], 0
setge dl
and edx, 1
test edi, edi
setg cl
and ecx, 1
cmp edx, ecx
jne 0x7000f7
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x700108
lea edx, [ebp - 0x40]
dec dword [edx]
jmp 0x700108
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x700108
lea edx, [ebp - 0x40]
inc dword [edx]
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0xec]
sub eax, dword [ecx]
mov dword [ebp - 0x110], eax
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0xec]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
push 1
push ebx
call fcn.00701378
add esp, 8
mov edi, eax
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
lea ecx, [ebp - 0x3c]
mov eax, dword [ecx]
imul eax, dword [ebp - 0x108]
add eax, 0x80
sar eax, 8
add edx, eax
add edx, edi
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0x108], 0
setge dl
and edx, 1
test edi, edi
setg cl
and ecx, 1
cmp edx, ecx
jne 0x700196
lea ecx, [ebp - 0x3c]
mov eax, dword [ecx]
inc dword [ecx]
cmp eax, 0x100
jne 0x7001a7
lea edx, [ebp - 0x3c]
dec dword [edx]
jmp 0x7001a7
lea ecx, [ebp - 0x3c]
mov eax, dword [ecx]
add dword [ecx], 0xffffffff
test eax, eax
jne 0x7001a7
lea edx, [ebp - 0x3c]
inc dword [edx]
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0xec]
sub eax, dword [ecx]
mov dword [ebp - 0x108], eax
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 0xec]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x114]
mov ecx, dword [ecx]
cmp ecx, dword [ebp - 0x1c]
jge 0x700207
lea eax, [ebp - 0x114]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x7001f9
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x38], 4
jmp 0x70024c
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x700236
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x700228
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
add dword [ebp - 0x38], 4
jmp 0x70024c
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x70027f
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x48]
neg edx
cmp eax, edx
jge 0x700271
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x7002c4
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x20]
jle 0x7002ae
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
cmp edx, dword [ebp - 0x48]
jle 0x7002a0
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
add dword [ebp - 0x38], 4
jmp 0x7002c4
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jb 0x70008c
jmp 0x70056f
cmp word [ebx + 8], 2
jne 0x7003bf
test byte [ebp - 8], 1
je 0x7003bf
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x10]
jae 0x70056f
push 0
push ebx
call fcn.007010ff
add esp, 8
mov edi, eax
cmp eax, 0x80000000
je 0x70056f
add dword [ebp - 0x110], edi
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x114]
add dword [ecx], edx
cmp word [ebx + 0xa], 0
je 0x700395
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x1c]
jge 0x700369
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x48]
neg eax
cmp ecx, eax
jge 0x70035c
mov dword [ebp - 0x4c], 1
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
jmp 0x700395
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x20]
jle 0x700395
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x48]
jle 0x70038a
mov dword [ebp - 0x4c], 1
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x114]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x700304
jmp 0x70056f
cmp word [ebx + 8], 3
jge 0x70056a
test byte [ebp - 8], 1
jne 0x70056a
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x10]
jae 0x70056f
push 0
push ebx
call fcn.007010ff
add esp, 8
mov edi, eax
cmp edi, 0x80000000
je 0x70056f
push 1
push ebx
call fcn.007010ff
add esp, 8
mov dword [ebp - 0xf4], eax
and eax, 1
add edi, edi
or eax, edi
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
add edx, dword [ebp - 0xf4]
sar edx, 1
add dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x114]
add dword [eax], ecx
mov edx, dword [ebp - 0xf0]
sub edx, dword [ebp - 0xf4]
sar edx, 1
add dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x10c]
add dword [eax], ecx
cmp word [ebx + 0xa], 0
je 0x70052d
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x7004a3
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x48]
neg edx
cmp eax, edx
jge 0x700496
mov dword [ebp - 0x4c], 1
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x7004cf
lea edx, [ebp - 0x114]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x20]
jle 0x7004cf
lea eax, [ebp - 0x114]
mov edx, dword [eax]
cmp edx, dword [ebp - 0x48]
jle 0x7004c4
mov dword [ebp - 0x4c], 1
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x1c]
jge 0x700501
lea eax, [ebp - 0x10c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
neg eax
cmp edx, eax
jge 0x7004f4
mov dword [ebp - 0x4c], 1
lea edx, [ebp - 0x10c]
mov ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x70052d
lea ecx, [ebp - 0x10c]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x20]
jle 0x70052d
lea edx, [ebp - 0x10c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x48]
jle 0x700522
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0x10c]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
mov edx, dword [eax]
shl edx, cl
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
add dword [ebp - 0x38], 4
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10c]
mov eax, dword [edx]
shl eax, cl
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
add dword [ebp - 0x38], 4
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 0x10]
jb 0x7003eb
jmp 0x70056f
xor ecx, ecx
mov dword [ebp - 0x44], ecx
cmp word [ebx + 0xa], 0
je 0x70057c
test byte [ebp - 8], 0x80
je 0x7005de
test byte [ebp - 8], 1
je 0x700589
mov eax, 1
jmp 0x70058e
mov eax, 2
imul dword [ebp + 0x10]
shl eax, 2
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0xf8]
jae 0x7005de
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x48]
jg 0x7005c6
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x48]
neg eax
cmp ecx, eax
jge 0x7005cf
mov dword [ebp - 0x4c], 1
jmp 0x7005de
add dword [ebp - 0x38], 0xc
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0xf8]
jb 0x7005ae
cmp dword [ebp - 0x4c], 0
je 0x70060d
mov ecx, dword [ebp + 0x10]
shl ecx, 2
test byte [ebp - 8], 1
je 0x7005f7
mov eax, 1
jmp 0x7005fc
mov eax, 2
imul ecx, eax
push ecx
push 0
push dword [ebp + 0xc]
call fcn.006e9e50
add esp, 0xc
cmp dword [ebp - 0x44], 0
je 0x7007fa
mov edx, dword [ebp - 0x44]
add dword [ebx + 0x7c], edx
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 0x8c]
jne 0x7007fa
cmp word [ebx + 8], 3
jne 0x700658
mov edx, dword [ebp + 8]
cmp dword [edx + 0x98], 0
je 0x700647
mov ecx, dword [ebx + 0x18]
jmp 0x70064a
mov ecx, dword [ebx + 0x14]
cmp ecx, dword [ebp - 0x34]
je 0x700658
mov eax, dword [ebp + 8]
inc dword [eax + 0x90]
mov edx, dword [ebp + 8]
test byte [edx + 0x9c], 4
je 0x7007fa
push 0x400
call fcn.006e9ee4
pop ecx
mov dword [ebp - 0xfc], eax
lea ecx, [ebx + 0x24]
push ecx
call fcn.006fd57b
pop ecx
test eax, eax
je 0x7006e7
lea eax, [ebx + 0x24]
push eax
call fcn.006fd57b
pop ecx
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x60]
push eax
mov ecx, dword [ebp + 8]
push dword [ecx + 0x5c]
call fcn.006e9f04
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
lea eax, [ebx + 0x24]
push eax
call fcn.006fd57b
pop ecx
push eax
lea ecx, [ebx + 0x24]
push ecx
call fcn.006fd598
pop ecx
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x60]
push edx
call fcn.006e9e18
add esp, 0xc
lea edx, [ebx + 0x24]
push edx
call fcn.006fd57b
pop ecx
mov ecx, dword [ebp + 8]
add dword [ecx + 0x60], eax
push 4
push dword [ebp - 0xfc]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x74]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x70]
call dword [edx]
add esp, 0xc
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x70075f
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x60]
add eax, dword [ebp - 0x100]
push eax
mov edx, dword [ebp + 8]
push dword [edx + 0x5c]
call fcn.006e9f04
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
push dword [ebp - 0x100]
push dword [ebp - 0xfc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ebp + 8]
add ecx, dword [eax + 0x60]
push ecx
call fcn.006e9e18
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x100]
add dword [edx + 0x60], ecx
jmp 0x7006e7
push dword [ebp - 0xfc]
call fcn.006e9ef4
pop ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x60], 0x10
jbe 0x7007fa
xor eax, eax
mov dword [ebp - 0x104], eax
jmp 0x700788
inc dword [ebp - 0x104]
cmp dword [ebp - 0x104], 0x10
jge 0x7007aa
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x5c]
mov eax, dword [ebp - 0x104]
xor edx, edx
mov dl, byte [ecx + eax]
cmp edx, 0xff
je 0x700782
cmp dword [ebp - 0x104], 0x10
jne 0x7007de
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x60]
sub eax, 0x10
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x5c]
add ecx, 0x10
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x5c]
call fcn.006e9e18
add esp, 0xc
mov edx, dword [ebp + 8]
sub dword [edx + 0x60], 0x10
jmp 0x7007fa
mov ecx, dword [ebp + 8]
push dword [ecx + 0x5c]
call fcn.006e9ef4
pop ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x60], eax
push 0x10
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebx + 0x8b4]
push ecx
call fcn.006e9e18
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push eax
lea edx, [ebx + 0x8c4]
push edx
call fcn.006e9e18
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 0x8b0], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x8a4], eax
mov eax, dword [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret