Function at 0x1003400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
push ecx
nop
push edx
nop
push ebx
nop
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x78
mov ebx, 9
mov dword [ebp - 4], 2
mov esi, 2
mov eax, dword [ebp - 4]
add eax, ebx
sub eax, 0xb
mov dword [ebp - 0x14], eax
and dword [ebp - 8], 0
mov dword [ebp - 0x40], 0x7e43
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], 0x1970c2e6
mov dword [ebp - 0x14], 0x7094
add dword [ebp - 8], 0x3996
add dword [ebp - 0x14], 0x2f62
dec dword [ebp - 0x30]
jmp 0x1003542
add dword [ebp - 8], 0x1002b2c
mov eax, esi
sub eax, 2
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], 0x100e705
mov dword [ebp - 0x38], 0x103d000
mov edi, dword [ebp - 0x14]
mov eax, 2
cdq
idiv esi
sub edi, eax
mov dword [ebp - 0x18], edi
dec dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
add edx, esi
sub edx, 3
add eax, edx
mov edx, dword [ebp - 8]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
movzx edx, byte [ebp - 9]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x70], eax
mov ecx, 6
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov dword [ebp - 0x78], edx
mov edi, edx
add edi, dword [ebp - 0x30]
mov edx, edi
and edx, 0xff
mov edi, dword [ebp - 0x74]
xor edi, edx
mov edx, edi
mov byte [ebp - 9], dl
mov edi, dword [ebp - 0x18]
mov eax, 9
cdq
idiv ebx
add edi, eax
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 9]
mov byte [edx + edi], cl
mov eax, 0x1b
cdq
idiv ebx
cmp eax, dword [ebp - 0x18]
jae 0x10034ae
jmp 0x10033ea
mov dword [ebp - 0x48], 0x1030105
mov eax, esi
add eax, esi
sub eax, 4
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov edx, ebx
sub edx, 8
sub eax, edx
mov edx, dword [ebp - 0x44]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
mov edi, dword [ebp - 0x1c]
mov eax, 2
cdq
idiv esi
sub edi, eax
mov edx, dword [ebp - 0x38]
mov cl, byte [ebp - 9]
mov byte [edx + edi], cl
mov eax, 0x218dc
cmp eax, dword [ebp - 0x1c]
ja 0x100346f
mov dword [ebp - 0x4c], 0x107e000
jmp 0x10034b3
inc dword [ebp - 0x28]
jmp 0x100351a
mov eax, ebx
sub eax, 9
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x20]
mov edi, dword [ebp - 0x20]
mov eax, 2
cdq
idiv esi
sub edi, eax
mov edx, dword [ebp - 0x48]
mov dl, byte [edx + edi]
mov byte [ebp - 9], dl
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
add edx, esi
sub edx, 3
sub eax, edx
mov edx, dword [ebp - 0x4c]
mov cl, byte [ebp - 9]
mov byte [edx + eax], cl
mov eax, 0x9924
cmp eax, dword [ebp - 0x20]
ja 0x10034bb
mov dword [ebp - 0x10], 0x1039f05
mov dword [ebp - 0x50], 0x10000000
mov dword [ebp - 0x6c], 0x42000
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], 0x1000
jmp 0x1003533
mov eax, 0xc
mov ecx, dword [ebp - 4]
cdq
idiv ecx
cmp eax, dword [ebp - 0x28]
jb 0x100345e
jmp 0x10033cc
mov eax, esi
add eax, esi
sub eax, 4
mov dword [ebp - 0x24], eax
jmp 0x100362e
add dword [ebp - 0x14], 0x24c0a
jmp 0x10033bd
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x58]
mov ax, word [eax]
mov word [ebp - 0x32], ax
movzx edi, word [ebp - 0x32]
mov ecx, ebx
sub ecx, 5
shl edi, cl
mov word [ebp - 0x2a], di
movzx edi, word [ebp - 0x2a]
mov eax, 0x24
cdq
idiv ebx
mov ecx, eax
sar edi, cl
mov word [ebp - 0x2a], di
movzx edi, word [ebp - 0x32]
mov ecx, esi
add ecx, 0xa
sar edi, cl
mov word [ebp - 0x5a], di
mov eax, ebx
add eax, esi
sub eax, 0xb
movzx edx, word [ebp - 0x32]
cmp eax, edx
je 0x1003619
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
jmp 0x10035fd
movzx edi, word [ebp - 0x5a]
mov eax, 6
mov ecx, dword [ebp - 4]
cdq
idiv ecx
cmp edi, eax
jne 0x10035de
movzx eax, word [ebp - 0x2a]
add eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
mov edi, eax
mov edx, ebx
add edx, ebx
sub edx, 0x12
mov ecx, dword [ebp - 0x68]
add ecx, dword [edi]
mov dword [edi + edx*4], ecx
imul eax, dword [ebp - 4], 1
add dword [ebp - 0x24], eax
mov eax, 2
mov ecx, dword [ebp - 4]
cdq
idiv ecx
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp dword [edi + eax*4], ecx
jbe 0x1003619
jmp 0x100362e
movzx eax, word [ebp - 0x2a]
mov edx, dword [ebp - 4]
sub edx, 2
cmp eax, edx
jne 0x10035ad
mov eax, esi
add eax, esi
sub eax, 4
cmp eax, dword [ebp - 0x24]
je 0x10035ad
jmp 0x1003619
mov edi, dword [ebp - 0x10]
mov eax, 9
cdq
idiv ebx
mov edx, dword [edi + eax*4]
add edx, edi
mov dword [ebp - 0x10], edx
jmp 0x1003646
mov eax, dword [ebp - 0x24]
mov edx, ebx
add edx, dword [ebp - 4]
sub edx, 3
add eax, edx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x58], eax
jmp 0x100354e
cmp dword [ebp - 0x10], 0x103cbdd
jb 0x1003502
leave
push 0x1055974
ret