Function at 0x1400ad4f0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x16b0]
mov eax, 0x17b0
call fcn.140247340
sub rsp, rax
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x17f0], rbx
mov r14, rcx
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x970]
call fcn.140249b10
mov edx, 0x410
lea rcx, [rbp + 0x970]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1400adf89
lea rcx, [rbp + 0x970]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400ad560
test eax, eax
je 0x1400ad596
mov eax, eax
cmp byte [rbp + rax + 0x96f], 0x5c
je 0x1400ad596
lea rcx, [rbp + 0x970]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400ad583
movzx eax, word [0x140287e84]
mov word [rcx], ax
lea rcx, [rbp + 0x970]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400ad5a0
movsd xmm0, qword [str.Prefetch]
movsd qword [rcx], xmm0
movzx eax, byte [0x14029b238]
mov byte [rcx + 8], al
lea r15, vtable.CSABString.0
mov qword [rbp - 0x38], r15
lea rcx, [rbp + 0x970]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400ad5e0
mov dword [rbp - 0x28], eax
inc eax
mov ebx, eax
mov ecx, eax
call fcn.140247068
mov rdi, rax
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400ad615
mov r8d, ebx
lea rdx, [rbp + 0x970]
mov rcx, rax
call fcn.1402496a0
mov esi, 1
mov dword [rbp - 0x24], esi
mov rbx, qword [r14 + 0x1558]
lea rax, vtable.CSABNTPrefetchManager.0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r15
xor r13d, r13d
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
test rdi, rdi
je 0x1400ad684
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdi + rax], r13b
jne 0x1400ad650
mov dword [rsp + 0x48], eax
lea ecx, [rax + 1]
call fcn.140247068
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400ad6a1
mov r8d, dword [rsp + 0x48]
inc r8d
mov rdx, rdi
mov rcx, rax
call fcn.1402496a0
jmp 0x1400ad6a1
mov dword [rsp + 0x48], r13d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsp + 0x4c], esi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140038b10
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x16f8], rax
lea rax, vtable.CSABSymbolicLinkManager.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140038b10
mov qword [rsp + 0x68], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400ad750
lea rdx, str.ZwOpenSymbolicLinkObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x80], rax
lea rdx, str.ZwQuerySymbolicLinkObject
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x78], rax
lea rdx, str.NtClose
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x70], rax
lea rcx, [rsp + 0x60]
call fcn.1400873c0
nop
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], r13
test rbx, rbx
jne 0x1400ad7b3
lea ecx, [rbx + 0x18]
call fcn.14018ef40
mov qword [rbp + 0x16f8], rax
test rax, rax
je 0x1400ad790
lea rcx, vtable.CSABSDKFunctions.0
mov qword [rax], rcx
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
jmp 0x1400ad793
mov rax, r13
mov qword [rbp - 0x68], rax
xor r8d, r8d
mov edx, 0x1000
mov rcx, rax
call fcn.140011040
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x68]
mov qword [rcx + 0x10], rax
lea rcx, [rsp + 0x30]
call fcn.14008c200
nop
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x1708], rax
mov rsi, qword [rax]
cmp dword [r14 + 0x127c], 0
jne 0x1400adf34
nop dword [rax + rax]
cmp rsi, rax
je 0x1400adf30
mov edx, 0xffffffff
mov rcx, qword [r14 + 0x1290]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r15d, r13d
lea rcx, [rbp + 0xd80]
call fcn.1400270b0
nop
mov rbx, qword [rsi + 0x18]
mov rcx, qword [rbp + 0xdb8]
test rcx, rcx
je 0x1400ad827
call fcn.140247060
mov qword [rbp + 0xdb8], r13
test rbx, rbx
je 0x1400ad86d
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1400ad833
mov dword [rbp + 0xdc0], eax
lea ecx, [rax + 1]
call fcn.140247068
mov qword [rbp + 0xdb8], rax
test rax, rax
je 0x1400ad88e
mov r8d, dword [rbp + 0xdc0]
inc r8d
mov rdx, rbx
mov rcx, rax
call fcn.1402496a0
jmp 0x1400ad88e
mov dword [rbp + 0xdc0], r13d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov qword [rbp + 0xdb8], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rcx, qword [r14 + 0x12d8]
test rcx, rcx
je 0x1400ad8af
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0xd80]
mov edx, 0x400
call qword [rax + 0x28]
mov rdi, r13
lea r12, [r14 + 0x1370]
mov rbx, qword [r12]
mov rbx, qword [rbx]
cmp dword [r14 + 0x127c], 0
jne 0x1400ad909
mov r13d, 1
test r15d, r15d
jne 0x1400ad906
cmp rbx, qword [r12]
je 0x1400ad906
cmp dword [rbx + 0x60], r15d
je 0x1400ad8f9
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400ad8f9
mov r15d, r13d
mov rdi, rbx
mov rbx, qword [rbx]
cmp dword [r14 + 0x127c], 0
je 0x1400ad8d0
xor r13d, r13d
test r15d, r15d
je 0x1400adf04
lea rax, vtable.CSASDescriptor.0
mov qword [rbp - 0x10], rax
lea rax, vtable.CSASDescriptor.1.0
mov qword [rbp - 8], rax
lea rcx, [rbp]
call fcn.1400270b0
nop
lea rcx, [rbp + 0x648]
call fcn.14000cb90
nop
lea r15, vtable.CSABString.0
mov qword [rbp + 0x808], r15
mov qword [rbp + 0x810], r13
mov dword [rbp + 0x818], r13d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov qword [rbp + 0x810], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov ebx, 1
mov dword [rbp + 0x81c], ebx
mov qword [rbp + 0x820], r15
mov qword [rbp + 0x828], r13
mov dword [rbp + 0x830], r13d
lea ecx, [rbx + 0xf]
call fcn.140247068
mov qword [rbp + 0x828], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rbp + 0x834], ebx
mov qword [rbp + 0x838], r15
mov qword [rbp + 0x840], r13
mov dword [rbp + 0x848], r13d
lea ecx, [rbx + 0xf]
call fcn.140247068
mov qword [rbp + 0x840], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rbp + 0x84c], rbx
mov dword [rbp + 0x7f8], r13d
mov qword [rbp + 0x800], r13
mov qword [rbp + 0x858], r13
lea rdx, [rdi + 0x20]
lea rcx, [rbp]
call fcn.1400284d0
lea rdx, [rdi + 0x668]
lea rcx, [rbp + 0x648]
call fcn.14000db90
mov eax, dword [rdi + 0x810]
mov dword [rbp + 0x7f0], eax
mov eax, dword [rdi + 0x814]
mov dword [rbp + 0x7f4], eax
mov eax, dword [rdi + 0x818]
mov dword [rbp + 0x7f8], eax
mov rax, qword [rdi + 0x820]
mov qword [rbp + 0x800], rax
lea rdx, [rdi + 0x828]
lea rcx, [rbp + 0x808]
call fcn.140004780
lea rdx, [rdi + 0x840]
lea rcx, [rbp + 0x820]
call fcn.140004780
lea rdx, [rdi + 0x858]
lea rcx, [rbp + 0x838]
call fcn.140004780
mov eax, dword [rdi + 0x870]
mov dword [rbp + 0x850], eax
mov rax, qword [rdi + 0x878]
mov qword [rbp + 0x858], rax
mov rax, qword [rdi + 0x880]
mov qword [rbp + 0x860], rax
mov rbx, qword [rsi + 0x18]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400adac5
call fcn.140247060
mov qword [rbp + 0x38], r13
test rbx, rbx
je 0x1400adb02
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1400adad1
mov dword [rbp + 0x40], eax
lea ecx, [rax + 1]
call fcn.140247068
mov qword [rbp + 0x38], rax
test rax, rax
je 0x1400adb21
mov r8d, dword [rbp + 0x40]
inc r8d
mov rdx, rbx
mov rcx, rax
call fcn.1402496a0
jmp 0x1400adb1d
mov dword [rbp + 0x40], r13d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov qword [rbp + 0x38], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp + 0x648]
call fcn.140089cb0
mov dword [rbp + 0x16f8], eax
mov r13, qword [rbp + 0x38]
lea rax, vtable.CSABStringW.0
mov qword [rbp - 0x50], rax
xor eax, eax
mov r15d, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
lea r9d, [rax - 1]
mov r8, r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
test eax, eax
je 0x1400adbc9
lea ecx, [rax*2 + 2]
call fcn.140247068
mov rdi, rax
test rax, rax
je 0x1400adbc9
inc ebx
mov r8d, ebx
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.140249b10
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
lea r9d, [r15 - 1]
mov r8, r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.14002a980
mov rcx, rdi
call fcn.140247060
mov r15, qword [rbp - 0x48]
mov eax, 1
mov dword [rbp - 0x3c], eax
mov rdx, r15
lea rcx, [rbp + 0x13d0]
call fcn.1400be890
nop
xor r13d, r13d
mov qword [rbp + 0x1700], r13
mov ebx, dword [rbp + 0x16f8]
test ebx, ebx
jne 0x1400adc55
cmp dword [rbp + 0x850], r13d
jne 0x1400adc55
lea rdx, [rbp + 0x1700]
lea rcx, [rbp + 0x13d0]
call fcn.1400c1930
cmp eax, 0xfffffffe
je 0x1400adc1b
cmp eax, 1
jne 0x1400adc55
mov rdx, qword [rbp + 0x1700]
lea rcx, [0x14037d1a0]
call fcn.140078710
test eax, eax
je 0x1400adc55
lea rcx, [rbp + 0x13d0]
call fcn.1400beab0
nop
test r15, r15
je 0x1400ade6d
mov rcx, r15
call fcn.140247060
jmp 0x1400ade6d
lea rcx, [r14 + 0x13e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rbp + 0x7f0], 0x400
mov edi, r13d
mov dword [rbp + 0x16f8], r13d
mov rcx, qword [r14 + 0x12d8]
mov rax, qword [rcx]
lea rdx, str.Detected_Item
call qword [rax + 0x48]
mov rcx, qword [r14 + 0x12d8]
mov rax, qword [rcx]
cmp dword [rbp + 0x15c], r13d
lea rdx, str.64_Bit
jne 0x1400adcab
lea rdx, str.32_Bit
call qword [rax + 0x48]
mov r8, qword [rbp + 0x658]
test r8, r8
je 0x1400adce1
lea rdx, str.Rule_:__s
lea rcx, [rbp + 0x870]
call fcn.140006bc0
mov rcx, qword [r14 + 0x12d8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x870]
call qword [rax + 0x48]
mov rdx, qword [rbp + 0x6b0]
test rdx, rdx
je 0x1400adcfa
mov rcx, qword [r14 + 0x12d8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [r14 + 0x12d8]
mov rax, qword [rcx]
mov rdx, qword [rbp + 0x828]
call qword [rax + 0x48]
mov rcx, qword [r14 + 0x12d8]
mov rax, qword [rcx]
mov rdx, qword [rbp + 0x38]
call qword [rax + 0x48]
test ebx, ebx
jne 0x1400ade0d
mov rbx, qword [r12]
mov rbx, qword [rbx]
nop
cmp rbx, qword [r12]
je 0x1400add66
cmp dword [rbx + 0x810], 0x400
jne 0x1400add5a
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
mov eax, 1
cmove edi, eax
mov rbx, qword [rbx]
test edi, edi
je 0x1400add30
jmp 0x1400ade0d
test edi, edi
jne 0x1400ade0d
mov rcx, qword [r14 + 0x12d8]
test rcx, rcx
je 0x1400add96
mov rax, qword [rcx]
lea r8, [rbp - 0x10]
mov edx, 0x400
call qword [rax + 0x40]
mov r13d, eax
mov dword [rbp + 0x16f8], eax
test eax, eax
jne 0x1400ade0d
cmp dword [rbp + 0x40], 0
je 0x1400addb8
lea rcx, [r14 + 0xa0]
lea rdx, [rbp + 0x30]
call fcn.140025630
test eax, eax
je 0x1400addb8
mov r13d, 1
jmp 0x1400ade0d
mov rbx, qword [r12]
mov r13, qword [rbx + 8]
lea r9, [rbp - 0x10]
mov r8, r13
mov rdx, rbx
mov rcx, r12
call fcn.14007a6c0
mov rdx, qword [r12 + 8]
movabs rcx, 0x1e01e01e01e01d
sub rcx, rdx
cmp rcx, 1
jb 0x1400adfa4
lea rcx, [rdx + 1]
mov qword [r12 + 8], rcx
mov qword [rbx + 8], rax
mov qword [r13], rax
inc dword [r14 + 0x12a8]
mov r13d, dword [rbp + 0x16f8]
mov rcx, qword [r14 + 0x12d8]
test rcx, rcx
je 0x1400ade42
cmp dword [r14 + 0x127c], 0
jne 0x1400ade42
test edi, edi
jne 0x1400ade42
test r13d, r13d
jne 0x1400ade42
mov rax, qword [rcx]
mov r9, qword [rbp + 0x1700]
lea r8, [rbp - 0x10]
mov edx, 0x400
call qword [rax + 0x38]
lea rcx, [r14 + 0x13e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp + 0x13d0]
call fcn.1400beab0
nop
test r15, r15
je 0x1400ade6a
mov rcx, r15
call fcn.140247060
xor r13d, r13d
lea rax, vtable.CSASDescriptor.0
mov qword [rbp - 0x10], rax
lea rax, vtable.CSASDescriptor.1.0
mov qword [rbp - 8], rax
lea r15, vtable.CSABString.0
mov qword [rbp + 0x838], r15
add dword [rbp + 0x84c], 0xffffffff
jne 0x1400adeab
mov rcx, qword [rbp + 0x840]
test rcx, rcx
je 0x1400adeab
call fcn.140247060
mov qword [rbp + 0x820], r15
add dword [rbp + 0x834], 0xffffffff
jne 0x1400adecc
mov rcx, qword [rbp + 0x828]
test rcx, rcx
je 0x1400adecc
call fcn.140247060
mov qword [rbp + 0x808], r15
add dword [rbp + 0x81c], 0xffffffff
jne 0x1400adeed
mov rcx, qword [rbp + 0x810]
test rcx, rcx
je 0x1400adeed
call fcn.140247060
lea rcx, [rbp + 0x648]
call fcn.14000d760
lea rcx, [rbp]
call fcn.140027e10
jmp 0x1400adf0b
lea r15, vtable.CSABString.0
mov rsi, qword [rsi]
lea rcx, [rbp + 0xd80]
call fcn.140027e10
cmp dword [r14 + 0x127c], 0
jne 0x1400adf30
mov rax, qword [rbp + 0x1708]
jmp 0x1400ad7e0
mov rdi, qword [rbp - 0x30]
lea rax, vtable.CSABNTPrefetchManager.0
mov qword [rsp + 0x30], rax
lea rax, vtable.CSABSymbolicLinkManager.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
call fcn.14002c220
lea rcx, [rsp + 0x50]
call fcn.14002c220
mov qword [rsp + 0x38], r15
add dword [rsp + 0x4c], 0xffffffff
jne 0x1400adf7c
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400adf7c
call fcn.140247060
nop
test rdi, rdi
je 0x1400adf89
mov rcx, rdi
call fcn.140247060
mov rbx, qword [rsp + 0x17f0]
add rsp, 0x17b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1402453d0
int3