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

Disassembly:
push ebx
push esi
sub esp, 0xd4
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xc8], eax
mov eax, dword [0x1005fd08]
mov dword [esp + 0xcc], eax
mov eax, dword [0x1005fd04]
mov dword [esp + 0xd0], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0xc0]
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xbc]
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xb6], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0xb7], dl
xor cl, 0xff
mov byte [esp + 0xb8], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0xb9], cl
and dl, 0
mov byte [esp + 0xba], dl
and al, cl
mov byte [esp + 0xbb], al
mov al, byte [esp + 0xb9]
mov dl, byte [esp + 0xb8]
mov cl, byte [esp + 0xb7]
mov bl, byte [esp + 0xbb]
mov ah, byte [esp + 0xba]
mov dh, byte [esp + 0xb6]
mov ch, dl
and ch, 0
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0xb3], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0xb4], cl
or al, 0
mov byte [esp + 0xb5], al
mov al, byte [esp + 0xb3]
mov dl, byte [esp + 0xb5]
mov cl, byte [esp + 0xb4]
and cl, dl
or al, cl
test al, 1
jne 0x10034386
jmp 0x10034781
mov eax, dword [esp + 0xc4]
add eax, 0x1a
mov dword [esp + 0xa8], eax
mov eax, dword [str.Q_pw]
add eax, 0x9895c4df
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xac]
cmp dword [eax], 1
sete al
mov byte [esp + 0x9b], al
mov eax, dword [0x1005fd08]
mov dword [esp + 0x9c], eax
mov ecx, dword [0x1005fd04]
mov dword [esp + 0xa0], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x9c]
imul eax, ecx
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x94]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x91], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x92], cl
and al, cl
mov byte [esp + 0x93], al
mov al, byte [esp + 0x93]
mov dl, byte [esp + 0x92]
mov cl, byte [esp + 0x91]
xor cl, dl
or al, cl
mov byte [esp + 0x90], al
mov al, byte [esp + 0x90]
test al, 1
jne 0x10034463
jmp 0x10034781
mov cl, byte [esp + 0x9b]
xor eax, eax
test cl, 1
mov dword [esp + 0x8c], eax
jne 0x100345f2
jmp 0x10034481
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x88], eax
mov bh, byte [edx + eax]
mov esi, 0x1a
xor edx, edx
div esi
mov eax, dword [esp + 0x88]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0xc1
mov cl, 0xff
xor cl, 0xc1
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0xc1
and bl, cl
mov ecx, dword [esp + 0xc8]
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, 5
mov dword [esp + 0x8c], eax
jne 0x10034481
mov eax, dword [0x1005fd08]
mov dword [esp + 0x7c], eax
mov eax, dword [0x1005fd04]
mov dword [esp + 0x80], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
add eax, ecx
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
imul eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
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 + 0x73], al
mov al, byte [esp + 0x73]
test al, 1
jne 0x1003456b
jmp 0x100348a4
mov eax, dword [str.Q_pw]
add eax, 0x9895c4df
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov dword [eax], 1
mov eax, dword [0x1005fd08]
mov dword [esp + 0x64], eax
mov eax, dword [0x1005fd04]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
sub eax, 0x8eabad6b
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
sub eax, 1
add eax, 0x8eabad6b
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x5b], al
mov cl, byte [esp + 0x5b]
mov eax, dword [esp + 0x68]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x100345ed
jmp 0x100348a4
jmp 0x100345f2
mov eax, dword [0x1005fd08]
mov dword [esp + 0x54], eax
mov eax, dword [0x1005fd04]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, ecx
add edx, 0x3cab154f
sub edx, 1
sub edx, 0x3cab154f
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x4c], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x4d], al
xor cl, 0xff
mov byte [esp + 0x4e], cl
xor al, 0xff
mov byte [esp + 0x4f], al
mov al, byte [esp + 0x4f]
mov cl, byte [esp + 0x4c]
mov ah, byte [esp + 0x4e]
mov dl, 1
xor dl, 0
mov byte [esp + 0x48], dl
and ah, 0
mov byte [esp + 0x49], ah
and cl, dl
mov byte [esp + 0x4a], cl
and al, 0
mov byte [esp + 0x4b], al
mov cl, byte [esp + 0x48]
mov al, byte [esp + 0x4d]
and al, cl
mov byte [esp + 0x47], al
mov dl, byte [esp + 0x48]
mov ah, byte [esp + 0x4f]
mov cl, byte [esp + 0x4e]
mov dh, byte [esp + 0x47]
mov ch, byte [esp + 0x4b]
mov bl, byte [esp + 0x4a]
mov al, byte [esp + 0x49]
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 0x100346b5
jmp 0x100348c9
mov eax, dword [0x1005fd08]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [0x1005fd04]
mov dword [esp + 0x38], ecx
mov ecx, eax
sub ecx, 0x405bcdb2
sub ecx, 1
add ecx, 0x405bcdb2
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x3f], al
mov al, byte [esp + 0x3f]
mov ecx, dword [esp + 0x38]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x32], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x33], dl
xor cl, 0xff
mov byte [esp + 0x34], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x35], cl
and dl, 0xff
mov byte [esp + 0x36], dl
and al, cl
mov byte [esp + 0x37], al
mov al, byte [esp + 0x34]
and al, 0xff
mov byte [esp + 0x31], al
mov cl, byte [esp + 0x35]
mov al, byte [esp + 0x32]
and al, cl
mov byte [esp + 0x30], al
mov dl, byte [esp + 0x35]
mov ah, byte [esp + 0x34]
mov cl, byte [esp + 0x33]
mov dh, byte [esp + 0x30]
mov ch, byte [esp + 0x31]
mov bl, byte [esp + 0x37]
mov al, byte [esp + 0x36]
or al, bl
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 0x10034778
jmp 0x100348c9
add esp, 0xd4
pop esi
pop ebx
ret
mov eax, dword [0x1005fd08]
mov dword [esp + 0x28], eax
mov eax, dword [0x1005fd04]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
sub eax, 0xfea8c5c5
sub eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add ecx, 0xfea8c5c5
imul eax, ecx
and eax, 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x1e], dl
xor al, cl
mov byte [esp + 0x1f], al
mov cl, byte [esp + 0x1f]
mov al, byte [esp + 0x1e]
or al, cl
mov byte [esp + 0x1d], al
mov al, byte [esp + 0x1d]
test al, 1
jne 0x100347fc
jmp 0x100348ce
mov eax, dword [str.Q_pw]
mov eax, dword [0x1005fd08]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [0x1005fd04]
mov edx, eax
add edx, 0x384e606d
sub edx, 1
sub edx, 0x384e606d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x15], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x16], cl
xor al, 0xff
mov byte [esp + 0x17], al
mov al, byte [esp + 0x17]
mov ch, byte [esp + 0x16]
mov dh, byte [esp + 0x15]
mov cl, ch
xor cl, 0xff
mov bl, 1
xor bl, 1
mov byte [esp + 0x12], bl
mov dl, al
and dl, 0xff
and dh, bl
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x13], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x14], al
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x14]
mov dl, byte [esp + 0x12]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003489f
jmp 0x100348ce
jmp 0x10034386
mov eax, dword [str.Q_pw]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x9895c4df
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x1003456b
jmp 0x100346b5
mov eax, dword [str.Q_pw]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x9895c4df
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x100347fc