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

Disassembly:
push ebx
push esi
sub esp, 0x130
mov eax, dword [esp + 0x140]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x120], eax
mov eax, dword [0x10060c58]
mov dword [esp + 0x124], eax
mov ecx, dword [0x10060c54]
mov dword [esp + 0x128], ecx
sub eax, 0x30ccf0ba
sub eax, 1
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x12c]
add ecx, 0x30ccf0ba
imul eax, ecx
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x118]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x116], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x117], al
mov cl, byte [esp + 0x117]
mov al, byte [esp + 0x116]
and al, cl
mov byte [esp + 0x115], al
mov al, byte [esp + 0x115]
mov dl, byte [esp + 0x117]
mov cl, byte [esp + 0x116]
xor cl, dl
or al, cl
mov byte [esp + 0x114], al
mov al, byte [esp + 0x114]
test al, 1
jne 0x1003f7e0
jmp 0x1003fede
mov eax, dword [esp + 0x11c]
add eax, 0x16
mov dword [esp + 0x10c], eax
mov eax, dword [0x1005f368]
mov eax, dword [eax + 0x148bb6fe]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x110]
cmp eax, 1
sete al
mov byte [esp + 0x107], al
mov eax, dword [0x10060c58]
mov dword [esp + 0x108], eax
mov eax, dword [0x10060c54]
mov dword [esp + 0xfc], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x108]
add eax, ecx
mov dword [esp + 0xf8], eax
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0x108]
imul eax, ecx
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0xf4]
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1003f89c
jmp 0x1003fede
mov cl, byte [esp + 0x107]
xor eax, eax
test cl, 1
mov dword [esp + 0xf0], eax
jne 0x1003fc29
jmp 0x1003f8ba
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0xec], eax
mov bh, byte [edx + eax]
mov esi, 0x16
xor edx, edx
div esi
mov eax, dword [esp + 0xec]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x6a
mov cl, 0xff
xor cl, 0x6a
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x6a
and bl, cl
mov ecx, dword [esp + 0x120]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
add eax, 0xab3564
add eax, 1
sub eax, 0xab3564
cmp eax, 0x14
mov dword [esp + 0xf0], eax
jne 0x1003f8ba
mov eax, dword [0x10060c58]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [0x10060c54]
mov dword [esp + 0xe0], ecx
sub eax, 0x67e2f0ff
sub eax, 1
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xe4]
add eax, 0x67e2f0ff
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe8]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0xdb], al
mov al, byte [esp + 0xdb]
test al, 1
jne 0x1003f9be
jmp 0x1004007c
mov eax, dword [0x10060c58]
mov ecx, dword [0x10060c54]
mov dword [esp + 0xd0], ecx
mov ecx, eax
add ecx, 0x128ebe81
sub ecx, 1
sub ecx, 0x128ebe81
imul eax, ecx
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xcd], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xce], cl
xor al, 0xff
mov byte [esp + 0xcf], al
mov al, byte [esp + 0xce]
xor al, 0xff
mov byte [esp + 0xcb], al
mov al, 1
xor al, 1
mov byte [esp + 0xcc], al
mov cl, byte [esp + 0xcc]
mov al, byte [esp + 0xcd]
mov dl, byte [esp + 0xcf]
and dl, 0xff
mov byte [esp + 0xc9], dl
and al, cl
mov byte [esp + 0xca], al
mov cl, byte [esp + 0xca]
mov al, byte [esp + 0xc9]
mov ah, byte [esp + 0xcc]
mov dl, byte [esp + 0xce]
mov ch, byte [esp + 0xcb]
and ch, 0xff
mov byte [esp + 0xc6], ch
and dl, ah
mov byte [esp + 0xc7], dl
or al, cl
mov byte [esp + 0xc8], al
mov dl, byte [esp + 0xcc]
mov ah, byte [esp + 0xcb]
mov cl, byte [esp + 0xcf]
mov al, byte [esp + 0xc8]
mov dh, byte [esp + 0xc7]
mov ch, byte [esp + 0xc6]
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 0x1003fae8
jmp 0x1004007c
mov eax, dword [0x10060c58]
mov dword [esp + 0xb8], eax
mov ecx, dword [0x10060c54]
mov dword [esp + 0xbc], ecx
add eax, 0x6e4a3af
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc0]
sub eax, 1
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb4]
sub eax, 0x6e4a3af
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xaf], al
mov cl, byte [esp + 0xaf]
mov eax, dword [esp + 0xbc]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1003fb7b
jmp 0x10040057
mov eax, dword [0x1005f368]
mov dword [eax + 0x148bb6fe], 1
mov eax, dword [0x10060c58]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [0x10060c54]
mov dword [esp + 0xa0], ecx
add eax, 0x399c1155
sub eax, 1
sub eax, 0x399c1155
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
imul eax, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x9b], al
mov cl, byte [esp + 0x9b]
mov eax, dword [esp + 0xa0]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x9a], al
mov al, byte [esp + 0x9a]
test al, 1
jne 0x1003fc24
jmp 0x10040057
jmp 0x1003fc29
mov eax, dword [0x10060c58]
mov dword [esp + 0x94], eax
mov eax, dword [0x10060c54]
mov dword [esp + 0x8c], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
add eax, ecx
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x94]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x85], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x86], cl
and al, cl
mov byte [esp + 0x87], al
mov al, byte [esp + 0x87]
mov dl, byte [esp + 0x86]
mov cl, byte [esp + 0x85]
xor cl, dl
or al, cl
mov byte [esp + 0x84], al
mov al, byte [esp + 0x84]
test al, 1
jne 0x1003fcd6
jmp 0x1003fed9
mov eax, dword [0x10060c58]
mov dword [esp + 0x80], eax
mov eax, dword [0x10060c54]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x80]
add eax, 0x2fb0550e
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
sub eax, 1
sub eax, 0x2fb0550e
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x80]
imul eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x70]
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1003fd49
jmp 0x1003fed9
mov eax, dword [0x10060c58]
mov dword [esp + 0x64], eax
mov ecx, dword [0x10060c54]
mov dword [esp + 0x68], ecx
add eax, 0x830f4884
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
sub eax, 1
sub eax, 0x830f4884
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x5a], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x5b], cl
xor al, 0xff
mov byte [esp + 0x5c], al
xor cl, 0xff
mov byte [esp + 0x5d], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x5e], cl
and al, 0
mov byte [esp + 0x5f], al
mov al, byte [esp + 0x5e]
mov dl, byte [esp + 0x5d]
mov cl, byte [esp + 0x5c]
mov ah, byte [esp + 0x5f]
mov dh, byte [esp + 0x5b]
mov bl, byte [esp + 0x5a]
and bl, al
mov ch, dl
and ch, 0
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x57], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x58], cl
or al, 0
mov byte [esp + 0x59], al
mov al, byte [esp + 0x57]
mov dl, byte [esp + 0x59]
mov cl, byte [esp + 0x58]
and cl, dl
or al, cl
mov byte [esp + 0x56], al
mov al, byte [esp + 0x56]
test al, 1
jne 0x1003fe16
jmp 0x10040081
mov eax, dword [0x10060c58]
mov dword [esp + 0x48], eax
mov ecx, dword [0x10060c54]
mov dword [esp + 0x4c], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x44], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x45], al
xor cl, 0xff
mov byte [esp + 0x46], cl
xor al, 0xff
mov byte [esp + 0x47], al
mov cl, byte [esp + 0x47]
mov al, byte [esp + 0x46]
mov ch, byte [esp + 0x45]
mov dh, byte [esp + 0x44]
mov bl, 1
xor bl, 0
mov byte [esp + 0x41], 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 + 0x42], dl
or al, cl
mov byte [esp + 0x43], al
mov al, byte [esp + 0x43]
xor al, 0xff
mov byte [esp + 0x40], al
mov al, byte [esp + 0x42]
mov cl, byte [esp + 0x40]
mov dl, byte [esp + 0x41]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x3f], al
mov al, byte [esp + 0x3f]
test al, 1
jne 0x1003fed0
jmp 0x10040081
add esp, 0x130
pop esi
pop ebx
ret
jmp 0x1003fcd6
mov eax, dword [0x10060c58]
mov dword [esp + 0x30], eax
mov eax, dword [0x10060c54]
mov dword [esp + 0x34], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
imul eax, edx
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl dl
mov al, ah
xor al, 0xff
mov byte [esp + 0x28], al
mov cl, dl
xor cl, 0xff
mov byte [esp + 0x29], cl
mov ch, 1
xor ch, 0
mov byte [esp + 0x2a], ch
and al, 0
and ah, ch
and cl, 0
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x2b], al
mov cl, byte [esp + 0x29]
mov al, byte [esp + 0x28]
or al, cl
xor al, 0xff
mov byte [esp + 0x27], al
mov al, byte [esp + 0x27]
mov cl, byte [esp + 0x2a]
or cl, 0
and al, cl
mov byte [esp + 0x26], al
mov cl, byte [esp + 0x26]
mov al, byte [esp + 0x2b]
or al, cl
test al, 1
jne 0x1003ff8a
jmp 0x10040086
mov eax, dword [0x1005f368]
mov eax, dword [eax + 0x148bb6fe]
mov eax, dword [0x10060c58]
mov dword [esp + 0x18], eax
mov ecx, dword [0x10060c54]
mov dword [esp + 0x1c], ecx
add eax, 0x5d76c24d
sub eax, 1
sub eax, 0x5d76c24d
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x17], al
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x12], cl
xor al, 0xff
mov byte [esp + 0x13], al
xor cl, 0xff
mov byte [esp + 0x14], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x15], cl
and al, 0xff
mov byte [esp + 0x16], al
mov cl, byte [esp + 0x14]
mov al, byte [esp + 0x13]
mov dl, byte [esp + 0x16]
mov bl, byte [esp + 0x15]
mov ch, byte [esp + 0x12]
mov dh, byte [esp + 0x17]
and dh, bl
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x10], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x11], al
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
mov dl, byte [esp + 0x15]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10040052
jmp 0x10040086
jmp 0x1003f7e0
mov eax, dword [0x1005f368]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x148bb6fe
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x1003fb7b
jmp 0x1003f9be
jmp 0x1003fe16
mov eax, dword [0x1005f368]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x148bb6fe
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1003ff8a