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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov eax, dword [0x10064ca0]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [0x10064c9c]
mov dword [esp + 0x4c], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x46], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x47], dl
xor cl, 0xff
mov byte [esp + 0x48], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x49], cl
and dl, 0xff
mov byte [esp + 0x4a], dl
and al, cl
mov byte [esp + 0x4b], al
mov cl, byte [esp + 0x49]
mov al, byte [esp + 0x46]
mov dl, byte [esp + 0x48]
and dl, 0xff
mov byte [esp + 0x44], dl
and al, cl
mov byte [esp + 0x45], al
mov cl, byte [esp + 0x48]
mov al, byte [esp + 0x47]
mov ch, byte [esp + 0x45]
mov ah, byte [esp + 0x44]
mov dh, byte [esp + 0x4b]
mov dl, byte [esp + 0x4a]
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x42], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x43], al
mov al, byte [esp + 0x42]
mov cl, byte [esp + 0x43]
mov dl, byte [esp + 0x49]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003f233
jmp 0x1003f3c5
mov eax, dword [esp + 0x54]
add eax, 0x19
mov dword [esp + 0x38], eax
mov eax, dword [0x10063344]
add eax, 0x14aa285f
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 1
sete al
mov byte [esp + 0x27], al
mov eax, dword [0x10064ca0]
mov dword [esp + 0x28], eax
mov ecx, dword [0x10064c9c]
mov dword [esp + 0x2c], ecx
sub eax, 0x89fb38b0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
sub edx, 1
add edx, 0x89fb38b0
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x23], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x24], al
xor cl, 0xff
mov byte [esp + 0x25], cl
xor al, 0xff
mov byte [esp + 0x26], al
mov al, byte [esp + 0x26]
mov cl, byte [esp + 0x23]
mov ah, byte [esp + 0x25]
mov dl, 1
xor dl, 1
mov byte [esp + 0x1f], dl
and ah, 0xff
mov byte [esp + 0x20], ah
and cl, dl
mov byte [esp + 0x21], cl
and al, 0xff
mov byte [esp + 0x22], al
mov dl, byte [esp + 0x1f]
mov ah, byte [esp + 0x26]
mov cl, byte [esp + 0x25]
mov ch, byte [esp + 0x22]
mov bl, byte [esp + 0x21]
mov al, byte [esp + 0x20]
mov dh, byte [esp + 0x24]
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
test al, 1
jne 0x1003f321
jmp 0x1003f3c5
mov cl, byte [esp + 0x27]
xor eax, eax
test cl, 1
mov dword [esp + 0x18], eax
jne 0x1003f3be
jmp 0x1003f339
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x17], dl
mov edi, 0x19
xor edx, edx
div edi
mov eax, dword [esp + 0x10]
mov edi, edx
mov dh, byte [esp + 0x17]
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, 6
mov dword [esp + 0x18], eax
jne 0x1003f339
mov eax, dword [0x10063344]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x14aa285f
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x1003f3be
add esp, 0x60
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x10063344]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x14aa285f
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1003f233