Function at 0x412200
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.0052f720
push 0xffffffffffffffff
push 0x54b195
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x58bb30]
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 ebx, dword [ebp + 0x100c]
mov eax, dword [ebp + 0x1014]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1018]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x101c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1020]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1024]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1028]
mov dword [ebp - 0x3c], eax
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
je 0x4122a0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x41249c
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 0x412299
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 - 0x54]
call fcn.004a7560
mov byte [ebp - 4], 1
movzx eax, byte [ebp + 0x1010]
push eax
lea ecx, [ebp - 0x54]
call fcn.004a7750
push 0x1c
lea ecx, [ebp - 0x54]
call fcn.004a7770
push 0x1c
push dword [ebp - 0x28]
lea ecx, [ebp - 0x54]
call fcn.004a78c0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x54]
push eax
call fcn.00412d00
push dword [ebp - 0x30]
lea eax, [ebp - 0x54]
push eax
call fcn.00412d00
push dword [ebp - 0x34]
lea eax, [ebp - 0x54]
push eax
call fcn.00412d00
push dword [ebp - 0x38]
lea eax, [ebp - 0x54]
push eax
call fcn.00412d00
push dword [ebp - 0x3c]
lea eax, [ebp - 0x54]
push eax
call fcn.00412d00
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x54]
call fcn.004a7690
mov eax, dword [ebp - 0x20]
cmp eax, 0x10000
jbe 0x4123b7
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4123a4
push eax
call fcn.00537b6f
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00407c30
xor al, al
jmp 0x41249c
push eax
push dword [ebp - 0x24]
push edi
call fcn.00531230
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 - 0x90], 0x3c
mov dword [ebp - 0x8c], 0x40
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], str.runas
lea eax, [ebp]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], str._setup_integration
mov dword [ebp - 0x78], 0x557b90
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
sete bl
mov byte [ebp - 0x11], bl
test bl, bl
je 0x412450
push 0xffffffffffffffff
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41246b
push eax
call fcn.00537b6f
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00407c30
mov dword [ebp - 4], 0xffffffff
jmp 0x41249a
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.0052f708
lea esp, [ebp + 0x1004]
pop ebp
ret 0x20