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

Disassembly:
push ebx
push esi
sub esp, 0x104
mov eax, dword [esp + 0x114]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xf8], eax
mov eax, dword [0x10060c60]
mov dword [esp + 0xfc], eax
mov eax, dword [0x10060c5c]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xfc]
add eax, 0x21fd574c
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xf0]
sub eax, 1
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xec]
sub edx, 0x21fd574c
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xea], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xeb], al
mov cl, byte [esp + 0xeb]
mov al, byte [esp + 0xea]
mov dl, al
and dl, cl
mov byte [esp + 0xe8], dl
xor al, cl
mov byte [esp + 0xe9], al
mov cl, byte [esp + 0xe9]
mov al, byte [esp + 0xe8]
or al, cl
test al, 1
jne 0x1003f03a
jmp 0x1003f685
mov eax, dword [esp + 0xf4]
add eax, 0x1f
mov dword [esp + 0xe0], eax
mov eax, dword [0x1005f364]
add eax, 0xa5930e99
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xe4]
cmp dword [eax], 1
sete al
mov byte [esp + 0xdf], al
mov eax, dword [0x10060c60]
mov dword [esp + 0xd4], eax
mov eax, dword [0x10060c5c]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xd4]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
imul eax, ecx
and eax, 1
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xcc]
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 0x1003f0e7
jmp 0x1003f685
mov cl, byte [esp + 0xdf]
xor eax, eax
test cl, 1
mov dword [esp + 0xc8], eax
jne 0x1003f597
jmp 0x1003f105
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0xc4], eax
mov bh, byte [edx + eax]
mov esi, 0x1f
xor edx, edx
div esi
mov eax, dword [esp + 0xc4]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0xb
mov cl, 0xff
xor cl, 0xb
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0xb
and bl, cl
mov ecx, dword [esp + 0xf8]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
sub eax, 0x5c4ee9a0
add eax, 1
add eax, 0x5c4ee9a0
cmp eax, 0x15
mov dword [esp + 0xc8], eax
jne 0x1003f105
mov eax, dword [0x10060c60]
mov ecx, dword [0x10060c5c]
mov dword [esp + 0xbc], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xc3], al
mov al, byte [esp + 0xc3]
mov ecx, dword [esp + 0xbc]
cmp ecx, 0xa
setl cl
mov byte [esp + 0xb7], cl
xor al, 0xff
mov byte [esp + 0xb8], al
xor cl, 0xff
mov byte [esp + 0xb9], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0xba], cl
and al, 0xff
mov byte [esp + 0xbb], al
mov cl, byte [esp + 0xba]
mov al, byte [esp + 0xc3]
and al, cl
mov byte [esp + 0xb6], al
mov cl, byte [esp + 0xb9]
mov al, byte [esp + 0xb8]
mov dh, byte [esp + 0xb6]
mov dl, byte [esp + 0xbb]
mov bl, byte [esp + 0xba]
mov ch, byte [esp + 0xb7]
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0xb4], dl
or al, cl
xor al, 0xff
mov byte [esp + 0xb5], al
mov al, byte [esp + 0xb4]
mov cl, byte [esp + 0xb5]
mov dl, byte [esp + 0xba]
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0xb3], al
mov al, byte [esp + 0xb3]
test al, 1
jne 0x1003f285
jmp 0x1003f6a6
mov eax, dword [0x10060c60]
mov dword [esp + 0xa4], eax
mov ecx, dword [0x10060c5c]
mov dword [esp + 0xa8], ecx
add eax, 0x30e2404d
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xac]
sub eax, 1
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa0]
sub eax, 0x30e2404d
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa4]
imul eax, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x98]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x96], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x97], al
mov dh, byte [esp + 0x97]
mov bl, byte [esp + 0x96]
mov cl, bl
xor cl, 0xff
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 0x1003f35a
jmp 0x1003f6cb
mov eax, dword [0x1005f364]
mov dword [eax - 0x5a6cf167], 1
mov eax, dword [0x10060c60]
mov dword [esp + 0x88], eax
mov ecx, dword [0x10060c5c]
mov dword [esp + 0x8c], ecx
add eax, 0xeb6f3cc4
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
sub eax, 1
sub eax, 0xeb6f3cc4
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
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 + 0x83], al
mov al, byte [esp + 0x83]
test al, 1
jne 0x1003f3ee
jmp 0x1003f6cb
mov eax, dword [0x10060c60]
mov dword [esp + 0x78], eax
mov eax, dword [0x10060c5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x78]
sub eax, 0x5a92208d
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
sub eax, 1
add eax, 0x5a92208d
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x6f], al
mov cl, byte [esp + 0x6f]
mov eax, dword [esp + 0x7c]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1003f458
jmp 0x1003f6a6
mov eax, dword [0x10060c60]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [0x10060c5c]
mov dword [esp + 0x60], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
imul eax, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
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 + 0x5b], al
mov al, byte [esp + 0x5b]
test al, 1
jne 0x1003f4bd
jmp 0x1003f6ee
mov eax, dword [0x10060c60]
mov dword [esp + 0x4c], eax
mov ecx, dword [0x10060c5c]
mov dword [esp + 0x50], ecx
sub eax, 0xe941df1d
sub eax, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
add eax, 0xe941df1d
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x43], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x44], al
xor cl, 0xff
mov byte [esp + 0x45], cl
xor al, 0xff
mov byte [esp + 0x46], al
mov al, 1
xor al, 1
mov byte [esp + 0x47], al
mov cl, byte [esp + 0x47]
mov al, byte [esp + 0x43]
mov dl, byte [esp + 0x45]
and dl, 0xff
mov byte [esp + 0x41], dl
and al, cl
mov byte [esp + 0x42], al
mov al, byte [esp + 0x47]
mov dl, byte [esp + 0x46]
mov cl, byte [esp + 0x45]
mov bl, byte [esp + 0x42]
mov ah, byte [esp + 0x41]
mov dh, byte [esp + 0x44]
mov ch, dl
and ch, 0xff
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x3e], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x3f], cl
or al, 1
mov byte [esp + 0x40], al
mov al, byte [esp + 0x3e]
mov dl, byte [esp + 0x40]
mov cl, byte [esp + 0x3f]
and cl, dl
or al, cl
test al, 1
jne 0x1003f592
jmp 0x1003f6ee
jmp 0x1003f597
mov eax, dword [0x10060c60]
mov dword [esp + 0x34], eax
mov eax, dword [0x10060c5c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
sub eax, 0x4bb11035
sub eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add ecx, 0x4bb11035
imul eax, ecx
and eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0
sete cl
mov byte [esp + 0x2a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x2b], al
mov dl, byte [esp + 0x2b]
mov cl, byte [esp + 0x2a]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x29], al
mov al, byte [esp + 0x29]
test al, 1
jne 0x1003f612
jmp 0x1003f6f3
mov eax, dword [0x10060c60]
mov dword [esp + 0x24], eax
mov eax, dword [0x10060c5c]
mov dword [esp + 0x20], 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 + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0
sete cl
mov byte [esp + 0x1a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x1b], al
mov dl, byte [esp + 0x1b]
mov cl, byte [esp + 0x1a]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x19], al
mov al, byte [esp + 0x19]
test al, 1
jne 0x1003f67c
jmp 0x1003f6f3
add esp, 0x104
pop esi
pop ebx
ret
mov eax, dword [0x1005f364]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0xa5930e99
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
jmp 0x1003f03a
mov eax, dword [0x1005f364]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0xa5930e99
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x1003f285
mov eax, dword [0x1005f364]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xa5930e99
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003f35a
jmp 0x1003f4bd
jmp 0x1003f612