Function at 0x10006057
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7f0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ecx, 0x1cd
mov dword [ebp - 0x6c], 1
lea edi, [ebp - 0x7f0]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov eax, dword [ebp - 0x7e0]
shr eax, 0x10
mov esi, ecx
shl eax, 2
mov edi, ecx
mov dword [ebp - 0x78], eax
mov ebx, ecx
xor eax, eax
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov edx, ecx
mov byte [ebp - 0x9c], al
mov byte [ebp - 0xa0], al
mov eax, dword [ebp - 0x7c4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x7d4]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x54], cx
mov byte [ebp - 0xb], cl
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [ebp - 0x3c], ecx
cmp eax, 0x33
ja case.0x10005575.21
jmp dword [eax*4 + 0x1000620f]
movzx eax, word [ebp - 0x7d8]
shr eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7f0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x7ec]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x7d0]
mov dword [ebp - 0x60], eax
add eax, 2
mov dword [ebp - 0x64], eax
add eax, 0xe
mov dword [ebp - 0x8c], eax
add eax, 2
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x7cc]
mov dword [ebp - 0x74], eax
add eax, 2
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x7e8]
mov dword [ebp - 8], esi
movzx eax, word [ebp - 0x7de]
mov dword [ebp - 0x20], esi
add esi, eax
mov dword [ebp - 0x38], esi
add esi, eax
add eax, esi
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 8]
jmp case.0x10005575.0
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x2c], eax
test edx, edx
je 0x1000562a
dec edx
add eax, dword [ebp - 0x7e4]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x78]
movzx ebx, word [ebp - 0x7de]
mov dword [ebp - 0x7c], esi
lea edx, [eax + esi]
add esi, ebx
mov dword [ebp - 0x44], edx
add edx, eax
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x7e8]
add eax, edx
mov dword [ebp - 8], esi
cmp esi, eax
jb 0x10005658
mov esi, edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x7e4]
mov edx, dword [ebp - 0x60]
dec eax
mov byte [ebp - 0xa], 1
mov dword [ebp - 0x50], eax
jmp 0x1000555f
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x5c]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x7c]
shr eax, 3
mov byte [esi], al
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x68]
shr eax, 3
mov byte [esi], al
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x18]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x44]
shr eax, 3
mov byte [esi], al
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], esi
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], edx
mov edx, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x28], edx
jmp 0x100055fc
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x7c0]
mov ax, word [eax + ecx*4]
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x7c0]
mov al, byte [eax + ecx*4 + 2]
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 0xb], al
mov eax, ecx
dec ecx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x3c]
test eax, eax
je case.0x10005575.0
inc dword [ebp - 0x2c]
jmp case.0x10005575.0
mov eax, dword [ebp - 0x2c]
mov dl, byte [eax + 1]
mov cl, dl
shl dl, 6
and cl, 0xfc
add cl, cl
mov byte [ebp - 0xb], cl
mov cl, byte [eax]
mov al, cl
shr al, 2
and al, 0x38
or al, dl
shl cl, 3
mov byte [ebp - 0x54], cl
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x28]
mov byte [ebp - 0x53], al
mov eax, ecx
dec ecx
test eax, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x3c]
je 0x10005565
add dword [ebp - 0x2c], 2
jmp 0x10005565
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 1]
mov dl, cl
shl cl, 5
and dl, 0xf8
mov byte [ebp - 0xb], dl
mov dl, byte [eax]
mov al, dl
shr al, 2
and al, 0x38
or al, cl
shl dl, 3
mov byte [ebp - 0x54], dl
jmp 0x10005739
mov eax, dword [ebp - 0x2c]
mov ax, word [eax]
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + 2]
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x50]
dec dword [ebp - 0x50]
test eax, eax
je case.0x10005575.0
add dword [ebp - 0x2c], 3
jmp case.0x10005575.0
mov eax, dword [ebp - 0x2c]
mov ax, word [eax]
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + 2]
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x50]
dec dword [ebp - 0x50]
test eax, eax
je case.0x10005575.0
add dword [ebp - 0x2c], 4
jmp case.0x10005575.0
movzx edi, byte [ebp - 0xb]
xor edx, edx
movzx eax, byte [ebp - 0x53]
movzx esi, byte [ebp - 0x54]
push 7
lea eax, [edi + eax*2]
lea ecx, [esi + eax*2]
mov eax, ecx
add ecx, 3
and eax, 1
add eax, ecx
pop ecx
div ecx
movzx ecx, al
mov byte [ebp - 9], al
sub esi, ecx
mov eax, esi
sub edi, ecx
mov esi, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
sub al, 0x80
mov dword [ebp - 0x9c], eax
mov eax, edi
mov edi, dword [ebp - 0x70]
cdq
sub eax, edx
sar eax, 1
sub al, 0x80
mov dword [ebp - 0xa0], eax
jmp 0x100061fb
mov al, byte [ebp - 9]
mov byte [edx], al
jmp case.0x10005575.0
mov al, byte [ebp - 9]
mov byte [edx + 1], al
jmp case.0x10005575.0
mov al, byte [ebp - 9]
movzx eax, al
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa0]
movzx eax, al
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, al
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
add eax, 0xffff4000
add ecx, eax
jmp case.0x10005575.0
mov esi, dword [ebp - 0x94]
movzx eax, byte [ebp - 9]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x7c]
shr eax, 3
mov byte [esi], al
inc esi
mov al, byte [ebp - 9]
movzx eax, al
imul eax, eax, 3
mov dword [ebp - 0x7c], esi
mov esi, dword [ebp - 0x80]
add esi, 3
add word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x9c]
movzx eax, al
add eax, esi
mov esi, dword [ebp - 0x44]
shr eax, 3
inc dword [ebp - 0x44]
mov byte [esi], al
mov eax, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x84]
movzx eax, al
add esi, 3
imul eax, eax, 3
add word [ebp - 0x18], ax
mov eax, dword [ebp - 0xa0]
movzx eax, al
add eax, esi
mov esi, dword [ebp - 0x68]
shr eax, 3
mov byte [esi], al
inc esi
mov eax, dword [ebp - 0xa0]
movzx eax, al
imul eax, eax, 3
mov dword [ebp - 0x68], esi
add word [ebp - 0x1c], ax
jmp 0x100055fc
movzx ecx, byte [ebp - 9]
imul eax, ecx, 3
add eax, dword [ebp - 0x5c]
movzx eax, ax
mov dword [ebp - 0x94], eax
mov eax, ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x9c]
movzx ecx, al
imul eax, ecx, 3
add eax, dword [ebp - 0x18]
movzx eax, ax
mov dword [ebp - 0x80], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa0]
movzx ecx, al
imul eax, ecx, 3
add eax, dword [ebp - 0x1c]
movzx eax, ax
mov dword [ebp - 0x84], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x3c]
jmp case.0x10005575.0
mov al, byte [ebp - 0xa]
add edx, 8
xor al, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 0xa], al
test al, 1
je case.0x10005575.24
add edx, 0x10
mov dword [ebp - 0x28], edx
sub ebx, 1
mov eax, dword [ebp - 4]
je 0x10005565
jmp 0x1000587b
cmp dword [ebp - 0x40], 1
mov eax, dword [ebp - 4]
jne 0x10005565
jmp 0x1000587b
cmp dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
je 0x100059d1
mov dword [ebp - 0x14], eax
jmp 0x100059d4
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x40], 1
mov dword [ebp - 0xac], eax
jne 0x100059eb
mov eax, ebx
mov dword [ebp - 0x10], eax
jmp 0x100059ee
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb0], eax
movzx ebx, word [ebp - 0x7de]
jmp case.0x10005575.0
mov ebx, dword [ebp - 0x78]
mov eax, dword [ebp - 0xac]
mov edi, dword [ebp - 0x88]
add eax, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add eax, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
add eax, ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xb0]
add eax, ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x10], eax
jmp 0x100059f4
mov ebx, dword [ebp - 0x78]
mov eax, dword [ebp - 0xac]
mov edi, dword [ebp - 0xb4]
lea eax, [eax + ebx*2]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + ebx*2]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
lea eax, [eax + ebx*2]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xb0]
lea eax, [eax + ebx*2]
jmp 0x10005a2c
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x30]
inc ecx
movzx eax, byte [eax]
add eax, ecx
imul ecx, eax, 3
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
add ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
add ecx, eax
shr ecx, 3
inc dword [ebp - 0x10]
inc dword [ebp - 0x34]
inc dword [ebp - 0x30]
inc dword [ebp - 0x14]
mov byte [edi], cl
jmp 0x10005962
mov eax, edi
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 6
inc eax
add edi, eax
mov dword [ebp - 0x70], edi
jmp case.0x10005575.0
inc edi
jmp 0x10005aaf
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x98], edi
mov edi, eax
mov dword [ebp - 0x74], eax
jmp 0x10005aaf
mov dword [ebp - 0x88], edi
jmp case.0x10005575.0
mov dword [ebp - 0xb4], edi
jmp case.0x10005575.0
sub dword [ebp - 0x40], 1
jmp 0x10005985
movzx eax, word [ebp - 0x7d8]
mov esi, dword [ebp - 0x7ec]
shr eax, 2
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7f0]
sub esi, eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x7d0]
add eax, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7d0]
add eax, 0x14
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7cc]
add eax, 4
mov dword [ebp - 0xa4], eax
jmp 0x100055d3
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], esi
lea ebx, [eax + esi]
add eax, dword [ebp - 0x7e8]
mov dword [ebp - 0x68], ebx
movzx ebx, word [ebp - 0x7de]
add esi, ebx
mov dword [ebp - 8], esi
cmp esi, eax
jb 0x10005b79
mov esi, dword [ebp - 0x7e8]
mov dword [ebp - 8], esi
shr ebx, 1
jmp case.0x10005575.0
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x68]
shr eax, 3
mov byte [esi], al
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x18]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x44]
shr eax, 3
mov byte [esi], al
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x24], eax
jmp 0x100055fc
mov esi, dword [ebp - 0x58]
push 7
movzx eax, byte [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax + esi]
inc esi
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 0x18]
shl dword [ebp - 0x18], 2
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x24]
inc dword [ebp - 0x24]
mov byte [esi], al
mov esi, dword [ebp - 0x24]
mov al, byte [ebp - 0x1c]
shl dword [ebp - 0x1c], 2
mov byte [esi], al
pop eax
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
add eax, 0xffff4000
add ecx, eax
jmp 0x100055fc
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x44]
push 7
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x24]
mov byte [eax], cl
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x80]
add eax, 3
add eax, ecx
shr eax, 3
mov byte [esi], al
inc esi
imul eax, ecx, 3
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
mov cl, byte [ecx + eax]
movzx eax, cl
mov byte [esi], al
mov esi, dword [ebp - 0x84]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x68]
shr eax, 3
mov byte [esi], al
inc esi
movzx eax, cl
mov ecx, dword [ebp - 0x3c]
imul eax, eax, 3
mov dword [ebp - 0x68], esi
add word [ebp - 0x1c], ax
inc dword [ebp - 0x58]
pop eax
add dword [ebp - 0x24], eax
jmp 0x100055fc
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x24]
mov byte [eax], cl
inc eax
mov dword [ebp - 0x24], eax
imul eax, ecx, 3
add eax, dword [ebp - 0x18]
movzx eax, ax
mov dword [ebp - 0x80], eax
mov eax, ecx
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
movzx ecx, byte [ecx + eax]
mov eax, dword [ebp - 0x24]
mov byte [eax], cl
imul eax, ecx, 3
add eax, dword [ebp - 0x1c]
inc dword [ebp - 0x58]
add dword [ebp - 0x24], 0x17
jmp 0x10005954
cmp dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x10], esi
je 0x10005cf0
mov dword [ebp - 0x14], eax
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x40], 1
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xac], esi
jne 0x10005d08
mov dword [ebp - 0x10], ebx
jmp 0x10005d0b
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0xb0], ebx
movzx ebx, word [ebp - 0x7de]
shr ebx, 1
je 0x10005dad
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x38]
add esi, eax
mov ecx, dword [ebp - 0x34]
sub edx, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xa4], edx
movzx ecx, byte [ecx]
movzx eax, byte [eax]
inc ecx
add eax, ecx
imul ecx, eax, 3
mov eax, dword [ebp - 0x10]
push 7
movzx eax, byte [eax]
add ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
add ecx, eax
shr ecx, 3
mov byte [edi], cl
inc edi
movzx ecx, byte [edx + esi]
movzx eax, byte [esi]
inc ecx
mov edx, dword [ebp - 0x78]
add eax, ecx
imul ecx, eax, 3
mov eax, dword [ebp - 0x10]
movzx eax, byte [edx + eax]
add ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0xa4]
add ecx, eax
shr ecx, 3
mov byte [edi], cl
mov ecx, dword [ebp - 0x34]
pop eax
add edi, eax
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
inc eax
inc esi
inc ecx
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x10]
mov dword [ebp - 0x34], ecx
sub ebx, 1
jne 0x10005d36
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp - 0x38]
dec ebx
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x20], eax
jmp 0x100055f9
movzx eax, word [ebp - 0x7d8]
mov esi, dword [ebp - 0x7e8]
shr eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7d0]
mov dword [ebp - 8], esi
mov dword [ebp - 0x60], eax
lea esi, [eax + 2]
mov dword [ebp - 0x64], esi
lea esi, [eax + 0x10]
add eax, 0x12
mov dword [ebp - 0x8c], esi
mov esi, dword [ebp - 0x7e8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x7cc]
mov dword [ebp - 0x74], eax
add eax, 2
mov dword [ebp - 0x98], eax
jmp 0x100055dc
movzx ebx, word [ebp - 0x7de]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7e8]
add eax, edx
mov dword [ebp - 0x7c], esi
add esi, ebx
mov dword [ebp - 8], esi
cmp esi, eax
jb 0x10005e44
mov esi, edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x60]
mov byte [ebp - 0xa], 1
jmp 0x1000555f
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x5c]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x7c]
jmp 0x100056a8
movzx eax, byte [edx]
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x5c], eax
jmp 0x10005878
mov esi, dword [ebp - 0x94]
movzx eax, byte [edx]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x7c]
shr eax, 3
inc dword [ebp - 0x7c]
mov byte [esi], al
movzx eax, byte [edx]
imul eax, eax, 3
add word [ebp - 0x5c], ax
jmp 0x100055fc
movzx ecx, byte [edx + 1]
imul eax, ecx, 3
add eax, dword [ebp - 0x5c]
movzx eax, ax
mov dword [ebp - 0x94], eax
mov eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x10005962
cmp dword [ebp - 0x6c], 0
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
je 0x10005ee6
mov edi, eax
mov dword [ebp - 0x14], eax
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x40], 1
jne 0x10005ef3
mov dword [ebp - 0x10], ebx
movzx ebx, word [ebp - 0x7de]
test ebx, ebx
je 0x10005f4c
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x30]
inc ecx
movzx eax, byte [eax]
add eax, ecx
imul ecx, eax, 3
movzx eax, byte [esi]
add ecx, eax
movzx eax, byte [edi]
add ecx, eax
mov eax, edx
shr ecx, 3
and al, 1
inc esi
movzx eax, al
inc dword [ebp - 0x34]
inc dword [ebp - 0x30]
inc edi
neg eax
mov byte [edx], cl
sbb eax, eax
and eax, 6
inc eax
add edx, eax
sub ebx, 1
jne 0x10005f01
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x98]
dec ebx
sub dword [ebp - 0x40], 1
mov edi, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x98], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x4c], eax
jne 0x100061fe
mov eax, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
add ecx, 0xffff4000
add ecx, eax
jmp 0x100061fe
movzx eax, word [ebp - 0x7d8]
shr eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7d0]
add eax, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7d0]
add eax, 0x14
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7cc]
add eax, 4
mov dword [ebp - 0x74], eax
jmp 0x100055d3
mov eax, dword [ebp - 0x78]
movzx ebx, word [ebp - 0x7de]
mov dword [ebp - 0x44], esi
lea edx, [eax + esi]
add esi, ebx
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x7e8]
add eax, edx
mov dword [ebp - 8], esi
cmp esi, eax
jb 0x10005ff4
mov esi, edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x60]
mov byte [ebp - 0xa], 1
mov dword [ebp - 0x28], edx
jmp 0x10005b79
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x18]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x44]
shr eax, 3
mov byte [esi], al
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x68]
shr eax, 3
mov byte [esi], al
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], edx
jmp 0x100056cb
movzx eax, byte [edx]
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x18], eax
movzx eax, byte [edx + 1]
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x1c], eax
jmp 0x10005878
movzx eax, byte [edx]
mov esi, dword [ebp - 0x80]
add esi, 3
add eax, esi
mov esi, dword [ebp - 0x44]
shr eax, 3
inc dword [ebp - 0x44]
push 7
mov byte [esi], al
movzx eax, byte [edx]
mov esi, dword [ebp - 0x84]
imul eax, eax, 3
add esi, 3
add word [ebp - 0x18], ax
inc edx
movzx eax, byte [edx]
add eax, esi
mov esi, dword [ebp - 0x68]
shr eax, 3
mov byte [esi], al
inc esi
movzx eax, byte [edx]
imul eax, eax, 3
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 8]
add word [ebp - 0x1c], ax
pop eax
add edx, eax
mov al, byte [ebp - 0xa]
xor al, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 0xa], al
test al, 1
je case.0x10005575.0
add edx, 0x10
jmp 0x1000555f
movzx ecx, byte [edx]
imul eax, ecx, 3
add eax, dword [ebp - 0x18]
movzx eax, ax
mov dword [ebp - 0x80], eax
mov eax, ecx
movzx ecx, byte [edx + 1]
mov dword [ebp - 0x18], eax
jmp 0x1000594e
cmp dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x10], esi
je 0x10006103
mov dword [ebp - 0x14], eax
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x40], 1
jne 0x10006110
mov dword [ebp - 0x10], ebx
movzx ebx, word [ebp - 0x7de]
shr ebx, 1
je 0x100061a6
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x38]
add esi, eax
mov ecx, dword [ebp - 0x34]
sub edx, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x74], edx
movzx ecx, byte [ecx]
movzx eax, byte [eax]
inc ecx
add eax, ecx
imul ecx, eax, 3
mov eax, dword [ebp - 0x10]
push 7
movzx eax, byte [eax]
add ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
add ecx, eax
shr ecx, 3
mov byte [edi], cl
inc edi
movzx ecx, byte [esi + edx]
movzx eax, byte [esi]
inc ecx
mov edx, dword [ebp - 0x78]
add eax, ecx
imul ecx, eax, 3
mov eax, dword [ebp - 0x10]
movzx eax, byte [edx + eax]
add ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0x74]
add ecx, eax
shr ecx, 3
mov byte [edi], cl
mov ecx, dword [ebp - 0x34]
pop eax
add edi, eax
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
inc eax
inc esi
inc ecx
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x10]
mov dword [ebp - 0x34], ecx
sub ebx, 1
jne 0x10006132
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp - 0x48]
dec ebx
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
dec dword [ebp - 0x40]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x74], edi
test eax, eax
jne case.0x10005575.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
add ecx, 0xffff4000
jmp 0x10005883
mov eax, dword [ebp - 4]
test dword [eax + ecx*4 - 4], 0x8000
jne 0x10005565
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_DebugBreak]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
jmp case.0x10005575.0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret