Function at 0x1003ed90
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x84
mov eax, dword [esp + 0x98]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x7c], ecx
add eax, 0x1c
mov dword [esp + 0x80], eax
mov eax, dword [0x10063340]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
add eax, 0x700179a8
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
cmp eax, 1
sete al
mov byte [esp + 0x6b], al
mov cl, byte [esp + 0x6b]
xor eax, eax
test cl, 1
mov dword [esp + 0x64], eax
jne 0x1003ee87
jmp 0x1003edff
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x63], dl
mov edi, 0x1c
xor edx, edx
div edi
mov eax, dword [esp + 0x5c]
mov edi, edx
mov dh, byte [esp + 0x63]
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, 7
mov dword [esp + 0x64], eax
jne 0x1003edff
mov eax, dword [0x10063340]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
add eax, 0x700179a8
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
mov dword [eax], 1
jmp 0x1003ee87
mov eax, dword [0x10064ca8]
mov dword [esp + 0x4c], eax
mov eax, dword [0x10064ca4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0x45], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x46], ah
xor al, 0xff
mov byte [esp + 0x47], al
mov dl, 1
xor dl, 0
mov byte [esp + 0x48], dl
and ah, 0
mov byte [esp + 0x49], ah
and cl, dl
mov byte [esp + 0x4a], cl
and al, 0
mov byte [esp + 0x4b], al
mov cl, byte [esp + 0x47]
mov al, byte [esp + 0x46]
mov ah, byte [esp + 0x4b]
mov dh, byte [esp + 0x4a]
mov dl, byte [esp + 0x49]
mov bl, byte [esp + 0x48]
mov ch, byte [esp + 0x45]
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x43], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x44], al
mov al, byte [esp + 0x44]
mov cl, byte [esp + 0x48]
or cl, 0
and al, cl
mov byte [esp + 0x42], al
mov cl, byte [esp + 0x42]
mov al, byte [esp + 0x43]
or al, cl
mov byte [esp + 0x41], al
mov al, byte [esp + 0x41]
test al, 1
jne 0x1003ef4b
jmp 0x1003f145
mov eax, dword [0x10064ca8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x10064ca4]
mov dword [esp + 0x34], ecx
sub eax, 0xc5b1347f
sub eax, 1
add eax, 0xc5b1347f
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
imul eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x2e], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x2f], al
mov cl, byte [esp + 0x2f]
mov al, byte [esp + 0x2e]
and al, cl
mov byte [esp + 0x2d], al
mov al, byte [esp + 0x2d]
mov dl, byte [esp + 0x2f]
mov cl, byte [esp + 0x2e]
xor cl, dl
or al, cl
test al, 1
jne 0x1003efcc
jmp 0x1003f145
mov eax, dword [0x10064ca8]
mov dword [esp + 0x24], eax
mov eax, dword [0x10064ca4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
xor al, 0xff
mov byte [esp + 0x1a], al
mov ch, dl
xor ch, 0xff
mov byte [esp + 0x1b], ch
mov ah, 1
xor ah, 1
mov byte [esp + 0x1c], ah
and al, 0xff
and cl, ah
and ch, 0xff
mov byte [esp + 0x1d], ch
and dl, ah
mov byte [esp + 0x1e], dl
or al, cl
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x1f]
mov dl, byte [esp + 0x1e]
mov cl, byte [esp + 0x1d]
or cl, dl
xor al, cl
mov byte [esp + 0x19], al
mov cl, byte [esp + 0x1b]
mov al, byte [esp + 0x1a]
or al, cl
mov byte [esp + 0x18], al
mov al, byte [esp + 0x19]
mov dl, byte [esp + 0x1c]
mov cl, byte [esp + 0x18]
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003f07f
jmp 0x1003f14a
mov eax, dword [0x10064ca8]
mov dword [esp + 0xc], eax
mov ecx, dword [0x10064ca4]
mov dword [esp + 0x10], ecx
add eax, 0x65186763
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
sub eax, 1
sub eax, 0x65186763
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 6], cl
cmp eax, 0xa
setl al
mov byte [esp + 7], al
mov ch, byte [esp + 7]
mov dh, byte [esp + 6]
mov al, dh
xor al, 0xff
mov cl, ch
xor cl, 0xff
mov bl, 1
xor bl, 0
mov byte [esp + 3], 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 + 4], dl
or al, cl
mov byte [esp + 5], al
mov al, byte [esp + 3]
mov cl, byte [esp + 5]
xor cl, 0xff
mov byte [esp + 1], cl
or al, 0
mov byte [esp + 2], al
mov al, byte [esp + 4]
mov dl, byte [esp + 2]
mov cl, byte [esp + 1]
and cl, dl
or al, cl
test al, 1
jne 0x1003f13b
jmp 0x1003f14a
add esp, 0x84
pop esi
pop edi
pop ebx
ret
jmp 0x1003ef4b
jmp 0x1003f07f