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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [esp + 0x88]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x6c], ecx
add eax, 0x1f
mov dword [esp + 0x70], eax
mov eax, dword [0x1005f304]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
add eax, 0x7161f496
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
cmp eax, 1
sete al
mov byte [esp + 0x5b], al
mov cl, byte [esp + 0x5b]
xor eax, eax
test cl, 1
mov dword [esp + 0x54], eax
jne 0x10032c38
jmp 0x10032a99
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x53], dl
mov edi, 0x1f
xor edx, edx
div edi
mov eax, dword [esp + 0x4c]
mov edi, edx
mov dh, byte [esp + 0x53]
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, eax
xor eax, eax
sub eax, 1
add ecx, eax
xor eax, eax
sub eax, ecx
cmp eax, 0xb
mov dword [esp + 0x54], eax
jne 0x10032a99
mov eax, dword [0x10060d10]
mov dword [esp + 0x44], eax
mov eax, dword [0x10060d0c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, ecx
sub edx, 0x2a72a52c
sub edx, 1
add edx, 0x2a72a52c
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x40], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x41], al
xor cl, 0xff
mov byte [esp + 0x42], cl
xor al, 0xff
mov byte [esp + 0x43], al
mov al, 1
xor al, 1
mov byte [esp + 0x3f], al
mov al, byte [esp + 0x42]
and al, 0xff
mov byte [esp + 0x3e], al
mov cl, byte [esp + 0x43]
mov al, byte [esp + 0x42]
mov dl, byte [esp + 0x3e]
mov bl, byte [esp + 0x3f]
mov ch, byte [esp + 0x41]
mov dh, byte [esp + 0x40]
and dh, bl
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x3c], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x3d], al
mov al, byte [esp + 0x3c]
mov cl, byte [esp + 0x3d]
mov dl, byte [esp + 0x3f]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10032bb0
jmp 0x10032c3f
mov eax, dword [0x1005f304]
mov dword [eax + 0x7161f496], 1
mov eax, dword [0x10060d10]
mov dword [esp + 0x38], eax
mov eax, dword [0x10060d0c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov ecx, eax
add ecx, 0x2d826a2e
sub ecx, 1
sub ecx, 0x2d826a2e
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x33], al
mov al, byte [esp + 0x33]
mov ecx, dword [esp + 0x34]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x31], cl
and al, cl
mov byte [esp + 0x32], al
mov al, byte [esp + 0x32]
mov dl, byte [esp + 0x31]
mov cl, byte [esp + 0x33]
xor cl, dl
or al, cl
mov byte [esp + 0x30], al
mov al, byte [esp + 0x30]
test al, 1
jne 0x10032c33
jmp 0x10032c3f
jmp 0x10032c38
add esp, 0x74
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x10060d10]
mov dword [esp + 0x24], eax
mov ecx, dword [0x10060d0c]
mov dword [esp + 0x28], ecx
sub eax, 0x55364184
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub edx, 1
add edx, 0x55364184
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 dl, byte [esp + 0x22]
mov ah, byte [esp + 0x21]
mov al, byte [esp + 0x23]
mov cl, dl
xor cl, 0xff
mov byte [esp + 0x1e], cl
mov ch, 1
xor ch, 1
mov byte [esp + 0x1f], ch
and al, 0xff
and ah, ch
and cl, 0xff
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x20], al
mov al, byte [esp + 0x1f]
mov dl, byte [esp + 0x1e]
mov cl, byte [esp + 0x23]
or cl, dl
xor cl, 0xff
mov byte [esp + 0x1c], cl
or al, 1
mov byte [esp + 0x1d], al
mov cl, byte [esp + 0x1d]
mov al, byte [esp + 0x1c]
and al, cl
mov byte [esp + 0x1b], al
mov cl, byte [esp + 0x1b]
mov al, byte [esp + 0x20]
or al, cl
test al, 1
jne 0x10032d01
jmp 0x10032d96
mov eax, dword [0x1005f304]
mov dword [eax + 0x7161f496], 1
mov eax, dword [0x10060d10]
mov dword [esp + 0x10], eax
mov eax, dword [0x10060d0c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
sub eax, 0xa9676ca7
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub edx, 1
add edx, 0xa9676ca7
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 cl, byte [esp + 0xb]
mov al, byte [esp + 0xa]
and al, cl
mov byte [esp + 9], al
mov cl, byte [esp + 0xb]
mov al, byte [esp + 0xa]
xor al, cl
mov byte [esp + 8], al
mov cl, byte [esp + 8]
mov al, byte [esp + 9]
or al, cl
test al, 1
jne 0x10032d91
jmp 0x10032d96
jmp 0x10032bb0
mov eax, dword [0x1005f304]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x7161f496
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10032d01