Function at 0x180032e70
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x3e8]
sub rsp, 0x4d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.18015af70
test al, al
jne 0x180032ec3
mov eax, 1
jmp 0x1800331b8
lea rbx, [rsi + 0x20]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180032ed4
mov rcx, qword [rbx]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x180032ee1
mov r8, qword [rdi]
lea r14, [rdi + 0x10]
mov rdx, qword [r14]
cmp rdx, qword [rbx + 0x10]
jne 0x180032f18
test rdx, rdx
je 0x180032f0a
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x180032f18
add rcx, 2
sub rdx, 1
jne 0x180032ef6
mov rax, qword [rsi + 0x50]
cmp qword [rsi + 0x48], rax
jne 0x1800331b6
mov dword [rsi + 0x44], 0xffffffff
cmp qword [r14], 0
je 0x180032f3b
mov rcx, rdi
call fcn.18015b200
test al, al
jne 0x180032f3b
mov eax, 0x80004005
jmp 0x1800331b8
cmp rbx, rdi
je 0x180032f58
cmp qword [rdi + 0x18], 8
jb 0x180032f4a
mov rdi, qword [rdi]
mov r8, qword [r14]
mov rdx, rdi
mov rcx, rbx
call fcn.180005cd0
lea rcx, [rsi + 0x48]
call fcn.180033de0
xor edi, edi
cmp qword [rsi + 0x30], rdi
jne 0x1800330bd
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], di
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x60]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x206
ja 0x180033011
mov word [rbp + 0x3b0], di
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180032fd0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x28]
call fcn.180005cd0
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x180033011
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rbx
call fcn.180005cd0
cmp qword [rsi + 0x30], 0
je 0x180033065
mov rax, rbx
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180033028
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x180033065
cmp rcx, rdx
jae 0x180033056
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x18003304d
mov rax, qword [rbx]
mov dword [rax + rcx*2], 0x5c
jmp 0x180033065
mov r9d, 0x5c
mov rcx, rbx
call fcn.1800345a0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800330aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800330a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800330a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
cmp qword [rsi + 0xb0], 0
je 0x1800331b6
mov rax, rdi
xchg qword [rsi + 0x130], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqa xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], di
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x80], xmm1
mov word [rsp + 0x70], di
mov word [rbp - 0x70], 0
mov byte [rbp - 0x6e], 0
mov dword [rbp - 0x6c], edi
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x180033132
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180033124
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.180005cd0
movzx eax, byte [rsi + 0x98]
mov byte [rbp - 0x6f], al
lea r8, [rsi + 0x68]
lea rax, [rsp + 0x70]
cmp rax, r8
je 0x180033165
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x180033157
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x70]
call fcn.180005cd0
mov rcx, qword [rsi + 0xb0]
mov rax, qword [rcx]
call qword [rax + 0xc8]
mov byte [rbp - 0x70], al
lea rdx, [rsi + 0x18]
test rsi, rsi
cmove rdx, rdi
lea rcx, [rsi + 0xb8]
call fcn.180058940
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0xb8]
call fcn.180058b40
nop
lea rcx, [rsp + 0x70]
call fcn.180005c50
nop
lea rcx, [rsp + 0x50]
call fcn.180005c50
xor eax, eax
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret