Function at 0x14001532c
Capabilities:
Accept command line arguments
Inspect load icon resource
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r14
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov cl, 1
call fcn.1400079f4
mov edx, 0x800
lea rcx, [0x140054f30]
call fcn.140011064
lea rcx, [rsp + 0x60]
call fcn.140011780
lea rcx, [0x140043400]
call fcn.1400088dc
mov r14d, 0x7104
lea rcx, [0x140063930]
mov r8d, r14d
xor edx, edx
call fcn.1400172f0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
test rax, rax
je 0x14001549c
mov rcx, rax
call fcn.140013508
cmp byte [0x140056f39], 0
je 0x140015494
mov ebx, 0xf001f
lea r8, [0x14002c678]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
test rax, rax
je 0x140015489
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x140015480
mov r8d, r14d
lea rcx, [0x140063930]
mov rdx, rax
call fcn.140017e00
lea rcx, [0x140063932]
mov byte [rbx], 1
call fcn.140014e74
mov eax, 2
lea rcx, [0x140058f3a]
lea rdx, [0x14006a932]
lea r8d, [rax + 0x7e]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140015430
movzx eax, word [rdx]
mov word [rcx], ax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001549c
mov rcx, rbx
call fcn.140014e74
lea rdi, [0x14006aa40]
mov r8d, 0x800
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rdx, rdi
lea rcx, str.sfxname
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x5c]
movzx edx, word [rsp + 0x5a]
movzx r8d, word [rsp + 0x58]
movzx eax, word [rsp + 0x5e]
movzx r10d, word [rsp + 0x56]
movzx r11d, word [rsp + 0x52]
movzx r9d, word [rsp + 0x50]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x38], edx
mov edx, 0x32
mov dword [rsp + 0x30], r8d
lea r8, str._4d__02d__02d__02d__02d__02d__03d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call fcn.14000409c
lea rdx, [rbp + 0x10]
lea rcx, str.sfxstime
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov qword [0x140054f20], rax
mov edx, 0x64
mov qword [0x140054f18], rax
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x14006aa38], rax
call fcn.1400123a8
mov rdx, rdi
mov qword [0x14006ba40], rax
lea rcx, [0x140059050]
call fcn.140004990
lea rcx, [rbp - 0x40]
call fcn.14000f568
lea rcx, [rsp + 0x70]
call fcn.14000f568
and qword [rsp + 0x20], 0
lea rax, [rbp - 0x40]
mov qword [0x140054ef8], rax
lea r9, [0x140012500]
lea rax, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.STARTDLG
mov qword [0x140054f00], rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
and qword [0x140054f00], 0
lea rcx, [rsp + 0x70]
and qword [0x140054ef8], 0
call fcn.14000f668
lea rcx, [rbp - 0x40]
call fcn.14000f668
mov ecx, dword [0x14006ba60]
test ecx, ecx
je 0x1400155fd
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140055f30], 0
je 0x14001560b
call fcn.1400118a8
lea rcx, [0x140063820]
call fcn.140006450
cmp qword [0x140054ef0], 0
jbe 0x14001562d
mov rcx, qword [0x140054ee8]
call fcn.14001a32c
mov rcx, qword [0x14006aa38]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14006ba40]
test rcx, rcx
je 0x14001564c
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x140059040], 0
jne 0x14001566f
cmp byte [0x140054ee7], 0
je 0x14001566f
mov edx, 0xff
lea rcx, [0x140059040]
call fcn.140001c50
mov rcx, qword [0x14006ba68]
mov byte [0x140054ee7], 1
test rcx, rcx
je 0x140015694
call fcn.140014ee0
mov rcx, qword [0x14006ba68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14005903f], 0
mov ebx, dword [0x140059040]
je 0x1400156c6
cmp byte [0x140063922], 0
mov eax, dword [0x140039690]
je 0x1400156c0
mov ebx, dword [0x14006aa34]
test eax, eax
jle 0x1400156c6
add ebx, eax
jmp 0x1400156c6
test eax, eax
jns 0x1400156c6
sub ebx, eax
lea rcx, [rsp + 0x60]
call fcn.1400117f8
lea r11, [rsp + 0x180]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret