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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xe0
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0xd8], ecx
add eax, 0x11
mov dword [esp + 0xdc], eax
mov eax, dword [0x1005f33c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd0]
add eax, 0xe44baa47
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xcc]
mov eax, dword [eax]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
cmp eax, 1
sete al
mov byte [esp + 0xc7], al
mov cl, byte [esp + 0xc7]
xor eax, eax
test cl, 1
mov dword [esp + 0xc0], eax
jne 0x1003e70c
jmp 0x1003e260
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xd8]
mov esi, dword [esp + 0xd4]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xb8], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xbf], dl
mov edi, 0x11
xor edx, edx
div edi
mov eax, dword [esp + 0xb8]
mov edi, edx
mov dh, byte [esp + 0xbf]
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
sub eax, 0x64a965ac
add eax, 1
add eax, 0x64a965ac
cmp eax, 8
mov dword [esp + 0xc0], eax
jne 0x1003e260
mov eax, dword [0x10060ca0]
mov dword [esp + 0xac], eax
mov ecx, dword [0x10060c9c]
mov dword [esp + 0xb0], ecx
add eax, 0xb2ad7fe
sub eax, 1
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb4]
sub eax, 0xb2ad7fe
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xa6], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xa7], al
mov al, byte [esp + 0xa6]
mov cl, byte [esp + 0xa7]
mov dl, al
xor dl, 0xff
mov byte [esp + 0xa1], dl
xor cl, 0xff
mov byte [esp + 0xa2], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0xa3], cl
and dl, 0xff
mov byte [esp + 0xa4], dl
and al, cl
mov byte [esp + 0xa5], al
mov dl, byte [esp + 0xa3]
mov ah, byte [esp + 0xa2]
mov cl, byte [esp + 0xa1]
mov bl, byte [esp + 0xa5]
mov al, byte [esp + 0xa4]
mov dh, byte [esp + 0xa7]
mov ch, ah
and ch, 0xff
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0xa0], al
mov al, byte [esp + 0xa0]
test al, 1
jne 0x1003e3ea
jmp 0x1003e896
mov eax, dword [0x10060ca0]
mov dword [esp + 0x94], eax
mov ecx, dword [0x10060c9c]
mov dword [esp + 0x98], ecx
add eax, 0xb30a37eb
sub eax, 1
sub eax, 0xb30a37eb
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x94]
imul eax, ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x8f], al
mov eax, dword [esp + 0x98]
cmp eax, 0xa
setl al
mov byte [esp + 0x8e], al
mov dl, byte [esp + 0x8e]
mov cl, byte [esp + 0x8f]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x8d], al
mov al, byte [esp + 0x8d]
test al, 1
jne 0x1003e48b
jmp 0x1003e896
mov eax, dword [0x10060ca0]
mov dword [esp + 0x84], eax
mov eax, dword [0x10060c9c]
mov dword [esp + 0x88], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x7c]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x7a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x7b], al
mov al, byte [esp + 0x7a]
xor al, 0xff
mov byte [esp + 0x79], al
mov cl, byte [esp + 0x79]
mov dh, byte [esp + 0x7b]
mov bl, byte [esp + 0x7a]
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 0x1003e536
jmp 0x1003e873
mov eax, dword [0x1005f33c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
mov dword [eax - 0x1bb455b9], 1
mov eax, dword [0x10060ca0]
mov dword [esp + 0x6c], eax
mov eax, dword [0x10060c9c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov ecx, eax
sub ecx, 0x3d4c2e02
sub ecx, 1
add ecx, 0x3d4c2e02
imul eax, ecx
and eax, 1
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
cmp ecx, 0
sete cl
mov byte [esp + 0x66], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x67]
mov al, byte [esp + 0x66]
and al, cl
mov byte [esp + 0x65], al
mov al, byte [esp + 0x65]
mov dl, byte [esp + 0x67]
mov cl, byte [esp + 0x66]
xor cl, dl
or al, cl
test al, 1
jne 0x1003e5c5
jmp 0x1003e873
mov eax, dword [0x10060ca0]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [0x10060c9c]
mov dword [esp + 0x58], ecx
mov ecx, eax
sub ecx, 0x6837e5ff
sub ecx, 1
add ecx, 0x6837e5ff
imul eax, ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0x51], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0x52], dl
mov cl, 1
xor cl, 0
mov byte [esp + 0x53], cl
and ch, 0
mov byte [esp + 0x54], ch
and ah, cl
mov byte [esp + 0x55], ah
and dl, 0
mov byte [esp + 0x56], dl
and al, cl
mov byte [esp + 0x57], al
mov dl, byte [esp + 0x57]
mov cl, byte [esp + 0x56]
mov ah, byte [esp + 0x55]
mov al, byte [esp + 0x54]
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x50], al
mov al, byte [esp + 0x50]
mov dl, byte [esp + 0x53]
mov ah, byte [esp + 0x52]
mov cl, byte [esp + 0x51]
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x4f], al
mov al, byte [esp + 0x4f]
test al, 1
jne 0x1003e68b
jmp 0x1003e89b
mov eax, dword [0x10060ca0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [0x10060c9c]
mov dword [esp + 0x40], ecx
add eax, 0xe4e2a8cc
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
sub eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
sub edx, 0xe4e2a8cc
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x3a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x3b], al
mov dl, byte [esp + 0x3b]
mov cl, byte [esp + 0x3a]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x39], al
mov al, byte [esp + 0x39]
test al, 1
jne 0x1003e707
jmp 0x1003e89b
jmp 0x1003e70c
mov eax, dword [0x10060ca0]
mov dword [esp + 0x2c], eax
mov eax, dword [0x10060c9c]
mov dword [esp + 0x30], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x27], al
mov al, byte [esp + 0x27]
mov ecx, dword [esp + 0x30]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x25], cl
and al, cl
mov byte [esp + 0x26], al
mov cl, byte [esp + 0x25]
mov al, byte [esp + 0x27]
xor al, cl
mov byte [esp + 0x24], al
mov cl, byte [esp + 0x24]
mov al, byte [esp + 0x26]
or al, cl
test al, 1
jne 0x1003e788
jmp 0x1003e8a0
mov eax, dword [0x10060ca0]
mov dword [esp + 0x18], eax
mov ecx, dword [0x10060c9c]
mov dword [esp + 0x1c], ecx
add eax, 0xe5ec919d
sub eax, 1
sub eax, 0xe5ec919d
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
imul eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0xd], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0xe], ah
xor al, 0xff
mov byte [esp + 0xf], al
mov dl, 1
xor dl, 1
mov byte [esp + 0x10], dl
and ah, 0xff
mov byte [esp + 0x11], ah
and cl, dl
mov byte [esp + 0x12], cl
and al, 0xff
mov byte [esp + 0x13], al
mov cl, byte [esp + 0x12]
mov al, byte [esp + 0x11]
mov ah, byte [esp + 0x10]
mov dl, byte [esp + 0xd]
and dl, ah
mov byte [esp + 0xb], dl
or al, cl
mov byte [esp + 0xc], al
mov al, byte [esp + 0x10]
mov dl, byte [esp + 0xf]
mov cl, byte [esp + 0xe]
mov ah, byte [esp + 0xc]
mov dh, byte [esp + 0xb]
mov ch, byte [esp + 0x13]
or ch, dh
xor ah, ch
mov byte [esp + 8], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 9], cl
or al, 1
mov byte [esp + 0xa], al
mov al, byte [esp + 8]
mov dl, byte [esp + 0xa]
mov cl, byte [esp + 9]
and cl, dl
or al, cl
test al, 1
jne 0x1003e869
jmp 0x1003e8a0
add esp, 0xe0
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x1005f33c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xe44baa47
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003e536
jmp 0x1003e3ea
jmp 0x1003e68b
jmp 0x1003e788