Function at 0x6aad30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
sub esp, 0xac
mov eax, dword [eax]
mov dword [ebp - 0x84], ecx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x78], esp
cmp dword [eax + 0x220], 1
sbb edx, edx
add edx, 3
cmp dword [eax + 0x220], 1
mov dword [ebp - 0x74], edx
sbb edx, edx
add edx, 3
cmp dword [eax + 0x220], 1
mov eax, dword [ebp - 0x84]
sbb ecx, ecx
and ecx, 0xfffffffc
lea eax, [eax + eax + 0xc]
add ecx, 0xc
imul edx, eax
mov dword [ebp - 0x80], eax
lea eax, [edx + 0x1e]
and eax, 0xfffffff0
call fcn.00aa20e0
lea eax, [esp + 0x1b]
and eax, 0xfffffff0
mov dword [ebp - 0x88], eax
lea eax, [ecx + 0x1e]
and eax, 0xfffffff0
call fcn.00aa20e0
lea ecx, [esp + 0x1b]
and ecx, 0xfffffff0
mov dword [ebp - 0x8c], ecx
mov dword [esi + 0xd70], 0
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
test eax, eax
jle 0x6abb4f
mov ecx, dword [ebp - 0x84]
shl ebx, 4
mov edx, dword [ebp - 0x84]
add ebx, esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x9c], ebx
shl ecx, 2
mov eax, ecx
add edx, edx
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x90], ecx
shl eax, 2
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x74]
xor ecx, ecx
test edi, edi
jle 0x6aae5b
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x8c]
add edx, ecx
mov eax, edx
sar edx, 0x1f
idiv dword [ebp - 0x74]
imul edx, dword [ebp - 0x80]
lea eax, [ebx + edx + 6]
mov dword [edi + ecx*4], eax
add ecx, 1
cmp ecx, dword [ebp - 0x74]
jne 0x6aae2f
mov eax, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
movzx edx, word [eax]
mov word [ecx - 2], dx
movzx edx, word [eax + ebx - 2]
mov word [eax + ebx], dx
mov eax, dword [ebp - 0x84]
test eax, eax
jle 0x6aae9b
mov edi, dword [ebp - 0x10]
xor edx, edx
movzx eax, byte [edx + edi]
mov word [ecx + edx*2], ax
add edx, 1
cmp edx, dword [ebp - 0x84]
jne 0x6aae88
mov edx, dword [esi + 0x32c]
mov eax, dword [esi + 0xd70]
test edx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x18], edx
je 0x6abbe8
mov eax, dword [esi + 0x21c]
sub eax, dword [esi + 0x218]
cmp eax, dword [ebp - 0x94]
jl 0x6abc1d
mov eax, dword [ebp - 0x84]
test eax, eax
jle 0x6abb36
mov ecx, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], 0
add ecx, 8
add ebx, 4
mov edi, ecx
mov dword [ebp - 0x20], ecx
mov edx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x5c]
mov edi, dword [edi]
mov ebx, dword [ebp - 0x8c]
add ecx, ecx
mov dword [ebp - 0x54], edi
mov eax, ecx
mov edi, dword [ebx]
add eax, dword [edx]
movsx edx, word [eax - 2]
add edi, ecx
movsx ebx, word [eax]
movsx eax, word [eax + 2]
cmp word [esi + 0xa6e], 0
mov dword [ebp - 0x50], edi
movsx edi, word [edi - 2]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
je 0x6ab5be
mov eax, edi
sub eax, edx
and eax, 0xff
movsx edx, word [esi + eax*2 + 0x370]
mov eax, dword [ebp - 0x48]
sub eax, ebx
and eax, 0xff
movsx eax, word [esi + eax*2 + 0x570]
add edx, eax
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0x54]
movsx eax, word [edx + ecx]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x50]
sub eax, ebx
and eax, 0xff
movsx eax, word [esi + eax*2 + 0xb70]
add edx, eax
mov eax, ebx
sub eax, dword [ebp - 0x4c]
and eax, 0xff
movsx eax, word [esi + eax*2 + 0x770]
add edx, eax
movsx eax, word [ecx - 4]
sub eax, edi
and eax, 0xff
movsx eax, word [esi + eax*2 + 0x970]
add edx, eax
mov eax, ecx
mov dword [ebp - 0x6c], edx
movzx edx, word [eax]
lea eax, [edi + ebx]
sub eax, dword [ebp - 0x48]
cmp edi, eax
jle 0x6ab34c
cmp ebx, eax
jle 0x6aafe3
cmp edi, ebx
mov eax, edi
jg 0x6ab35e
movsx edx, dx
sub edx, eax
mov eax, dword [ebp - 0x6c]
test eax, eax
js 0x6ab370
mov edi, dword [ebp - 0x18]
mov eax, edx
movsx edx, dl
mov dword [ebp - 0x3c], edx
test edi, edi
je 0x6ab388
mov ebx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x6c]
mov ebx, dword [ebx + 0x334]
shl ecx, 5
add ecx, ebx
test al, al
mov dword [ebp - 0x58], ecx
je 0x6ab921
mov eax, edx
sar eax, 0x1f
xor edx, eax
sub edx, eax
mov eax, edx
mov dword [ebp - 0x44], edx
xor edx, edx
test eax, 0xffff0000
je 0x6ab041
shr eax, 0x10
mov dl, 0x10
test ax, 0xff00
je 0x6ab04d
shr eax, 8
add edx, 8
movzx eax, byte [eax + 0xbccde0]
mov edi, dword [ebp - 0x58]
add eax, edx
mov edx, dword [esi + 8]
mov dword [ebp - 0x40], eax
movzx eax, byte [edi]
imul eax, edx
sar eax, 8
sub edx, eax
mov dword [esi + 8], edx
movzx eax, byte [edi]
movzx eax, byte [esi + eax + 0x14]
mov byte [edi], al
cmp dword [esi + 8], 0xff
jg 0x6ab0ef
mov edx, dword [esi + 0x10]
test edx, edx
js 0x6ab0cc
mov eax, dword [esi + 4]
cmp eax, 0xff00
jg 0x6ab56d
mov eax, dword [esi + 0x218]
mov byte [eax], dl
mov ebx, dword [esi + 0xc]
add eax, 1
mov dword [esi + 0x218], eax
test ebx, ebx
je 0x6ab0cc
mov eax, dword [esi + 0x218]
mov byte [eax], 0xff
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab0ad
mov eax, dword [esi + 4]
sar eax, 8
mov dword [esi + 0x10], eax
movzx eax, byte [esi + 4]
shl eax, 8
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
shl eax, 8
cmp eax, 0xff
mov dword [esi + 8], eax
jle 0x6ab080
mov edx, dword [ebp - 0x40]
test edx, edx
jle 0x6abc3c
mov ecx, dword [ebp - 0x58]
xor ebx, ebx
add ecx, 1
mov edi, dword [ebp - 0x58]
mov eax, dword [esi + 8]
movzx edx, byte [ebx + edi + 1]
imul edx, eax
add eax, dword [esi + 4]
sar edx, 8
sub eax, edx
mov dword [esi + 8], edx
mov dword [esi + 4], eax
movzx eax, byte [ebx + edi + 1]
movzx eax, byte [esi + eax + 0x114]
mov byte [ebx + edi + 1], al
cmp dword [esi + 8], 0xff
jg 0x6ab1a7
mov edx, dword [esi + 0x10]
test edx, edx
js 0x6ab184
mov eax, dword [esi + 4]
cmp eax, 0xff00
jg 0x6ab48b
mov eax, dword [esi + 0x218]
mov byte [eax], dl
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6ab184
mov eax, dword [esi + 0x218]
mov byte [eax], 0xff
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab165
mov eax, dword [esi + 4]
sar eax, 8
mov dword [esi + 0x10], eax
movzx eax, byte [esi + 4]
shl eax, 8
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
shl eax, 8
cmp eax, 0xff
mov dword [esi + 8], eax
jle 0x6ab138
add ebx, 1
cmp ebx, dword [ebp - 0x40]
jne 0x6ab102
mov eax, dword [ebp - 0x40]
lea ecx, [eax + ecx]
mov edx, dword [esi + 8]
movzx eax, byte [ecx]
imul eax, edx
sar eax, 8
sub edx, eax
mov dword [esi + 8], edx
movzx eax, byte [ecx]
movzx eax, byte [esi + eax + 0x14]
mov byte [ecx], al
mov eax, dword [esi + 8]
cmp eax, 0xff
mov dword [ebp - 0xa0], eax
jg 0x6ab25a
mov edx, dword [esi + 0x10]
test edx, edx
js 0x6ab230
mov eax, dword [esi + 4]
cmp eax, 0xff00
jg 0x6ab51c
mov eax, dword [esi + 0x218]
mov byte [eax], dl
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6ab230
mov eax, dword [esi + 0x218]
mov byte [eax], 0xff
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab211
mov eax, dword [esi + 4]
sar eax, 8
mov dword [esi + 0x10], eax
mov edx, dword [esi + 8]
movzx eax, byte [esi + 4]
shl edx, 8
shl eax, 8
cmp edx, 0xff
mov dword [esi + 4], eax
mov dword [ebp - 0xa0], edx
mov dword [esi + 8], edx
jle 0x6ab1e4
mov edi, dword [ebp - 0x40]
sub edi, 1
js 0x6ab614
mov ebx, dword [ebp - 0x58]
mov edx, dword [ebp - 0xa0]
add ebx, dword [ebp - 0x40]
movzx eax, byte [ebx + 0x15]
mov ecx, edi
imul edx, eax
mov eax, dword [ebp - 0x44]
sar eax, cl
sar edx, 8
test al, 1
jne 0x6ab4ed
sub dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [esi + 8], eax
movzx eax, byte [ebx + 0x15]
movzx eax, byte [esi + eax + 0x14]
mov byte [ebx + 0x15], al
mov edx, dword [esi + 8]
cmp edx, 0xff
mov dword [ebp - 0xa0], edx
jg 0x6ab32d
mov edx, dword [esi + 0x10]
test edx, edx
js 0x6ab303
mov eax, dword [esi + 4]
cmp eax, 0xff00
jg 0x6ab437
mov eax, dword [esi + 0x218]
mov byte [eax], dl
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6ab303
mov eax, dword [esi + 0x218]
mov byte [eax], 0xff
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab2e4
mov eax, dword [esi + 4]
sar eax, 8
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 8]
movzx eax, byte [esi + 4]
shl ecx, 8
shl eax, 8
cmp ecx, 0xff
mov dword [esi + 4], eax
mov dword [ebp - 0xa0], ecx
mov dword [esi + 8], ecx
jle 0x6ab2b7
sub edi, 1
sub ebx, 1
cmp edi, 0xffffffff
je 0x6ab614
mov eax, dword [esi + 8]
mov edx, eax
mov dword [ebp - 0xa0], eax
jmp 0x6ab272
cmp ebx, eax
jge 0x6aafe3
cmp edi, ebx
mov eax, edi
jge 0x6aafe3
mov eax, ebx
movsx edx, dx
sub edx, eax
mov eax, dword [ebp - 0x6c]
test eax, eax
jns 0x6aaff3
mov edi, dword [ebp - 0x18]
neg edx
neg dword [ebp - 0x6c]
mov eax, edx
movsx edx, dl
mov dword [ebp - 0x3c], edx
test edi, edi
jne 0x6ab006
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
jne 0x6ab744
mov dword [ebp - 0x68], 1
test al, al
je 0x6aba6c
mov eax, dword [ebp - 0x60]
movzx ecx, byte [eax + 0xb4c3e0]
mov eax, 1
shl eax, cl
cmp dword [ebp - 0x64], eax
jl 0x6aba12
mov edi, dword [ebp - 0x60]
add edi, 0xb4c3e0
jmp 0x6ab3f3
lea eax, [edx + edx]
or eax, 1
lea edx, [ebx - 1]
movzx ecx, byte [edi + 1]
add edi, 1
mov dword [esi + 0x230], eax
mov eax, 1
mov dword [esi + 0x234], edx
shl eax, cl
cmp eax, dword [ebp - 0x64]
jg 0x6aba12
mov ebx, dword [esi + 0x234]
sub dword [ebp - 0x64], eax
add dword [ebp - 0x60], 1
mov edx, dword [esi + 0x230]
cmp ebx, 1
jg 0x6ab3c7
mov eax, 1
mov ecx, eax
sub ecx, ebx
shr eax, cl
mov ecx, ebx
shl edx, cl
or eax, edx
mov edx, dword [esi + 0x23c]
add dword [esi + 0x23c], 4
bswap eax
mov dword [edx], eax
lea edx, [ebx + 0x1f]
mov eax, 1
jmp 0x6ab3d0
cmp eax, 0xffff
jle 0x6ab4e4
mov eax, dword [esi + 0x218]
add edx, 1
mov byte [eax], dl
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6ab47f
lea esi, [esi]
mov eax, dword [esi + 0x218]
mov byte [eax], 0
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab460
movzx eax, byte [esi + 5]
mov dword [esi + 0x10], eax
jmp 0x6ab30c
cmp eax, 0xffff
jle 0x6ab4db
mov eax, dword [esi + 0x218]
add edx, 1
mov byte [eax], dl
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6ab4cf
lea esi, [esi]
mov eax, dword [esi + 0x218]
mov byte [eax], 0
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab4b0
movzx eax, byte [esi + 5]
mov dword [esi + 0x10], eax
jmp 0x6ab18d
add dword [esi + 0xc], 1
jmp 0x6ab18d
add dword [esi + 0xc], 1
jmp 0x6ab30c
mov ecx, dword [esi + 4]
add dword [ebp - 0xa0], ecx
sub dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [esi + 8], edx
mov dword [esi + 4], eax
movzx eax, byte [ebx + 0x15]
movzx eax, byte [esi + eax + 0x114]
mov byte [ebx + 0x15], al
jmp 0x6ab2a6
cmp eax, 0xffff
jle 0x6ab60b
mov eax, dword [esi + 0x218]
add edx, 1
mov byte [eax], dl
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6ab561
mov eax, dword [esi + 0x218]
mov byte [eax], 0
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab542
movzx eax, byte [esi + 5]
mov dword [esi + 0x10], eax
jmp 0x6ab239
cmp eax, 0xffff
jle 0x6ab602
mov eax, dword [esi + 0x218]
add edx, 1
mov byte [eax], dl
mov ecx, dword [esi + 0xc]
add eax, 1
mov dword [esi + 0x218], eax
test ecx, ecx
je 0x6ab5b2
mov eax, dword [esi + 0x218]
mov byte [eax], 0
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab593
movzx eax, byte [esi + 5]
mov dword [esi + 0x10], eax
jmp 0x6ab0d5
mov eax, edx
sub eax, ebx
and eax, 0xff
movsx edx, word [esi + eax*2 + 0x570]
mov eax, edi
sub eax, dword [ebp - 0x48]
and eax, 0xff
movsx eax, word [esi + eax*2 + 0x370]
add edx, eax
mov eax, ebx
sub eax, dword [ebp - 0x4c]
and eax, 0xff
movsx eax, word [esi + eax*2 + 0x770]
add edx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x6c], edx
jmp 0x6aafc4
add dword [esi + 0xc], 1
jmp 0x6ab0d5
add dword [esi + 0xc], 1
jmp 0x6ab239
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x58]
lea edx, [ecx + ebx + 0xb]
mov ecx, dword [ebp - 0x3c]
movzx eax, byte [edx]
imul eax, dword [ebp - 0xa0]
sar eax, 8
test ecx, ecx
js 0x6abad8
sub dword [ebp - 0xa0], eax
mov edi, dword [ebp - 0xa0]
mov dword [esi + 8], edi
movzx eax, byte [edx]
movzx eax, byte [esi + eax + 0x14]
mov byte [edx], al
cmp dword [esi + 8], 0xff
jg 0x6ab6c7
mov edx, dword [esi + 0x10]
test edx, edx
js 0x6ab6a4
mov eax, dword [esi + 4]
cmp eax, 0xff00
jg 0x6ab6ee
mov eax, dword [esi + 0x218]
mov byte [eax], dl
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6ab6a4
mov eax, dword [esi + 0x218]
mov byte [eax], 0xff
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab685
mov eax, dword [esi + 4]
sar eax, 8
mov dword [esi + 0x10], eax
movzx eax, byte [esi + 4]
shl eax, 8
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
shl eax, 8
cmp eax, 0xff
mov dword [esi + 8], eax
jle 0x6ab658
add dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x84]
cmp dword [ebp - 0x5c], edx
je 0x6ab882
mov ecx, dword [esi + 0x32c]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jmp 0x6aaf0c
cmp eax, 0xffff
jle 0x6ab73b
mov eax, dword [esi + 0x218]
add edx, 1
mov byte [eax], dl
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6ab72f
mov eax, dword [esi + 0x218]
mov byte [eax], 0
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab710
movzx eax, byte [esi + 5]
mov dword [esi + 0x10], eax
jmp 0x6ab6ad
add dword [esi + 0xc], 1
jmp 0x6ab6ad
mov edx, dword [ebp - 0x68]
test edx, edx
jne 0x6ab39a
mov edi, dword [ebp - 0x6c]
xor ecx, ecx
lea eax, [edi + edi*2]
lea edi, [eax + eax]
mov eax, dword [ebp - 0x9c]
add edi, dword [eax + 0x338]
movzx eax, byte [ebp - 0x3c]
sub al, byte [edi + 4]
movzx edx, word [edi + 2]
movsx eax, al
mov dword [ebp - 0x28], eax
movzx ebx, byte [edi + 5]
cmp ebx, edx
jge 0x6ab78a
mov eax, ebx
add eax, eax
add ecx, 1
cmp eax, edx
jl 0x6ab781
movsx edx, word [edi]
lea eax, [ebx + edx*2]
sar eax, 0x1f
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x98], edx
add eax, eax
not eax
mov ebx, eax
sar ebx, 0x1f
xor ebx, eax
mov eax, ebx
sar eax, cl
cmp eax, 0xb
mov dword [ebp - 0x2c], eax
jg 0x6aba75
mov edx, 1
shl edx, cl
lea eax, [edx - 1]
and eax, ebx
mov ebx, dword [esi + 0x234]
add eax, edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
lea ecx, [edx + ecx + 1]
mov edx, dword [esi + 0x230]
cmp ecx, ebx
mov dword [ebp - 0x30], ecx
jge 0x6abbc2
shl edx, cl
or eax, edx
mov dword [ebp - 0x34], eax
mov eax, ebx
sub eax, ecx
mov ebx, dword [ebp - 0x34]
mov dword [esi + 0x234], eax
mov dword [esi + 0x230], ebx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
movzx ecx, byte [edi + 5]
sar edx, 0x1f
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0x28]
movzx ebx, cl
add ax, word [edi + 2]
add edx, dword [ebp - 0x98]
cmp cl, 0x80
mov word [edi + 2], ax
je 0x6abb87
lea ecx, [ebx + 1]
mov eax, ecx
neg eax
cmp edx, eax
mov dword [ebp - 0x24], eax
jg 0x6abaad
movzx eax, byte [edi + 4]
cmp al, 0x80
je 0x6ab84e
sub eax, 1
mov byte [edi + 4], al
lea eax, [ecx + edx]
cmp dword [ebp - 0x24], eax
mov ebx, eax
jl 0x6ab862
mov eax, 1
mov ebx, eax
sub bx, cx
mov byte [edi + 5], cl
mov edx, dword [ebp - 0x84]
add dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], edx
mov word [edi], bx
mov dword [ebp - 0x68], 0
jne 0x6ab6da
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x6abb36
mov ebx, dword [ebp - 0x60]
mov eax, 1
movzx ecx, byte [ebx + 0xb4c3e0]
shl eax, cl
cmp dword [ebp - 0x64], eax
jl 0x6abb05
mov edi, ebx
add edi, 0xb4c3e0
jmp 0x6ab8dd
lea eax, [edx + edx]
or eax, 1
lea edx, [ebx - 1]
movzx ecx, byte [edi + 1]
add edi, 1
mov dword [esi + 0x230], eax
mov eax, 1
mov dword [esi + 0x234], edx
shl eax, cl
cmp eax, dword [ebp - 0x64]
jg 0x6abb05
mov ebx, dword [esi + 0x234]
sub dword [ebp - 0x64], eax
add dword [ebp - 0x60], 1
mov edx, dword [esi + 0x230]
cmp ebx, 1
jg 0x6ab8b1
mov eax, 1
mov ecx, eax
sub ecx, ebx
shr eax, cl
mov ecx, ebx
shl edx, cl
or eax, edx
mov edx, dword [esi + 0x23c]
add dword [esi + 0x23c], 4
bswap eax
mov dword [edx], eax
lea edx, [ebx + 0x1f]
mov eax, 1
jmp 0x6ab8ba
mov eax, dword [esi + 8]
movzx edx, byte [ecx]
imul edx, eax
add eax, dword [esi + 4]
sar edx, 8
sub eax, edx
mov dword [esi + 8], edx
mov dword [esi + 4], eax
movzx eax, byte [ecx]
movzx eax, byte [esi + eax + 0x114]
mov byte [ecx], al
cmp dword [esi + 8], 0xff
jg 0x6ab6c7
mov edx, dword [esi + 0x10]
test edx, edx
js 0x6ab99a
mov eax, dword [esi + 4]
cmp eax, 0xff00
jg 0x6ab9c2
mov eax, dword [esi + 0x218]
mov byte [eax], dl
mov edi, dword [esi + 0xc]
add eax, 1
mov dword [esi + 0x218], eax
test edi, edi
je 0x6ab99a
mov eax, dword [esi + 0x218]
mov byte [eax], 0xff
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab97b
mov eax, dword [esi + 4]
sar eax, 8
mov dword [esi + 0x10], eax
movzx eax, byte [esi + 4]
shl eax, 8
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
shl eax, 8
cmp eax, 0xff
mov dword [esi + 8], eax
jle 0x6ab952
jmp 0x6ab6c7
cmp eax, 0xffff
jle 0x6aba0c
mov eax, dword [esi + 0x218]
add edx, 1
mov byte [eax], dl
mov ebx, dword [esi + 0xc]
add eax, 1
mov dword [esi + 0x218], eax
test ebx, ebx
je 0x6aba03
mov eax, dword [esi + 0x218]
mov byte [eax], 0
add eax, 1
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0xc]
sub eax, 1
test eax, eax
mov dword [esi + 0xc], eax
jne 0x6ab9e4
movzx eax, byte [esi + 5]
mov dword [esi + 0x10], eax
jmp 0x6ab9a3
add dword [esi + 0xc], 1
jmp 0x6ab9a3
mov ebx, dword [ebp - 0x64]
lea edi, [ecx + 1]
mov edx, dword [esi + 0x230]
mov dword [ebp - 0x70], ebx
mov ebx, dword [esi + 0x234]
cmp edi, ebx
jge 0x6abb5a
mov eax, dword [ebp - 0x64]
mov ecx, edi
shl edx, cl
or edx, eax
mov eax, ebx
mov dword [ebp - 0x70], edx
sub eax, edi
mov ebx, edx
mov dword [esi + 0x234], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x60], 1
adc dword [ebp - 0x60], 0xffffffff
test eax, eax
mov dword [esi + 0x230], ebx
jle 0x6aba60
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x64], 0
jmp 0x6ab74f
add dword [ebp - 0x64], 1
jmp 0x6ab6c7
sub ebx, 0xb
mov edx, dword [esi + 0x230]
mov dword [ebp - 0x38], ebx
mov ebx, dword [esi + 0x234]
cmp ebx, 0x14
jle 0x6abb97
shl edx, 0x14
or dword [ebp - 0x38], edx
lea eax, [ebx - 0x14]
mov ebx, dword [ebp - 0x38]
mov dword [esi + 0x234], eax
mov dword [esi + 0x230], ebx
jmp 0x6ab800
test edx, edx
mov ebx, edx
jle 0x6ab862
movzx eax, byte [edi + 4]
cmp al, 0x7f
je 0x6abac5
add eax, 1
mov byte [edi + 4], al
sub edx, ecx
xor eax, eax
test edx, edx
setg al
lea ebx, [eax - 1]
and ebx, edx
jmp 0x6ab862
mov ecx, dword [esi + 4]
add dword [ebp - 0xa0], ecx
sub dword [ebp - 0xa0], eax
mov ebx, dword [ebp - 0xa0]
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
movzx eax, byte [edx]
movzx eax, byte [esi + eax + 0x114]
mov byte [edx], al
jmp 0x6ab64f
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x6abb36
mov ebx, dword [esi + 0x234]
mov edx, dword [esi + 0x230]
cmp ebx, 1
jle 0x6abc49
lea eax, [edx + edx]
or eax, 1
lea edx, [ebx - 1]
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], edx
mov ebx, dword [ebp - 0x60]
mov dword [esi + 0xd70], ebx
mov edi, dword [ebp + 0xc]
add dword [ebp - 0x10], edi
sub dword [ebp - 0x14], 1
jne 0x6aae26
mov esp, dword [ebp - 0x78]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x64]
mov ecx, edi
sub ecx, ebx
shr eax, cl
mov ecx, ebx
shl edx, cl
or eax, edx
mov edx, dword [esi + 0x23c]
bswap eax
add dword [esi + 0x23c], 4
mov dword [edx], eax
lea eax, [ebx + 0x20]
mov ebx, dword [ebp - 0x70]
sub eax, edi
jmp 0x6aba41
shr ax, 1
sar ebx, 1
sar edx, 1
mov word [edi + 2], ax
jmp 0x6ab82e
mov eax, dword [ebp - 0x38]
mov ecx, 0x14
sub ecx, ebx
shr eax, cl
mov ecx, ebx
shl edx, cl
or eax, edx
mov edx, dword [esi + 0x23c]
add dword [esi + 0x23c], 4
bswap eax
mov dword [edx], eax
lea eax, [ebx + 0xc]
jmp 0x6aba99
sub ecx, ebx
shr eax, cl
mov ecx, ebx
shl edx, cl
or eax, edx
mov edx, dword [esi + 0x23c]
add dword [esi + 0x23c], 4
bswap eax
mov dword [edx], eax
lea eax, [ebx + 0x20]
sub eax, dword [ebp - 0x30]
jmp 0x6ab7f1
mov ebx, dword [esi + 0x238]
mov edx, 0x20
mov eax, dword [esi + 0x23c]
sub edx, dword [esi + 0x234]
mov ecx, dword [esi + 0x240]
sub eax, ebx
lea eax, [edx + eax*8]
sub ecx, ebx
sar eax, 3
sub ecx, eax
cmp ecx, dword [ebp - 0x90]
jge 0x6aaecd
mov dword [esp + 8], 0xb4c3a8
mov dword [esp + 4], 0
mov eax, dword [esi]
mov dword [esp], eax
call fcn.0090e610
jmp 0x6abb3f
mov ecx, dword [ebp - 0x58]
xor eax, eax
add ecx, 1
jmp 0x6ab1b6
mov eax, 1
mov ecx, eax
sub ecx, ebx
shr eax, cl
mov ecx, ebx
shl edx, cl
or eax, edx
mov edx, dword [esi + 0x23c]
add dword [esi + 0x23c], 4
bswap eax
mov dword [edx], eax
lea edx, [ebx + 0x1f]
mov eax, 1
jmp 0x6abb2a