Function at 0x1400c0c10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [0x14016b0c0]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x70], rdx
xor esi, esi
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x40]
call fcn.14009e7e0
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x140]
call fcn.14009e7e0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2c0]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
lea rax, [rbp + 0x2c0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c0cd0
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x80]
call fcn.140081a10
nop
cmp byte [rbx], 0
je 0x1400c0d5d
movabs rbx, 0x7ffffffffffffffe
mov rax, qword [rbp - 0x70]
sub rbx, rax
cmp rbx, 0x13
jb 0x1400c0fe0
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], reloc.WS2_32.dll_send
lea rdx, str.System32_ntdll.dll
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.140083e70
nop
mov r8b, 1
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.14009e9a0
nop
lea rcx, [rbp - 0x60]
call fcn.14007e600
jmp 0x1400c0e5f
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movzx eax, byte [rbx + 1]
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x58], al
test al, al
je 0x1400c0d7e
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
mov rcx, qword [rbp - 0x70]
sub rax, rcx
cmp rax, 0x13
jb 0x1400c0fe6
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], reloc.WS2_32.dll_send
lea rdx, str.System32_ntdll.dll
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.140083e70
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x140]
call fcn.14009e9a0
nop
lea rcx, [rsp + 0x48]
call fcn.14007e600
mov rax, qword [rbp - 0x70]
sub rbx, rax
cmp rbx, 0x13
jb 0x1400c0fda
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], reloc.WS2_32.dll_send
lea rcx, str.SysWOW64_ntdll.dll
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.140083e70
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.14009e9a0
nop
lea rcx, [rsp + 0x48]
call fcn.14007e600
nop
cmp byte [rbp - 0x58], 0
je 0x1400c0e5f
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400c0ff0
nop
lea rcx, [rdi + 0x180]
lea rdx, [rbp + 0x140]
call fcn.1400c0ff0
nop
lea rcx, [rbp - 0x80]
call fcn.14007e600
nop
xor edx, edx
lea rcx, [rbp + 0x140]
call fcn.14009ebd0
lea rcx, [rbp + 0x278]
call fcn.1400bebe0
lea rcx, [rbp + 0x258]
call fcn.14007e600
lea rcx, [rbp + 0x238]
call fcn.14007e600
lea rcx, [rbp + 0x1f8]
call fcn.140093120
lea rcx, [rbp + 0x1b8]
call fcn.140093120
lea rcx, [rbp + 0x1a0]
call fcn.14009fe50
mov rcx, qword [rbp + 0x188]
test rcx, rcx
jle 0x1400c0ef2
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rcx, qword [rbp + 0x150]
test rcx, rcx
jle 0x1400c0f04
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp + 0x148]
test rcx, rcx
jle 0x1400c0f16
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x140]
test rcx, rcx
jle 0x1400c0f29
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.14009ebd0
lea rcx, [rbp + 0xf8]
call fcn.1400bebe0
lea rcx, [rbp + 0xd8]
call fcn.14007e600
lea rcx, [rbp + 0xb8]
call fcn.14007e600
lea rcx, [rbp + 0x78]
call fcn.140093120
lea rcx, [rbp + 0x38]
call fcn.140093120
lea rcx, [rbp + 0x20]
call fcn.14009fe50
mov rcx, qword [rbp + 8]
test rcx, rcx
jle 0x1400c0f82
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
jle 0x1400c0f91
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
jle 0x1400c0fa0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
jle 0x1400c0faf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.140126e40
lea r11, [rsp + 0x5e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140034260
nop
call fcn.140034260
nop
call fcn.140034260
int3