Function at 0x1400327b0
Capabilities:
Get common file path

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f70]
mov eax, 0x2070
call fcn.140282780
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x20b0], rbx
mov qword [rsp + 0x20b8], rsi
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rbp + 0x1f60], rax
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140032afa
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rbx, [0x140328530]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140014ab0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14003286b
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140032850
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140010390
nop
xor r12d, r12d
mov r14d, r12d
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x60]
call fcn.1402841a0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140032a6b
lea rcx, [rsp + 0x60]
mov rax, rdi
lea rax, [rax + 1]
cmp word [rcx + rax*2], r12w
jne 0x1400328b0
cmp word [rsp + rax*2 + 0x5e], 0x5c
jne 0x1400328dd
lea rax, [rax*2 - 2]
cmp rax, 0x2000
jae 0x140032b05
mov word [rsp + rax + 0x60], r12w
lea rcx, [rsp + 0x60]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400328e5
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140010390
lea rdx, str.RealtekAudioHDA_
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140032910
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001bf50
mov rdx, qword [r15]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14001bf50
mov rbx, qword [rsp + 0x30]
lea rcx, [rbx - 0x18]
call fcn.140014810
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140031de0
test eax, eax
jne 0x1400329cf
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicommon.cpp
mov edx, 0x929
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
mov eax, edi
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x140032991
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400329ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400329c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140032ac4
mov rax, qword [rsi]
movzx eax, word [rax]
cmp ax, word [0x140328530]
je 0x140032a1d
lea rdx, [0x14032b758]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], r12w
jne 0x1400329f0
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001bf50
mov rdx, qword [rsi]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14001bf50
mov rbx, qword [rsp + 0x30]
cmp dword [rbx - 8], 1
jle 0x140032a35
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14000da70
mov rbx, qword [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call fcn.14007f080
mov r14d, eax
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.140289b40
test eax, eax
js 0x140032aef
cmp eax, dword [rbx - 0xc]
jg 0x140032aef
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r12w
jmp 0x140032a70
mov rbx, qword [rsp + 0x30]
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140032a8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140032aa7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140032ac1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
mov rcx, qword [rbp + 0x1f60]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80070057
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
nop
call fcn.140281ffc
int3