Function at 0x40f0da
Capabilities:
Accept command line arguments

Disassembly:
push 0xa0
mov eax, 0x60e5e5
call fcn.00429868
mov dword [ebp - 0x34], ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x40f156
mov eax, dword [0x6c2c20]
lea ecx, [ebp - 0x4c]
push str._firstsetup
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
call fcn.0040ad69
and dword [ebp - 4], ebx
xor eax, eax
inc eax
mov ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x18]
push edi
call dword [0x6317ac]
mov ecx, dword [0x6c2c20]
call esi
mov byte [ebp - 0x1d], 1
test al, al
jne 0x40f15a
mov byte [ebp - 0x1d], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test al, 1
je 0x40f173
and eax, 0xfffffffe
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x24], eax
call fcn.00413b5a
test edi, edi
je 0x40f1c1
mov eax, dword [0x6c2c20]
lea ecx, [ebp - 0x64]
push str._allusers
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
call fcn.0040ad69
mov dword [ebp - 4], 1
mov ecx, esi
mov eax, dword [ebp - 0x24]
or eax, 2
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x18]
push edi
call dword [0x6317ac]
mov ecx, dword [0x6c2c20]
call esi
mov byte [ebp - 0x1e], 1
test al, al
jne 0x40f1c5
mov byte [ebp - 0x1e], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test al, 2
je 0x40f1d8
lea ecx, [ebp - 0x64]
call fcn.00413b5a
xor eax, eax
mov byte [ebp - 0x30], al
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x24], al
cmp byte [ebp - 0x1d], al
je 0x40f3b0
mov dword [ebp - 0x14], eax
call fcn.004bdebb
mov edi, eax
lea ecx, [ebp - 0x7c]
push str.SoftwareMicrosoftOneDrive
mov eax, dword [edi]
mov esi, dword [eax + 0x54]
call fcn.0040ad69
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
push 0
push 0x6dc694
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x6317ac]
mov ecx, edi
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.00413b5a
test esi, esi
js 0x40f24d
cmp dword [ebp - 0x14], 0
jbe 0x40f24d
mov byte [ebp - 0x30], 1
jmp 0x40f2b6
and dword [ebp - 0x1c], 0
call fcn.004bdebb
mov edi, eax
lea ecx, [ebp - 0x94]
push str.SoftwareMicrosoftOneDrive
mov eax, dword [edi]
mov esi, dword [eax + 0x54]
call fcn.0040ad69
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 3
push eax
push 0
push 0x6dc694
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
push reloc.WS2_32.dll_accept
call dword [0x6317ac]
mov ecx, edi
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
mov esi, eax
call fcn.00413b5a
test esi, esi
js 0x40f2be
cmp dword [ebp - 0x1c], 0
jbe 0x40f2be
mov byte [ebp - 0x2c], 1
mov ebx, 0x8004ee45
mov dword [ebp - 0x28], ebx
cmp byte [ebp - 0x1e], 0
mov eax, ebx
je 0x40f32e
test ebx, ebx
js 0x40f33b
mov eax, dword [0x6c2ad4]
lea ecx, [ebp - 0xac]
push str.SoftwareMicrosoftOneDrive
mov eax, dword [eax]
mov esi, dword [eax + 0x40]
call fcn.0040ad69
push 0x6dc694
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call dword [0x6317ac]
mov ecx, dword [0x6c2ad4]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
mov bl, al
call fcn.00413b5a
test bl, bl
je 0x40f3b0
mov ebx, 0x8004ee45
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x28], ebx
jmp 0x40f33b
mov byte [ebp - 0x24], 0
mov ebx, eax
mov dword [ebp - 0x28], ebx
test eax, eax
jns 0x40f3b0
mov ecx, dword [ebp - 0x34]
call fcn.0040ecd3
test eax, eax
js 0x40f3b0
xor ecx, ecx
mov eax, 0x681358
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push eax
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push 0x68135c
push ecx
push ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x24]
mov eax, 0x682614
mov edx, 0x70b
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
push eax
push eax
push ecx
push ecx
push str.Failure
push ebx
push str.UserInitiatedUninstallIsSetBailoutFirstSetup
push 0x67feb4
push str.StandaloneUpdater::HandleUserInitiatedUninstall
mov ecx, str.D:dbs_shodct0202_162706cmdcclientonedriveProductStandaloneUpdaterStandaloneUpdaterLibStandaloneUpdater.cpp
call fcn.00407bbc
mov eax, dword [ebp - 0x28]
call fcn.00429817
ret