Function at 0x40eef0
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00502fa0
push 0xffffffffffffffff
push 0x51b020
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5513d4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x100c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1010]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1014]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1018]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0x101c]
mov eax, dword [ebp + 0x1020]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1024]
mov dword [ebp - 0x28], eax
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
je 0x40ef90
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x40f17f
push str.winrar_config_integration
push 0x10000
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
je 0x40ef89
push 0
push 0
push 0
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004895d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x40f018
push 0x49
lea ecx, [ebp - 0x48]
call fcn.00489760
push 0x1a
lea ecx, [ebp - 0x48]
call fcn.00489780
push 0x1a
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.004898d0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
push eax
call fcn.0040fa00
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call fcn.0040fa00
test ebx, ebx
je 0x40f048
push 0x54
lea ecx, [ebp - 0x48]
call fcn.00489760
push ebx
lea eax, [ebp - 0x48]
push eax
call fcn.0040fa00
push dword [ebp - 0x24]
lea eax, [ebp - 0x48]
push eax
call fcn.0040fa00
push dword [ebp - 0x28]
lea eax, [ebp - 0x48]
push eax
call fcn.0040fa00
lea ecx, [ebp - 0x5c]
call fcn.0042f9d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004896a0
mov eax, dword [ebp - 0x58]
cmp eax, 0x10000
jbe 0x40f097
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004048e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040cea0
xor al, al
jmp 0x40f17f
push eax
push dword [ebp - 0x5c]
push edi
call fcn.00504fb0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x800
lea eax, [ebp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x94], 0x40
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], str.runas
lea eax, [ebp]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], str._setup_integration
mov dword [ebp - 0x80], 0x524968
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ebx, [eax - 1]
neg ebx
sbb ebx, ebx
inc ebx
mov byte [ebp - 0x11], bl
test bl, bl
je 0x40f13b
push 0xffffffffffffffff
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004048e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040cea0
mov dword [ebp - 4], 0xffffffff
jmp 0x40f17d
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00502f8e
lea esp, [ebp + 0x1004]
pop ebp
ret 0x1c