Function at 0x140075fb0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov rax, qword [0x140370028]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.140023610
movups xmm0, xmmword [0x1402e5ee0]
movdqu xmmword [rbp - 0x70], xmm0
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
movdqa xmm0, xmmword [0x14031af90]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r15w
mov dword [rsp + 0x60], r15d
cmp qword [rbx + 0x48], r15
jne 0x14007604c
mov r8d, 0x4e8
mov ecx, 0x8000ffff
mov edi, ecx
lea rdx, str.D:dbs_shodct0905_113328cmdwclientonedriveSetupStandalonewebclientwebclient.cpp
call fcn.14004ac0c
jmp 0x1400763af
lea rdx, [rbp - 0x60]
mov esi, 0x104
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14007608c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, edi
shr eax, 0x1f
test al, al
je 0x1400763af
mov r8d, 0x4eb
mov ecx, edi
jmp 0x14007603b
mov rdx, rsi
lea rax, [rbp - 0x60]
cmp word [rax], r15w
je 0x1400760a3
add rax, 2
sub rdx, 1
jne 0x140076093
mov rax, rdx
neg rax
sbb edi, edi
not edi
and edi, 0x80070057
mov rax, rdx
mov rcx, rsi
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
test rdx, rdx
jne 0x1400760d2
mov r8d, 0x4ec
jmp 0x140076088
test r8, r8
jne 0x1400760e7
mov ecx, 0x80004005
mov r8d, 0x4ed
jmp 0x140076039
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.14000ece4
mov rcx, rbx
call fcn.140074094
mov edi, eax
test eax, eax
jns 0x140076110
mov r8d, 0x4f0
mov ecx, eax
jmp 0x14007603b
mov dword [rsp + 0x64], setsockopt
mov rcx, qword [0x1403716a8]
mov rax, qword [rcx]
lea r14, [rbx + 0x90]
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x140076136
mov r8, qword [r14]
lea rdx, [rsp + 0x64]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, str.GUID
mov rdx, qword [rbx + 0xf0]
mov rax, qword [rax + 0x38]
call qword [case.0x140067d03.0]
test eax, eax
je 0x14007617f
mov ecx, 0x80004005
mov r8d, 0x4f4
jmp 0x140076039
cmp dword [rsp + 0x60], 3
je 0x140076196
mov ecx, 0x80004005
mov r8d, 0x4f5
jmp 0x140076039
lea rdi, [rbp - 0x60]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x64], SHFlushSFCache
mov rcx, qword [0x1403716a8]
mov rax, qword [rcx]
cmp qword [r14 + 0x18], 8
jb 0x1400761bf
mov r14, qword [r14]
lea rdx, [rsp + 0x64]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, str.File
mov r8, r14
mov rdx, qword [rbx + 0xf0]
mov rax, qword [rax + 0x38]
call qword [case.0x140067d03.0]
test eax, eax
je 0x14007620b
mov ecx, 0x80004005
mov r8d, 0x4fb
jmp 0x140076039
cmp dword [rsp + 0x60], 1
je 0x140076222
mov ecx, 0x80004005
mov r8d, 0x4fc
jmp 0x140076039
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rcx, [rbp - 0x60]
cmp rax, rcx
je 0x140076240
mov r8d, 0x500
jmp 0x140076034
mov rcx, rsi
lea rax, [rbp - 0x60]
cmp word [rax], r15w
je 0x140076257
add rax, 2
sub rcx, 1
jne 0x140076247
mov rax, rcx
neg rax
sbb edi, edi
not edi
and edi, 0x80070057
mov rax, rcx
sub rsi, rcx
neg rax
sbb rdx, rdx
and rdx, rsi
test rcx, rcx
jne 0x140076286
mov r8d, 0x501
jmp 0x140076088
test rdx, rdx
jne 0x14007629b
mov ecx, 0x80004005
mov r8d, 0x502
jmp 0x140076039
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea r8, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400c9598
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000e654
nop
lea rcx, [rsp + 0x40]
call fcn.140007f78
mov rcx, qword [rbx + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x70]
mov rax, qword [rax + 0x20]
call qword [case.0x140067d03.0]
mov edi, eax
test eax, eax
jns 0x1400762fd
mov r8d, 0x508
jmp 0x140076109
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r9, qword [rsp + 0x70]
lea r8, [rbx + 0xb0]
cmp qword [r8 + 0x18], 8
jb 0x14007631e
mov r8, qword [r8]
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400758c4
test al, al
jne 0x140076356
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140076346
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x140067d03.0]
mov ecx, 0x80004005
mov r8d, 0x512
jmp 0x140076039
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x70]
call fcn.14000e654
mov rsi, qword [rsp + 0x68]
cmp qword [rbx + 0x50], rsi
je 0x1400763a3
test rsi, rsi
je 0x140076388
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x140067d03.0]
nop
mov rcx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rsi
test rcx, rcx
je 0x1400763a3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140067d03.0]
nop
movups xmm0, xmmword [rbp - 0x70]
movdqu xmmword [rbx + 0x130], xmm0
mov ebx, r15d
test edi, edi
cmovs ebx, edi
lea rcx, [rsp + 0x70]
call fcn.140007f78
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400763da
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x140067d03.0]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140021280
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret