Function at 0x47f000
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004df2e0
push 0xffffffffffffffff
push 0x4f6a40
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x50fb70]
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 0x47f0b2
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.004df2c4
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 0x47f08b
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.00456d00
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x47f127
push 0x49
lea ecx, [ebp - 0x40]
call fcn.00456a60
push 0x1a
lea ecx, [ebp - 0x40]
call fcn.00456a60
push 0x1a
push edi
lea ecx, [ebp - 0x40]
call fcn.00456c10
mov ebx, esi
lea edi, [ebp - 0x40]
call fcn.0047e440
mov ebx, dword [ebp - 0x50]
call fcn.0047e440
xor ebx, ebx
mov esi, dword [ebp - 0x54]
cmp esi, ebx
je 0x47f154
push 0x54
lea ecx, [ebp - 0x40]
call fcn.00456a60
mov ebx, esi
lea edi, [ebp - 0x40]
call fcn.0047e440
mov ebx, dword [ebp - 0x48]
call fcn.0047e440
mov ebx, dword [ebp - 0x44]
call fcn.0047e440
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.00456c50
mov eax, dword [ebp - 0x24]
cmp eax, 0x10000
jbe 0x47f1aa
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.0049dea0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.0041cb40
jmp 0x47f08b
push eax
mov edx, dword [ebp - 0x28]
push edx
mov esi, dword [ebp - 0x14]
push esi
call fcn.004dfe60
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], 0x4fa4b8
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 0x47f23a
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.0049dea0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.0041cb40
mov dword [ebp - 4], 0xffffffff
jmp 0x47f08b