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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc8
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xc0], eax
mov eax, dword [0x10060bd8]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xc4]
mov eax, dword [0x10060bd4]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xba], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xbb], al
mov cl, byte [esp + 0xbb]
mov ah, byte [esp + 0xba]
mov dl, ah
xor dl, 0xff
mov byte [esp + 0xb5], dl
mov al, cl
xor al, 0xff
mov byte [esp + 0xb6], al
mov ch, 1
xor ch, 0
mov byte [esp + 0xb7], ch
and dl, 0
and ah, ch
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0xb8], dl
or al, cl
mov byte [esp + 0xb9], al
mov dl, byte [esp + 0xb7]
mov ah, byte [esp + 0xb6]
mov cl, byte [esp + 0xb5]
mov ch, byte [esp + 0xb9]
mov al, byte [esp + 0xb8]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0xb4], al
mov al, byte [esp + 0xb4]
test al, 1
jne 0x1004970e
jmp 0x10049bbe
mov eax, dword [esp + 0xbc]
add eax, 0x1a
mov dword [esp + 0xb0], eax
mov eax, dword [0x1005f3ac]
add eax, 0x4f77744
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xac]
cmp dword [eax], 1
sete al
mov byte [esp + 0xab], al
mov eax, dword [0x10060bd8]
mov dword [esp + 0x9c], eax
mov eax, dword [0x10060bd4]
mov dword [esp + 0xa0], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x9c]
add eax, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
imul ecx, edx
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
test al, 1
jne 0x100497bb
jmp 0x10049bbe
mov eax, dword [0x10060bd8]
mov dword [esp + 0x8c], eax
mov eax, dword [0x10060bd4]
mov dword [esp + 0x90], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x8b], al
mov al, byte [esp + 0x8b]
mov ecx, dword [esp + 0x90]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x89], cl
and al, cl
mov byte [esp + 0x8a], al
mov cl, byte [esp + 0x89]
mov al, byte [esp + 0x8b]
xor al, cl
mov byte [esp + 0x88], al
mov cl, byte [esp + 0x88]
mov al, byte [esp + 0x8a]
or al, cl
mov byte [esp + 0x87], al
mov al, byte [esp + 0x87]
test al, 1
jne 0x1004986a
jmp 0x10049c02
mov eax, dword [0x10060bd8]
mov dword [esp + 0x80], eax
mov eax, dword [0x10060bd4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x80]
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
and eax, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
cmp ecx, 0
sete cl
mov byte [esp + 0x72], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x73], al
mov dl, byte [esp + 0x73]
mov cl, byte [esp + 0x72]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x100498da
jmp 0x10049c02
mov cl, byte [esp + 0xab]
xor eax, eax
test cl, 1
mov dword [esp + 0x6c], eax
jne 0x10049a96
jmp 0x100498f5
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xc0]
mov esi, dword [esp + 0xbc]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x64], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x6b], dl
mov edi, 0x1a
xor edx, edx
div edi
mov eax, dword [esp + 0x64]
mov edi, edx
mov dh, byte [esp + 0x6b]
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
xor ecx, ecx
sub ecx, 1
sub eax, ecx
cmp eax, 0xd
mov dword [esp + 0x6c], eax
jne 0x100498f5
mov eax, dword [0x10060bd8]
mov dword [esp + 0x5c], eax
mov eax, dword [0x10060bd4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
imul eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x53], al
mov al, byte [esp + 0x53]
mov ecx, dword [esp + 0x60]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x51], dl
xor al, cl
mov byte [esp + 0x52], al
mov cl, byte [esp + 0x52]
mov al, byte [esp + 0x51]
or al, cl
test al, 1
jne 0x100499ca
jmp 0x10049bdf
mov eax, dword [0x1005f3ac]
mov dword [eax + 0x4f77744], 1
mov eax, dword [0x10060bd8]
mov dword [esp + 0x44], eax
mov ecx, dword [0x10060bd4]
mov dword [esp + 0x48], ecx
sub eax, 0x5f16163b
sub eax, 1
add eax, 0x5f16163b
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x42], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x43], al
mov al, byte [esp + 0x43]
mov cl, byte [esp + 0x42]
xor cl, 0xff
mov byte [esp + 0x40], cl
xor al, 0xff
mov byte [esp + 0x41], al
mov cl, byte [esp + 0x41]
mov al, byte [esp + 0x40]
mov ch, byte [esp + 0x43]
mov dh, byte [esp + 0x42]
mov bl, 1
xor bl, 0
mov byte [esp + 0x3d], bl
mov dl, al
and dl, 0
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x3e], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x3f], al
mov al, byte [esp + 0x3e]
mov cl, byte [esp + 0x3f]
mov dl, byte [esp + 0x3d]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x10049a91
jmp 0x10049bdf
jmp 0x10049a96
mov eax, dword [0x10060bd8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [0x10060bd4]
mov dword [esp + 0x30], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
imul eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
and eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
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 + 0x27], al
mov al, byte [esp + 0x27]
test al, 1
jne 0x10049b03
jmp 0x10049c07
mov eax, dword [0x10060bd8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [0x10060bd4]
mov dword [esp + 0x18], ecx
add eax, 0xbdea1d0a
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub edx, 1
sub edx, 0xbdea1d0a
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x16], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x17], al
mov dh, byte [esp + 0x17]
mov bl, byte [esp + 0x16]
mov cl, bl
xor cl, 0xff
mov dl, dh
xor dl, 0xff
mov al, 1
xor al, 1
mov ah, cl
and ah, 0xff
and bl, al
mov ch, dl
and ch, 0xff
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x13], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x14], cl
or al, 1
mov byte [esp + 0x15], al
mov cl, byte [esp + 0x15]
mov al, byte [esp + 0x14]
and al, cl
mov byte [esp + 0x12], al
mov cl, byte [esp + 0x12]
mov al, byte [esp + 0x13]
or al, cl
test al, 1
jne 0x10049bb4
jmp 0x10049c07
add esp, 0xc8
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x1005f3ac]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x4f77744
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x1004970e
mov eax, dword [0x1005f3ac]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x4f77744
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x100499ca
jmp 0x1004986a
jmp 0x10049b03