Function at 0x473940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
jmp 0x473981
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jge 0x473afb
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 4]
jg 0x473afb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax]
cmp ecx, 0x97
jne 0x4739bd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x24]
cmp ecx, dword [ebp + 0x14]
je 0x4739c2
jmp 0x473afb
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048d970
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4739e4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 4]
jge 0x473a34
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x28]
cmp edx, dword [ecx + 8]
jne 0x473a13
mov dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 4]
movzx eax, byte [ecx + edx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x30], eax
jmp 0x473a4a
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x28]
cmp ecx, dword [ebp - 0x28]
jne 0x473a6b
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
push edx
call fcn.004a08b0
add esp, 8
test eax, eax
je 0x473a90
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x1c]
jge 0x473a7a
jmp 0x473978
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 4]
jne 0x473a89
jmp 0x473afb
xor eax, eax
jmp 0x473b63
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 8]
xor ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x1c]
jle 0x473ab6
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xc]
je 0x473ab4
xor eax, eax
jmp 0x473b63
jmp 0x473abc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x28], 0
jge 0x473af6
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.0047bda0
add esp, 0x10
test eax, eax
jne 0x473af6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x473978
cmp dword [ebp - 0xc], 0
je 0x473b0a
mov dword [ebp - 0x74], 1
jmp 0x473b11
mov dword [ebp - 0x74], 0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jl 0x473b28
mov eax, 1
jmp 0x473b63
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x473b61
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 4]
jne 0x473b61
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.0047bda0
add esp, 0x10
test eax, eax
jne 0x473b61
mov eax, 1
jmp 0x473b63
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret