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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x12c
mov eax, dword [esp + 0x140]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x124], eax
mov eax, dword [0x10063c50]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x128]
mov ecx, dword [0x10063c4c]
mov dword [esp + 0x118], ecx
sub eax, 0x9665a149
sub eax, 1
add eax, 0x9665a149
mov dword [esp + 0x11c], eax
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x128]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x112], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x113], dl
xor cl, 0xff
mov byte [esp + 0x114], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x115], cl
and dl, 0
mov byte [esp + 0x116], dl
and al, cl
mov byte [esp + 0x117], al
mov cl, byte [esp + 0x115]
mov al, byte [esp + 0x112]
mov dl, byte [esp + 0x114]
and dl, 0
mov byte [esp + 0x110], dl
and al, cl
mov byte [esp + 0x111], al
mov cl, byte [esp + 0x117]
mov al, byte [esp + 0x116]
or al, cl
mov byte [esp + 0x10f], al
mov dl, byte [esp + 0x115]
mov ah, byte [esp + 0x114]
mov cl, byte [esp + 0x113]
mov al, byte [esp + 0x10f]
mov dh, byte [esp + 0x111]
mov ch, byte [esp + 0x110]
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 0x10046922
jmp 0x10047291
mov eax, dword [esp + 0x120]
add eax, 0x1b
mov dword [esp + 0x108], eax
mov eax, dword [0x10062368]
cmp dword [eax - 0x2754ddda], 1
sete al
mov byte [esp + 0x10e], al
mov eax, dword [0x10063c50]
mov dword [esp + 0xfc], eax
mov ecx, dword [0x10063c4c]
mov dword [esp + 0x100], ecx
add eax, 0x130b5b53
sub eax, 1
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x104]
sub eax, 0x130b5b53
mov dword [esp + 0xf8], eax
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0xfc]
imul eax, ecx
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xf4]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xf3], al
mov cl, byte [esp + 0xf3]
mov eax, dword [esp + 0x100]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x100469dc
jmp 0x10047291
mov cl, byte [esp + 0x10e]
xor eax, eax
test cl, 1
mov dword [esp + 0xec], eax
jne 0x10046ec5
jmp 0x100469fa
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x124]
mov esi, dword [esp + 0x120]
mov edx, dword [esp + 0x108]
mov dword [esp + 0xe4], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xeb], dl
mov edi, 0x1b
xor edx, edx
div edi
mov eax, dword [esp + 0xe4]
mov edi, edx
mov dh, byte [esp + 0xeb]
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
sub eax, 0x89a11ee1
add eax, 1
add eax, 0x89a11ee1
cmp eax, 0x14
mov dword [esp + 0xec], eax
jne 0x100469fa
mov eax, dword [0x10063c50]
mov dword [esp + 0xd8], eax
mov ecx, dword [0x10063c4c]
mov dword [esp + 0xdc], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0xe0]
mov eax, dword [esp + 0xd8]
imul eax, ecx
and eax, 1
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd4]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0xcd], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0xce], ah
xor al, 0xff
mov byte [esp + 0xcf], al
mov dl, 1
xor dl, 0
mov byte [esp + 0xd0], dl
and ah, 0
mov byte [esp + 0xd1], ah
and cl, dl
mov byte [esp + 0xd2], cl
and al, 0
mov byte [esp + 0xd3], al
mov cl, byte [esp + 0xcf]
mov al, byte [esp + 0xce]
mov ah, byte [esp + 0xd3]
mov dh, byte [esp + 0xd2]
mov dl, byte [esp + 0xd1]
mov bl, byte [esp + 0xd0]
mov ch, byte [esp + 0xcd]
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0xcb], dl
or al, cl
mov byte [esp + 0xcc], al
mov al, byte [esp + 0xcb]
mov dl, byte [esp + 0xd0]
mov cl, byte [esp + 0xcc]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0xca], al
mov al, byte [esp + 0xca]
test al, 1
jne 0x10046b96
jmp 0x10046ecf
mov eax, dword [0x10063c50]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [0x10063c4c]
mov dword [esp + 0xbc], ecx
sub eax, 0x327f6777
sub eax, 1
add eax, 0x327f6777
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
imul eax, edx
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0xb5], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0xb6], dl
mov cl, 1
xor cl, 1
mov byte [esp + 0xb7], cl
and ch, 0xff
mov byte [esp + 0xb8], ch
and ah, cl
mov byte [esp + 0xb9], ah
and dl, 0xff
mov byte [esp + 0xba], dl
and al, cl
mov byte [esp + 0xbb], al
mov dl, byte [esp + 0xb7]
mov ah, byte [esp + 0xb6]
mov cl, byte [esp + 0xb5]
mov dh, byte [esp + 0xbb]
mov ch, byte [esp + 0xba]
mov bl, byte [esp + 0xb9]
mov al, byte [esp + 0xb8]
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 + 0xb4], al
mov al, byte [esp + 0xb4]
test al, 1
jne 0x10046c99
jmp 0x100472d7
mov eax, dword [0x10062368]
mov dword [eax - 0x2754ddda], 1
mov eax, dword [0x10063c50]
mov dword [esp + 0xac], eax
mov eax, dword [0x10063c4c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xac]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xa5], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xa6], cl
xor al, 0xff
mov byte [esp + 0xa7], al
mov al, byte [esp + 0xa6]
xor al, 0xff
mov byte [esp + 0xa4], al
mov dl, byte [esp + 0xa4]
mov cl, byte [esp + 0xa7]
mov dh, byte [esp + 0xa6]
mov bl, byte [esp + 0xa5]
mov al, 1
xor al, 0
mov ah, cl
and ah, 0
and bl, al
mov ch, dl
and ch, 0
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0xa1], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0xa2], cl
or al, 0
mov byte [esp + 0xa3], al
mov al, byte [esp + 0xa1]
mov dl, byte [esp + 0xa3]
mov cl, byte [esp + 0xa2]
and cl, dl
or al, cl
test al, 1
jne 0x10046d99
jmp 0x100472d7
mov eax, dword [0x10063c50]
mov ecx, dword [0x10063c4c]
mov dword [esp + 0x98], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
cmp ecx, 0
sete cl
mov byte [esp + 0x96], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x97], al
mov al, byte [esp + 0x96]
mov cl, byte [esp + 0x97]
mov dl, al
xor dl, 0xff
mov byte [esp + 0x91], dl
xor cl, 0xff
mov byte [esp + 0x92], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x93], cl
and dl, 0xff
mov byte [esp + 0x94], dl
and al, cl
mov byte [esp + 0x95], al
mov cl, byte [esp + 0x93]
mov al, byte [esp + 0x97]
mov dl, byte [esp + 0x92]
and dl, 0xff
mov byte [esp + 0x8f], dl
and al, cl
mov byte [esp + 0x90], al
mov cl, byte [esp + 0x92]
mov al, byte [esp + 0x91]
mov ch, byte [esp + 0x90]
mov ah, byte [esp + 0x8f]
mov dh, byte [esp + 0x95]
mov dl, byte [esp + 0x94]
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x8d], dl
or al, cl
mov byte [esp + 0x8e], al
mov al, byte [esp + 0x8d]
mov dl, byte [esp + 0x93]
mov cl, byte [esp + 0x8e]
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10046ec0
jmp 0x10046ecf
jmp 0x10046ec5
add esp, 0x12c
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x10063c50]
mov dword [esp + 0x84], eax
mov eax, dword [0x10063c4c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
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 + 0x7d], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x7e], ah
xor al, 0xff
mov byte [esp + 0x7f], al
mov dl, 1
xor dl, 0
mov byte [esp + 0x80], dl
and ah, 0
mov byte [esp + 0x81], ah
and cl, dl
mov byte [esp + 0x82], cl
and al, 0
mov byte [esp + 0x83], al
mov cl, byte [esp + 0x7f]
mov al, byte [esp + 0x7e]
mov ah, byte [esp + 0x83]
mov dh, byte [esp + 0x82]
mov dl, byte [esp + 0x81]
mov bl, byte [esp + 0x80]
mov ch, byte [esp + 0x7d]
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x7b], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x7c], al
mov al, byte [esp + 0x80]
or al, 0
mov byte [esp + 0x7a], al
mov al, byte [esp + 0x7b]
mov dl, byte [esp + 0x7a]
mov cl, byte [esp + 0x7c]
and cl, dl
or al, cl
mov byte [esp + 0x79], al
mov al, byte [esp + 0x79]
test al, 1
jne 0x10046fb9
jmp 0x100472fa
mov eax, dword [0x10063c50]
mov dword [esp + 0x70], eax
mov eax, dword [0x10063c4c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
sub eax, 0xd3249d9f
sub eax, 1
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
add edx, 0xd3249d9f
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x68], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x69], al
xor cl, 0xff
mov byte [esp + 0x6a], cl
xor al, 0xff
mov byte [esp + 0x6b], al
mov al, byte [esp + 0x69]
mov dl, byte [esp + 0x6b]
mov ah, byte [esp + 0x68]
mov ch, byte [esp + 0x6a]
mov cl, 1
xor cl, 0
mov byte [esp + 0x63], cl
and ch, 0
mov byte [esp + 0x64], ch
and ah, cl
mov byte [esp + 0x65], ah
and dl, 0
mov byte [esp + 0x66], dl
and al, cl
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x67]
mov al, byte [esp + 0x66]
mov ah, byte [esp + 0x65]
mov dl, byte [esp + 0x64]
or dl, ah
mov byte [esp + 0x61], dl
or al, cl
mov byte [esp + 0x62], al
mov dl, byte [esp + 0x63]
mov ah, byte [esp + 0x6b]
mov cl, byte [esp + 0x6a]
mov ch, byte [esp + 0x62]
mov al, byte [esp + 0x61]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x10047092
jmp 0x100472fa
mov eax, dword [0x10063c50]
mov dword [esp + 0x58], eax
mov eax, dword [0x10063c4c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
add eax, 0xcf4c3fc1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub ecx, 1
sub ecx, 0xcf4c3fc1
imul eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
and eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
cmp ecx, 0
sete cl
mov byte [esp + 0x4a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x4b], al
mov dl, byte [esp + 0x4b]
mov cl, byte [esp + 0x4a]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1004710d
jmp 0x100472b2
mov eax, dword [0x10062368]
mov dword [eax - 0x2754ddda], 1
mov eax, dword [0x10063c50]
mov dword [esp + 0x40], eax
mov eax, dword [0x10063c4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
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 + 0x3f], al
mov eax, dword [esp + 0x44]
cmp eax, 0xa
setl al
mov byte [esp + 0x3e], al
mov cl, byte [esp + 0x3e]
mov al, byte [esp + 0x3f]
and al, cl
mov byte [esp + 0x3d], al
mov cl, byte [esp + 0x3e]
mov al, byte [esp + 0x3f]
xor al, cl
mov byte [esp + 0x3c], al
mov cl, byte [esp + 0x3c]
mov al, byte [esp + 0x3d]
or al, cl
test al, 1
jne 0x1004718c
jmp 0x100472b2
mov eax, dword [0x10063c50]
mov dword [esp + 0x30], eax
mov ecx, dword [0x10063c4c]
mov dword [esp + 0x34], ecx
sub eax, 0x5f29a482
sub eax, 1
add eax, 0x5f29a482
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x34]
cmp eax, 0xa
setl al
mov byte [esp + 0x2e], al
mov cl, byte [esp + 0x2e]
mov al, byte [esp + 0x2f]
and al, cl
mov byte [esp + 0x2d], al
mov cl, byte [esp + 0x2e]
mov al, byte [esp + 0x2f]
xor al, cl
mov byte [esp + 0x2c], al
mov cl, byte [esp + 0x2c]
mov al, byte [esp + 0x2d]
or al, cl
test al, 1
jne 0x10047209
jmp 0x100472ff
mov eax, dword [0x10063c50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [0x10063c4c]
mov dword [esp + 0x20], ecx
add eax, 0x85a680de
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
sub eax, 1
sub eax, 0x85a680de
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x1a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x1b], al
mov cl, byte [esp + 0x1b]
mov al, byte [esp + 0x1a]
mov dl, al
and dl, cl
mov byte [esp + 0x18], dl
xor al, cl
mov byte [esp + 0x19], al
mov cl, byte [esp + 0x19]
mov al, byte [esp + 0x18]
or al, cl
test al, 1
jne 0x1004728c
jmp 0x100472ff
jmp 0x10046b96
mov eax, dword [0x10062368]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0xd8ab2226
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
jmp 0x10046922
mov eax, dword [0x10062368]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0xd8ab2226
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x1004710d
mov eax, dword [0x10062368]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xd8ab2226
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10046c99
jmp 0x10046fb9
jmp 0x10047209