Function at 0x1400aeac0
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 [0x14024a650]
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.14010f790
lea rcx, [rbp - 0x70]
call fcn.14008ce20
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x110]
call fcn.14010f790
lea rcx, [rbp + 0x110]
call fcn.14008ce20
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x290]
call fcn.14010f790
mov edx, 0x104
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor r12d, r12d
mov qword [rsp + 0x70], r12
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
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400aeb90
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x70]
call fcn.140084dd0
nop
cmp byte [rdi], 0
je 0x1400aeca2
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp - 0x80]
sub rax, rsi
cmp rax, 0x13
jb 0x1400aeec3
lea r15, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r15, qword [rsp + 0x70]
mov qword [rsp + 0x50], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
lea r14, [rsi + 0x13]
lea rdi, [rsp + 0x50]
cmp r14, 7
jbe 0x1400aec33
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x1400aec11
mov rbx, rcx
jmp 0x1400aec1d
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.140084f00
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.14010f0e0
movups xmm0, xmmword [str.System32_ntdll.dll]
movups xmmword [rbx + rdi], xmm0
movups xmm1, xmmword [0x14022b460]
movups xmmword [rbx + rdi + 0x10], xmm1
mov eax, dword [0x14022b470]
mov dword [rbx + rdi + 0x20], eax
movzx eax, word [0x14022b474]
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.14008cfd0
nop
lea rcx, [rsp + 0x50]
call fcn.140084d60
jmp 0x1400aed3f
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 0x1400aecc7
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.140090d00
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.14008cfd0
nop
lea rcx, [rsp + 0x30]
call fcn.140084d60
lea r8, str.SysWOW64_ntdll.dll
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140090d00
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14008cfd0
nop
lea rcx, [rsp + 0x30]
call fcn.140084d60
nop
cmp byte [rsp + 0x58], 0
je 0x1400aed3f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.1400aeed0
nop
lea rcx, [r13 + 0x180]
lea rdx, [rbp + 0x110]
call fcn.1400aeed0
nop
lea rcx, [rsp + 0x70]
call fcn.140084d60
nop
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.14008d200
lea rcx, [rbp + 0x248]
call fcn.1400ac990
lea rcx, [rbp + 0x228]
call fcn.140084d60
lea rcx, [rbp + 0x208]
call fcn.140084d60
lea rcx, [rbp + 0x1c8]
call fcn.1400813a0
lea rcx, [rbp + 0x188]
call fcn.1400813a0
lea rcx, [rbp + 0x170]
call fcn.14008e3f0
mov rcx, qword [rbp + 0x158]
test rcx, rcx
jle 0x1400aedd3
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rcx, qword [rbp + 0x120]
test rcx, rcx
jle 0x1400aede5
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp + 0x118]
test rcx, rcx
jle 0x1400aedf7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x110]
test rcx, rcx
jle 0x1400aee0a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14008d200
lea rcx, [rbp + 0xc8]
call fcn.1400ac990
lea rcx, [rbp + 0xa8]
call fcn.140084d60
lea rcx, [rbp + 0x88]
call fcn.140084d60
lea rcx, [rbp + 0x48]
call fcn.1400813a0
lea rcx, [rbp + 8]
call fcn.1400813a0
lea rcx, [rbp - 0x10]
call fcn.14008e3f0
mov rcx, qword [rbp - 0x28]
test rcx, rcx
jle 0x1400aee63
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
jle 0x1400aee72
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
jle 0x1400aee81
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jle 0x1400aee90
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r13
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.14010cca0
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.140001c20
nop
int3