Function at 0x422de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov esi, esp
push eax
mov dword [esi + 0xe8], esp
push eax
mov eax, esp
push eax
mov dword [esi + 0xac], esp
push eax
mov dword [esi + 0x68], esp
sub esp, 0x1c
mov ecx, esp
mov dword [esi + 0x98], ecx
mov dword [esi + 0xec], ecx
sub esp, 0x30
mov ecx, esp
and ecx, 0xfffffff0
mov dword [esi + 0x6c], ecx
mov esp, ecx
push eax
mov dword [esi + 0x58], esp
push eax
mov ecx, esp
push eax
mov dword [esi + 0x9c], esp
push eax
mov dword [esi + 0xd0], esp
push eax
mov dword [esi + 0xc8], esp
sub esp, 0x30
mov edx, esp
and edx, 0xfffffff0
mov esp, edx
push eax
mov dword [esi + 0xc0], esp
sub esp, 8
mov dword [esi + 0x114], esp
sub esp, 8
mov edi, esp
sub esp, 0x10
mov ebx, esp
mov dword [esi + 0x8c], ebx
mov dword [esi + 0xbc], ebx
sub esp, 0x20
mov ebx, esp
and ebx, 0xfffffff0
mov dword [esi + 0x70], ebx
mov esp, ebx
push eax
mov dword [esi + 0xb8], esp
sub esp, 0x30
mov ebx, esp
mov dword [esi + 0x94], ebx
mov dword [esi + 0xe4], ebx
sub esp, 0x40
mov ebx, esp
and ebx, 0xfffffff0
mov dword [esi + 0x78], ebx
mov esp, ebx
mov dword [esi + 0x90], edi
mov dword [esi + 0xc4], edx
mov dword [esi + 0x50], ecx
mov dword [esi + 0xc], eax
push eax
mov dword [esi + 0xe0], esp
sub esp, 0x14
mov dword [esi + 0xa4], esp
sub esp, 0x30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0xd4], eax
mov esp, eax
push eax
mov dword [esi + 0xdc], esp
sub esp, 0x20
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0xcc], eax
mov esp, eax
mov dword [esi + 0x10], 0x4b8b4d61
mov dword [esi + 0x14], 0x57a649b8
mov dword [esi + 0x18], 0x53b35598
mov dword [esi + 0x1c], 0x5fbf51ac
mov dword [esi + 0x20], 0x5b5a5d71
lea eax, [esi + 0x24]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0xf0], 0
mov ecx, dword [esi + 0xf0]
cmp ecx, 0x27
ja 0x422f8a
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 0xf0]
mov edx, dword [esi + 0xf0]
movzx edx, byte [esi + edx + 0x10]
lea edi, [ecx + 0xa]
and edi, edx
add ecx, edx
add edi, edi
sub ecx, edi
add cl, 0xc4
mov edx, dword [esi + 0xf0]
mov byte [esi + edx + 0x10], cl
inc dword [esi + 0xf0]
mov ecx, dword [esi + 0xf0]
cmp ecx, 0x28
jb 0x422f50
lea ebx, [esi + 0x16c]
lea edx, [esi + 0x10]
mov dword [esi + 0x64], edx
mov ecx, 5
mov edi, ebx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esi + 0x180]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea eax, [esi + 0x7c]
push eax
push 0
push 0
push 9
push ebx
push 0
call dword [0x449040]
mov edi, dword [esi + 0x7c]
test edi, edi
jns 0x422fd1
mov eax, 0xffffffff
jmp 0x422fd4
lea eax, [edi + edi]
push eax
call fcn.00435d80
add esp, 4
lea ecx, [esi + 0x7c]
push ecx
push edi
mov dword [esi + 0x74], eax
push eax
push 9
push ebx
push 0
call dword [0x449040]
mov dword [esi + 0x10], 0x93fb91da
mov dword [esi + 0x14], 0x9ff19def
mov dword [esi + 0x18], 0x9bea99ef
mov dword [esi + 0x1c], 0xa7a4a5f6
lea eax, [esi + 0x20]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2b], 0
mov dword [esi + 0xf0], 0
mov ecx, dword [esi + 0xf0]
cmp ecx, 0x1e
ja 0x423094
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esi + 0xf0]
mov ecx, dword [esi + 0xf0]
movzx edi, byte [esi + ecx + 0x10]
lea ecx, [edx + edi]
add ecx, 0x33f8dc13
add edx, 0x33f8dc13
and edx, edi
add edx, edx
sub ecx, edx
add cl, 0x7b
mov edx, dword [esi + 0xf0]
mov byte [esi + edx + 0x10], cl
inc dword [esi + 0xf0]
mov ecx, dword [esi + 0xf0]
cmp ecx, 0x1f
jb 0x423050
lea edi, [esi + 0x15c]
lea edx, [esi + 0x10]
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esi + 0x16c]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esi + 0x10], 0xab4ba562
mov dword [esi + 0x14], 0xaf4da95f
mov dword [esi + 0x18], 0xb35aad5f
mov dword [esi + 0x1c], 0xb775b156
mov dword [esi + 0x20], 0xbb46b551
mov dword [esi + 0x24], 0xbf4eb95d
mov dword [esi + 0x28], 0x43bcbd41
lea eax, [esi + 0x2c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov word [esi + 0x38], 0
mov dword [esi + 0x144], 0
mov ecx, dword [esi + 0x144]
cmp ecx, 0x29
ja 0x42315a
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 0x144]
mov edx, dword [esi + 0x144]
movzx edx, byte [esi + edx + 0x10]
lea edi, [ecx + 0x65]
and edi, edx
add ecx, edx
add edi, edi
sub ecx, edi
add cl, 0xa2
mov edx, dword [esi + 0x144]
mov byte [esi + edx + 0x10], cl
inc dword [esi + 0x144]
mov ecx, dword [esi + 0x144]
cmp ecx, 0x2a
jb 0x423120
lea edx, [esi + 0xf0]
lea ebx, [esi + 0x10]
mov ecx, 7
mov edi, edx
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esi + 0x10c]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esi + 0x10], 0xfb63f902
mov dword [esi + 0x14], 0xff19fd6f
mov dword [esi + 0x18], 0xf362f16f
mov dword [esi + 0x1c], 0xf704f516
mov dword [esi + 0x20], 0xeb2ae902
lea eax, [esi + 0x24]
mov word [esi + 0x24], 0xedea
mov dword [esi + 0x26], 0
mov dword [esi + 0x2a], 0
mov dword [esi + 0x2e], 0
mov dword [esi + 0x32], 0
mov dword [esi + 0x80], 0
mov ecx, dword [esi + 0x80]
cmp ecx, 0x25
ja 0x42321a
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 0x80]
mov edi, dword [esi + 0x80]
movzx edi, byte [esi + edi + 0x10]
lea ebx, [ecx + 0x1f]
and ebx, edi
add ecx, edi
add ebx, ebx
sub ecx, ebx
add cl, 0x46
mov edi, dword [esi + 0x80]
mov byte [esi + edi + 0x10], cl
inc dword [esi + 0x80]
mov ecx, dword [esi + 0x80]
cmp ecx, 0x26
jb 0x4231e0
lea edi, [esi + 0x144]
mov ecx, 5
mov ebx, dword [esi + 0x64]
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esi + 0x158]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea eax, [esi + 0x15c]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
lea eax, [esi + 0x8c]
mov ecx, dword [esi + 0xe8]
mov dword [ecx], eax
mov eax, dword [esi + 0x98]
lea edx, [eax + 0x18]
mov dword [esi + 0x140], edx
mov edx, dword [esi + 0x8c]
lea edi, [edx + 0x10]
mov dword [esi + 0x10c], edi
mov edi, dword [esi + 0x74]
add edi, 2
mov dword [esi + 0xd8], edi
add eax, 2
mov dword [esi + 0x98], eax
add edx, 2
mov dword [esi + 0x8c], edx
mov eax, dword [esi + 0x94]
lea edx, [eax + 0x2c]
mov dword [esi + 0x134], edx
add eax, 2
mov dword [esi + 0x94], eax
mov edi, dword [esi + 0xa4]
mov eax, edi
add eax, 2
mov dword [esi + 0x11c], eax
lea edx, [esi + 0x80]
mov dword [esi + 0xa0], 0
xor eax, eax
cmp edx, dword [ecx]
lea ecx, [esi + 0x144]
mov dword [esi + 0x88], ecx
setne al
mov eax, dword [eax*4 + 0x444624]
mov ecx, 0xc64e17e4
xor ecx, dword [0x44462c]
add eax, ecx
inc eax
mov edx, dword [esi + 0x6c]
lea ecx, [edx + 0x18]
mov dword [esi + 0x13c], ecx
lea ecx, [edx + 0x1a]
mov dword [esi + 0x138], ecx
mov ecx, dword [esi + 0xc4]
lea ecx, [ecx + 0x17]
mov dword [esi + 0x110], ecx
mov ecx, dword [esi + 0x70]
lea ecx, [ecx + 0x10]
mov dword [esi + 0xb4], ecx
mov ecx, dword [esi + 0x78]
lea ebx, [ecx + 0x2c]
mov dword [esi + 0x130], ebx
lea ecx, [ecx + 0x2e]
mov dword [esi + 0x12c], ecx
mov ecx, dword [esi + 0xd4]
lea ebx, [ecx + 0x10]
mov dword [esi + 0x128], ebx
add ecx, 0x12
mov dword [esi + 0x124], ecx
lea ecx, [edi + 0x10]
mov dword [esi + 0x120], ecx
lea edi, [esi + 0x80]
mov ebx, dword [esi + 0xc]
jmp eax