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

Disassembly:
push ebx
push esi
sub esp, 0xe8
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xd8], eax
mov eax, dword [0x10063d28]
mov dword [esp + 0xdc], eax
mov ecx, dword [0x10063d24]
mov dword [esp + 0xe0], ecx
sub eax, 0xd5606945
sub eax, 1
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe4]
add ecx, 0xd5606945
imul eax, ecx
and eax, 1
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd0]
cmp eax, 0
sete al
mov byte [esp + 0xcf], al
mov al, byte [esp + 0xcf]
mov ecx, dword [esp + 0xe0]
cmp ecx, 0xa
setl cl
mov byte [esp + 0xc9], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0xca], dl
xor cl, 0xff
mov byte [esp + 0xcb], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0xcc], cl
and dl, 0xff
mov byte [esp + 0xcd], dl
and al, cl
mov byte [esp + 0xce], al
mov cl, byte [esp + 0xcb]
mov al, byte [esp + 0xca]
mov dh, byte [esp + 0xce]
mov dl, byte [esp + 0xcd]
mov bl, byte [esp + 0xcc]
mov ch, byte [esp + 0xc9]
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0xc7], dl
or al, cl
xor al, 0xff
mov byte [esp + 0xc8], al
mov al, byte [esp + 0xc7]
mov cl, byte [esp + 0xc8]
mov dl, byte [esp + 0xcc]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10034a33
jmp 0x10035109
mov eax, dword [0x10063d28]
mov dword [esp + 0xc0], eax
mov eax, dword [0x10063d24]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc0]
add eax, 0x1e3e492d
sub eax, 1
sub eax, 0x1e3e492d
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xc0]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xb5], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xb6], cl
and al, cl
mov byte [esp + 0xb7], al
mov al, byte [esp + 0xb7]
mov dl, byte [esp + 0xb6]
mov cl, byte [esp + 0xb5]
xor cl, dl
or al, cl
mov byte [esp + 0xb4], al
mov al, byte [esp + 0xb4]
test al, 1
jne 0x10034ad8
jmp 0x1003512f
mov eax, dword [esp + 0xd4]
add eax, 0x13
mov dword [esp + 0xb0], eax
mov eax, dword [0x100622fc]
cmp dword [eax + 0x2f8c5626], 1
sete al
mov byte [esp + 0xa3], al
mov eax, dword [0x10063d28]
mov dword [esp + 0xa4], eax
mov ecx, dword [0x10063d24]
mov dword [esp + 0xa8], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa4]
imul eax, ecx
and eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x9c]
cmp ecx, 0
sete cl
mov byte [esp + 0x9a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x9b], al
mov dl, byte [esp + 0x9b]
mov cl, byte [esp + 0x9a]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x10034b8c
jmp 0x1003512f
mov eax, dword [0x10063d28]
mov dword [esp + 0x90], eax
mov eax, dword [0x10063d24]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x90]
mov ecx, eax
add ecx, 0xcc788f9f
sub ecx, 1
sub ecx, 0xcc788f9f
imul eax, ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x8c]
and eax, 1
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x88]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x86], dl
xor al, cl
mov byte [esp + 0x87], al
mov cl, byte [esp + 0x87]
mov al, byte [esp + 0x86]
or al, cl
mov byte [esp + 0x85], al
mov al, byte [esp + 0x85]
test al, 1
jne 0x10034c30
jmp 0x10035109
mov ecx, dword [0x10063d28]
mov eax, dword [0x10063d24]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x83], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x84], al
mov cl, byte [esp + 0x84]
mov al, byte [esp + 0x83]
xor al, 0xff
mov byte [esp + 0x7f], al
xor cl, 0xff
mov byte [esp + 0x80], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x81], cl
and al, 0
mov byte [esp + 0x82], al
mov cl, byte [esp + 0x81]
mov al, byte [esp + 0x83]
and al, cl
mov byte [esp + 0x7e], al
mov cl, byte [esp + 0x81]
mov dl, byte [esp + 0x80]
mov al, byte [esp + 0x7f]
mov bl, byte [esp + 0x7e]
mov ah, byte [esp + 0x82]
mov dh, byte [esp + 0x84]
mov ch, dl
and ch, 0
and dh, cl
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x7c], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x7d], al
mov cl, byte [esp + 0x7d]
mov al, byte [esp + 0x7c]
or al, cl
mov byte [esp + 0x7b], al
mov al, byte [esp + 0x7b]
test al, 1
jne 0x10034d0c
jmp 0x10035144
mov eax, dword [0x10063d28]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [0x10063d24]
mov dword [esp + 0x6c], ecx
mov ecx, eax
add ecx, 0xf7b3a31a
sub ecx, 1
sub ecx, 0xf7b3a31a
imul eax, ecx
and eax, 1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
cmp eax, 0
sete al
mov byte [esp + 0x6b], al
mov eax, dword [esp + 0x6c]
cmp eax, 0xa
setl al
mov byte [esp + 0x6a], al
mov dl, byte [esp + 0x6a]
mov cl, byte [esp + 0x6b]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x69], al
mov al, byte [esp + 0x69]
test al, 1
jne 0x10034d7f
jmp 0x10035144
mov cl, byte [esp + 0xa3]
xor eax, eax
test cl, 1
mov dword [esp + 0x64], eax
jne 0x10034f68
jmp 0x10034d9a
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x60], eax
mov bh, byte [edx + eax]
mov esi, 0x13
xor edx, edx
div esi
mov eax, dword [esp + 0x60]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x5c
mov cl, 0xff
xor cl, 0x5c
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x5c
and bl, cl
mov ecx, dword [esp + 0xd8]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
sub eax, 0x706b9339
add eax, 1
add eax, 0x706b9339
cmp eax, 0x41
mov dword [esp + 0x64], eax
jne 0x10034d9a
mov eax, dword [0x10063d28]
mov dword [esp + 0x54], eax
mov ecx, dword [0x10063d24]
mov dword [esp + 0x58], ecx
sub eax, 0x34975b78
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
sub eax, 1
add eax, 0x34975b78
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x4e], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x4f], al
mov cl, byte [esp + 0x4f]
mov al, byte [esp + 0x4e]
and al, cl
mov byte [esp + 0x4d], al
mov al, byte [esp + 0x4d]
mov dl, byte [esp + 0x4f]
mov cl, byte [esp + 0x4e]
xor cl, dl
or al, cl
mov byte [esp + 0x4c], al
mov al, byte [esp + 0x4c]
test al, 1
jne 0x10034e8b
jmp 0x100350e4
mov eax, dword [0x100622fc]
mov dword [eax + 0x2f8c5626], 1
mov eax, dword [0x10063d28]
mov ecx, dword [0x10063d24]
mov dword [esp + 0x44], ecx
mov ecx, eax
sub ecx, 0x9a0d96bc
sub ecx, 1
add ecx, 0x9a0d96bc
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x4b], al
mov cl, byte [esp + 0x4b]
mov eax, dword [esp + 0x44]
cmp eax, 0xa
setl al
mov byte [esp + 0x40], al
xor cl, 0xff
mov byte [esp + 0x41], cl
xor al, 0xff
mov byte [esp + 0x42], al
mov al, 1
xor al, 1
mov byte [esp + 0x43], al
mov cl, byte [esp + 0x43]
mov al, byte [esp + 0x4b]
mov dl, byte [esp + 0x41]
and dl, 0xff
mov byte [esp + 0x3e], dl
and al, cl
mov byte [esp + 0x3f], al
mov cl, byte [esp + 0x42]
mov al, byte [esp + 0x41]
mov dh, byte [esp + 0x3f]
mov dl, byte [esp + 0x3e]
mov bl, byte [esp + 0x43]
mov ch, byte [esp + 0x40]
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x3c], dl
or al, cl
mov byte [esp + 0x3d], al
mov cl, byte [esp + 0x43]
mov al, byte [esp + 0x3d]
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0x3b], al
mov cl, byte [esp + 0x3b]
mov al, byte [esp + 0x3c]
or al, cl
test al, 1
jne 0x10034f63
jmp 0x100350e4
jmp 0x10034f68
mov eax, dword [0x10063d28]
mov dword [esp + 0x2c], eax
mov eax, dword [0x10063d24]
mov dword [esp + 0x30], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
cmp ecx, 0
sete cl
mov byte [esp + 0x24], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x25], al
xor cl, 0xff
mov byte [esp + 0x26], cl
xor al, 0xff
mov byte [esp + 0x27], al
mov al, byte [esp + 0x24]
mov dl, byte [esp + 0x26]
mov cl, 1
xor cl, 0
mov byte [esp + 0x21], cl
and dl, 0
mov byte [esp + 0x22], dl
and al, cl
mov byte [esp + 0x23], al
mov dl, byte [esp + 0x21]
mov ah, byte [esp + 0x27]
mov cl, byte [esp + 0x26]
mov bl, byte [esp + 0x23]
mov al, byte [esp + 0x22]
mov dh, byte [esp + 0x25]
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
mov byte [esp + 0x20], al
mov al, byte [esp + 0x20]
test al, 1
jne 0x10035026
jmp 0x1003512a
mov ecx, dword [0x10063d28]
mov eax, dword [0x10063d24]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x1c], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x1d], al
xor cl, 0xff
mov byte [esp + 0x1e], cl
xor al, 0xff
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x1e]
mov cl, 1
xor cl, 1
mov byte [esp + 0x1a], cl
and al, 0xff
mov byte [esp + 0x1b], al
mov cl, byte [esp + 0x1a]
mov al, byte [esp + 0x1c]
and al, cl
mov byte [esp + 0x19], al
mov cl, byte [esp + 0x1f]
mov al, byte [esp + 0x1e]
mov dh, byte [esp + 0x19]
mov dl, byte [esp + 0x1b]
mov bl, byte [esp + 0x1a]
mov ch, byte [esp + 0x1d]
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x17], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x18], al
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x1a]
or cl, 1
and al, cl
mov byte [esp + 0x16], al
mov cl, byte [esp + 0x16]
mov al, byte [esp + 0x17]
or al, cl
test al, 1
jne 0x100350db
jmp 0x1003512a
add esp, 0xe8
pop esi
pop ebx
ret
mov eax, dword [0x100622fc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, 0x2f8c5626
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [eax], 1
jmp 0x10034e8b
mov eax, dword [0x100622fc]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add eax, 0x2f8c5626
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
jmp 0x10034a33
jmp 0x10035026
mov eax, dword [0x100622fc]
mov dword [esp], eax
mov eax, dword [esp]
add eax, 0x2f8c5626
jmp 0x10034ad8
jmp 0x10034d0c