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

Disassembly:
mov edx, dword [esp + 0x10]
sub esp, 0xb4
cmp edx, 0xa
jae 0x6b619b
mov eax, 0xffffffec
add esp, 0xb4
ret
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xbc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc4]
mov ebp, edx
add eax, esi
mov dword [esp + 0x68], eax
lea eax, [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xcc]
push edi
movzx ebx, word [eax + 2]
movzx edi, word [eax]
mov dword [esp + 0x64], ebx
movzx ebx, word [eax + 4]
add eax, 6
mov dword [esp + 0x68], eax
sub ebp, ebx
sub ebp, dword [esp + 0x64]
add eax, edi
mov dword [esp + 0x48], eax
sub ebp, edi
add eax, dword [esp + 0x64]
sub ebp, 6
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xcc]
add eax, 3
mov dword [esp + 0x10], ebx
shr eax, 2
mov dword [esp + 0x14], edi
lea ebx, [eax + esi]
lea edi, [ebx + eax]
mov dword [esp + 0x70], ebx
add eax, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], eax
mov edi, ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
shr eax, 0x10
movzx ebx, al
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], ebx
cmp ebp, edx
ja 0x6b6686
push dword [esp + 0x14]
lea eax, [esp + 0xb4]
push dword [esp + 0x6c]
push eax
call fcn.006b3e80
add esp, 0xc
cmp eax, 0xffffff88
ja 0x6b710c
push dword [esp + 0x64]
lea eax, [esp + 0x78]
push dword [esp + 0x4c]
push eax
call fcn.006b3e80
add esp, 0xc
cmp eax, 0xffffff88
ja 0x6b710c
push dword [esp + 0x10]
lea eax, [esp + 0x8c]
push dword [esp + 0x48]
push eax
call fcn.006b3e80
add esp, 0xc
cmp eax, 0xffffff88
ja 0x6b710c
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x44]
push ebp
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.006b3e80
add esp, 0xc
cmp eax, 0xffffff88
ja 0x6b710c
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
add eax, 0xfffffffd
mov ebp, dword [esp + 0xa0]
cmp edx, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
jae 0x6b661c
mov eax, dword [esp + 0x74]
neg ebx
mov edx, dword [esp + 0xb4]
and ebx, 0x1f
mov edi, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add edx, eax
movzx eax, byte [ecx + 3]
add esi, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x30]
mov ecx, edi
mov edx, dword [esp + 0x1c]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add edi, eax
mov edx, dword [esp + 0x60]
movzx eax, byte [ecx + 3]
mov ecx, ebx
add dword [esp + 0x1c], eax
and ecx, 0x1f
mov eax, dword [esp + 0x40]
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [ecx + 3]
add edx, eax
mov ecx, ebp
mov eax, dword [esp + 0x34]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x5c]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add ebp, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x38]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], edx
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 3]
mov ecx, edi
add esi, eax
and ecx, 0x1f
mov eax, dword [esp + 0x30]
shl eax, cl
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 3]
mov ecx, ebx
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x40]
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x60]
lea ecx, [edi + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add eax, ebx
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 3]
mov ecx, ebp
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x34]
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x5c]
lea ecx, [edi + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add eax, ebp
mov dword [esp + 0x58], eax
movzx eax, byte [ecx + 3]
add edx, eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0xc0]
jae 0x6b64ff
mov dword [esp + 0x14], 3
jmp 0x6b6523
mov ecx, dword [esp + 0x28]
mov eax, ecx
shr eax, 3
sub edx, eax
mov dword [esp + 0x14], 0
and ecx, 7
mov dword [esp + 0x48], edx
mov dword [esp + 0x28], ecx
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x84]
jae 0x6b653a
mov dword [esp + 0x68], 3
jmp 0x6b655e
mov edi, dword [esp + 0x2c]
mov eax, edi
shr eax, 3
sub ecx, eax
mov dword [esp + 0x68], 0
and edi, 7
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], edi
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x98]
jae 0x6b6579
mov dword [esp + 0x64], 3
jmp 0x6b6599
mov eax, ebx
mov dword [esp + 0x64], 0
shr eax, 3
sub ecx, eax
and ebx, 7
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], ebx
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
cmp ecx, dword [esp + 0xac]
jae 0x6b65b1
mov edx, 3
jmp 0x6b65cb
mov eax, ebp
and ebp, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], ecx
xor edx, edx
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x6c]
add ecx, 0xfffffffd
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x5c], ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
xor edx, edx
and ecx, eax
cmp dword [esp + 0x64], edx
cmove edx, ecx
xor eax, eax
cmp dword [esp + 0x68], eax
sete al
and edx, eax
xor eax, eax
cmp dword [esp + 0x14], eax
cmove eax, edx
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x6b6356
mov edi, dword [esp + 0x1c]
mov ebx, edx
mov edx, dword [esp + 0x4c]
jmp 0x6b6672
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
cmp esi, eax
ja 0x6b6686
cmp edi, dword [esp + 0x20]
ja 0x6b6686
cmp dword [esp + 0x60], edx
jbe 0x6b6696
pop edi
pop esi
pop ebp
mov eax, 0xffffffec
pop ebx
add esp, 0xb4
ret
mov ebp, dword [esp + 0x48]
lea ecx, [eax - 3]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xbc]
cmp ebx, 0x20
jbe 0x6b66b8
mov edx, dword [esp + 0x38]
mov edi, 3
jmp 0x6b670f
cmp ebp, dword [esp + 0xc0]
jb 0x6b66cf
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
xor edi, edi
jmp 0x6b6704
cmp ebp, edx
jne 0x6b66e1
mov edx, dword [esp + 0x38]
cmp ebx, 0x20
sbb edi, edi
add edi, 2
jmp 0x6b670f
mov ecx, ebx
mov eax, ebp
shr ecx, 3
xor edi, edi
sub eax, ecx
cmp eax, edx
jae 0x6b66f9
mov ecx, ebp
mov edi, 1
sub ecx, edx
imul eax, ecx, 0xfffffff8
sub ebp, ecx
mov ecx, dword [esp + 0x14]
add ebx, eax
mov edx, dword [ebp]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ebx
cmp esi, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test edi, edi
sete al
test eax, ecx
je 0x6b6788
mov edi, dword [esp + 0x28]
mov eax, edx
mov ebx, dword [esp + 0x3c]
mov ecx, edi
and ecx, 0x1f
neg ebx
shl eax, cl
and ebx, 0x1f
mov ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
movzx eax, word [edx]
mov word [esi], ax
movzx eax, byte [edx + 2]
add edi, eax
movzx eax, byte [edx + 3]
add esi, eax
mov ecx, edi
mov eax, dword [esp + 0x38]
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [esi], ax
movzx ebx, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add ebx, edi
mov ecx, dword [esp + 0x14]
add esi, eax
mov dword [esp + 0x28], ebx
jmp 0x6b66a1
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x18]
add edx, 0xfffffffe
mov dword [esp + 0x48], ebp
mov dword [esp + 0x64], edx
nop dword [eax + eax]
cmp ebx, 0x20
jbe 0x6b67b2
mov dword [esp + 0x10], 3
jmp 0x6b6835
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0xc0]
jb 0x6b67d3
mov eax, ebx
mov dword [esp + 0x10], 0
shr eax, 3
sub ecx, eax
and ebx, 7
jmp 0x6b682b
cmp ecx, dword [esp + 0xbc]
jne 0x6b67f9
mov edx, dword [esp + 0x3c]
cmp ebx, 0x20
jae 0x6b67ef
mov dword [esp + 0x10], 1
jmp 0x6b6839
mov dword [esp + 0x10], 2
jmp 0x6b6839
mov edx, ebx
mov dword [esp + 0x10], 0
shr edx, 3
mov eax, ecx
sub eax, edx
cmp eax, dword [esp + 0xbc]
jae 0x6b6824
mov edx, ecx
mov dword [esp + 0x10], 1
sub edx, dword [esp + 0xbc]
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebx, eax
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x3c]
neg edx
cmp dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x6b6883
mov edx, dword [esp + 0x38]
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x3c]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ax, word [edi + edx*4]
mov word [esi], ax
movzx eax, byte [edi + edx*4 + 2]
add ebx, eax
movzx eax, byte [edi + edx*4 + 3]
add esi, eax
jmp 0x6b67a0
mov dword [esp + 0x28], ebx
cmp esi, dword [esp + 0x64]
ja 0x6b68ce
mov ebp, dword [esp + 0x64]
and edx, 0x1f
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
nop dword [eax]
mov ecx, ebx
mov eax, edx
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x14]
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [ecx + 3]
add esi, eax
cmp esi, ebp
jbe 0x6b68a0
mov dword [esp + 0x28], ebx
jmp 0x6b68d2
mov edx, dword [esp + 0x38]
cmp esi, dword [esp + 0x70]
jae 0x6b691a
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x3c]
neg ecx
and ecx, 0x1f
shr edx, cl
mov al, byte [edi + edx*4]
mov byte [esi], al
cmp byte [edi + edx*4 + 3], 1
jne 0x6b68ff
movzx eax, byte [edi + edx*4 + 2]
add ebx, eax
jmp 0x6b6916
cmp ebx, 0x20
jae 0x6b691a
movzx eax, byte [edi + edx*4 + 2]
add ebx, eax
mov eax, 0x20
cmp ebx, 0x20
cmova ebx, eax
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
add ecx, 0xfffffffd
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x54]
cmp edi, 0x20
jbe 0x6b6941
mov ebp, 3
jmp 0x6b69a6
cmp edx, dword [esp + 0x84]
jb 0x6b6958
mov eax, edi
and edi, 7
shr eax, 3
sub edx, eax
xor ebp, ebp
jmp 0x6b6998
cmp edx, dword [esp + 0x80]
jne 0x6b696b
cmp edi, 0x20
sbb ebp, ebp
add ebp, 2
jmp 0x6b69a6
mov ecx, edi
mov eax, edx
shr ecx, 3
xor ebp, ebp
sub eax, ecx
cmp eax, dword [esp + 0x80]
jae 0x6b698d
mov ecx, edx
mov ebp, 1
sub ecx, dword [esp + 0x80]
imul eax, ecx, 0xfffffff8
sub edx, ecx
mov ecx, dword [esp + 0x14]
add edi, eax
mov eax, dword [edx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], edx
cmp esi, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test ebp, ebp
sete al
test eax, ecx
je 0x6b6a27
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
neg edi
mov eax, dword [esp + 0x30]
and ecx, 0x1f
shl eax, cl
and edi, 0x1f
mov ecx, edi
shr eax, cl
lea edx, [ebx + eax*4]
movzx eax, word [edx]
mov word [esi], ax
movzx esi, byte [edx + 2]
add esi, dword [esp + 0x2c]
movzx eax, byte [edx + 3]
mov ecx, esi
mov edx, dword [esp + 0x1c]
and ecx, 0x1f
add edx, eax
mov eax, dword [esp + 0x30]
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [ebx + eax*4]
mov dword [esp + 0x1c], edx
movzx eax, word [ecx]
mov word [edx], ax
movzx edi, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add edi, esi
mov ecx, dword [esp + 0x14]
mov esi, edx
add esi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], esi
jmp 0x6b6931
mov ebx, dword [esp + 0x68]
nop dword [eax + eax]
cmp edi, 0x20
jbe 0x6b6a46
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], 3
jmp 0x6b6ac7
cmp edx, dword [esp + 0x84]
jb 0x6b6a63
mov eax, edi
mov dword [esp + 0x10], 0
shr eax, 3
sub edx, eax
and edi, 7
jmp 0x6b6abd
cmp edx, dword [esp + 0x80]
jne 0x6b6a8b
mov edx, dword [esp + 0x30]
mov eax, ebx
cmp edi, 0x20
jae 0x6b6a81
mov dword [esp + 0x10], 1
jmp 0x6b6ac9
mov dword [esp + 0x10], 2
jmp 0x6b6ac9
mov ecx, edi
mov dword [esp + 0x10], 0
shr ecx, 3
mov eax, edx
sub eax, ecx
cmp eax, dword [esp + 0x80]
jae 0x6b6ab6
mov ecx, edx
mov dword [esp + 0x10], 1
sub ecx, dword [esp + 0x80]
imul eax, ecx, 0xfffffff8
sub edx, ecx
add edi, eax
mov dword [esp + 0x54], edx
mov edx, dword [edx]
mov dword [esp + 0x30], edx
mov eax, ebx
and eax, 0x1f
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
cmp eax, esi
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x6b6b19
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x18]
mov ax, word [ecx + edx*4]
mov word [esi], ax
movzx eax, byte [ecx + edx*4 + 2]
add edi, eax
movzx eax, byte [ecx + edx*4 + 3]
mov edx, dword [esp + 0x54]
add esi, eax
jmp 0x6b6a30
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x2c], edi
cmp esi, eax
ja 0x6b6b65
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov ecx, edi
mov eax, ebp
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
lea ecx, [edx + eax*4]
mov ax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add edi, eax
movzx eax, byte [ecx + 3]
add esi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
cmp esi, eax
jbe 0x6b6b34
mov dword [esp + 0x2c], edi
cmp esi, dword [esp + 0x20]
jae 0x6b6bb0
mov eax, dword [esp + 0x30]
mov ecx, edi
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x3c]
neg ecx
and ecx, 0x1f
shr eax, cl
lea ecx, [edx + eax*4]
mov al, byte [ecx]
mov byte [esi], al
cmp byte [ecx + 3], 1
jne 0x6b6b96
movzx eax, byte [ecx + 2]
add edi, eax
jmp 0x6b6bac
cmp edi, 0x20
jae 0x6b6bb0
movzx eax, byte [ecx + 2]
add edi, eax
mov eax, 0x20
cmp edi, 0x20
cmova edi, eax
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
add ecx, 0xfffffffd
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
cmp ebx, 0x20
jbe 0x6b6bdc
mov esi, 3
jmp 0x6b6c3a
cmp ebp, dword [esp + 0x98]
jb 0x6b6bf3
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
xor esi, esi
jmp 0x6b6c33
cmp ebp, dword [esp + 0x94]
jne 0x6b6c06
cmp ebx, 0x20
sbb esi, esi
add esi, 2
jmp 0x6b6c3a
mov ecx, ebx
mov eax, ebp
shr ecx, 3
xor esi, esi
sub eax, ecx
cmp eax, dword [esp + 0x94]
jae 0x6b6c28
mov ecx, ebp
mov esi, 1
sub ecx, dword [esp + 0x94]
imul eax, ecx, 0xfffffff8
sub ebp, ecx
mov ecx, dword [esp + 0x14]
add ebx, eax
mov eax, dword [ebp]
mov dword [esp + 0x40], eax
cmp edx, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test esi, esi
sete al
test eax, ecx
je 0x6b6cb7
mov edi, dword [esp + 0x3c]
mov ecx, ebx
mov eax, dword [esp + 0x40]
and ecx, 0x1f
shl eax, cl
neg edi
and edi, 0x1f
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x60]
movzx eax, word [edx]
mov word [ecx], ax
movzx esi, byte [edx + 2]
movzx eax, byte [edx + 3]
add esi, ebx
mov edx, ecx
mov ecx, esi
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x40]
shl eax, cl
mov ecx, edi
mov edi, dword [esp + 0x18]
shr eax, cl
lea ecx, [edi + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx ebx, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add ebx, esi
mov ecx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 0x60], edx
jmp 0x6b6bd0
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffffe
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ecx
nop
cmp ebx, 0x20
jbe 0x6b6cdc
mov esi, 3
jmp 0x6b6d5a
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x98]
jb 0x6b6cfd
mov eax, ebx
and ebx, 7
shr eax, 3
sub esi, eax
mov dword [esp + 0x44], esi
mov eax, dword [esi]
xor esi, esi
jmp 0x6b6d56
cmp esi, dword [esp + 0x94]
jne 0x6b6d16
cmp ebx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x20], eax
mov esi, eax
jmp 0x6b6d5a
mov ecx, ebx
mov dword [esp + 0x20], 0
shr ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, dword [esp + 0x94]
jae 0x6b6d41
mov ecx, esi
mov dword [esp + 0x20], 1
sub ecx, dword [esp + 0x94]
sub esi, ecx
imul eax, ecx, 0xfffffff8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], esi
add ebx, eax
mov eax, dword [esi]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x40], eax
cmp ecx, edx
sbb ecx, ecx
xor eax, eax
inc ecx
test esi, esi
sete al
test eax, ecx
je 0x6b6d99
mov eax, dword [esp + 0x40]
mov ecx, ebx
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x1c]
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x10]
add edx, eax
jmp 0x6b6cd0
mov esi, dword [esp + 0x40]
mov dword [esp + 0x24], ebx
cmp edx, dword [esp + 0x10]
ja 0x6b6de0
mov ebp, dword [esp + 0x1c]
nop dword [eax + eax]
mov ecx, ebx
mov eax, esi
and ecx, 0x1f
shl eax, cl
mov ecx, ebp
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [ecx + 3]
add edx, eax
cmp edx, dword [esp + 0x10]
jbe 0x6b6db0
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x24], ebx
cmp edx, dword [esp + 0x4c]
jae 0x6b6e28
mov ecx, ebx
and ecx, 0x1f
shl esi, cl
mov ecx, dword [esp + 0x3c]
neg ecx
and ecx, 0x1f
shr esi, cl
mov al, byte [edi + esi*4]
mov byte [edx], al
cmp byte [edi + esi*4 + 3], 1
jne 0x6b6e0d
movzx eax, byte [edi + esi*4 + 2]
add ebx, eax
jmp 0x6b6e24
cmp ebx, 0x20
jae 0x6b6e28
movzx eax, byte [edi + esi*4 + 2]
add ebx, eax
mov eax, 0x20
cmp ebx, 0x20
cmova ebx, eax
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x50]
add ecx, 0xfffffffd
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
cmp ebp, 0x20
jbe 0x6b6e4c
mov edx, 3
jmp 0x6b6ea9
cmp ebx, dword [esp + 0xac]
jb 0x6b6e63
mov eax, ebp
and ebp, 7
shr eax, 3
sub ebx, eax
xor edx, edx
jmp 0x6b6ea3
cmp ebx, dword [esp + 0xa8]
jne 0x6b6e76
cmp ebp, 0x20
sbb edx, edx
add edx, 2
jmp 0x6b6ea9
mov ecx, ebp
mov eax, ebx
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, dword [esp + 0xa8]
jae 0x6b6e98
mov ecx, ebx
mov edx, 1
sub ecx, dword [esp + 0xa8]
imul eax, ecx, 0xfffffff8
sub ebx, ecx
mov ecx, dword [esp + 0x14]
add ebp, eax
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
cmp esi, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x6b6f2a
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov eax, dword [esp + 0x34]
and ecx, 0x1f
shl eax, cl
neg edi
and edi, 0x1f
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
movzx eax, word [edx]
mov word [esi], ax
movzx esi, byte [edx + 2]
movzx eax, byte [edx + 3]
add esi, ebp
mov edx, dword [esp + 0x5c]
mov ecx, esi
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x34]
shl eax, cl
mov ecx, edi
mov edi, dword [esp + 0x18]
shr eax, cl
lea ecx, [edi + eax*4]
mov dword [esp + 0x5c], edx
movzx eax, word [ecx]
mov word [edx], ax
movzx ebp, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add ebp, esi
mov ecx, dword [esp + 0x14]
mov esi, edx
add esi, eax
mov dword [esp + 0x5c], esi
jmp 0x6b6e40
mov ecx, dword [esp + 0x6c]
add ecx, 0xfffffffe
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
nop dword [eax]
mov edx, dword [esp + 0x50]
cmp ebp, 0x20
jbe 0x6b6f53
mov dword [esp + 0x4c], 3
jmp 0x6b6fc7
cmp edx, dword [esp + 0xac]
jb 0x6b6f70
mov eax, ebp
mov dword [esp + 0x4c], 0
shr eax, 3
sub edx, eax
and ebp, 7
jmp 0x6b6fbd
cmp edx, dword [esp + 0xa8]
jne 0x6b6f87
cmp ebp, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x4c], eax
jmp 0x6b6fc7
mov ecx, ebp
mov dword [esp + 0x4c], 0
shr ecx, 3
mov eax, edx
sub eax, ecx
cmp eax, dword [esp + 0xa8]
jae 0x6b6fb2
mov ecx, edx
mov dword [esp + 0x4c], 1
sub ecx, dword [esp + 0xa8]
imul eax, ecx, 0xfffffff8
sub edx, ecx
mov ecx, dword [esp + 0x20]
add ebp, eax
mov eax, dword [edx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], edx
cmp ecx, esi
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x4c], eax
sete al
test eax, ecx
je 0x6b7008
mov eax, dword [esp + 0x34]
mov ecx, ebp
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x1c]
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add ebp, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x20]
add esi, eax
jmp 0x6b6f40
cmp esi, dword [esp + 0x20]
ja 0x6b7046
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ecx, ebp
mov eax, edx
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add ebp, eax
movzx eax, byte [ecx + 3]
add esi, eax
cmp esi, dword [esp + 0x20]
jbe 0x6b7016
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
cmp esi, dword [esp + 0x6c]
jae 0x6b708f
mov ecx, ebp
and ecx, 0x1f
shl dword [esp + 0x34], cl
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
neg ecx
and ecx, 0x1f
shr eax, cl
lea ecx, [edi + eax*4]
mov al, byte [ecx]
mov byte [esi], al
cmp byte [ecx + 3], 1
jne 0x6b7079
movzx eax, byte [ecx + 2]
add ebp, eax
jmp 0x6b708f
cmp ebp, 0x20
jae 0x6b708f
movzx eax, byte [ecx + 2]
add ebp, eax
mov eax, 0x20
cmp ebp, 0x20
cmova ebp, eax
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0xbc]
jne 0x6b70aa
cmp dword [esp + 0x28], 0x20
jne 0x6b70aa
mov edi, 1
jmp 0x6b70ac
xor edi, edi
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x80]
jne 0x6b70c7
cmp dword [esp + 0x2c], 0x20
jne 0x6b70c7
mov esi, 1
jmp 0x6b70c9
xor esi, esi
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x94]
jne 0x6b70e0
cmp ebx, 0x20
jne 0x6b70e0
lea ecx, [ebx - 0x1f]
jmp 0x6b70e2
xor ecx, ecx
cmp edx, dword [esp + 0xa8]
jne 0x6b70f5
cmp ebp, 0x20
jne 0x6b70f5
lea eax, [ebp - 0x1f]
jmp 0x6b70f7
xor eax, eax
and eax, ecx
mov ecx, 0xffffffec
and eax, esi
test edi, eax
mov eax, dword [esp + 0xcc]
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret