Function at 0x10036630
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push edi
push esi
sub esp, 0xd8
mov eax, dword [esp + 0xec]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xd0], ecx
add eax, 0x13
mov dword [esp + 0xd4], eax
mov eax, dword [0x1005e328]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
add eax, 0x1a2da670
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc4]
mov eax, dword [eax]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc0]
cmp eax, 1
sete al
mov byte [esp + 0xbf], al
mov cl, byte [esp + 0xbf]
xor eax, eax
test cl, 1
mov dword [esp + 0xb8], eax
jne 0x100368f3
jmp 0x100366c0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xd0]
mov esi, dword [esp + 0xcc]
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xb0], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xb7], dl
mov edi, 0x13
xor edx, edx
div edi
mov eax, dword [esp + 0xb0]
mov edi, edx
mov dh, byte [esp + 0xb7]
mov bl, byte [esi + edi]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
add eax, 0xe2803900
add eax, 1
sub eax, 0xe2803900
cmp eax, 0x11
mov dword [esp + 0xb8], eax
jne 0x100366c0
mov eax, dword [0x1005fce0]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [0x1005fcdc]
mov dword [esp + 0xa4], ecx
sub eax, 0x8b7a56da
sub eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa8]
add eax, 0x8b7a56da
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0xac]
imul eax, ecx
and eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x9c]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x9b], al
mov al, byte [esp + 0x9b]
test al, 1
jne 0x100367d3
jmp 0x10036c46
mov eax, dword [0x1005e328]
mov dword [eax + 0x1a2da670], 1
mov eax, dword [0x1005fce0]
mov dword [esp + 0x8c], eax
mov ecx, dword [0x1005fcdc]
mov dword [esp + 0x90], ecx
add eax, 0x828a550b
sub eax, 1
sub eax, 0x828a550b
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x86], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x87], cl
xor al, 0xff
mov byte [esp + 0x88], al
xor cl, 0xff
mov byte [esp + 0x89], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x8a], cl
and al, 0
mov byte [esp + 0x8b], al
mov cl, byte [esp + 0x89]
mov al, byte [esp + 0x88]
mov dl, byte [esp + 0x8b]
mov bl, byte [esp + 0x8a]
mov ch, byte [esp + 0x87]
mov dh, byte [esp + 0x86]
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x84], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x85], al
mov al, byte [esp + 0x84]
mov cl, byte [esp + 0x85]
mov dl, byte [esp + 0x8a]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x83], al
mov al, byte [esp + 0x83]
test al, 1
jne 0x100368ee
jmp 0x10036c46
jmp 0x100368f3
mov eax, dword [0x1005fce0]
mov dword [esp + 0x78], eax
mov eax, dword [0x1005fcdc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x78]
add eax, 0xa20d9fd1
sub eax, 1
sub eax, 0xa20d9fd1
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
imul eax, ecx
and eax, 1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
cmp eax, 0
sete al
mov byte [esp + 0x6f], al
mov eax, dword [esp + 0x7c]
cmp eax, 0xa
setl al
mov byte [esp + 0x6e], al
mov dl, byte [esp + 0x6e]
mov cl, byte [esp + 0x6f]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x10036965
jmp 0x10036c41
mov eax, dword [0x1005fce0]
mov dword [esp + 0x64], eax
mov eax, dword [0x1005fcdc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
add eax, 0x730576b4
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
sub eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
sub ecx, 0x730576b4
imul eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x57], al
mov al, byte [esp + 0x57]
test al, 1
jne 0x100369d8
jmp 0x10036c41
mov eax, dword [0x1005fce0]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [0x1005fcdc]
mov dword [esp + 0x48], ecx
sub eax, 0x9e103d1d
sub eax, 1
add eax, 0x9e103d1d
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
imul eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
and eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x3f], al
mov al, byte [esp + 0x3f]
test al, 1
jne 0x10036a4b
jmp 0x10036c69
mov eax, dword [0x1005fce0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [0x1005fcdc]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x32], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x33], cl
xor al, 0xff
mov byte [esp + 0x34], al
xor cl, 0xff
mov byte [esp + 0x35], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x36], cl
and al, 0
mov byte [esp + 0x37], al
mov cl, byte [esp + 0x36]
mov al, byte [esp + 0x32]
and al, cl
mov byte [esp + 0x31], al
mov al, byte [esp + 0x36]
mov dl, byte [esp + 0x35]
mov cl, byte [esp + 0x34]
mov bl, byte [esp + 0x31]
mov ah, byte [esp + 0x37]
mov dh, byte [esp + 0x33]
mov ch, dl
and ch, 0
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x2e], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x2f], cl
or al, 0
mov byte [esp + 0x30], al
mov al, byte [esp + 0x2e]
mov dl, byte [esp + 0x30]
mov cl, byte [esp + 0x2f]
and cl, dl
or al, cl
mov byte [esp + 0x2d], al
mov al, byte [esp + 0x2d]
test al, 1
jne 0x10036b08
jmp 0x10036c69
mov eax, dword [0x1005fce0]
mov dword [esp + 0x28], eax
mov eax, dword [0x1005fcdc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, eax
add edx, 0xd3a0d62e
sub edx, 1
sub edx, 0xd3a0d62e
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x21], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x22], cl
xor al, 0xff
mov byte [esp + 0x23], al
mov al, byte [esp + 0x22]
xor al, 0xff
mov byte [esp + 0x20], al
mov cl, byte [esp + 0x20]
mov al, byte [esp + 0x23]
mov ch, byte [esp + 0x22]
mov dh, byte [esp + 0x21]
mov bl, 1
xor bl, 1
mov byte [esp + 0x1d], bl
mov dl, al
and dl, 0xff
and dh, bl
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x1e], dl
or al, cl
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x1e]
mov dl, byte [esp + 0x1d]
mov cl, byte [esp + 0x1f]
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10036bb7
jmp 0x10036c3c
mov eax, dword [0x1005fce0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [0x1005fcdc]
mov dword [esp + 0x10], ecx
add eax, 0xf44f96c
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
sub eax, 1
sub eax, 0xf44f96c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xa], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xb], al
mov dl, byte [esp + 0xb]
mov cl, byte [esp + 0xa]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 9], al
mov al, byte [esp + 9]
test al, 1
jne 0x10036c32
jmp 0x10036c3c
add esp, 0xd8
pop esi
pop edi
pop ebx
ret
jmp 0x10036bb7
jmp 0x10036965
mov eax, dword [0x1005e328]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x1a2da670
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x100367d3
jmp 0x10036a4b