Function at 0x180018fa0
Capabilities:
Get common file path
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x180090020]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov rcx, qword [rdx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0xd
jb 0x180019344
cmp qword [rdx + 0x18], 8
jb 0x180018ffe
mov rdx, qword [rdx]
mov qword [rsp + 0x30], 0xd
lea rax, [0x1800788b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdx
lea rcx, [rbp - 0x78]
call fcn.18001a410
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18001907e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019079
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180019079
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070380
test rdi, rdi
jne 0x180019319
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x18001912b
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea r8d, [rdi + 0x21]
lea rdx, str.Failed_to_get_System32_directory_
lea rcx, [rbp - 0x78]
call fcn.180001850
nop
lea rcx, [rbp - 0x78]
call fcn.180019350
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180019107
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019102
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001930d
call fcn.180070380
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x18001931c
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x180019140
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
lea rcx, [rbp - 0x78]
call fcn.180019f90
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180019170
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.180017590
cmp rax, r11
je 0x1800191cb
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18001919f
cmp cx, 0x2f
jne 0x1800191a8
add rax, 2
cmp rax, r11
jne 0x180019190
cmp rax, r11
je 0x1800191cb
nop dword [rax]
lea rcx, [r10 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x1800191cb
cmp dx, 0x2f
je 0x1800191cb
mov r10, rcx
cmp rax, rcx
jne 0x1800191b0
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x68]
call fcn.180019f90
mov dword [rsp + 0x40], 0x3f
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.1800198c0
mov dword [rsp + 0x40], 0x7f
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.180017680
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18001927e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019279
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180019279
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070380
movdqa xmm0, xmmword [0x18007f6a0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1800192d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800192d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800192d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070380
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180019319
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019314
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180019314
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070380
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.180070360
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180001380
int3