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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x598]
sub rsp, 0x690
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp + 0x580], rax
mov cl, 1
call fcn.14000de50
lea rcx, [0x14006a410]
call fcn.140007a28
lea rcx, [rsp + 0x50]
call fcn.14001d068
movdqa xmm0, xmmword [0x14003b930]
lea rcx, [rbp + 0x110]
xor r14d, r14d
movdqa xmmword [rbp + 0xa0], xmm0
mov r15d, 0x400
mov qword [rbp + 0x90], r14
movdqa xmm1, xmm0
mov qword [rbp + 0xb0], r14
mov r8d, r15d
movdqa xmmword [rbp + 0xc0], xmm0
xor edx, edx
mov qword [rbp + 0xd0], r14
movdqa xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r14
movdqa xmmword [rbp + 0x100], xmm0
call fcn.140027480
lea rdx, [rbp + 0x90]
lea rcx, [0x14004d840]
call fcn.14001d6e4
mov rdx, qword [rbp + 0x108]
mov edi, 0x1000
cmp rdx, 8
jb 0x1400240d8
mov rcx, qword [rbp + 0xf0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x1400240d3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024655
call fcn.140025adc
mov rdx, qword [rbp + 0xe8]
movdqa xmm0, xmmword [0x14003b930]
movdqa xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], r14w
cmp rdx, 8
jb 0x140024132
mov rcx, qword [rbp + 0xd0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x14002412d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024655
call fcn.140025adc
mov rdx, qword [rbp + 0xc8]
movdqa xmm0, xmmword [0x14003b930]
movdqa xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], r14w
cmp rdx, 8
jb 0x14002418c
mov rcx, qword [rbp + 0xb0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x140024187
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024655
call fcn.140025adc
mov rdx, qword [rbp + 0xa8]
movdqa xmm0, xmmword [0x14003b930]
movdqa xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], r14w
cmp rdx, 8
jb 0x1400241e6
mov rcx, qword [rbp + 0x90]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x1400241e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024655
call fcn.140025adc
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
test rax, rax
je 0x1400243bf
xorps xmm0, xmm0
mov qword [rsp + 0x70], r14
mov rcx, rax
movdqu xmmword [rbp - 0x80], xmm0
call fcn.14002aecc
mov r8, rax
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.1400012bc
lea rcx, [rsp + 0x70]
call fcn.1400205e0
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140024264
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x14002425f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002465b
call fcn.140025adc
cmp byte [0x14006a461], r14b
je 0x140024353
lea r8, [0x14003d508]
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
test rax, rax
je 0x140024348
xor r9d, r9d
mov qword [rsp + 0x20], 9
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140024348
mov rbx, qword [rax + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rax, [rbx + 9]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xf001f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x140024348
lea rdx, [rax + 9]
lea rcx, [0x14004d840]
call fcn.14001dcc8
lea rcx, [0x14004d840]
mov byte [rbx], 1
call fcn.1400237d0
mov r9b, 1
lea rcx, [0x14004d8c0]
xor r8d, r8d
mov rdx, r15
call fcn.14000bd2c
lea rdx, [0x14004d8c0]
lea rcx, [0x14006a4a8]
call fcn.14000be78
mov rdx, r15
lea rcx, [0x14004d8c0]
call fcn.14000bee8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400243bf
xorps xmm0, xmm0
mov qword [rsp + 0x70], r14
mov rcx, rbx
movdqu xmmword [rbp - 0x80], xmm0
call fcn.14002aecc
mov r8, rax
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.1400012bc
lea rcx, [rsp + 0x70]
call fcn.1400237d0
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400243bf
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x1400243ba
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002464f
call fcn.140025adc
lea rcx, [rsp + 0x70]
call fcn.140007c10
lea rdi, [0x14004dcc0]
mov rbx, rax
cmp rdi, rax
je 0x140024401
mov rcx, rdi
call fcn.140001b70
mov r8d, 0x20
mov rdx, rbx
mov rcx, rdi
call fcn.140026dd0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rsp + 0x70]
call fcn.140001b70
cmp qword [0x14004dcd8], 8
lea rcx, str.sfxname
mov rdx, rdi
cmovae rdx, qword [0x14004dcc0]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x6c]
movzx edx, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
movzx eax, word [rsp + 0x6e]
movzx r10d, word [rsp + 0x66]
movzx r11d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
lea rcx, [rbp + 0x510]
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.1400061e8
lea rdx, [rbp + 0x510]
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 [0x14006a558], rax
mov edx, 0x64
mov qword [0x14006a550], rax
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x14006a4f0], rax
call fcn.14001eb24
mov rdx, rdi
mov qword [0x14006a4f8], rax
lea rcx, [0x14006ac70]
call fcn.140009cac
lea rcx, [rbp + 0x10]
call fcn.14001a3f0
lea rcx, [rbp - 0x70]
call fcn.14001a3f0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], r14
mov qword [0x14006a3f0], rax
lea r9, [0x14001eca0]
lea rax, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.STARTDLG
mov qword [0x14006a3f8], rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
lea rcx, [rbp - 0x70]
mov qword [0x14006a3f8], r14
mov qword [0x14006a3f0], r14
call fcn.14001a4e4
lea rcx, [rbp + 0x10]
call fcn.14001a4e4
mov ecx, dword [0x14006a508]
test ecx, ecx
je 0x140024564
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14006a430], r14b
je 0x140024572
call fcn.14001da84
lea rcx, [0x14006a4c8]
call fcn.14000bc58
mov rcx, qword [0x14006a4f0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14006a4f8]
test rcx, rcx
je 0x14002459d
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x14006acf0], r14d
jne 0x1400245c0
cmp byte [0x14006a540], r14b
je 0x1400245c0
mov edx, 0xff
lea rcx, [0x14006acf0]
call fcn.140003ef4
mov rcx, qword [0x14006a510]
mov byte [0x14006a540], 1
test rcx, rcx
je 0x1400245e5
call fcn.1400238e8
mov rcx, qword [0x14006a510]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14006a500], r14b
mov ebx, dword [0x14006acf0]
je 0x140024617
cmp byte [0x14006a501], r14b
mov eax, dword [0x14004d838]
je 0x140024611
mov ebx, dword [0x14006a504]
test eax, eax
jle 0x140024617
add ebx, eax
jmp 0x140024617
test eax, eax
jns 0x140024617
sub ebx, eax
lea rcx, [rsp + 0x50]
call fcn.14001d0e0
mov eax, ebx
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.140025bf0
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002ae54
int3
call fcn.14002ae54
int3
call fcn.14002ae54
int3