Function at 0x140067f00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, qword [rbp + 0x220]
mov qword [rbp - 0x60], rdi
mov rdx, qword [rbp + 0x228]
xor r14d, r14d
mov qword [rdi], rdx
mov qword [rdi + 8], rdx
mov dword [rdi + 0x10], r14d
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r14
mov byte [rdi + 0x28], r14b
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], r14
lea rbx, [rdi + 0x40]
mov qword [rsp + 0x30], rbx
lea rax, vtable.asw::crashguard::ProcessWatcher.0
mov qword [rbx], rax
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea rcx, [rsp + 0x20]
call fcn.1400705e0
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rcx + 8]
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rbx + 0x10], rax
mov rsi, qword [rbx + 0x18]
mov qword [rbx + 0x18], rdx
lea rbx, [r14 - 1]
test rsi, rsi
je 0x140067ff2
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140067ff2
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x140067ff2
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
mov rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x140068034
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140068034
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x140068034
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
nop
mov qword [rdi + 0x60], r14
mov dword [rdi + 0x68], 0x100
mov dword [rdi + 0x6c], 0x100
mov byte [rdi + 0x70], 0
mov dword [rdi + 0x74], r14d
xorps xmm0, xmm0
movups xmmword [rdi + 0x80], xmm0
mov qword [rdi + 0x90], r14
mov qword [rdi + 0x98], 7
mov word [rdi + 0x80], r14w
movups xmmword [rdi + 0xa0], xmm0
mov qword [rdi + 0xb0], r14
mov qword [rdi + 0xb8], 7
mov word [rdi + 0xa0], r14w
movups xmmword [rdi + 0xc0], xmm0
mov qword [rdi + 0xd0], r14
mov qword [rdi + 0xd8], 7
mov word [rdi + 0xc0], r14w
mov qword [rdi + 0xe0], r14
mov qword [rdi + 0xe8], r14
lea rcx, [rdi + 0xf0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rcx, [rdi + 0x118]
call fcn.14006b5c0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rcx, [rbp - 0x38]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov eax, dword [rbp - 0x38]
mov dword [rdi + 0x78], eax
mov edx, 0x105
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x104
ja 0x1400682f9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp - 0x20]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140068125
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.14002a920
nop
mov r8d, 1
lea rdx, [0x14023d380]
lea rcx, [rsp + 0x38]
call fcn.140023d10
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov r8d, 0xb
lea rdx, str.dbghelp.dll
lea rcx, [rbp - 0x80]
call fcn.140023d10
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp - 0x80]
call fcn.14002adf0
nop
lea rcx, [rsp + 0x38]
call fcn.14002adf0
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 0xe0], rax
test rax, rax
je 0x140068215
lea rdx, [0x140242ea8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xe8], rax
cmp qword [rdi + 0xe8], 0
jne 0x140068291
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0x35383744
mov dword [rsp + 0x24], 0x46353539
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x64], rax
mov dword [rsp + 0x6c], 0x36
lea rax, str.MiniDumpWriteDump_initialization_failed__error_code_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x36
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x58]
mov ecx, 7
call fcn.14003fa10
lea rcx, [0x14023e9b8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140243bb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
xor r8d, r8d
lea rdx, [rbp - 0x60]
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
mov qword [rdi + 0x1fe0], rax
lea rcx, [rbp - 0x58]
call fcn.14002adf0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14019acb0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea r8, str.Could_not_retrieve_system_directory
lea rcx, [rsp + 0x38]
call fcn.140002660
lea rdx, [0x1402ba3c0]
lea rcx, [rsp + 0x38]
call fcn.14019cd80
int3