Function at 0x140137e30
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14028c238]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea r15, [0x14029a3e0]
nop word [rax + rax]
movzx eax, byte [0x140298235]
test al, al
jne 0x1401381e8
mov ebx, dword [0x14029823c]
xor ecx, ecx
call fcn.1401be324
sub eax, 0x1e
cmp ebx, eax
jge 0x1401381e8
call fcn.140138ce0
mov rbx, rax
mov rcx, r15
call fcn.14016ffac
test eax, eax
je 0x140137ec2
mov ecx, eax
call fcn.14016fae4
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140137ed2
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov rcx, r15
call fcn.14016ffd0
test eax, eax
je 0x140137ee6
mov ecx, eax
call fcn.14016fae4
nop
mov word [rsp + 0x24], r14w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r8, [rsp + 0x24]
lea rcx, [rsp + 0x40]
call fcn.1400d2be0
nop
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.System32cmd.exe
lea rcx, [rsp + 0x78]
call fcn.1400c3720
nop
mov edx, 0x104
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140137f94
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
cmp word [rdi], 0
jne 0x140137f67
mov r8, r14
jmp 0x140137f7b
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140137f70
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.1400c3720
lea rdx, [rbp - 0x48]
mov ebx, dword [rsp + 0x20]
or ebx, 1
jmp 0x140137fc6
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
mov r8d, 0xa
lea rdx, str.C:Windows
lea rcx, [rbp - 0x68]
call fcn.1400c3720
lea rdx, [rbp - 0x68]
mov ebx, dword [rsp + 0x20]
or ebx, 2
mov dword [rsp + 0x20], ebx
lea r8, [rsp + 0x78]
lea rcx, [rbp - 8]
call fcn.1401027e0
mov rsi, rax
lea rax, [rsp + 0x78]
cmp rax, rsi
je 0x140138021
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x140138001
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.1400c3a10
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.1400c3980
nop
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x14013803b
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400c3a10
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r14
mov word [rbp - 8], r14w
test bl, 2
je 0x140138083
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x140138072
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.1400c3a10
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
test bl, 1
je 0x1401380a9
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1401380a9
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
mov word [rsp + 0x26], r14w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x26]
lea rcx, [rsp + 0x28]
call fcn.1400d2be0
nop
mov r8d, 0x104
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
cmp word [rbx], 0
jne 0x1401380ff
mov r8, r14
jmp 0x14013810e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140138103
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400c3720
nop
lea r8, [rbp - 0x28]
lea rdx, str._c__timeout_5__del
lea rcx, [rbp + 0x18]
call fcn.1400cb580
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140145820
nop
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x140138158
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400c3a10
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r14
mov word [rbp + 0x18], r14w
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x140138184
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400c3a10
nop
mov r8, qword [rsp + 0x38]
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400c3a10
nop
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x1401381b9
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.1400c3a10
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
test rdi, rdi
je 0x1401381e8
mov r8, qword [rsp + 0x50]
sub r8, rdi
sar r8, 1
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400c3a10
mov qword [rsp + 0x68], r15
mov rcx, r15
call fcn.14016ffac
test eax, eax
je 0x140138200
mov ecx, eax
call fcn.14016fae4
mov byte [rsp + 0x70], 1
mov rbx, qword [0x14029a260]
test rbx, rbx
jne 0x140138230
lea ecx, [rbx + 0x30]
call fcn.14016e754
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.140138ae0
mov rbx, rax
mov qword [0x14029a260], rax
mov rcx, r15
call fcn.14016ffd0
test eax, eax
je 0x140138244
mov ecx, eax
call fcn.14016fae4
nop
mov rcx, r15
call fcn.14016ffac
test eax, eax
je 0x140138257
mov ecx, eax
call fcn.14016fae4
mov rbx, qword [rbx + 0x28]
mov rcx, r15
call fcn.14016ffd0
test eax, eax
je 0x14013826f
mov ecx, eax
call fcn.14016fae4
nop
mov edx, 0x3e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140137e80
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14016e480
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret