Function at 0x41ef55
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x24c
mov eax, 0x60c3fe
call fcn.0042d958
mov edi, ecx
mov dword [ebp - 0x220], edi
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], eax
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp + 0x18]
mov dword [edi], vtable.StandaloneUpdaterController.0
lea ecx, [edi + 4]
push eax
call fcn.004141c7
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
test eax, eax
je 0x41efb5
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x62c6dc]
call esi
xor esi, esi
lea ecx, [edi + 0x10]
lea eax, [ebp + 0x20]
mov dword [ecx], esi
push eax
mov dword [ecx + 4], esi
call fcn.00415886
lea eax, [ebp + 0x28]
lea ecx, [edi + 0x18]
push eax
call fcn.004141c7
lea eax, [ebp + 0x30]
lea ecx, [edi + 0x20]
push eax
call fcn.004141c7
mov ecx, dword [ebp + 0x3c]
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
test ecx, ecx
je 0x41eff2
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x38]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 0xd
mov dword [edi + 0x30], eax
push ebx
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
call fcn.004144d5
lea esi, [edi + 0x4c]
xor ebx, ebx
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0xf
lea ecx, [edi + 0x64]
push dword [ebp - 0x23c]
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004144d5
push 0x208
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x10
push ebx
push eax
mov byte [edi + 0x7c], bl
call fcn.0042e9f0
add esp, 0xc
lea eax, [ebp - 0x21c]
push ebx
push 0x29
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41f139
xor eax, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x238]
call fcn.00414483
push str.OneDriveSetup.exe
lea ecx, [ebp - 0x238]
call fcn.004144ac
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.004c3e5b
push eax
mov ecx, esi
call fcn.004142e4
lea ecx, [ebp - 0x258]
call fcn.00415bf1
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x41f139
mov ecx, dword [ebp - 0x238]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x23c], ecx
cmp eax, 0x1000
jb 0x41f130
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00415d5a
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x23c]
push eax
push ecx
call fcn.0042d678
pop ecx
pop ecx
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x41f145
call fcn.00415a55
lea ecx, [ebp + 8]
call fcn.00414179
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x41f159
call fcn.00415a55
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x41f165
call fcn.00415a55
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x41f171
call fcn.00415a55
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x41f17d
call fcn.00415a55
mov eax, edi
call fcn.0042d907
ret 0x38