Function at 0x140001e70
Capabilities:
Check for software breakpoints
Disable driver code integrity
Get common file path

Disassembly:
push rbx
push rbp
push r13
push r15
sub rsp, 0x178
mov rax, qword [0x140008008]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov ebx, r8d
mov qword [rsp + 0x20], rcx
mov r13, rdx
mov r15, rcx
xor ebp, ebp
lea rcx, [rsp + 0x50]
mov qword [rdx], rbp
mov r8d, 0x104
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x140001ed1
lea eax, [rbp + 1]
jmp 0x1400021d6
lea rdx, str.ci.dll
mov qword [rsp + 0x1b8], r12
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r12, rax
test rax, rax
jne 0x140001f0e
lea eax, [r12 + 2]
jmp 0x1400021ce
lea rdx, str.CiInitialize
mov qword [rsp + 0x170], r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x140001f40
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [r14 + 3]
jmp 0x1400021c6
xor eax, eax
mov qword [rsp + 0x1a0], rsi
xorps xmm0, xmm0
mov qword [rsp + 0x1b0], rdi
cmp ebx, 0x3fab
mov dword [rsp + 0x48], eax
mov ebx, ebp
mov byte [rsp + 0x4c], al
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
jae 0x140001fd6
mov esi, ebx
lea rdx, [rsp + 0x28]
lea rdi, [rsi + r14]
mov rcx, rdi
call fcn.1400024d0
test dword [rsp + 0x49], 0x1000
jne 0x140001fc3
movzx eax, byte [rsp + 0x28]
cmp al, 5
jne 0x140001f9c
cmp byte [rdi], 0xe9
je 0x140001fb6
add ebx, eax
cmp ebx, 0x48
jb 0x140001f71
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 6
jmp 0x1400021b6
movsxd rcx, dword [rdi + 1]
lea rax, [rsi + rcx]
jmp 0x1400020f3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 4
jmp 0x1400021b6
mov edi, ebp
nop dword [rax + rax]
mov r15d, edi
lea rdx, [rsp + 0x28]
lea rsi, [r15 + r14]
mov rcx, rsi
call fcn.1400024d0
test dword [rsp + 0x49], 0x1000
jne 0x1400021a8
movzx edx, byte [rsp + 0x28]
test ebx, ebx
jne 0x140002043
cmp dl, 3
jne 0x1400020c6
cmp byte [rsi], 0x4c
jne 0x1400020c6
lea eax, [rdi + 1]
cmp byte [rax + r14], 0x8b
jne 0x1400020c6
lea eax, [rdi + 2]
cmp byte [rax + r14], 0xcb
jne 0x1400020c6
mov ebx, 1
jmp 0x1400020c8
cmp ebx, 1
jne 0x14000206d
cmp dl, 3
jne 0x1400020c6
cmp byte [rsi], 0x4c
jne 0x1400020c6
lea eax, [rdi + 1]
cmp byte [rax + r14], 0x8b
jne 0x1400020c6
lea eax, [rdi + 2]
cmp byte [rax + r14], 0xc7
jne 0x1400020c6
mov ebx, 2
jmp 0x1400020c8
cmp ebx, 2
jne 0x140002097
cmp dl, 3
jne 0x1400020c6
cmp byte [rsi], 0x48
jne 0x1400020c6
lea eax, [rdi + 1]
cmp byte [rax + r14], 0x8b
jne 0x1400020c6
lea eax, [rdi + 2]
cmp byte [rax + r14], 0xd6
jne 0x1400020c6
mov ebx, 3
jmp 0x1400020c8
cmp ebx, 3
jne 0x1400020b7
cmp dl, 2
jne 0x1400020c6
cmp byte [rsi], 0x8b
jne 0x1400020c6
lea eax, [rdi + 1]
cmp byte [rax + r14], 0xcd
jne 0x1400020c6
mov ebx, 4
jmp 0x1400020c8
cmp ebx, 4
jne 0x1400020c6
cmp dl, 5
jne 0x1400020c6
cmp byte [rsi], 0xe8
je 0x1400020e6
mov ebx, ebp
add edi, edx
cmp edi, 0x6e
jb 0x140001fe0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 6
jmp 0x1400021b6
movsxd rcx, dword [rsi + 1]
lea rax, [r15 + rcx]
mov r15, qword [rsp + 0x20]
lea rdi, [r14 + 5]
add rdi, rax
test ecx, ecx
je 0x140001fa3
test rdi, rdi
je 0x140001fa3
nop dword [rax + rax]
mov esi, ebp
lea rdx, [rsp + 0x28]
lea rbx, [rsi + rdi]
mov rcx, rbx
call fcn.1400024d0
test dword [rsp + 0x49], 0x1000
jne 0x140002198
movzx edx, byte [rsp + 0x28]
cmp dl, 6
jne 0x140002145
cmp byte [rbx], 0x89
jne 0x140002153
lea eax, [rbp + 1]
cmp byte [rax + rdi], 0xd
je 0x14000216a
cmp byte [rbx], 0x89
jne 0x140002153
lea eax, [rbp + 1]
cmp byte [rax + rdi], 5
je 0x14000216a
add ebp, edx
cmp ebp, 0x4a
jb 0x140002110
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 8
jmp 0x1400021b6
movsxd rcx, dword [rbx + 2]
lea rdx, [rcx + 6]
add rdx, rsi
add rdx, rdi
test ecx, ecx
je 0x14000215a
test rdx, rdx
je 0x14000215a
sub rdx, r12
mov rcx, r12
add rdx, r15
mov qword [r13], rdx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x1400021b6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 7
jmp 0x1400021b6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 5
mov rsi, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x170]
mov r12, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400036f0
add rsp, 0x178
pop r15
pop r13
pop rbp
pop rbx
ret