Function at 0x140157ee0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, rcx
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
call fcn.14000a210
mov qword [rsp + 0x40], rax
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, [rbp - 0x60]
or rbx, 0xffffffffffffffff
mov rdi, rbx
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140157f50
mov qword [rsp + 0x38], r15
lea r12, [0x140323de0]
test edi, edi
jne 0x140157f71
mov qword [rsp + 0x30], r12
jmp 0x140157f97
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
movzx eax, byte [0x1403fdd77]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400e9d70
nop
cmp dword [rsp + 0x38], 0
jle 0x140157fd4
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea rax, [rbp - 0x60]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140157ff0
mov qword [rsp + 0x38], r15
test ebx, ebx
jne 0x14015800a
mov qword [rsp + 0x30], r12
jmp 0x140158030
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
movzx eax, byte [0x1403fdd77]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400e9d70
nop
cmp dword [rsp + 0x38], 0
jle 0x14015806d
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401582bc
nop
mov qword [rsp + 0x38], r15
mov edx, 0xa
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0xa
lea r8, str.dnsapi.dll
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 0xa
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea rdx, [rbx + 0x20]
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400d1690
nop
cmp dword [rsp + 0x38], 0
jle 0x1401580e8
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r15
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140158360
test al, al
je 0x14015823c
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1400f9eb0
mov rdi, rax
xorps xmm2, xmm2
mov edx, 9
mov rcx, rax
call fcn.1400e0c90
mov qword [rsp + 0x58], r15
mov edx, 0xd
lea rcx, [rsp + 0x50]
call fcn.1401e9030
mov ecx, dword [rsp + 0x58]
inc ecx
movsxd rdx, ecx
mov r9d, 0xd
lea r8, str.Win32_Patched
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
mov edx, 0xd
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
lea r8, [rsp + 0x50]
mov edx, 2
mov rcx, rdi
call fcn.1400d62d0
nop
cmp dword [rsp + 0x58], 0
jle 0x140158192
mov rcx, qword [rsp + 0x50]
call fcn.140298600
mov rax, qword [rdi]
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x70]
cmp dword [rsp + 0x7c], 0
jle 0x14015823c
mov r8b, 1
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400f9eb0
mov rsi, rax
mov qword [rsp + 0x68], r15
mov edx, 0xf
lea rcx, [rsp + 0x60]
call fcn.1401e9030
mov ecx, dword [rsp + 0x68]
inc ecx
movsxd rdx, ecx
mov r9d, 0xf
lea r8, str.Win32_FakeHosts
mov rcx, qword [rsp + 0x60]
call fcn.14029b4d8
mov edx, 0xf
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
lea r8, [rsp + 0x60]
mov edx, 2
mov rcx, rsi
call fcn.1400d62d0
nop
cmp dword [rsp + 0x68], 0
jle 0x140158224
mov rcx, qword [rsp + 0x60]
call fcn.140298600
mov rax, qword [rsi]
mov rdx, r14
mov rcx, rsi
call qword [rax + 0x70]
mov rdx, rsi
mov rcx, rdi
call fcn.140157d70
nop
cmp dword [rsp + 0x78], 0
jle 0x14015824e
mov rcx, qword [rsp + 0x70]
call fcn.140298600
nop
cmp dword [rbp - 0x78], 0
jle 0x14015825d
mov rcx, qword [rbp - 0x80]
call fcn.140298600
cmp byte [rbx + 0x19], 0
jne 0x1401582ae
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015828e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401582ae
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140158280
jmp 0x1401582ae
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401582ab
cmp rbx, qword [rax + 0x10]
jne 0x1401582ab
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140158298
mov rbx, rax
mov rax, qword [rsp + 0x40]
cmp rbx, rax
jne 0x140158080
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x140158306
nop dword [rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14000a110
mov rbx, qword [rbx]
cmp dword [rdi + 0x28], 0
jle 0x1401582f0
mov rcx, qword [rdi + 0x20]
call fcn.140298600
mov rcx, rdi
call fcn.1402012c0
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401582d0
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rax], rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x48], r15
mov rcx, qword [rsp + 0x40]
call fcn.1402012c0
mov al, 1
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret