Function at 0x45b955
Capabilities:
Get common file path

Disassembly:
push 0x260
mov eax, 0x5f94b6
call fcn.004e1c06
mov dword [ebp - 0x254], ecx
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0041ab50
mov esi, 0x63907c
mov dword [ebp - 0x220], ebx
lea edi, [ebp - 0x250]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov edi, dword [ebp - 0x254]
mov byte [ebp - 4], 1
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x21c], ebx
cmp dword [edi + 0x2c], ebx
jne 0x45b9ef
push 0x4e5
mov eax, 0x8000ffff
push str.D:dbs_shodct0219_230508_0cmdpclientonedriveSetupStandalonewebclientwebclient.cpp
mov ebx, eax
push eax
call fcn.0043bc7d
jmp 0x45bd29
lea eax, [ebp - 0x218]
mov ebx, 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x45ba34
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x45bd29
push 0x4e8
push str.D:dbs_shodct0219_230508_0cmdpclientonedriveSetupStandalonewebclientwebclient.cpp
push ebx
jmp 0x45b9e5
lea eax, [ebp - 0x21c]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0043db66
mov ebx, eax
test ebx, ebx
jns 0x45ba55
push 0x4e9
jmp 0x45ba2c
cmp dword [ebp - 0x21c], 0
jne 0x45ba6d
mov eax, 0x80004005
push 0x4ea
jmp 0x45b9dd
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.0040aaa9
mov ecx, edi
call fcn.0045a0ab
mov ebx, eax
test ebx, ebx
jns 0x45ba93
push 0x4ed
jmp 0x45ba2c
mov ebx, dword [0x68e000]
lea esi, [edi + 0x50]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x228], 0x10
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
mov eax, esi
mov dword [ebp - 0x254], ecx
jb 0x45babb
mov eax, dword [esi]
lea edx, [ebp - 0x228]
push edx
lea edx, [ebp - 0x250]
push edx
lea edx, [ebp - 0x224]
push edx
push str.GUID
push eax
push dword [edi + 0x98]
call dword [0x6147a0]
mov ecx, ebx
call dword [ebp - 0x254]
test eax, eax
je 0x45bafd
mov eax, 0x80004005
push 0x4f1
jmp 0x45b9dd
cmp dword [ebp - 0x224], 3
je 0x45bb15
mov eax, 0x80004005
push 0x4f2
jmp 0x45b9dd
mov edx, 0x208
lea eax, [ebp - 0x218]
mov ecx, edx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x45bb22
mov ebx, dword [0x68e000]
and dword [ebp - 0x21c], ecx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x228], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x254], eax
jb 0x45bb50
mov esi, dword [esi]
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x224]
push ecx
push str.File
push esi
push dword [edi + 0x98]
mov ecx, eax
call dword [0x6147a0]
mov ecx, ebx
call dword [ebp - 0x254]
test eax, eax
je 0x45bb94
mov eax, 0x80004005
push 0x4f8
jmp 0x45b9dd
cmp dword [ebp - 0x224], 1
je 0x45bbac
mov eax, 0x80004005
push 0x4f9
jmp 0x45b9dd
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x218]
cmp eax, ecx
je 0x45bbcd
push 0x4fd
jmp 0x45b9d8
lea eax, [ebp - 0x21c]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.0043db66
mov ebx, eax
test ebx, ebx
jns 0x45bbf5
push 0x4fe
jmp 0x45ba2c
cmp dword [ebp - 0x21c], 0
jne 0x45bc0d
mov eax, 0x80004005
push 0x4ff
jmp 0x45b9dd
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push ecx
push eax
lea eax, [ebp - 0x26c]
push eax
call 0x4a3c12
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.0040a540
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call fcn.00405a95
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x250]
push eax
push ecx
mov ecx, esi
call dword [0x6147a0]
call esi
mov ebx, eax
test ebx, ebx
jns 0x45bc85
push 0x505
jmp 0x45ba2c
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x240]
lea eax, [edi + 0x68]
cmovae ecx, dword [ebp - 0x240]
cmp dword [eax + 0x14], 8
jb 0x45bca4
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x220]
mov ecx, edi
call fcn.0045b361
test al, al
jne 0x45bce0
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x45bcd1
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x6147a0]
call esi
mov eax, 0x80004005
push 0x50f
jmp 0x45b9dd
lea ecx, [edi + 0x80]
lea eax, [ebp - 0x240]
cmp ecx, eax
je 0x45bd0a
cmp dword [ebp - 0x22c], 8
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
push eax
call fcn.0040aa58
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x30]
call fcn.004595be
add edi, 0xbc
lea esi, [ebp - 0x250]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x22c]
xor edi, edi
test ebx, ebx
cmovs edi, ebx
cmp eax, 8
jb 0x45bd83
mov ecx, dword [ebp - 0x240]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x254], ecx
cmp eax, 0x1000
jb 0x45bd7a
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00405a41
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x254]
push eax
push ecx
call fcn.00419529
pop ecx
pop ecx
and dword [ebp - 0x230], 0
xor eax, eax
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x45bdbe
mov edx, dword [ecx]
push ecx
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x6147a0]
call esi
mov eax, edi
call fcn.004e1bb5
ret