Function at 0x140030694
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 [0x14005be78]
xor rax, rsp
mov qword [rbp + 0x580], rax
mov cl, 1
call fcn.14001df9c
lea rcx, [0x140067ca0]
call fcn.1400162ec
lea rcx, [rsp + 0x50]
call fcn.1400293ac
movdqa xmm0, xmmword [0x1400489c0]
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.140033c30
lea rdx, [rbp + 0x90]
lea rcx, [0x14005b890]
call fcn.140029954
mov rdx, qword [rbp + 0x108]
mov edi, 0x1000
cmp rdx, 8
jb 0x1400307a0
mov rcx, qword [rbp + 0xf0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x14003079b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d1d
call fcn.14003214c
mov rdx, qword [rbp + 0xe8]
movdqa xmm0, xmmword [0x1400489c0]
movdqa xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], r14w
cmp rdx, 8
jb 0x1400307fa
mov rcx, qword [rbp + 0xd0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x1400307f5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d1d
call fcn.14003214c
mov rdx, qword [rbp + 0xc8]
movdqa xmm0, xmmword [0x1400489c0]
movdqa xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], r14w
cmp rdx, 8
jb 0x140030854
mov rcx, qword [rbp + 0xb0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x14003084f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d1d
call fcn.14003214c
mov rdx, qword [rbp + 0xa8]
movdqa xmm0, xmmword [0x1400489c0]
movdqa xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], r14w
cmp rdx, 8
jb 0x1400308ae
mov rcx, qword [rbp + 0x90]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x1400308a9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d1d
call fcn.14003214c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
test rax, rax
je 0x140030a87
xorps xmm0, xmm0
mov qword [rsp + 0x70], r14
mov rcx, rax
movdqu xmmword [rbp - 0x80], xmm0
call fcn.1400378bc
mov r8, rax
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.14000129c
lea rcx, [rsp + 0x70]
call fcn.14002ca10
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14003092c
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x140030927
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d23
call fcn.14003214c
cmp byte [0x140067cf1], r14b
je 0x140030a1b
lea r8, str.winrarsfxmappingfile.tmp
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
test rax, rax
je 0x140030a10
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 0x140030a10
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 0x140030a10
lea rdx, [rax + 9]
lea rcx, [0x14005b890]
call fcn.14002a0d0
lea rcx, [0x14005b890]
mov byte [rbx], 1
call fcn.14002fc4c
mov r9b, 1
lea rcx, [0x14005b910]
xor r8d, r8d
mov rdx, r15
call fcn.14001b9c0
lea rdx, [0x14005b910]
lea rcx, [0x140067d38]
call fcn.14001bb0c
mov rdx, r15
lea rcx, [0x14005b910]
call fcn.14001bb7c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140030a87
xorps xmm0, xmm0
mov qword [rsp + 0x70], r14
mov rcx, rbx
movdqu xmmword [rbp - 0x80], xmm0
call fcn.1400378bc
mov r8, rax
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.14000129c
lea rcx, [rsp + 0x70]
call fcn.14002fc4c
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140030a87
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x140030a82
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d17
call fcn.14003214c
lea rcx, [rsp + 0x70]
call fcn.140016464
lea rdi, [0x14005bd10]
mov rbx, rax
cmp rdi, rax
je 0x140030ac9
mov rcx, rdi
call fcn.140001fa0
mov r8d, 0x20
mov rdx, rbx
mov rcx, rdi
call fcn.140033580
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rsp + 0x70]
call fcn.140001fa0
cmp qword [0x14005bd28], 8
lea rcx, str.sfxname
mov rdx, rdi
cmovae rdx, qword [0x14005bd10]
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.140013e38
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 [0x140060958], rax
mov edx, 0x64
mov qword [0x140060950], rax
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x140067d80], rax
call fcn.14002af54
mov rdx, rdi
mov qword [0x140067d88], rax
lea rcx, [0x140060960]
call fcn.1400198bc
lea rcx, [rbp + 0x10]
call fcn.1400266f4
lea rcx, [rbp - 0x70]
call fcn.1400266f4
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], r14
mov qword [0x140067c80], rax
lea r9, [0x14002b0d0]
lea rax, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.STARTDLG
mov qword [0x140067c88], rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
lea rcx, [rbp - 0x70]
mov qword [0x140067c88], r14
mov qword [0x140067c80], r14
call fcn.1400267e8
lea rcx, [rbp + 0x10]
call fcn.1400267e8
mov ecx, dword [0x140067d98]
test ecx, ecx
je 0x140030c2c
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140067cc0], r14b
je 0x140030c3a
call fcn.140029e8c
lea rcx, [0x140067d58]
call fcn.14001b8ec
mov rcx, qword [0x140067d80]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140067d88]
test rcx, rcx
je 0x140030c65
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x1400609e0], r14d
jne 0x140030c88
cmp byte [0x140067de0], r14b
je 0x140030c88
mov edx, 0xff
lea rcx, [0x1400609e0]
call fcn.14000ba1c
mov rcx, qword [0x140067da0]
mov byte [0x140067de0], 1
test rcx, rcx
je 0x140030cad
call fcn.14002fd64
mov rcx, qword [0x140067da0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140067d90], r14b
mov ebx, dword [0x1400609e0]
je 0x140030cdf
cmp byte [0x140067d91], r14b
mov eax, dword [0x14005b888]
je 0x140030cd9
mov ebx, dword [0x140067d94]
test eax, eax
jle 0x140030cdf
add ebx, eax
jmp 0x140030cdf
test eax, eax
jns 0x140030cdf
sub ebx, eax
lea rcx, [rsp + 0x50]
call fcn.140029424
mov eax, ebx
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.140032260
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.140037844
int3
call fcn.140037844
int3
call fcn.140037844
int3