Function at 0x14000d82c
Capabilities:
Accept command line arguments
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xc0
mov cl, 1
call fcn.14000df88
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, [0x1400519c0]
call fcn.14000e950
mov esi, 0x7000
lea rcx, [0x14003cc40]
mov r8, rsi
xor edx, edx
call fcn.1400100f0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
test rax, rax
je 0x14000d916
mov rcx, rax
call fcn.14000a648
cmp byte [0x140043cc9], 0
je 0x14000d906
xor edx, edx
lea r8, str.winrarsfxmappingfile.tmp
lea edi, [rdx + 4]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rbx, rax
test rax, rax
je 0x14000d8fb
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x14000d8f2
lea rcx, [0x14003cc40]
mov r8, rsi
mov rdx, rax
call fcn.140010b50
lea rdx, [0x14003cc40]
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000d916
lea rcx, str.sfxcmd
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rsi, [0x14003bc40]
mov r8d, 0x800
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, str.sfxname
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, 0x64
mov rcx, rax
mov rdx, rdi
mov rbx, rax
mov qword [0x140043c50], rax
mov qword [0x140043c58], rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov rcx, qword [0x140043c58]
lea edx, [rdi + 1]
mov qword [0x14003bc38], rax
call qword [sym.imp.USER32.dll_LoadBitmapW]
lea rcx, [rsp + 0x30]
mov qword [0x14003bc30], rax
call fcn.14000ffe4
lea rcx, [0x140045de0]
mov rdx, rsi
call fcn.140009900
lea rcx, [rsp + 0x80]
call fcn.14000ee58
lea rcx, [rsp + 0x40]
call fcn.14000ee58
mov ecx, edi
call fcn.140009f90
mov ecx, edi
mov dword [rsp + 0xb4], eax
call fcn.140009f90
and qword [rsp + 0x20], 0
mov dword [rsp + 0x74], eax
lea rax, [rsp + 0x80]
lea r9, [0x14000cd30]
mov qword [0x14003ac28], rax
lea rax, [rsp + 0x40]
lea rdx, str.STARTDLG
xor r8d, r8d
mov rcx, rbx
mov qword [0x14003ac20], rax
call qword [sym.imp.USER32.dll_DialogBoxParamW]
and qword [0x14003ac20], 0
and qword [0x14003ac28], 0
lea rcx, [rsp + 0x40]
call fcn.14000ee84
lea rcx, [rsp + 0x80]
call fcn.14000ee84
lea rcx, [rsp + 0x30]
call fcn.140010050
cmp byte [0x140043cc0], 0
je 0x14000da49
call fcn.14000a88c
lea rcx, [0x14004f490]
call fcn.140009c50
cmp qword [0x140043ca0], 0
jbe 0x14000da6b
mov rcx, qword [0x140043c88]
call fcn.140010240
mov rcx, qword [0x14003bc38]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14003bc30]
test rcx, rcx
je 0x14000da8a
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x140045dd0], 0
jne 0x14000daad
cmp byte [0x140043c62], 0
je 0x14000daad
lea rcx, [0x140045dd0]
mov edx, 0xff
call fcn.1400017c8
mov rbx, qword [0x140043cb0]
mov byte [0x140043c62], 1
test rbx, rbx
je 0x14000db01
mov edi, 0xa
mov rcx, rbx
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0x102
jmp 0x14000dafd
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
je 0x14000dad7
mov ecx, dword [0x140043cac]
test ecx, ecx
je 0x14000db11
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [0x140043ca8]
mov eax, dword [0x140045dd0]
lea r11, [rsp + 0xc0]
test ecx, ecx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
cmovne eax, ecx
mov rsp, r11
pop rdi
ret