Function at 0x1400027d4
Capabilities:
Disable driver code integrity
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
and qword [rdx], 0
mov ebx, r8d
mov r12, rdx
mov r13, rcx
mov edi, 0x104
lea rcx, [rsp + 0x50]
mov r8d, edi
xor edx, edx
call qword [sym.imp.msvcrt.dll_memset]
mov edx, edi
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x140002837
mov eax, 1
jmp 0x140002ad9
lea rdx, str.ci.dll
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 r14, rax
test rax, rax
jne 0x14000286b
lea eax, [r14 + 2]
jmp 0x140002ad9
lea rdx, str.CiInitialize
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x14000288b
lea ebx, [rax + 3]
jmp 0x140002abe
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x25]
call qword [sym.imp.msvcrt.dll_memset]
cmp ebx, 0x3fab
jae 0x140002903
xor ebx, ebx
lea rdi, [rbx + rsi]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call fcn.1400017f0
test dword [rsp + 0x41], 0x1000
jne 0x1400028f9
cmp byte [rsp + 0x20], 5
jne 0x1400028cd
cmp byte [rdi], 0xe9
je 0x1400028ec
movzx eax, byte [rsp + 0x20]
add ebx, eax
cmp ebx, 0x48
jb 0x1400028a6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 6
jmp 0x140002ad9
movsxd rcx, dword [rdi + 1]
lea rax, [rbx + rcx]
jmp 0x140002a1b
mov ebx, 4
jmp 0x140002abe
xor edi, edi
xor r15d, r15d
lea ebx, [rdi + 3]
lea r13, [r15 + rsi]
mov rcx, r13
lea rdx, [rsp + 0x20]
call fcn.1400017f0
test dword [rsp + 0x41], 0x1000
jne 0x140002acb
movzx edx, byte [rsp + 0x20]
test edi, edi
jne 0x14000296c
cmp dl, bl
jne 0x1400029f1
cmp byte [r13], 0x4c
jne 0x1400029f1
lea eax, [r15 + 1]
cmp byte [rax + rsi], 0x8b
jne 0x1400029f1
lea eax, [r15 + 2]
cmp byte [rax + rsi], 0xcb
jne 0x1400029f1
mov edi, 1
jmp 0x1400029f3
cmp edi, 1
jne 0x140002997
cmp dl, bl
jne 0x1400029f1
cmp byte [r13], 0x4c
jne 0x1400029f1
lea eax, [r15 + 1]
cmp byte [rax + rsi], 0x8b
jne 0x1400029f1
lea eax, [r15 + 2]
cmp byte [rax + rsi], 0xc7
jne 0x1400029f1
mov edi, 2
jmp 0x1400029f3
cmp edi, 2
jne 0x1400029bf
cmp dl, bl
jne 0x1400029f1
cmp byte [r13], 0x48
jne 0x1400029f1
lea eax, [r15 + 1]
cmp byte [rax + rsi], 0x8b
jne 0x1400029f1
lea eax, [r15 + 2]
cmp byte [rax + rsi], 0xd6
jne 0x1400029f1
mov edi, ebx
jmp 0x1400029f3
cmp edi, ebx
jne 0x1400029e0
cmp dl, 2
jne 0x1400029f1
cmp byte [r13], 0x8b
jne 0x1400029f1
lea eax, [r15 + 1]
cmp byte [rax + rsi], 0xcd
jne 0x1400029f1
mov edi, 4
jmp 0x1400029f3
cmp edi, 4
jne 0x1400029f1
cmp dl, 5
jne 0x1400029f1
cmp byte [r13], 0xe8
je 0x140002a05
xor edi, edi
add r15d, edx
cmp r15d, 0x6e
jae 0x1400028d9
jmp 0x14000290b
movsxd rcx, dword [r13 + 1]
mov r12, qword [rbp + 0xa8]
mov r13, qword [rbp + 0xa0]
lea rax, [r15 + rcx]
lea rdi, [rsi + 5]
add rdi, rax
test ecx, ecx
je 0x1400028d9
test rdi, rdi
je 0x1400028d9
xor ebx, ebx
lea rsi, [rbx + rdi]
mov r15d, ebx
mov rcx, rsi
lea rdx, [rsp + 0x20]
call fcn.1400017f0
test dword [rsp + 0x41], 0x1000
jne 0x140002ab9
cmp byte [rsp + 0x20], 6
jne 0x140002a68
cmp byte [rsi], 0x89
jne 0x140002a76
lea eax, [rbx + 1]
cmp byte [rax + rdi], 0xd
je 0x140002a89
cmp byte [rsi], 0x89
jne 0x140002a76
lea eax, [rbx + 1]
cmp byte [rax + rdi], 5
je 0x140002a89
movzx eax, byte [rsp + 0x20]
add ebx, eax
cmp ebx, 0x4a
jb 0x140002a35
mov ebx, 8
jmp 0x140002abe
movsxd rcx, dword [rsi + 2]
add rcx, 6
add rcx, r15
add rcx, rdi
cmp dword [rsi + 2], 0
je 0x140002a82
test rcx, rcx
je 0x140002a82
sub rcx, r14
add rcx, r13
mov qword [r12], rcx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140002ad9
mov ebx, 7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x140002ad9
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 5
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret