Function at 0x480220
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004e3510
push 0xffffffffffffffff
push 0x4fac80
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x514bc0]
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 - 0x4c], eax
mov edi, dword [ebp + 0x1010]
mov esi, dword [ebp + 0x1014]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 0x1018]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0x101c]
mov dword [ebp - 0x44], ecx
push str.winrar_config_integration
xor ebx, ebx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, ebx
je 0x4802d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.004e34f4
add ebp, 0x1004
mov esp, ebp
pop ebp
ret 0x14
push str.winrar_config_integration
push 0x10000
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x4802ab
push ebx
push ebx
push ebx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
call fcn.00457770
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x480347
push 0x49
lea ecx, [ebp - 0x40]
call fcn.00457490
push 0x1a
lea ecx, [ebp - 0x40]
call fcn.00457490
push 0x1a
push edi
lea ecx, [ebp - 0x40]
call fcn.00457640
mov ebx, esi
lea edi, [ebp - 0x40]
call fcn.0047f660
mov ebx, dword [ebp - 0x50]
call fcn.0047f660
xor ebx, ebx
mov esi, dword [ebp - 0x54]
cmp esi, ebx
je 0x480374
push 0x54
lea ecx, [ebp - 0x40]
call fcn.00457490
mov ebx, esi
lea edi, [ebp - 0x40]
call fcn.0047f660
mov ebx, dword [ebp - 0x48]
call fcn.0047f660
mov ebx, dword [ebp - 0x44]
call fcn.0047f660
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x40]
call fcn.004576b0
mov eax, dword [ebp - 0x24]
cmp eax, 0x10000
jbe 0x4803ca
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00433cc0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.00429e50
jmp 0x4802ab
push eax
mov edx, dword [ebp - 0x28]
push edx
mov esi, dword [ebp - 0x14]
push esi
call fcn.004e4090
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x800
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x90], 0x3c
mov dword [ebp - 0x8c], 0x40
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], str.runas
lea edx, [ebp]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], str._setup_integration
mov dword [ebp - 0x78], 0x4fe4d8
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x48045a
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00433cc0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.00429e50
mov dword [ebp - 4], 0xffffffff
jmp 0x4802ab