Function at 0x40f5c0
Capabilities:
Create process on windows
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x21cc]
mov eax, 0x21cc
call fcn.004ebbf0
push 0xffffffffffffffff
push 0x503b40
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x528af4]
xor eax, ebp
mov dword [ebp + 0x21c8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x800
lea eax, [ebp + 0x1000]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
push esi
push str.elevate
push str.__s_d
push 0x64
lea eax, [ebp + 0x2000]
push eax
call fcn.004028e0
add esp, 0x14
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], str.runas
lea eax, [ebp + 0x1000]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x2000]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x50bc14
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x34]
call fcn.0047d580
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
push 0x55029c
call fcn.0040edd0
lea eax, [ebp - 0x34]
push eax
push 0x5502f8
call fcn.0040edd0
lea eax, [ebp - 0x34]
push eax
push 0x550354
call fcn.0040edd0
lea eax, [ebp - 0x34]
push eax
push 0x5503b0
call fcn.0040edd0
lea eax, [ebp - 0x34]
push eax
push 0x55040c
call fcn.0040edd0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.0047dae0
mov ebx, eax
mov dword [ebp - 0x14], ebx
push esi
push str.winrar_map_
push str._s_d
push 0x800
lea eax, [ebp]
push eax
call fcn.004028e0
add esp, 0x14
lea eax, [ebp]
push eax
lea eax, [ebx + 0xc5f0]
push eax
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x40f749
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40f8b2
push eax
call fcn.004f252e
add esp, 4
jmp 0x40f8b2
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
push 0xc5f0
call fcn.004eb998
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x40f782
lea ecx, [edi + 0x10]
call fcn.0045bd70
mov byte [ebp - 4], 4
jmp 0x40f784
xor edi, edi
mov byte [ebp - 4], 0
mov byte [edi], 0
mov esi, dword [ebp - 0x14]
mov dword [edi + 4], esi
mov eax, dword [0x538900]
mov dword [edi + 8], eax
lea ecx, [edi + 0x10]
push 0x543e88
call fcn.0040d590
push 0x80
lea eax, [ebp + 0x20c8]
push eax
mov ecx, 0x548eb0
call fcn.0048bab0
mov byte [edi + 0x5139], 1
lea eax, [ebp + 0x20c8]
push eax
lea ecx, [edi + 0x5038]
call fcn.0048bc30
push 0x100
lea eax, [ebp + 0x20c8]
push eax
call fcn.0048bcb0
push 0xc5f0
push edi
push ebx
call fcn.004edb80
add esp, 0xc
push esi
lea ecx, [ebp - 0x34]
call fcn.0047d6b0
push eax
lea eax, [ebx + 0xc5f0]
push eax
call fcn.004edb80
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40f850
push 0x2710
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
xor esi, esi
lea esp, [esp]
cmp byte [ebx], 0
jne 0x40f843
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x40f830
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x40f85d
mov byte [0x538a10], 1
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 0
lea ecx, [edi + 0x10]
call fcn.0040d4a0
push 0xc5f0
push edi
call fcn.004eb9cb
add esp, 8
xor eax, eax
mov word [0x546e9e], ax
jmp 0x40f729
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x21c8]
xor ecx, ebp
call fcn.004ebbd8
lea esp, [ebp + 0x21cc]
pop ebp
ret