Function at 0x40b035
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, 7
mov dword [ebp - 0xc], 0xa
mov esi, 0xe
add bh, al
inc ebp
clc
or dword [eax], eax
add byte [eax], al
mov eax, esi
add eax, dword [ebp - 8]
sub eax, 0x17
mov dword [ebp - 0x24], eax
and dword [ebp - 0x28], 0
jmp 0x40b065
add dword [ebp - 0x28], 0x4887
mov dword [ebp - 0x20], 0x9db9052f
mov dword [ebp - 0x24], 0x30a4
jmp 0x40b06e
dec dword [ebp - 0x20]
mov eax, dword [ebp - 8]
sub eax, 9
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], 0x491000
mov dword [ebp - 0x2c], 0x46d6c0
mov eax, edi
add eax, esi
sub eax, 0x12
mov dword [ebp - 0x10], eax
jmp 0x40b04c
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 0x20]
xor edx, ecx
mov byte [eax], dl
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], eax
jb 0x40b038
jmp 0x40b0ba
mov eax, dword [ebp - 8]
add eax, esi
sub eax, 0x14
cmp eax, dword [ebp - 0x44]
jbe 0x40b077
jmp 0x40b01e
mov dword [ebp - 0x28], 0x468a39
jmp 0x40affb
add dword [ebp - 0x24], 0x2095c
jmp 0x40b012
mov eax, esi
sub eax, 0xe
mov dword [ebp - 4], eax
jmp 0x40b093
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x19d34
jb 0x40b081
mov dword [ebp - 0x48], 0x4874c0
mov dword [ebp - 0x4c], 0x4c4000
mov dword [ebp - 0x14], 0x48e0c0
mov dword [ebp - 0x30], 0x10000000
jmp 0x40b0c2
inc dword [ebp - 0x44]
jmp 0x40b1d9
mov eax, dword [ebp - 8]
sub eax, 9
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 0x3c]
mov eax, 0x6720
cmp eax, dword [ebp - 0x3c]
ja 0x40b0cb
mov dword [ebp - 0x50], 0x34000
mov dword [ebp - 0x34], 0x1000
mov ebx, dword [ebp - 0xc]
sub ebx, 0xa
jmp 0x40b1c8
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
sub eax, 0xb
add eax, dword [ebp - 0x14]
add eax, ebx
mov dword [ebp - 0x58], eax
jmp 0x40b14e
mov eax, dword [ebp - 0x58]
mov ax, word [eax]
mov word [ebp - 0x54], ax
movzx edx, word [ebp - 0x54]
mov ecx, edi
sub ecx, 3
shl edx, cl
mov word [ebp - 0x52], dx
movzx edx, word [ebp - 0x52]
mov ecx, edi
add ecx, esi
sub ecx, 0x11
sar edx, cl
mov word [ebp - 0x52], dx
movzx edx, word [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
jmp 0x40b113
invalid
mov eax, dword [ebp - 0x14]
cmp ebx, dword [eax + 4]
jb 0x40b100
jmp 0x40b25f
mov eax, esi
add eax, dword [ebp - 0xc]
sub eax, 0x16
cmp eax, dword [ebp - 0x44]
jne 0x40b056
inc dword [ebp - 0x20]
jmp 0x40b056
mov eax, 0x490940
cmp eax, dword [ebp - 0x14]
ja 0x40b0e7
mov eax, dword [ebp - 8]
lea eax, [esi + eax + 0x431]
mov dword [ebp - 0x38], eax
mov eax, esi
add eax, 0x137a
mov dword [ebp - 0x40], eax
jmp 0x40b234
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
sub edx, 0x10
add ecx, edx
mul ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], eax
jmp 0x40b246
mov eax, dword [ebp - 0x38]
mov ecx, esi
add ecx, 9
mul ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], eax
jmp 0x40b219
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
add edx, eax
mov ecx, esi
add ecx, dword [ebp - 0xc]
sub ecx, 0x10
add edx, ecx
add eax, edx
mov dword [ebp - 0x40], eax
jmp 0x40b26c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
add edx, eax
mov dword [ebp - 0x14], edx
jmp 0x40b1f2
mov eax, dword [ebp - 0xc]
add eax, 0x9a
add dword [ebp - 0x38], eax
pop edi
pop esi
pop ebx
leave
jmp 0x49c054