Function at 0x479ec1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c26a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x479f36
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x84], eax
push dword [ebp - 0x84]
push 0x6410
push dword [ebp - 0x9c]
push dword [ebp - 0x4c]
push 1
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
push eax
call fcn.0047a1ab
add esp, 0x18
jmp 0x47a19a
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x47a15b
mov dword [ebp - 0x28], 0x5109
mov dword [ebp - 0x5c], 0xaa6a04
cmp dword [ebp - 0x28], 0x5228
jle 0x47a02f
and dword [ebp - 0x24], 0
jmp 0x479fa8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5266
jge 0x47a02f
and dword [ebp - 0x20], 0
jmp 0x479fbe
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1731
jge 0x47a02a
and dword [ebp - 0x18], 0
jmp 0x479fd4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4809
jge 0x47a028
and dword [ebp - 0x1c], 0
jmp 0x479fea
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5405
jge 0x47a026
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
xor eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0xab4298
call fcn.004391a0
jmp 0x479fe3
jmp 0x479fcd
jmp 0x479fb7
jmp 0x479fa1
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x8c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x5086
jge 0x47a055
mov edx, dword [ebp - 0x5c]
mov ecx, 0xab4298
call fcn.0043af56
jmp 0x47a071
or dword [ebp - 4], 0xffffffff
jmp 0x47a07b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x47a142
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0xf934f545
jae 0x47a0df
mov dword [ebp - 0x30], 1
jmp 0x47a0e3
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x30]
jne 0x47a0f6
mov dword [ebp - 0x38], 1
jmp 0x47a0fa
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jne 0x47a112
mov dword [ebp - 0x2c], 1
jmp 0x47a116
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [eax]
cmp ecx, 0x8d581621
ja 0x47a12f
mov dword [ebp - 0x34], 1
jmp 0x47a133
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x70]
mov dword [eax], ecx
jmp 0x47a159
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
jmp 0x47a19a
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
push 1
push 0x74ad
push 0x6904
push dword [ebp - 0x98]
push 0x5094
push dword [ebp - 0xa0]
push 0
call fcn.004662a1
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret