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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x180375980]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rsi, rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x19], rbx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x31]
call fcn.18002effc
nop
lea rcx, [rbp - 0x31]
lea edi, [rbx + 7]
cmp qword [rbp - 0x19], rdi
cmova rcx, qword [rbp - 0x31]
mov edx, dword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], rdi
cmova r8, qword [rbp - 0x31]
mov r9, qword [rbp - 0x21]
test r9, r9
je 0x180030b82
mov rax, r9
mov rdx, r8
mov ecx, ebx
cmp word [r8], bx
je 0x180030b72
cmp rax, 1
je 0x180030b75
dec rax
add rdx, 2
cmp word [rdx], bx
jne 0x180030b60
mov rcx, rdx
test rcx, rcx
je 0x180030b82
sub rcx, r8
sar rcx, 1
jmp 0x180030b86
or rcx, 0xffffffffffffffff
cmp r9, rcx
jb 0x180030d39
mov qword [rbp - 0x21], rcx
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], rdi
cmova rax, qword [rbp - 0x31]
mov word [rax + rcx*2], bx
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 0x20
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.1800e3e40
nop
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x19], rdi
mov word [rbp - 0x31], bx
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], rdi
cmova rax, qword [rbp - 0x11]
mov qword [rbp - 0x39], rax
mov r9, rsi
lea r8, [rbp - 0x39]
lea rdx, [0x1800ee6b8]
lea rcx, [rbp + 0xf]
call fcn.18003027c
nop
mov rdx, qword [rbp + 7]
cmp rdx, rdi
jbe 0x180030c3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180030c36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180030d33
call fcn.1800af2ac
movdqa xmm0, xmmword [0x1800ea3c0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], bx
lea r8, [rbp + 0xf]
lea rdx, str.Loading_original_DLL_from:_
lea rcx, [rbp + 0x2f]
call fcn.18002112c
nop
mov edx, 2
mov rcx, rax
call fcn.18002a548
nop
lea rcx, [rbp + 0x2f]
call fcn.1800133a0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], rdi
cmova rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x180030cfc
mov ecx, 0x800
call fcn.1800b6bd0
mov rdi, rax
lea rcx, [rbp + 0xf]
call fcn.180030ff4
mov rbx, rax
mov rcx, rsi
call fcn.180030ff4
mov r9, rbx
mov r8, rax
lea rdx, str.Unable_to_load_original__s_from__s
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, rdi
lea rcx, str.KSL__Fatal
call fcn.180030d40
mov edx, 4
mov rcx, rdi
call fcn.18002a580
call fcn.18002a1cc
mov rcx, rdi
call fcn.1800b6bbc
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, rax
call fcn.18003033c
nop
lea rcx, [rbp + 0xf]
call fcn.1800133a0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1800af730
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800b698c
nop
call fcn.180013448
int3