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

Disassembly:
push ebx
push esi
sub esp, 0xf4
mov eax, dword [esp + 0x104]
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0x100]
mov dword [esp + 0xec], ecx
add eax, 0x17
mov dword [esp + 0xf0], eax
mov eax, dword [0x1005f32c]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xe4]
add eax, 0x800e31c7
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xe0]
mov eax, dword [eax]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xdc]
cmp eax, 1
sete al
mov byte [esp + 0xdb], al
mov cl, byte [esp + 0xdb]
xor eax, eax
test cl, 1
mov dword [esp + 0xd4], eax
jne 0x1003cce9
jmp 0x1003c58f
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xf0]
mov dword [esp + 0xd0], eax
mov bh, byte [edx + eax]
mov esi, 0x17
xor edx, edx
div esi
mov eax, dword [esp + 0xd0]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0xae
mov cl, 0xff
xor cl, 0xae
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0xae
and bl, cl
mov ecx, dword [esp + 0xec]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
add eax, 0xc443c024
add eax, 1
sub eax, 0xc443c024
cmp eax, 0xd
mov dword [esp + 0xd4], eax
jne 0x1003c58f
mov eax, dword [0x10060cc0]
mov ecx, dword [0x10060cbc]
mov edx, eax
add edx, 0x16f4d904
sub edx, 1
sub edx, 0x16f4d904
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xca], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xcb], cl
xor al, 0xff
mov byte [esp + 0xcc], al
xor cl, 0xff
mov byte [esp + 0xcd], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0xce], cl
and al, 0
mov byte [esp + 0xcf], al
mov al, byte [esp + 0xcf]
mov ah, byte [esp + 0xce]
mov dl, byte [esp + 0xcb]
mov ch, byte [esp + 0xcd]
mov cl, byte [esp + 0xca]
and cl, ah
and ch, 0
mov byte [esp + 0xc7], ch
and dl, ah
mov byte [esp + 0xc8], dl
or al, cl
mov byte [esp + 0xc9], al
mov cl, byte [esp + 0xc8]
mov al, byte [esp + 0xc7]
or al, cl
mov byte [esp + 0xc6], al
mov cl, byte [esp + 0xcd]
mov al, byte [esp + 0xcc]
mov ah, byte [esp + 0xc6]
mov dl, byte [esp + 0xc9]
xor dl, ah
mov byte [esp + 0xc4], dl
or al, cl
xor al, 0xff
mov byte [esp + 0xc5], al
mov al, byte [esp + 0xce]
or al, 0
mov byte [esp + 0xc3], al
mov al, byte [esp + 0xc4]
mov dl, byte [esp + 0xc3]
mov cl, byte [esp + 0xc5]
and cl, dl
or al, cl
test al, 1
jne 0x1003c729
jmp 0x1003ce86
mov eax, dword [0x10060cc0]
mov ecx, dword [0x10060cbc]
mov edx, eax
add edx, 0x5da2eebf
sub edx, 1
sub edx, 0x5da2eebf
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xc0], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xc1], cl
xor al, 0xff
mov byte [esp + 0xc2], al
mov cl, byte [esp + 0xc1]
mov ah, byte [esp + 0xc0]
mov dl, byte [esp + 0xc2]
mov al, cl
xor al, 0xff
mov byte [esp + 0xbc], al
mov ch, 1
xor ch, 0
mov byte [esp + 0xbd], ch
and dl, 0
and ah, ch
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0xbe], dl
or al, cl
mov byte [esp + 0xbf], al
mov cl, byte [esp + 0xbc]
mov al, byte [esp + 0xc2]
mov ah, byte [esp + 0xbf]
mov dl, byte [esp + 0xbe]
xor dl, ah
mov byte [esp + 0xba], dl
or al, cl
mov byte [esp + 0xbb], al
mov al, byte [esp + 0xbb]
xor al, 0xff
mov byte [esp + 0xb9], al
mov al, byte [esp + 0xba]
mov cl, byte [esp + 0xb9]
mov dl, byte [esp + 0xbd]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0xb8], al
mov al, byte [esp + 0xb8]
test al, 1
jne 0x1003c82a
jmp 0x1003ceab
mov eax, dword [0x10060cc0]
mov dword [esp + 0xac], eax
mov ecx, dword [0x10060cbc]
mov dword [esp + 0xb0], ecx
add eax, 0x1125e8c7
sub eax, 1
sub eax, 0x1125e8c7
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xa9], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xaa], cl
xor al, 0xff
mov byte [esp + 0xab], al
mov al, byte [esp + 0xaa]
xor al, 0xff
mov byte [esp + 0xa8], al
mov cl, byte [esp + 0xaa]
mov al, byte [esp + 0xa8]
mov ah, byte [esp + 0xa9]
mov dl, byte [esp + 0xab]
mov ch, 1
xor ch, 1
mov byte [esp + 0xa5], ch
and dl, 0xff
and ah, ch
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0xa6], dl
or al, cl
mov byte [esp + 0xa7], al
mov al, byte [esp + 0xa5]
mov dl, byte [esp + 0xa8]
mov cl, byte [esp + 0xab]
mov ch, byte [esp + 0xa7]
mov ah, byte [esp + 0xa6]
xor ah, ch
mov byte [esp + 0xa2], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0xa3], cl
or al, 1
mov byte [esp + 0xa4], al
mov al, byte [esp + 0xa2]
mov dl, byte [esp + 0xa4]
mov cl, byte [esp + 0xa3]
and cl, dl
or al, cl
test al, 1
jne 0x1003c94f
jmp 0x1003ced5
mov eax, dword [0x1005f32c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
mov dword [eax - 0x7ff1ce39], 1
mov eax, dword [0x10060cc0]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [0x10060cbc]
mov dword [esp + 0x90], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x94]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x8f], al
mov al, byte [esp + 0x8f]
mov ecx, dword [esp + 0x90]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x8d], cl
xor al, 0xff
mov byte [esp + 0x8e], al
mov cl, byte [esp + 0x8e]
mov dh, byte [esp + 0x8d]
mov bl, byte [esp + 0x8f]
mov ah, dh
xor ah, 0xff
mov dl, 1
xor dl, 0
mov al, cl
and al, 0
and bl, dl
mov ch, ah
and ch, 0
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003ca25
jmp 0x1003ced5
mov eax, dword [0x10060cc0]
mov ecx, dword [0x10060cbc]
mov dword [esp + 0x84], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x81], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x82], cl
xor al, 0xff
mov byte [esp + 0x83], al
mov al, byte [esp + 0x81]
mov dl, byte [esp + 0x83]
mov cl, byte [esp + 0x82]
xor cl, 0xff
mov byte [esp + 0x7d], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x7e], cl
and dl, 0
mov byte [esp + 0x7f], dl
and al, cl
mov byte [esp + 0x80], al
mov ah, byte [esp + 0x80]
mov dl, byte [esp + 0x7f]
mov ch, byte [esp + 0x7e]
mov cl, byte [esp + 0x82]
mov al, byte [esp + 0x7d]
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0x7b], dl
or al, cl
mov byte [esp + 0x7c], al
mov cl, byte [esp + 0x7e]
mov dl, byte [esp + 0x7d]
mov al, byte [esp + 0x83]
mov ch, byte [esp + 0x7c]
mov ah, byte [esp + 0x7b]
xor ah, ch
mov byte [esp + 0x79], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x7a], al
mov cl, byte [esp + 0x7a]
mov al, byte [esp + 0x79]
or al, cl
test al, 1
jne 0x1003cb1e
jmp 0x1003ceab
mov eax, dword [0x10060cc0]
mov dword [esp + 0x6c], eax
mov ecx, dword [0x10060cbc]
mov dword [esp + 0x70], ecx
add eax, 0xc4ebf08f
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
sub eax, 1
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
sub edx, 0xc4ebf08f
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x65], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x66], cl
and al, cl
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x66]
mov al, byte [esp + 0x65]
xor al, cl
mov byte [esp + 0x64], al
mov cl, byte [esp + 0x64]
mov al, byte [esp + 0x67]
or al, cl
mov byte [esp + 0x63], al
mov al, byte [esp + 0x63]
test al, 1
jne 0x1003cba4
jmp 0x1003ce86
mov eax, dword [0x10060cc0]
mov ecx, dword [0x10060cbc]
mov edx, eax
add edx, 0x739cb65b
sub edx, 1
sub edx, 0x739cb65b
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x5d], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x5e], cl
xor al, 0xff
mov byte [esp + 0x5f], al
xor cl, 0xff
mov byte [esp + 0x60], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x61], cl
and al, 0
mov byte [esp + 0x62], al
mov cl, byte [esp + 0x61]
mov al, byte [esp + 0x5d]
and al, cl
mov byte [esp + 0x5c], al
mov ah, byte [esp + 0x5c]
mov al, byte [esp + 0x62]
mov ch, byte [esp + 0x61]
mov dl, byte [esp + 0x5e]
mov cl, byte [esp + 0x60]
and cl, 0
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x5b], al
mov cl, byte [esp + 0x60]
mov al, byte [esp + 0x5f]
or al, cl
xor al, 0xff
mov byte [esp + 0x5a], al
mov al, byte [esp + 0x5b]
mov cl, byte [esp + 0x5a]
mov dl, byte [esp + 0x61]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x59], al
mov al, byte [esp + 0x59]
test al, 1
jne 0x1003cc5f
jmp 0x1003ced0
mov eax, dword [0x10060cc0]
mov dword [esp + 0x4c], eax
mov ecx, dword [0x10060cbc]
mov dword [esp + 0x50], ecx
add eax, 0x10f5b032
sub eax, 1
sub eax, 0x10f5b032
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
imul eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
and eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
cmp ecx, 0
sete cl
mov byte [esp + 0x42], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x43], al
mov cl, byte [esp + 0x43]
mov al, byte [esp + 0x42]
and al, cl
mov byte [esp + 0x41], al
mov al, byte [esp + 0x41]
mov dl, byte [esp + 0x43]
mov cl, byte [esp + 0x42]
xor cl, dl
or al, cl
test al, 1
jne 0x1003cce4
jmp 0x1003ced0
jmp 0x1003cce9
mov eax, dword [0x10060cc0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x10060cbc]
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 + 0x36], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x37], cl
xor al, 0xff
mov byte [esp + 0x38], al
xor cl, 0xff
mov byte [esp + 0x39], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x3a], cl
and al, 0xff
mov byte [esp + 0x3b], al
mov cl, byte [esp + 0x39]
mov al, byte [esp + 0x38]
mov dl, byte [esp + 0x3b]
mov bl, byte [esp + 0x3a]
mov ch, byte [esp + 0x37]
mov dh, byte [esp + 0x36]
and dh, bl
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x34], dl
or al, cl
mov byte [esp + 0x35], al
mov al, byte [esp + 0x35]
xor al, 0xff
mov byte [esp + 0x33], al
mov al, byte [esp + 0x34]
mov cl, byte [esp + 0x33]
mov dl, byte [esp + 0x3a]
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x32], al
mov al, byte [esp + 0x32]
test al, 1
jne 0x1003cd9e
jmp 0x1003cef8
mov eax, dword [0x10060cc0]
mov dword [esp + 0x28], eax
mov eax, dword [0x10060cbc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, ecx
sub edx, 0x6c5042f5
sub edx, 1
add edx, 0x6c5042f5
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x24], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x25], al
xor cl, 0xff
mov byte [esp + 0x26], cl
xor al, 0xff
mov byte [esp + 0x27], al
mov al, byte [esp + 0x25]
mov dl, byte [esp + 0x27]
mov ah, byte [esp + 0x24]
mov ch, byte [esp + 0x26]
mov cl, 1
xor cl, 1
mov byte [esp + 0x1f], cl
and ch, 0xff
mov byte [esp + 0x20], ch
and ah, cl
mov byte [esp + 0x21], ah
and dl, 0xff
mov byte [esp + 0x22], dl
and al, cl
mov byte [esp + 0x23], al
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x20]
or al, cl
mov byte [esp + 0x1e], al
mov al, byte [esp + 0x1f]
mov dl, byte [esp + 0x27]
mov cl, byte [esp + 0x26]
mov ah, byte [esp + 0x1e]
mov dh, byte [esp + 0x23]
mov ch, byte [esp + 0x22]
or ch, dh
xor ah, ch
mov byte [esp + 0x1b], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x1c], cl
or al, 1
mov byte [esp + 0x1d], al
mov al, byte [esp + 0x1b]
mov dl, byte [esp + 0x1d]
mov cl, byte [esp + 0x1c]
and cl, dl
or al, cl
test al, 1
jne 0x1003ce7d
jmp 0x1003cef8
add esp, 0xf4
pop esi
pop ebx
ret
mov eax, dword [0x1005f32c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0x800e31c7
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x1003c729
mov eax, dword [0x1005f32c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x800e31c7
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x1003c82a
jmp 0x1003cc5f
mov eax, dword [0x1005f32c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x800e31c7
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003c94f
jmp 0x1003cd9e