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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov rax, qword [0x1400517e8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov cl, 1
call fcn.140014cc8
mov edx, 0x800
lea rcx, [0x140062c90]
call fcn.1400203fc
lea rcx, [rsp + 0x50]
call fcn.140020c40
mov esi, 0x7402
lea rcx, [0x14005b870]
mov r8d, esi
xor edx, edx
call fcn.1400271f0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
test rax, rax
je 0x140024c49
mov rcx, rax
call fcn.140022bac
cmp byte [0x140064c99], 0
je 0x140024c41
mov ebx, 0xf001f
lea r8, [0x140042028]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
test rax, rax
je 0x140024c36
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x140024c2d
mov r8d, esi
lea rcx, [0x14005b870]
mov rdx, rax
call fcn.140028560
lea rcx, [0x14005b872]
mov byte [rbx], 1
call fcn.140024684
lea rsi, [0x140062872]
mov r9b, 1
mov rcx, rsi
xor r8d, r8d
mov edx, 0x400
call fcn.1400134a8
mov rdx, rsi
lea rcx, [0x140066ca0]
call fcn.1400135f4
mov edx, 0x400
mov rcx, rsi
call fcn.140013664
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140024c49
mov rcx, rbx
call fcn.140024684
lea rdi, [0x1400722e0]
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, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rbp + 0x2c]
movzx edx, word [rbp + 0x2a]
movzx r8d, word [rbp + 0x28]
movzx eax, word [rbp + 0x2e]
movzx r10d, word [rbp + 0x26]
movzx r11d, word [rbp + 0x22]
movzx r9d, word [rbp + 0x20]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
lea rcx, [rbp + 0x30]
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.14000529c
lea rdx, [rbp + 0x30]
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 [0x1400543d8], rax
mov edx, 0x64
mov qword [0x1400543d0], rax
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov rdx, rdi
lea rcx, [0x1400543e0]
mov qword [0x1400732e0], rax
call fcn.14001176c
lea rcx, [rbp - 0x40]
call fcn.14001eb10
lea rcx, [rsp + 0x60]
call fcn.14001eb10
and qword [rsp + 0x20], 0
lea rax, [rbp - 0x40]
mov qword [0x14005b868], rax
lea r9, [0x140021ac0]
lea rax, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.STARTDLG
mov qword [0x140062c78], rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
and qword [0x140062c78], 0
lea rcx, [rsp + 0x60]
and qword [0x14005b868], 0
call fcn.14001ebec
lea rcx, [rbp - 0x40]
call fcn.14001ebec
mov ecx, dword [0x14007331c]
test ecx, ecx
je 0x140024d96
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140063c90], 0
je 0x140024da4
call fcn.140020ef8
lea rcx, [0x1400722a0]
call fcn.1400133d8
cmp qword [0x140073310], 0
jbe 0x140024dc6
mov rcx, qword [0x1400732f0]
call fcn.140025fcc
mov rcx, qword [0x1400732e0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1400732e8]
test rcx, rcx
je 0x140024de5
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x140054488], 0
jne 0x140024e08
cmp byte [0x14005b863], 0
je 0x140024e08
mov edx, 0xff
lea rcx, [0x140054488]
call fcn.140008a0c
mov rcx, qword [0x140073320]
mov byte [0x14005b863], 1
test rcx, rcx
je 0x140024e2d
call fcn.140024714
mov rcx, qword [0x140073320]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400722d4], 0
mov ebx, dword [0x140054488]
je 0x140024e5f
cmp byte [0x1400722d5], 0
mov eax, dword [0x1400512b8]
je 0x140024e59
mov ebx, dword [0x140073318]
test eax, eax
jle 0x140024e5f
add ebx, eax
jmp 0x140024e5f
test eax, eax
jns 0x140024e5f
sub ebx, eax
lea rcx, [rsp + 0x50]
call fcn.140020cb8
mov eax, ebx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140025ea0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret