Function at 0x419950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x410
mov esi, esp
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x364], 0x443250
mov dword [esi + 0x360], 0x13
mov byte [esi + 2], 0
mov al, byte [esi + 0x84]
mov byte [esi + 0x88], al
mov byte [esi + 0x38], 0xc3
mov byte [esi + 0x39], 0x6d
mov byte [esi + 0x3a], 0xd7
mov byte [esi + 0x3b], 0x73
mov byte [esi + 0x3c], 0xc9
mov byte [esi + 0x3d], 0x71
mov byte [esi + 0x3e], 2
mov byte [esi + 0x3f], 0x77
mov byte [esi + 0x40], 6
mov byte [esi + 0x41], 0x75
mov byte [esi + 0x42], 0xde
mov byte [esi + 0x43], 0x7b
mov byte [esi + 0x44], 0xde
mov byte [esi + 0x45], 0x79
mov byte [esi + 0x46], 0x7e
mov byte [esi + 0x47], 0x7f
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x10
jae 0x419a30
jmp 0x4199e2
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x38]
mov edx, eax
add edx, 0x713c27ce
add eax, 0xce
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esi + 0x368], edx
mov ecx, dword [esi + 0x368]
mov eax, ecx
or eax, 0x5d
and ecx, 0x5d
add eax, ecx
inc al
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x38], al
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x10
jb 0x4199e2
jmp 0x419a30
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub esp, 0xc
lea edx, [esi + 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00416840
add esp, 0xc
movzx eax, al
movzx ecx, byte [esi + 2]
mov edx, eax
not edx
mov edi, ecx
and edi, edx
mov edx, ecx
xor edx, eax
add ecx, edx
sub ecx, edi
setne byte [esi + 2]
mov al, byte [esi + 0x80]
mov byte [esi + 0x8c], al
mov byte [esi + 0x198], 0xc3
mov byte [esi + 0x199], 0x79
mov byte [esi + 0x19a], 0xdf
mov byte [esi + 0x19b], 0x7b
mov byte [esi + 0x19c], 0xc8
mov byte [esi + 0x19d], 0x7d
mov byte [esi + 0x19e], 0xc8
mov byte [esi + 0x19f], 0x7f
mov byte [esi + 0x1a0], 0x35
mov byte [esi + 0x1a1], 0x71
mov byte [esi + 0x1a2], 0xe
mov byte [esi + 0x1a3], 0x73
mov byte [esi + 0x1a4], 0xd6
mov byte [esi + 0x1a5], 0x75
mov byte [esi + 0x1a6], 0xd6
mov byte [esi + 0x1a7], 0x77
mov byte [esi + 0x1a8], 0x76
mov byte [esi + 0x1a9], 0x49
mov dword [esi + 0x1ad], 0
mov dword [esi + 0x1aa], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0xc]
cmp eax, 0x19
jae 0x419b76
jmp 0x419b19
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0xc]
movzx edi, byte [esi + eax + 0x198]
mov ecx, edx
add ecx, 0xf50c104f
lea eax, [edx + edi - 0xaf3efb1]
and ecx, edi
add edx, 0x4f
and edx, edi
add ecx, edx
mov edx, eax
not edx
mov edi, ecx
and edi, edx
not ecx
and eax, ecx
sub eax, edi
mov dword [esi + 0x36c], eax
mov eax, dword [esi + 0x36c]
add al, 0xd7
mov ecx, dword [esi + 0xc]
mov byte [esi + ecx + 0x198], al
mov eax, dword [esi + 0xc]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 0x19
jb 0x419b19
jmp 0x419b76
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub esp, 0xc
lea edx, [esi + 0x198]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00416840
add esp, 0xc
mov cl, byte [esi + 2]
or cl, al
mov byte [esi + 2], cl
mov al, byte [esi + 0x7c]
mov byte [esi + 0x90], al
mov byte [esi + 0xf0], 0xf6
mov byte [esi + 0xf1], 0x6d
mov byte [esi + 0xf2], 0xf9
mov byte [esi + 0xf3], 0x6b
mov byte [esi + 0xf4], 0xe6
mov byte [esi + 0xf5], 0x69
mov byte [esi + 0xf6], 0xf3
mov byte [esi + 0xf7], 0x67
mov byte [esi + 0xf8], 0xfc
mov byte [esi + 0xf9], 0x65
mov byte [esi + 0xfa], 0xfb
mov byte [esi + 0xfb], 0x63
mov byte [esi + 0xfc], 0xef
mov byte [esi + 0xfd], 0x61
mov byte [esi + 0xfe], 0x92
mov byte [esi + 0xff], 0x1f
mov byte [esi + 0x100], 0x8f
mov byte [esi + 0x101], 0x1d
mov byte [esi + 0x102], 0x94
mov byte [esi + 0x103], 0x1b
mov byte [esi + 0x104], 0x91
mov byte [esi + 0x105], 0x19
mov byte [esi + 0x106], 0xc4
mov byte [esi + 0x107], 0x17
mov byte [esi + 0x108], 0x9b
mov byte [esi + 0x109], 0x15
mov byte [esi + 0x10a], 0x83
mov byte [esi + 0x10b], 0x13
mov byte [esi + 0x10c], 0x84
mov byte [esi + 0x10d], 0x11
mov byte [esi + 0x10e], 0x97
mov byte [esi + 0x10f], 0xf
mov byte [esi + 0x110], 0x80
mov byte [esi + 0x111], 0xd
mov byte [esi + 0x112], 0x97
mov byte [esi + 0x113], 0xb
mov byte [esi + 0x114], 8
mov byte [esi + 0x115], 9
mov dword [esi + 0x119], 0
mov dword [esi + 0x116], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
cmp eax, 0x2d
jae 0x419d26
jmp 0x419cd8
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
movzx edx, byte [esi + eax + 0xf0]
mov eax, ecx
add eax, 0xd7a349b2
add ecx, 0xb2
mov edi, eax
or edi, ecx
and edi, edx
or eax, edx
sub eax, edi
mov dword [esi + 0x370], eax
mov eax, dword [esi + 0x370]
add al, 0x22
mov ecx, dword [esi + 0x10]
mov byte [esi + ecx + 0xf0], al
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 0x2d
jb 0x419cd8
jmp 0x419d26
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub esp, 0xc
lea edx, [esi + 0xf0]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00416840
add esp, 0xc
movzx eax, al
mov dword [esi + 0x1dc], eax
mov eax, dword [esi + 0x360]
mov ecx, dword [esi + 0x364]
mov edx, dword [ecx + eax*4]
push eax
mov ecx, esp
mov dword [ecx], 0x443250
push eax
mov eax, esp
mov dword [eax], 0x14
push eax
mov edi, esp
mov dword [esi + 0x1e4], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x1e0], edi
mov dword [edi], 0x15
push eax
mov edi, esp
mov dword [esi + 0x1f4], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x1ec], edi
mov dword [edi], 0x16
push eax
mov edi, esp
mov dword [esi + 0x1f0], edi
mov dword [edi], 0x4433f0
push eax
mov dword [esi + 0x1e8], esp
push eax
mov ebx, esp
mov dword [ebx], 0x4433f8
push eax
mov dword [esi + 0x220], esp
push eax
mov edi, esp
mov dword [esi + 0x224], edi
mov dword [edi], 0x443400
push eax
mov dword [esi + 0x218], esp
push eax
mov edi, esp
mov dword [esi + 0x21c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x208], edi
mov dword [edi], 0x1a
push eax
mov edi, esp
mov dword [esi + 0x210], edi
mov dword [edi], 0x443408
push eax
mov dword [esi + 0x200], esp
push eax
mov edi, esp
mov dword [esi + 0x228], edi
mov dword [edi], 0x443410
push eax
mov dword [esi + 0x214], esp
push eax
mov edi, esp
mov dword [esi + 0x20c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x1fc], edi
mov dword [edi], 0x1d
push eax
mov edi, esp
mov dword [esi + 0x204], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x1f8], edi
mov dword [edi], 0x43
push eax
mov edi, esp
mov dword [esi + 0x234], edi
mov dword [edi], 0x443418
push eax
mov dword [esi + 0x230], esp
push eax
mov edi, esp
mov dword [esi + 0x23c], edi
mov dword [edi], 0x443420
push eax
mov dword [esi + 0x238], esp
push eax
mov edi, esp
mov dword [esi + 0x248], edi
mov dword [edi], 0x443428
push eax
mov dword [esi + 0x240], esp
push eax
mov edi, esp
mov dword [esi + 0x274], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x264], edi
mov dword [edi], 0x22
push eax
mov edi, esp
mov dword [esi + 0x27c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x268], edi
mov dword [edi], 0x23
push eax
mov edi, esp
mov dword [esi + 0x278], edi
mov dword [edi], 0x443430
push eax
mov dword [esi + 0x270], esp
push eax
mov edi, esp
mov dword [esi + 0x26c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x25c], edi
mov dword [edi], 0x25
push eax
mov edi, esp
mov dword [esi + 0x260], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x258], edi
mov dword [edi], 0x26
push eax
mov edi, esp
mov dword [esi + 0x254], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x250], edi
mov dword [edi], 0x27
push eax
mov edi, esp
mov dword [esi + 0x35c], edi
mov dword [edi], 0x443438
push eax
mov dword [esi + 0x358], esp
push eax
mov edi, esp
mov dword [esi + 0x354], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x350], edi
mov dword [edi], 0x29
push eax
mov edi, esp
mov dword [esi + 0x34c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x348], edi
mov dword [edi], 0x2a
push eax
mov edi, esp
mov dword [esi + 0x344], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x340], edi
mov dword [edi], 0x2b
push eax
mov edi, esp
mov dword [esi + 0x33c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x338], edi
mov dword [edi], 0x37
push eax
mov edi, esp
mov dword [esi + 0x334], edi
mov dword [edi], 0x443440
push eax
mov dword [esi + 0x330], esp
push eax
mov edi, esp
mov dword [esi + 0x32c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x328], edi
mov dword [edi], 0x33
push eax
mov edi, esp
mov dword [esi + 0x324], edi
mov dword [edi], 0x443448
push eax
mov dword [esi + 0x320], esp
push eax
mov edi, esp
mov dword [esi + 0x31c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x318], edi
mov dword [edi], 0x30
push eax
mov edi, esp
mov dword [esi + 0x310], edi
mov dword [edi], 0x443450
push eax
mov dword [esi + 0x304], esp
push eax
mov edi, esp
mov dword [esi + 0x2f8], edi
mov dword [edi], 0x443458
push eax
mov dword [esi + 0x2e8], esp
push eax
mov edi, esp
mov dword [esi + 0x2d8], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x2c8], edi
mov dword [edi], 0x33
push eax
mov edi, esp
mov dword [esi + 0x2c4], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x2c0], edi
mov dword [edi], 0x34
push eax
mov edi, esp
mov dword [esi + 0x2bc], edi
mov dword [edi], 0x443460
push eax
mov dword [esi + 0x2b8], esp
push eax
mov edi, esp
mov dword [esi + 0x2b4], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x2ac], edi
mov dword [edi], 0x36
push eax
mov edi, esp
mov dword [esi + 0x298], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x284], edi
mov dword [edi], 0x27
push eax
mov edi, esp
mov dword [esi + 0x2b0], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x2a8], edi
mov dword [edi], 0x38
push eax
mov edi, esp
mov dword [esi + 0x2a4], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x290], edi
mov dword [edi], 0x39
push eax
mov edi, esp
mov dword [esi + 0x2a0], edi
mov dword [edi], 0x443468
push eax
mov dword [esi + 0x294], esp
push eax
mov edi, esp
mov dword [esi + 0x29c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x28c], edi
mov dword [edi], 0x3b
push eax
mov edi, esp
mov dword [esi + 0x288], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x280], edi
mov dword [edi], 0x3c
push eax
mov edi, esp
mov dword [esi + 0x314], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x30c], edi
mov dword [edi], 0x3d
push eax
mov edi, esp
mov dword [esi + 0x308], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x2fc], edi
mov dword [edi], 0x3e
push eax
mov edi, esp
mov dword [esi + 0x300], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x2f0], edi
mov dword [edi], 0x3f
push eax
mov edi, esp
mov dword [esi + 0x2ec], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x2d4], edi
mov dword [edi], 0x40
push eax
mov edi, esp
mov dword [esi + 0x2e4], edi
mov dword [edi], 0x443470
push eax
mov dword [esi + 0x2d0], esp
push eax
mov edi, esp
mov dword [esi + 0x2e0], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x2cc], edi
mov dword [edi], 0x42
push eax
mov edi, esp
mov dword [esi + 0x2f4], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x2dc], edi
mov dword [edi], 0x43
push eax
mov edi, esp
mov dword [esi + 0x1d0], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x1cc], edi
mov dword [edi], 0x17
push eax
mov edi, esp
mov dword [esi + 0x1d8], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x1d4], edi
mov dword [edi], 0x1b
push eax
mov edi, esp
mov dword [esi + 0x24c], edi
mov dword [edi], 0x443250
push eax
mov edi, esp
mov dword [esi + 0x244], edi
mov dword [edi], 0x31
jmp edx