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

Disassembly:
push ebx
push esi
sub esp, 0xf8
mov eax, dword [esp + 0x108]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0xe8], eax
mov eax, dword [0x10066c10]
mov dword [esp + 0xec], eax
mov ecx, dword [0x10066c0c]
mov dword [esp + 0xf0], ecx
sub eax, 0x5f9059a8
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xf4]
sub eax, 1
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xe0]
add eax, 0x5f9059a8
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0xec]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xdb], al
mov cl, byte [esp + 0xdb]
mov eax, dword [esp + 0xf0]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0xda], al
mov al, byte [esp + 0xda]
test al, 1
jne 0x1004b345
jmp 0x1004b8d3
mov eax, dword [esp + 0xe4]
add eax, 0x11
mov dword [esp + 0xd4], eax
mov eax, dword [0x1006538c]
cmp dword [eax + 0x400ee69f], 1
sete al
mov byte [esp + 0xd3], al
mov eax, dword [0x10066c10]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [0x10066c0c]
mov dword [esp + 0xc4], ecx
mov ecx, eax
add ecx, 0x12457cfc
sub ecx, 1
sub ecx, 0x12457cfc
imul eax, ecx
and eax, 1
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc8]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0xc2], dl
xor al, cl
mov byte [esp + 0xc3], al
mov cl, byte [esp + 0xc3]
mov al, byte [esp + 0xc2]
or al, cl
test al, 1
jne 0x1004b3f5
jmp 0x1004b8d3
mov eax, dword [0x10066c10]
mov dword [esp + 0xb8], eax
mov eax, dword [0x10066c0c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xb8]
sub eax, 0xc27a5ceb
sub eax, 1
add eax, 0xc27a5ceb
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
imul eax, ecx
and eax, 1
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb0]
cmp ecx, 0
sete cl
mov byte [esp + 0xae], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xaf], al
mov cl, byte [esp + 0xaf]
mov al, byte [esp + 0xae]
and al, cl
mov byte [esp + 0xad], al
mov al, byte [esp + 0xad]
mov dl, byte [esp + 0xaf]
mov cl, byte [esp + 0xae]
xor cl, dl
or al, cl
test al, 1
jne 0x1004b4a8
jmp 0x1004b9dc
mov eax, dword [0x10066c10]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [0x10066c0c]
mov dword [esp + 0xa0], ecx
add eax, 0x20e63129
sub eax, 1
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
sub ecx, 0x20e63129
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x9f], al
mov eax, dword [esp + 0xa0]
cmp eax, 0xa
setl al
mov byte [esp + 0x9e], al
mov dl, byte [esp + 0x9e]
mov cl, byte [esp + 0x9f]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x9d], al
mov al, byte [esp + 0x9d]
test al, 1
jne 0x1004b543
jmp 0x1004b9dc
mov cl, byte [esp + 0xd3]
xor eax, eax
test cl, 1
mov dword [esp + 0x98], eax
jne 0x1004b793
jmp 0x1004b561
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x94], eax
mov bh, byte [edx + eax]
mov esi, 0x11
xor edx, edx
div esi
mov eax, dword [esp + 0x94]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x9f
mov cl, 0xff
xor cl, 0x9f
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x9f
and bl, cl
mov ecx, dword [esp + 0xe8]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, 1
sub eax, ecx
cmp eax, 0x1c
mov dword [esp + 0x98], eax
jne 0x1004b561
mov eax, dword [0x10066c10]
mov ecx, dword [0x10066c0c]
mov dword [esp + 0x8c], ecx
mov ecx, eax
sub ecx, 0xf63646e5
sub ecx, 1
add ecx, 0xf63646e5
imul eax, ecx
and eax, 1
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
cmp ecx, 0
sete cl
mov byte [esp + 0x88], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x89], al
xor cl, 0xff
mov byte [esp + 0x8a], cl
xor al, 0xff
mov byte [esp + 0x8b], al
mov al, byte [esp + 0x8b]
mov cl, byte [esp + 0x88]
mov ah, byte [esp + 0x8a]
mov dl, 1
xor dl, 1
mov byte [esp + 0x84], dl
and ah, 0xff
mov byte [esp + 0x85], ah
and cl, dl
mov byte [esp + 0x86], cl
and al, 0xff
mov byte [esp + 0x87], al
mov cl, byte [esp + 0x86]
mov al, byte [esp + 0x85]
mov ah, byte [esp + 0x84]
mov dl, byte [esp + 0x89]
and dl, ah
mov byte [esp + 0x82], dl
or al, cl
mov byte [esp + 0x83], al
mov dl, byte [esp + 0x84]
mov ah, byte [esp + 0x8b]
mov cl, byte [esp + 0x8a]
mov al, byte [esp + 0x83]
mov dh, byte [esp + 0x82]
mov ch, byte [esp + 0x87]
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x81], al
mov al, byte [esp + 0x81]
test al, 1
jne 0x1004b6fe
jmp 0x1004b9e1
mov eax, dword [0x1006538c]
add eax, 0x400ee69f
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x7c]
mov dword [eax], 1
mov eax, dword [0x10066c10]
mov dword [esp + 0x74], eax
mov eax, dword [0x10066c0c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
sub eax, 0x4ec0f60d
sub eax, 1
add eax, 0x4ec0f60d
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x6d], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x6e], cl
and al, cl
mov byte [esp + 0x6f], al
mov cl, byte [esp + 0x6e]
mov al, byte [esp + 0x6d]
xor al, cl
mov byte [esp + 0x6c], al
mov cl, byte [esp + 0x6c]
mov al, byte [esp + 0x6f]
or al, cl
test al, 1
jne 0x1004b78e
jmp 0x1004b9e1
jmp 0x1004b793
mov eax, dword [0x10066c10]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [0x10066c0c]
mov dword [esp + 0x60], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x5b], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x5c], al
xor cl, 0xff
mov byte [esp + 0x5d], cl
xor al, 0xff
mov byte [esp + 0x5e], al
mov al, 1
xor al, 1
mov byte [esp + 0x5f], al
mov al, byte [esp + 0x5e]
mov dl, byte [esp + 0x5f]
mov cl, byte [esp + 0x5b]
mov ah, byte [esp + 0x5d]
and ah, 0xff
mov byte [esp + 0x58], ah
and cl, dl
mov byte [esp + 0x59], cl
and al, 0xff
mov byte [esp + 0x5a], al
mov dl, byte [esp + 0x5f]
mov ah, byte [esp + 0x5e]
mov cl, byte [esp + 0x5d]
mov ch, byte [esp + 0x5a]
mov bl, byte [esp + 0x59]
mov al, byte [esp + 0x58]
mov dh, byte [esp + 0x5c]
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 + 0x57], al
mov al, byte [esp + 0x57]
test al, 1
jne 0x1004b856
jmp 0x1004ba06
mov eax, dword [0x10066c10]
mov dword [esp + 0x4c], eax
mov eax, dword [0x10066c0c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
imul eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
and eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
cmp ecx, 0
sete cl
mov byte [esp + 0x3e], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x3f], al
mov dl, byte [esp + 0x3f]
mov cl, byte [esp + 0x3e]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1004b8ca
jmp 0x1004ba06
add esp, 0xf8
pop esi
pop ebx
ret
mov eax, dword [0x10066c10]
mov dword [esp + 0x34], eax
mov eax, dword [0x10066c0c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
sub eax, 0xa279f507
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
sub eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
add ecx, 0xa279f507
imul eax, ecx
and eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
cmp ecx, 0
sete cl
mov byte [esp + 0x26], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x27], al
mov dl, byte [esp + 0x27]
mov cl, byte [esp + 0x26]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1004b94e
jmp 0x1004ba0b
mov eax, dword [0x1006538c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x400ee69f]
mov eax, dword [0x10066c10]
mov dword [esp + 0x14], eax
mov ecx, dword [0x10066c0c]
mov dword [esp + 0x18], ecx
add eax, 0xae913a76
sub eax, 1
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
sub edx, 0xae913a76
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x11], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x12], cl
and al, cl
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
mov dl, byte [esp + 0x12]
mov cl, byte [esp + 0x11]
xor cl, dl
or al, cl
mov byte [esp + 0x10], al
mov al, byte [esp + 0x10]
test al, 1
jne 0x1004b9d7
jmp 0x1004ba0b
jmp 0x1004b345
jmp 0x1004b4a8
mov eax, dword [0x1006538c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x400ee69f
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x1004b6fe
jmp 0x1004b856
mov eax, dword [0x1006538c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x400ee69f
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1004b94e