Function at 0x180871d1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, 0x180f7fa0
call fcn.180572c7
mov eax, dword [ebp + 8]
mov esi, 0x180f7fc0
mov dword [eax + 0xc], 0xc
call fcn.180572c7
lea esi, [ebp - 0x28]
call fcn.18064a86
mov eax, dword [0x180fa268]
mov ecx, 0x180fa268
call dword [eax + 0xc]
add eax, 0x10
push str.update
mov dword [ebp + 8], eax
mov esi, 0x180e2180
lea eax, [ebp + 8]
push esi
push eax
call fcn.180033bb
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.18086d93
pop ecx
pop ecx
test eax, eax
jge 0x1808725e
mov edi, 0x80040706
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.18004250
lea esi, [ebp - 0x28]
call fcn.180372a9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
test eax, 0xfffffffc
je 0x18087272
mov edi, 0x80040712
jmp 0x18087242
push str.uninstall
lea eax, [ebp + 8]
push esi
push eax
call fcn.180033bb
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.18086d93
pop ecx
pop ecx
test eax, eax
jl 0x1808723d
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
test eax, 0xfffffffc
je 0x180872ab
mov edi, 0xa0430721
jmp 0x18087242
push str.install
lea eax, [ebp + 8]
push esi
push eax
call fcn.180033bb
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.18086d93
pop ecx
pop ecx
test eax, eax
jl 0x1808723d
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
test eax, 0xfffffffc
je 0x1808723d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x1808723d
push eax
lea eax, [ebp - 0xc]
call fcn.18003fba
mov edi, dword [ebp - 0xc]
cmp dword [edi - 0xc], 0
jne 0x18087312
lea eax, [edi - 0x10]
call fcn.18004250
jmp 0x1808723d
mov ebx, str.DropboxUpdate.exe
xor ecx, ecx
mov eax, ebx
lea esi, [ebp - 0xc]
call fcn.1800a744
mov esi, eax
cmp esi, 0xffffffff
je 0x18087305
push ebx
call fcn.1809d315
add eax, esi
pop ecx
js 0x1808742f
mov ecx, dword [edi - 0xc]
cmp eax, ecx
jg 0x1808742f
push 0x22
pop edx
cmp dx, word [edi + eax*2]
jne 0x1808734e
inc eax
sub ecx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
call fcn.18006501
lea ebx, [ebp - 0x10]
call fcn.1800a80a
call fcn.1800a84c
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
xor ebx, ebx
sar eax, 2
test eax, eax
jbe 0x180873d4
mov eax, dword [0x180fa268]
mov ecx, 0x180fa268
call dword [eax + 0xc]
add eax, 0x10
mov edi, ebx
lea esi, [ebp - 0x28]
mov dword [ebp - 8], eax
call fcn.1800a9bb
lea ecx, [ebp - 8]
push ecx
push dword [eax]
call fcn.18013714
pop ecx
pop ecx
test eax, eax
jl 0x180873b8
mov eax, dword [ebp - 0x10]
xor ecx, ecx
lea esi, [ebp - 8]
call fcn.1800a744
cmp eax, 0xffffffff
jne 0x18087404
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18004250
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x18087378
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.18004250
lea eax, [edi - 0x10]
call fcn.18004250
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.18004250
lea esi, [ebp - 0x28]
call fcn.180372a9
mov eax, 0x80040711
jmp 0x18087257
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18004250
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.18004250
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
mov edi, 0x80040710
jmp 0x18087242
push 0x80070057
call fcn.1800416a
int3