Function at 0x1800709e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r13, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rdx
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp - 0x70]
call fcn.180211600
lea rcx, [rbp - 0x70]
call fcn.180053820
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x110]
call fcn.180211600
lea rcx, [rbp + 0x110]
call fcn.180053820
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x290]
call fcn.180211600
mov edx, 0x104
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov ebx, 7
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x70], r12w
lea rax, [rbp + 0x290]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r12w
jne 0x180070ab0
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x70]
call fcn.18000dc00
nop
cmp byte [rdi], 0
je 0x180070bcb
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp - 0x80]
sub rax, rsi
cmp rax, 0x13
jb 0x180070dec
lea r15, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r15, qword [rsp + 0x70]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
lea r14, [rsi + 0x13]
lea rdi, [rsp + 0x50]
cmp r14, 7
jbe 0x180070b5c
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x180070b2c
mov rbx, rcx
jmp 0x180070b38
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18000ec80
mov rdi, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.180210e90
movups xmm0, xmmword [str.System32_ntdll.dll]
movups xmmword [rbx + rdi], xmm0
movups xmm1, xmmword [0x180315840]
movups xmmword [rbx + rdi + 0x10], xmm1
mov eax, dword [0x180315850]
mov dword [rbx + rdi + 0x20], eax
movzx eax, word [0x180315854]
mov word [rbx + rdi + 0x24], ax
mov word [rdi + r14*2], r12w
mov r8b, 1
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.1800539c0
nop
lea rcx, [rsp + 0x50]
call fcn.18000db90
jmp 0x180070c68
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movzx eax, byte [rdi + 1]
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x58], al
test al, al
je 0x180070bf0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
lea r8, str.System32_ntdll.dll
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.18003d650
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.1800539c0
nop
lea rcx, [rsp + 0x30]
call fcn.18000db90
lea r8, str.SysWOW64_ntdll.dll
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.18003d650
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1800539c0
nop
lea rcx, [rsp + 0x30]
call fcn.18000db90
nop
cmp byte [rsp + 0x58], 0
je 0x180070c68
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.180070e00
nop
lea rcx, [r13 + 0x180]
lea rdx, [rbp + 0x110]
call fcn.180070e00
nop
lea rcx, [rsp + 0x70]
call fcn.18000db90
nop
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.180053bf0
lea rcx, [rbp + 0x248]
call fcn.18006f140
lea rcx, [rbp + 0x228]
call fcn.18000db90
lea rcx, [rbp + 0x208]
call fcn.18000db90
lea rcx, [rbp + 0x1c8]
call fcn.180043b80
lea rcx, [rbp + 0x188]
call fcn.180043b80
lea rcx, [rbp + 0x170]
call fcn.180054dd0
mov rcx, qword [rbp + 0x158]
test rcx, rcx
jle 0x180070cfc
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rcx, qword [rbp + 0x120]
test rcx, rcx
jle 0x180070d0e
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp + 0x118]
test rcx, rcx
jle 0x180070d20
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x110]
test rcx, rcx
jle 0x180070d33
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.180053bf0
lea rcx, [rbp + 0xc8]
call fcn.18006f140
lea rcx, [rbp + 0xa8]
call fcn.18000db90
lea rcx, [rbp + 0x88]
call fcn.18000db90
lea rcx, [rbp + 0x48]
call fcn.180043b80
lea rcx, [rbp + 8]
call fcn.180043b80
lea rcx, [rbp - 0x10]
call fcn.180054dd0
mov rcx, qword [rbp - 0x28]
test rcx, rcx
jle 0x180070d8c
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
jle 0x180070d9b
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
jle 0x180070daa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jle 0x180070db9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r13
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.18007b140
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800021e0
nop
int3