Function at 0x4c45b5
Capabilities:
Get common file path

Disassembly:
push 0x260
mov eax, 0x628528
call fcn.00429e48
mov dword [ebp - 0x254], ecx
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0042af50
mov esi, 0x689fb4
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 0x4c464f
push 0x4e5
mov eax, 0x8000ffff
push str.D:dbs_shodct0216_182312_0cmdwclientonedriveSetupStandalonewebclientwebclient.cpp
mov ebx, eax
push eax
call fcn.0044e23a
jmp 0x4c4989
lea eax, [ebp - 0x218]
mov ebx, 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4c4694
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 0x4c4989
push 0x4e8
push str.D:dbs_shodct0216_182312_0cmdwclientonedriveSetupStandalonewebclientwebclient.cpp
push ebx
jmp 0x4c4645
lea eax, [ebp - 0x21c]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0044f289
mov ebx, eax
test ebx, ebx
jns 0x4c46b5
push 0x4e9
jmp 0x4c468c
cmp dword [ebp - 0x21c], 0
jne 0x4c46cd
mov eax, 0x80004005
push 0x4ea
jmp 0x4c463d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.00411a05
mov ecx, edi
call fcn.004c2dab
mov ebx, eax
test ebx, ebx
jns 0x4c46f3
push 0x4ed
jmp 0x4c468c
mov ebx, dword [0x6cecac]
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 0x4c471b
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 [0x63a7a0]
mov ecx, ebx
call dword [ebp - 0x254]
test eax, eax
je 0x4c475d
mov eax, 0x80004005
push 0x4f1
jmp 0x4c463d
cmp dword [ebp - 0x224], 3
je 0x4c4775
mov eax, 0x80004005
push 0x4f2
jmp 0x4c463d
mov edx, 0x208
lea eax, [ebp - 0x218]
mov ecx, edx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x4c4782
mov ebx, dword [0x6cecac]
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 0x4c47b0
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 [0x63a7a0]
mov ecx, ebx
call dword [ebp - 0x254]
test eax, eax
je 0x4c47f4
mov eax, 0x80004005
push 0x4f8
jmp 0x4c463d
cmp dword [ebp - 0x224], 1
je 0x4c480c
mov eax, 0x80004005
push 0x4f9
jmp 0x4c463d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x218]
cmp eax, ecx
je 0x4c482d
push 0x4fd
jmp 0x4c4638
lea eax, [ebp - 0x21c]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.0044f289
mov ebx, eax
test ebx, ebx
jns 0x4c4855
push 0x4fe
jmp 0x4c468c
cmp dword [ebp - 0x21c], 0
jne 0x4c486d
mov eax, 0x80004005
push 0x4ff
jmp 0x4c463d
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 0x4c63a2
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.004117d5
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call fcn.0041395f
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 [0x63a7a0]
call esi
mov ebx, eax
test ebx, ebx
jns 0x4c48e5
push 0x505
jmp 0x4c468c
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x240]
lea eax, [edi + 0x68]
cmovae ecx, dword [ebp - 0x240]
cmp dword [eax + 0x14], 8
jb 0x4c4904
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x220]
mov ecx, edi
call fcn.004c3fc1
test al, al
jne 0x4c4940
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4c4931
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x63a7a0]
call esi
mov eax, 0x80004005
push 0x50f
jmp 0x4c463d
lea ecx, [edi + 0x80]
lea eax, [ebp - 0x240]
cmp ecx, eax
je 0x4c496a
cmp dword [ebp - 0x22c], 8
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
push eax
call fcn.00411a2e
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x30]
call fcn.004c22bd
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 0x4c49e3
mov ecx, dword [ebp - 0x240]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x254], ecx
cmp eax, 0x1000
jb 0x4c49da
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00413aba
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x254]
push eax
push ecx
call fcn.00429b68
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 0x4c4a1e
mov edx, dword [ecx]
push ecx
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x63a7a0]
call esi
mov eax, edi
call fcn.00429df7
ret