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

Disassembly:
push ebp
lea ebp, [esp - 0x20cc]
mov eax, 0x20cc
call fcn.0052f720
push 0xffffffffffffffff
push 0x54b5d5
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x58bb30]
xor eax, ebp
mov dword [ebp + 0x20c8], 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 ebx, eax
push ebx
push str.elevate
push str.__s_d
push 0x64
lea eax, [ebp + 0x2000]
push eax
call fcn.00404ce0
add esp, 0x14
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x94], 0x40
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], str.runas
lea eax, [ebp + 0x1000]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x2000]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0x557b90
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x44]
call fcn.004a7560
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
push 0x5b332c
call fcn.004152a0
lea eax, [ebp - 0x44]
push eax
push 0x5b3388
call fcn.004152a0
lea eax, [ebp - 0x44]
push eax
push 0x5b33e4
call fcn.004152a0
lea eax, [ebp - 0x44]
push eax
push 0x5b3440
call fcn.004152a0
lea eax, [ebp - 0x44]
push eax
push 0x5b349c
call fcn.004152a0
lea eax, [ebp - 0x11]
push eax
push 0x200
lea ecx, [ebp - 0x24]
call fcn.004151e0
mov byte [ebp - 4], 2
cmp byte [0x5933f4], 0
je 0x415c35
cmp byte [0x5b3504], 0
jne 0x415c35
cmp byte [0x5c2f48], 0
je 0x415c35
lea ecx, [ebp - 0x5c]
call fcn.004b9f00
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x5c2bd0
call fcn.004155c0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004ba180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.004b9fd0
jmp 0x415c4b
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ecx, eax
sar ecx, 1
push ecx
push eax
mov ecx, 0x5b34f8
call fcn.004ba180
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ecx, eax
and ecx, 0xfffffffe
push 1
push 1
push ecx
push eax
call fcn.004ba3a0
push 0x200
push dword [ebp - 0x24]
lea ecx, [ebp - 0x44]
call fcn.004a79e0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ecx, eax
and ecx, 0xfffffffe
push ecx
push eax
call fcn.004ba540
mov eax, dword [0x5b350c]
sub eax, dword [0x5b3508]
sar eax, 3
push eax
lea ecx, [ebp - 0x44]
call fcn.004a77b0
mov esi, dword [0x5b3508]
mov dword [ebp - 0x48], esi
mov edi, dword [0x5b350c]
lea esp, [esp]
cmp esi, edi
je 0x415cc9
push dword [esi + 4]
push dword [esi]
lea ecx, [ebp - 0x44]
call fcn.004a7810
add esi, 8
mov dword [ebp - 0x48], esi
jmp 0x415cb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00416050
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x44]
call fcn.004a7a40
mov esi, eax
mov dword [ebp - 0x28], esi
push ebx
push str.winrar_map_
push str._s_d
push 0x800
lea eax, [ebp]
push eax
call fcn.00404ce0
add esp, 0x14
lea eax, [ebp]
push eax
lea eax, [esi + 0xf650]
push eax
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x415d4a
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x415fa6
push eax
call fcn.00537b6f
add esp, 4
jmp 0x415fa6
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 0x2c], esi
push 0xf650
call fcn.0052f4cd
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 6
test edi, edi
je 0x415d86
lea ecx, [edi + 0x10]
call fcn.0047f0b0
mov byte [ebp - 4], 6
jmp 0x415d88
xor edi, edi
mov byte [ebp - 4], 0
mov byte [edi], 0
mov eax, dword [ebp - 0x28]
mov dword [edi + 4], eax
mov eax, dword [0x5923dc]
mov dword [edi + 8], eax
lea ebx, [edi + 0x10]
push 0xd428
push 0x5a3ed8
push ebx
call fcn.00531230
add esp, 0xc
movzx eax, byte [0x5b1300]
mov byte [ebx + 0xd428], al
movzx eax, byte [0x5b1301]
mov byte [ebx + 0xd429], al
mov eax, dword [0x5b1304]
mov dword [ebx + 0xd42c], eax
movzx eax, byte [0x5b1308]
mov byte [ebx + 0xd430], al
movzx eax, byte [0x5b1309]
mov byte [ebx + 0xd431], al
lea edx, [ebx + 0xd432]
xor ecx, ecx
lea ebx, [ebx]
mov ax, word [ecx + 0x5b130a]
mov word [edx], ax
add ecx, 2
lea edx, [edx + 2]
cmp ecx, 0x1020
jb 0x415e00
lea edx, [ebx + 0xe452]
xor ecx, ecx
mov ax, word [ecx + 0x5b232a]
mov word [edx], ax
add ecx, 2
lea edx, [edx + 2]
cmp ecx, 0x1000
jb 0x415e20
push 0x5b332c
lea ecx, [ebx + 0xf454]
call fcn.0040d580
push 0x5b3388
lea ecx, [ebx + 0xf4b0]
call fcn.0040d580
push 0x5b33e4
lea ecx, [ebx + 0xf50c]
call fcn.0040d580
push 0x5b3440
lea ecx, [ebx + 0xf568]
call fcn.0040d580
push 0x5b349c
lea ecx, [ebx + 0xf5c4]
call fcn.0040d580
lea eax, [ebx + 0xf620]
cmp eax, 0x5b34f8
je 0x415eab
push dword [ebp - 0x18]
push dword [0x5b34fc]
push dword [0x5b34f8]
mov ecx, eax
call fcn.00404d10
mov al, byte [0x5b3504]
mov byte [ebx + 0xf62c], al
lea ecx, [ebx + 0xf630]
cmp ecx, 0x5b3508
je 0x415ed8
push dword [ebp - 0x18]
push dword [0x5b350c]
push dword [0x5b3508]
call fcn.0040d3e0
push 0xf650
push edi
push esi
call fcn.00531230
add esp, 0xc
push dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
call fcn.004a7700
push eax
lea eax, [esi + 0xf650]
push eax
call fcn.00531230
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x415f47
push 0x2710
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
xor esi, esi
mov eax, dword [ebp - 0x2c]
cmp byte [eax], 0
jne 0x415f39
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x415f23
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2c]
jmp 0x415f4e
mov byte [0x593404], 1
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.00413a80
push 0xf650
push edi
call fcn.0052f4fd
add esp, 8
xor eax, eax
mov word [0x5a6eee], ax
jmp 0x415d2a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c8]
xor ecx, ebp
call fcn.0052f708
lea esp, [ebp + 0x20cc]
pop ebp
ret