Function at 0x180005bb0
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 [0x180076040]
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 0x180005f54
cmp qword [rdx + 0x18], 7
jbe 0x180005c0e
mov rdx, qword [rdx]
mov qword [rsp + 0x30], 0xd
lea rax, [0x180067170]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdx
lea rcx, [rbp - 0x78]
call fcn.180007020
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x180005c8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005c89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005c89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005cf40
test rdi, rdi
jne 0x180005f29
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x180005d3b
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.180001730
nop
lea rcx, [rbp - 0x78]
call fcn.180005f60
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x180005d17
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005d12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005f1d
call fcn.18005cf40
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 0x180005f2c
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x180005d50
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
lea rcx, [rbp - 0x78]
call fcn.180006d10
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x180005d80
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.1800047e0
cmp rax, r11
je 0x180005ddb
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x180005daf
cmp cx, 0x2f
jne 0x180005db8
add rax, 2
cmp rax, r11
jne 0x180005da0
cmp rax, r11
je 0x180005ddb
nop dword [rax]
lea rcx, [r10 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x180005ddb
cmp dx, 0x2f
je 0x180005ddb
mov r10, rcx
cmp rax, rcx
jne 0x180005dc0
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.180006d10
mov dword [rsp + 0x40], 0x3f
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.180006550
mov dword [rsp + 0x40], 0x7f
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.1800048e0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x180005e8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005e89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005e89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005cf40
movdqa xmm0, xmmword [0x180068890]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x180005ee6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005ee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005ee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005cf40
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x180005f29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005f24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005f24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005cf40
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18005cf20
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.180001360
int3