Function at 0x140056bf0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rbp], rax
mov r15, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.14002fcb0
nop
mov byte [rsp + 0x20], 0
mov r9d, 0x92
lea r8, str.SYSTEMCurrentControlSetServicesSophos_Endpoint_DefenseScanningConfig
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.140030120
nop
lea r12, vtable.RegistryKey.0
mov qword [rsp + 0x70], r12
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140056c95
mov rax, rcx
shr rax, 0x1f
test al, 1
jne 0x140056c95
mov rax, qword [0x1401111c8]
call qword [case.0x14007fe1f.0]
lea rcx, [rbp - 0x80]
call fcn.1400090d0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
mov r9d, 0x30
lea r8, str.OnDemandExcludeFilePaths
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x38]
call fcn.1400305a0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.140038460
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, 0xffffffffffffffff
cmp rbx, rsi
je 0x140056d27
nop dword [rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140056cfd
mov rdx, qword [rbx]
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x140056d00
lea rcx, [r15 + 0x28]
call fcn.140044c90
add rbx, 0x20
cmp rbx, rsi
jne 0x140056cf0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140056d80
cmp rbx, rsi
je 0x140056d47
mov rcx, rbx
call fcn.1400090d0
add rbx, 0x20
cmp rbx, rsi
jne 0x140056d31
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140056d78
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056f8a
mov rcx, rbx
call fcn.140091bc0
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
lea r8d, [rsi + 7]
lea rdx, str.WinSxS_
lea rcx, [rsp + 0x30]
call fcn.140009140
nop
lea rbx, [0x140111460]
cmp word [0x140111460], si
jne 0x140056dce
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140056df0
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140009140
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400853e0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140056e61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056e5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056f90
call fcn.140091bc0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140056ea3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056e9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056f84
call fcn.140091bc0
lea rcx, [r15 + 0x28]
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
nop word [rax + rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140056ec0
mov r8, rdi
call fcn.140044c90
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140056f10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056f0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056f84
call fcn.140091bc0
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140056f1e
call fcn.1400a16a0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140056f2d
call fcn.1400a16a0
nop
mov qword [rbp - 0x38], r12
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140056f52
mov rax, rcx
shr rax, 0x1f
test al, 1
jne 0x140056f52
mov rax, qword [0x1401111c8]
call qword [case.0x14007fe1f.0]
lea rcx, [rbp - 0x28]
call fcn.1400090d0
nop
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140091ba0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14009b188
nop
call fcn.14009b188
nop
call fcn.14009b188
int3