Function at 0x1401252d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x140232100]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
call fcn.1401259e0
call fcn.140125210
mov rbx, rax
lea rdx, [0x140215750]
lea rcx, [rsp + 0x50]
call fcn.1401256e0
nop
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14012ffd0
mov ebx, eax
shr ebx, 0x1f
lea rcx, [rsp + 0x50]
call fcn.14002c6f0
test bl, bl
je 0x14012538b
mov rcx, qword [rdi]
test rcx, rcx
je 0x140125381
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14012536f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401256ce
mov rcx, r8
call fcn.1401383fc
xor ebx, ebx
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov eax, 1
jmp 0x1401256a9
mov rcx, rdi
call fcn.14012eb00
test al, al
jne 0x140125402
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x1401253a4
mov qword [rdi + 8], rax
call fcn.140125210
mov rcx, rax
call fcn.140130ad0
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401253f8
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1401253e6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401256ce
mov rcx, r8
call fcn.1401383fc
xor ebx, ebx
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov eax, 2
jmp 0x1401256a9
mov ecx, 0x48
call fcn.140138180
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov qword [rax + 0x40], rcx
mov qword [0x140239c70], rax
call fcn.14012e700
test al, al
jne 0x1401254a4
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x140125446
mov qword [rdi + 8], rax
call fcn.140125210
mov rcx, rax
call fcn.140130ad0
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x14012549a
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140125488
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401256ce
mov rcx, r8
call fcn.1401383fc
xor ebx, ebx
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov eax, 4
jmp 0x1401256a9
mov rsi, qword [0x140239c70]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1401254e0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400297e0
nop
mov r8d, 0xf
lea rdx, str.win32kfull.sys
lea rcx, [rsp + 0x50]
call fcn.14002c760
mov rax, qword [rsi + 0x28]
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r8, qword [rsp + 0x50]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
call rax
mov qword [rsi + 0x40], rax
lea rcx, [rsp + 0x50]
test rax, rax
jne 0x1401255be
call fcn.140029420
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x140125562
mov qword [rdi + 8], rax
call fcn.140125210
mov rcx, rax
call fcn.140130ad0
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401255b4
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1401255a4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401256ce
mov rcx, r8
call fcn.1401383fc
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov eax, 5
jmp 0x1401256a9
call fcn.140029420
mov dl, 1
mov rcx, rdi
call fcn.1401270c0
test al, al
mov rax, qword [rdi]
jne 0x140125637
cmp rax, qword [rdi + 8]
je 0x1401255de
mov qword [rdi + 8], rax
call fcn.140125210
mov rcx, rax
call fcn.140130ad0
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x140125630
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140125620
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401256ce
mov rcx, r8
call fcn.1401383fc
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov eax, 6
jmp 0x1401256a9
cmp rax, qword [rdi + 8]
je 0x140125641
mov qword [rdi + 8], rax
call fcn.140125210
mov rcx, rax
call fcn.140130ad0
mov rdx, qword [0x140239c70]
mov rax, qword [rdx + 0x30]
mov rdx, qword [rdx + 0x40]
mov rcx, 0xffffffffffffffff
call rax
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401256a7
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140125697
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401256ce
mov rcx, r8
call fcn.1401383fc
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140138160
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140145644
int3