Function at 0x14000ce80
Capabilities:
Accept command line arguments
Set environment variable
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14000cd24
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
add rsp, 0x28
jmp 0x140010750
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0xa0
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, [0x1400252e0]
call fcn.140011cac
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor esi, esi
mov rbx, rax
cmp rax, rsi
je 0x140010799
mov rcx, rax
call fcn.14000e068
lea rcx, str.sfxcmd
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ebx, 0x400
lea rdx, [0x14001ef90]
xor ecx, ecx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [0x14001ef90]
lea rcx, str.sfxname
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
call fcn.140008384
cmp eax, esi
je 0x1400107e1
lea rdx, [0x14001e790]
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x1400107e8
mov word [0x14001e790], si
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 0x64
mov rcx, rax
mov rbx, rax
mov qword [0x14001a100], rax
call qword [sym.imp.USER32.dll_LoadIconA]
mov rcx, qword [0x14001a100]
mov edx, 0x65
mov qword [0x14001e788], rax
call qword [sym.imp.USER32.dll_LoadBitmapA]
lea rcx, [rsp + 0x30]
mov qword [0x14001e780], rax
call fcn.140015d10
lea rdx, [0x14001ef90]
lea rcx, [0x14001a118]
call fcn.14000b928
lea rcx, [rsp + 0x70]
call fcn.140007584
lea rcx, [rsp + 0x40]
call fcn.140007584
mov ecx, 0x64
call fcn.14000d518
mov ecx, 0x64
mov dword [rsp + 0x9c], eax
call fcn.14000d518
lea r9, [0x14000fe24]
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x70]
lea rdx, str.STARTDLG
mov qword [0x14001e378], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rsi
mov qword [0x14001e370], rax
call qword [sym.imp.USER32.dll_DialogBoxParamA]
lea rcx, [rsp + 0x40]
mov qword [0x14001f440], rsi
mov qword [0x14001e370], rsi
mov qword [0x14001e378], rsi
call fcn.1400075a0
lea rcx, [rsp + 0x70]
call fcn.1400075a0
lea rcx, [rsp + 0x30]
call fcn.140015db4
cmp byte [0x14001f450], sil
je 0x1400108f0
call fcn.14000e31c
lea rcx, [0x14001f3a0]
xor edx, edx
mov r8d, 0x80
call fcn.14000c654
cmp qword [0x14001fcf8], rsi
jbe 0x140010919
mov rcx, qword [0x14001fce0]
call fcn.14000c598
mov rcx, qword [0x14001e788]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14001e780]
cmp rcx, rsi
je 0x140010938
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x14001a108], esi
jne 0x140010959
cmp dword [0x14001f430], esi
je 0x140010959
lea rcx, [0x14001a108]
mov edx, 0xff
call fcn.1400037ac
mov rbx, qword [0x14001fd00]
mov dword [0x14001f430], 2
cmp rbx, rsi
je 0x1400109b1
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0x102
jmp 0x1400109ad
lea rcx, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageA]
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
je 0x140010984
call qword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [0x14001a108]
call qword [sym.imp.KERNEL32.dll_ExitProcess]