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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x70], ecx
add eax, 0x1a
mov dword [esp + 0x74], eax
mov eax, dword [0x10063348]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
add eax, 0xc97eeedf
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
cmp eax, 1
sete al
mov byte [esp + 0x5f], al
mov cl, byte [esp + 0x5f]
xor eax, eax
test cl, 1
mov dword [esp + 0x58], eax
jne 0x1003f4d6
jmp 0x1003f459
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x50], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x57], dl
mov edi, 0x1a
xor edx, edx
div edi
mov eax, dword [esp + 0x50]
mov edi, edx
mov dh, byte [esp + 0x57]
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, 8
mov dword [esp + 0x58], eax
jne 0x1003f459
mov eax, dword [0x10063348]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
add eax, 0xc97eeedf
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov dword [eax], 1
jmp 0x1003f4d6
mov eax, dword [0x10064c98]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x10064c94]
mov dword [esp + 0x40], ecx
add eax, 0x266e85e4
sub eax, 1
sub eax, 0x266e85e4
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
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 al, byte [esp + 0x3b]
mov cl, byte [esp + 0x3a]
xor cl, 0xff
mov byte [esp + 0x38], cl
xor al, 0xff
mov byte [esp + 0x39], al
mov cl, byte [esp + 0x39]
mov al, byte [esp + 0x38]
mov ch, byte [esp + 0x3b]
mov dh, byte [esp + 0x3a]
mov bl, 1
xor bl, 0
mov byte [esp + 0x35], 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 + 0x36], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x37], al
mov al, byte [esp + 0x36]
mov cl, byte [esp + 0x37]
mov dl, byte [esp + 0x35]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x34], al
mov al, byte [esp + 0x34]
test al, 1
jne 0x1003f596
jmp 0x1003f64a
mov eax, dword [0x10064c98]
mov ecx, dword [0x10064c94]
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 + 0x31], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x32], cl
xor al, 0xff
mov byte [esp + 0x33], al
mov al, byte [esp + 0x32]
xor al, 0xff
mov byte [esp + 0x2f], al
mov al, 1
xor al, 1
mov byte [esp + 0x30], al
mov al, byte [esp + 0x33]
and al, 0xff
mov byte [esp + 0x2e], al
mov al, byte [esp + 0x2f]
mov dl, byte [esp + 0x30]
mov cl, byte [esp + 0x31]
and cl, dl
mov byte [esp + 0x2c], cl
and al, 0xff
mov byte [esp + 0x2d], al
mov dl, byte [esp + 0x30]
mov ah, byte [esp + 0x2f]
mov cl, byte [esp + 0x33]
mov ch, byte [esp + 0x2d]
mov bl, byte [esp + 0x2c]
mov al, byte [esp + 0x2e]
mov dh, byte [esp + 0x32]
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 + 0x2b], al
mov al, byte [esp + 0x2b]
test al, 1
jne 0x1003f643
jmp 0x1003f64a
add esp, 0x78
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x10064c98]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x10064c94]
mov dword [esp + 0x20], ecx
sub eax, 0x1f19c0f6
sub eax, 1
add eax, 0x1f19c0f6
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
imul eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
and eax, 1
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x12], dl
xor al, cl
mov byte [esp + 0x13], al
mov cl, byte [esp + 0x13]
mov al, byte [esp + 0x12]
or al, cl
mov byte [esp + 0x11], al
mov al, byte [esp + 0x11]
test al, 1
jne 0x1003f6c9
jmp 0x1003f7a1
mov ecx, dword [0x10064c98]
mov eax, dword [0x10064c94]
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 + 0xc], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xd], al
xor cl, 0xff
mov byte [esp + 0xe], cl
xor al, 0xff
mov byte [esp + 0xf], al
mov al, 1
xor al, 1
mov byte [esp + 0x10], al
mov cl, byte [esp + 0x10]
mov al, byte [esp + 0xd]
mov dl, byte [esp + 0xf]
mov ah, byte [esp + 0xc]
mov ch, byte [esp + 0xe]
and ch, 0xff
mov byte [esp + 8], ch
and ah, cl
mov byte [esp + 9], ah
and dl, 0xff
mov byte [esp + 0xa], dl
and al, cl
mov byte [esp + 0xb], al
mov cl, byte [esp + 0xb]
mov al, byte [esp + 0xa]
mov ah, byte [esp + 9]
mov dl, byte [esp + 8]
or dl, ah
mov byte [esp + 6], dl
or al, cl
mov byte [esp + 7], al
mov cl, byte [esp + 7]
mov al, byte [esp + 6]
xor al, cl
mov byte [esp + 5], al
mov al, byte [esp + 0x10]
mov dl, byte [esp + 0xf]
mov cl, byte [esp + 0xe]
or cl, dl
xor cl, 0xff
mov byte [esp + 3], cl
or al, 1
mov byte [esp + 4], al
mov al, byte [esp + 5]
mov dl, byte [esp + 4]
mov cl, byte [esp + 3]
and cl, dl
or al, cl
test al, 1
jne 0x1003f79c
jmp 0x1003f7a1
jmp 0x1003f596
jmp 0x1003f6c9