Function at 0x447d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x244
mov eax, dword [esp + 0x264]
mov dword [esp + 0x3f], 0xe48040
mov dword [esp + 0x3c], 0x4010ec83
mov dword [esp + 0x38], 0x48e78948
mov dword [esp + 0x34], 0xce8948fc
mov dword [esp + 0x27], 0xc3fc8948
mov dword [esp + 0x24], 0x48d2ff41
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0xfffffff1
mov dword [esp + 0x18], 0xba49c031
lea edi, [esp + 0x44]
lea edx, [esp + 0x34]
mov ecx, 3
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x50]
lea edx, [esp + 0x40]
mov ecx, 1
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0x42]
mov byte [esp + 0x52], cl
mov edx, eax
cmp eax, 4
jb 0x447e05
mov edx, 4
lea ebx, [esp + 0x53]
test eax, eax
je 0x447fda
xor ebp, ebp
jmp 0x447e4e
mov esi, 0x44d575
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 4
mov esi, 0x44d579
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
inc ebp
cmp edx, ebp
je 0x447ee1
cmp ebp, 3
ja case.default.0x447e53
jmp dword [ebp*4 + 0x44cd90]
mov esi, 0x44d57a
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, 0x44d57a
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov byte [ebx + 2], 0xe
add ebx, 3
jmp case.default.0x447e53
mov esi, 0x44d570
mov ecx, 1
mov edi, ebx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 4
mov esi, 0x44d574
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
jmp case.default.0x447e53
mov esi, 0x44d57e
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 4
mov esi, 0x44d582
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
jmp case.default.0x447e53
cmp eax, 3
jbe 0x447fda
test al, 1
je 0x447f13
mov edx, 0x44d587
mov esi, 0x44d587
mov edi, ebx
xor ecx, ecx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov edi, ebx
mov ecx, 1
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
add ebx, 2
mov word [esp + 4], 0x50
mov dword [esp], 0x20468b48
mov byte [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0x80868b48
lea ecx, [eax*8]
cmp ecx, 0x7fffffff
jae 0x448257
dec eax
cmp eax, 4
jb 0x447fda
mov edx, esp
lea ebp, [esp + 8]
jmp 0x447f8b
mov dword [esp + 0xb], ecx
mov esi, ebp
mov ecx, 2
mov edi, ebx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 8
lea esi, [esp + 0x10]
mov edi, ebx
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
dec eax
cmp eax, 3
jbe 0x447fda
mov esi, eax
and esi, 0xfffffff7
mov edi, eax
and edi, 8
mov ecx, eax
or ecx, 8
imul ecx, edi
xor edi, 8
imul edi, esi
add ecx, edi
cmp ecx, 0x7e
ja 0x447f60
mov byte [esp + 3], cl
mov esi, edx
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [ebx + 4]
lea esi, [esp + 4]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
movzx ecx, byte [esp + 4]
mov byte [ebx + 4], cl
add ebx, 5
jmp 0x447f85
mov ebp, dword [esp + 0x25c]
mov edx, dword [esp + 0x258]
mov eax, 0x44d56b
mov edi, ebx
mov ecx, 1
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea eax, [ebx + 4]
mov esi, 0x44d56f
mov edi, eax
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x18]
mov ecx, 4
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [ebx + 0x14]
lea eax, [esp + 0x28]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x2a]
mov byte [ebx + 0x16], al
mov eax, ebx
lea esi, [esp + 0x44]
sub eax, esi
mov dword [esp + 0x14], 0
add eax, 0x70
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0x181b1a1d
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x4480a6
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
push dword [esp]
push eax
call fcn.00448270
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x448080
mov eax, dword [esp + 8]
mov ecx, dword [0x454f28]
test ecx, ecx
je 0x4480fe
xor edx, edx
mov edi, dword [0x454f2c]
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x633c81d
je 0x4480d0
inc edx
cmp ecx, edx
jne 0x4480c0
jmp 0x4480fe
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x4480fe
lea eax, [esp + 0x30]
lea edx, [esp + 0x14]
push 0x40
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x454f30]
push ecx
call fcn.00445d10
add esp, 0x24
test eax, eax
js 0x448220
neg esi
lea edx, [ebx + esi]
add edx, 0x17
mov eax, dword [esp + 0x14]
mov esi, 0x44cd35
mov ecx, 0x16
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [eax + 0x58]
mov esi, 0x44cd8d
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov byte [eax + 0x58], 0x24
mov eax, dword [esp + 0x14]
lea edi, [eax + 0x59]
mov ecx, edx
shr ecx, 2
lea esi, [esp + 0x44]
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add eax, ecx
add eax, 0x59
lea ebp, [esp + ecx]
add ebp, 0x44
mov ebx, edx
and ebx, 3
mov ecx, ebx
shr ecx, 1
mov esi, ebp
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
je 0x448181
movzx ecx, byte [ebp + ebx - 1]
mov byte [eax + ebx - 1], cl
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0x59]
push dword [esp + 0x260]
push ecx
call eax
mov esi, eax
mov edi, edx
mov dword [esp + 0x2c], 0
mov dword [esp + 8], 0x181b1a1d
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x4481f6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
push dword [esp]
push eax
call fcn.00448270
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x4481d0
mov eax, dword [0x454f28]
test eax, eax
je 0x448251
mov ecx, dword [esp + 8]
xor edx, edx
mov ebx, dword [0x454f2c]
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x44caaeb6
je 0x448227
inc edx
cmp eax, edx
jne 0x448210
jmp 0x448251
mov edx, eax
sar edx, 0x1f
jmp 0x448261
mov eax, dword [ebx + edx*8 + 4]
cmp eax, ecx
je 0x448251
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push dword [0x454f30]
push eax
call fcn.00445d10
add esp, 0x1c
mov eax, esi
mov edx, edi
jmp 0x448261
mov eax, 0xffffffff
mov edx, 0xffffffff
add esp, 0x244
pop esi
pop edi
pop ebx
pop ebp
ret 0x10