Function at 0x7083e5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebx, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov eax, dword [esp]
mov dl, byte [eax + 0x576d]
mov byte [ebx + 0x14a1], dl
mov ecx, dword [esp]
mov al, byte [ecx + 0x576e]
mov byte [ebx + 0x14a0], al
mov edx, dword [esp]
mov ecx, dword [edx + reloc.PSAPI.DLL_GetMappedFileNameW]
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], ecx
mov eax, dword [esp]
mov edx, dword [eax + reloc.PSAPI.DLL_GetMappedFileNameW]
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], edx
mov edx, dword [esp]
add edx, 0x55c4
call fcn.0070b885
mov edx, dword [ebx + 0x20]
cmp edx, 0x400000
jae 0x7084a7
cmp edx, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
jbe 0x70847a
mov eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
mov esi, 0x400000
sub esi, edx
jmp 0x708473
mov edx, dword [ebx]
lea ecx, [edx + eax]
mov cl, byte [ecx + esi]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [ebx + 0x20]
jb 0x708467
jmp 0x7084a7
xor eax, eax
mov esi, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
sub esi, dword [ebx + 0x20]
jmp 0x708493
mov edx, dword [ebx]
lea ecx, [edx + eax]
mov cl, byte [ecx + esi]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [ebx + 0x20]
jb 0x708487
xor eax, eax
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], eax
mov byte [ebx + 0x14a1], 1
push 0x111
mov eax, dword [ebx]
push eax
add eax, dword [ebx + 0x20]
push eax
call fcn.007250b9
add esp, 0xc
mov edx, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
mov dword [esp + 8], edx
cmp dword [esp + 4], 0
jne 0x708536
xor ecx, ecx
mov eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], eax
jmp 0x708525
mov eax, ecx
mov ecx, dword [ebx]
mov edi, eax
movzx ecx, byte [ecx + edx + 2]
shl edi, 5
xor ecx, edi
and ecx, 0x7fff
mov eax, ecx
mov ecx, dword [ebx + 0x10]
mov esi, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x10]
and esi, dword [ebx + 0x24]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
mov edx, dword [ebx + 0x14]
mov dword [edx + ecx*4], esi
mov ecx, eax
mov eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], eax
mov edx, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
cmp edx, dword [esp + 8]
jne 0x7084e0
jmp 0x7086a1
mov eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], eax
jmp 0x708691
lea edx, [eax + 1]
mov esi, dword [ebx]
and edx, dword [ebx + 0x24]
mov ecx, dword [ebx]
movzx edx, byte [esi + edx]
movzx ecx, byte [ecx + eax]
shl edx, 8
mov esi, eax
add edx, ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebx]
mov edi, dword [ebx]
movzx edi, byte [edi + esi + 1]
movzx edx, byte [edx + esi + 2]
mov edi, dword [edi*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl edi, 3
mov edx, dword [edx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl edx, 7
add edx, edi
mov edi, dword [ebx]
add edx, ecx
mov ecx, dword [ebx]
and edx, 0x3ffff
movzx ecx, byte [ecx + eax + 3]
mov ecx, dword [ecx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add ecx, edx
and ecx, 0x3ffff
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 4]
mov edi, dword [ecx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
mov ecx, dword [ebx + 0x10]
add edi, edi
add edi, dword [esp + 0x10]
and edi, dword [ebx + 0x1c]
mov ecx, dword [ecx + edi*4]
and ecx, dword [ebx + 0x24]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
mov ebp, dword [ebx + 4]
and ecx, 0x3fff
lea ecx, [ebp + ecx]
push ecx
pop ecx
mov byte [ecx], al
mov ecx, dword [ebx + 8]
mov word [ecx + edx*2], ax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0xc]
mov dword [edx + ecx*4], esi
mov edx, dword [ebx + 0x10]
mov dword [edx + edi*4], esi
mov edx, dword [esp + 0x14]
mov esi, dword [ebx]
mov ecx, dword [ebx]
movzx esi, byte [esi + edx + 1]
movzx ecx, byte [ecx + edx + 2]
mov esi, dword [esi*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl esi, 3
mov ecx, dword [ecx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl ecx, 7
add ecx, esi
mov esi, dword [ebx]
movzx esi, byte [esi + edx]
add ecx, esi
and ecx, 0x3ffff
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + edx + 3]
mov ecx, dword [ecx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add ecx, dword [esp + 0x18]
and ecx, 0x3ffff
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx]
movzx edx, byte [ecx + edx + 4]
mov edx, dword [edx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add edx, edx
add edx, dword [esp + 0x1c]
and edx, dword [ebx + 0x1c]
cmp edi, edx
je 0x708677
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [edx + eax*4], ecx
mov eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], eax
mov eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
cmp eax, dword [esp + 8]
jne 0x70854b
mov byte [ebx + 0x60a0], 0
mov edx, dword [esp]
lea edi, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, 0x12fc
lea esi, [edx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp]
add eax, 0x10
call fcn.0071edc5
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.00709d75
xor edx, edx
xor ecx, ecx
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], edx
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], ecx
mov byte [ebx + 0x97c], 1
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret