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

Disassembly:
push ebp
lea ebp, [esp - 0x21cc]
mov eax, 0x21cc
call fcn.004f8350
push 0xffffffffffffffff
push 0x510060
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x544354]
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.00402720
add esp, 0x14
mov dword [ebp - 0x74], 0x3c
mov dword [ebp - 0x70], 0x40
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], str.runas
lea eax, [ebp + 0x1000]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x2000]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0x517c80
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x2c]
call fcn.004819a0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
push 0x563a1c
call fcn.0040f820
lea eax, [ebp - 0x2c]
push eax
push 0x563a7c
call fcn.0040f820
lea eax, [ebp - 0x2c]
push eax
push 0x563adc
call fcn.0040f820
lea eax, [ebp - 0x2c]
push eax
push 0x563b3c
call fcn.0040f820
lea eax, [ebp - 0x2c]
push eax
push 0x563b9c
call fcn.0040f820
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.00481e10
mov ebx, eax
mov dword [ebp - 0x30], ebx
push esi
push str.winrar_map_
push str._s_d
push 0x800
lea eax, [ebp]
push eax
call fcn.00402720
add esp, 0x14
lea eax, [ebp]
push eax
lea eax, [ebx + 0xc748]
push eax
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x41012b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x410292
cmp byte [ebp - 0x1c], 0
je 0x41011d
push dword [ebp - 0x24]
push eax
call fcn.00491e00
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004fe8b9
add esp, 4
jmp 0x410292
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
push 0xc748
call fcn.004f80fc
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x410164
lea ecx, [edi + 0x10]
call fcn.0045eb30
mov byte [ebp - 4], 4
jmp 0x410166
xor edi, edi
mov byte [ebp - 4], 0
mov byte [edi], 0
mov esi, dword [ebp - 0x30]
mov dword [edi + 4], esi
mov eax, dword [0x54b9c8]
mov dword [edi + 8], eax
lea ecx, [edi + 0x10]
push 0x5574c8
call fcn.0040e330
push 0x80
lea eax, [ebp + 0x20c8]
push eax
mov ecx, 0x55c4f0
call fcn.00491b60
mov byte [edi + 0x5139], 1
lea eax, [ebp + 0x20c8]
push eax
lea ecx, [edi + 0x5038]
call fcn.00491d80
push 0x100
lea eax, [ebp + 0x20c8]
push eax
call fcn.00491e00
push 0xc748
push edi
push ebx
call fcn.004fa2e0
add esp, 0xc
push esi
lea ecx, [ebp - 0x2c]
call fcn.00481ae0
push eax
lea eax, [ebx + 0xc748]
push eax
call fcn.004fa2e0
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x410230
push 0x2710
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
xor esi, esi
mov edi, edi
cmp byte [ebx], 0
jne 0x410223
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x410210
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x41023d
mov byte [0x54bad8], 1
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x34]
call esi
mov dword [ebp - 0x38], edi
mov byte [ebp - 4], 0
lea ecx, [edi + 0x10]
call fcn.0040e1e0
push 0xc748
push edi
call fcn.004f812f
add esp, 8
xor eax, eax
mov word [0x55a4de], ax
jmp 0x4100f9
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.004f833c
lea esp, [ebp + 0x21cc]
pop ebp
ret