Function at 0x401357
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8f4
mov eax, dword [0x4310c4]
xor eax, esp
mov dword [esp + 0x8f0], eax
push ebx
push esi
push edi
call fcn.00403810
and dword [esp + 0x80], 0
mov dword [esp + 0x9c], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x80]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
lea ecx, [esp + 0x84]
xor edi, edi
mov dword [esp + 0x14], ebx
push str._user_path
mov dword [esp + 0x1c], edi
call fcn.00401be9
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x84]
push eax
lea ecx, [ebx + ecx*4]
push ecx
push ebx
call fcn.00403975
add esp, 0xc
lea ecx, [esp + 0x84]
mov esi, eax
call fcn.00401c11
push esi
call fcn.00405840
lea ecx, [esp + 0x88]
mov dword [esp], str._bin_path
call fcn.00401be9
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
lea eax, [ebx + eax*4]
push eax
push ebx
call fcn.00403975
add esp, 0xc
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x84]
call fcn.00401c11
push str._product
lea ecx, [esp + 0x3c]
call fcn.00401be9
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x38]
push eax
lea eax, [ebx + ecx*4]
push eax
push ebx
call fcn.00403975
add esp, 0xc
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x38]
call fcn.00401c11
call fcn.004026b5
push 0x208
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xec]
push edi
push eax
call fcn.0040db40
add esp, 0xc
lea eax, [esp + 0xe8]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.ZoomCptService
call fcn.00405cbb
pop ecx
push edi
mov ecx, eax
mov dword [0x43329c], eax
call fcn.00405f10
test ebx, ebx
je 0x401bb4
push str._install
lea ecx, [esp + 0x24]
call fcn.00401be9
mov eax, dword [esp + 0x80]
mov byte [esp + 0xa4], 0
push dword [esp + 0xa4]
lea edi, [ebx + eax*4]
lea eax, [esp + 0x24]
push eax
push edi
push ebx
call fcn.00401e3b
add esp, 0x10
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00401c11
cmp esi, edi
je 0x4018b9
cmp dword [esp + 0xa0], 0
mov bl, 1
je 0x401727
and dword [esp + 0xa4], 0
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.00402733
pop ecx
pop ecx
test eax, eax
je 0x40154d
lea eax, [esp + 0xe8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [esp + 0xe8]
jmp 0x401623
and dword [esp + 0xa0], 0
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 0x208
lea eax, [esp + 0x2f4]
push 0
push eax
call fcn.0040db40
push 0x40
lea eax, [esp + 0xb8]
push 0
push eax
call fcn.0040db40
mov ecx, dword [0x43329c]
lea eax, [esp + 0x308]
add esp, 0x18
push eax
push dword [esp + 0x20]
push dword [esp + 0xa8]
call fcn.00405dae
test al, al
je 0x4015ea
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x10]
call fcn.004020a3
pop ecx
pop ecx
test eax, eax
je 0x4015ea
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x2f4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea esi, [esp + 0x2f0]
jmp 0x4015ee
mov esi, dword [esp + 0x18]
push esi
call fcn.00402486
push dword [0x42d5a0]
call fcn.004042c1
pop ecx
pop ecx
test al, al
jne 0x40160c
push esi
call fcn.00402413
pop ecx
push dword [0x42d5b0]
call fcn.004042c1
pop ecx
test al, al
jne 0x401623
push esi
call fcn.004023e6
pop ecx
call fcn.0040128d
test eax, eax
push esi
setne byte [esp + 0x17]
test eax, eax
je 0x401645
call fcn.0040246f
pop ecx
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
jmp 0x401681
call fcn.00402937
pop ecx
test eax, eax
je 0x401681
mov ecx, dword [0x43329c]
call fcn.00406047
test al, al
je 0x40166d
mov ecx, dword [0x43329c]
call fcn.004062e9
and al, 1
mov bl, al
push esi
call fcn.0040246f
xor edx, edx
cmp eax, 1
pop ecx
movzx ecx, bl
cmove edx, ecx
mov bl, dl
mov ecx, dword [0x43329c]
call fcn.00405ffd
test al, al
jne 0x4016de
call fcn.00404bb5
mov ecx, eax
call fcn.00404cd9
cmp dword [eax + 0x14], 8
jb 0x4016a4
mov eax, dword [eax]
push eax
push str._user_path
lea eax, [esp + 0x500]
push str._s___s_
push eax
call fcn.00401cb5
mov ecx, dword [0x43329c]
lea eax, [esp + 0x508]
add esp, 0x10
push eax
push str.Enable_Zoom_meeting_participants_to_control_your_desktop._If_this_service_is_stopped_or_disabled__remote_users_wont_control_any_applications_running_at_a_High_Integrity_level.
push str.Zoom_Sharing_Service
call fcn.004060cb
and bl, al
test bl, bl
je 0x4016fe
mov ecx, dword [0x43329c]
call fcn.00406047
test al, al
jne 0x4016fe
mov ecx, dword [0x43329c]
call fcn.00406243
and bl, al
push esi
call fcn.0040291c
pop ecx
test eax, eax
je 0x401710
push esi
call fcn.00402289
pop ecx
cmp byte [esp + 0x13], 0
je 0x40171c
call fcn.00401f74
test bl, bl
mov ebx, dword [esp + 0x14]
jmp 0x401af5
mov ecx, dword [0x43329c]
call fcn.00406047
test al, al
je 0x40183f
push 0xa0
xor ebx, ebx
lea eax, [esp + 0x4fc]
push ebx
push eax
call fcn.0040db40
add esp, 0xc
lea ecx, [esp + 0x4f8]
push dword [0x43329c]
call fcn.00403289
xor eax, eax
lea edi, [esp + 0x84]
stosd dword es:[edi], eax
push 0x200
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x2f8]
push eax
call fcn.0040db40
lea eax, [esp + 0xf4]
push eax
push str._bin_path
push dword [esp + 0x30]
lea eax, [esp + 0x308]
push str._product
push str._install
push str._s__s__s__s___s_
push eax
call fcn.00401cd4
add esp, 0x28
lea eax, [esp + 0x84]
lea ecx, [esp + 0x4f8]
push 1
push ebx
push ebx
push 1
push eax
lea eax, [esp + 0x304]
push eax
lea eax, [esp + 0x100]
push eax
push 2
call fcn.00403472
test al, al
je 0x401825
cmp dword [esp + 0x84], ebx
je 0x401825
push 0x7530
push dword [esp + 0x88]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401818
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x88]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x9c]
lea ecx, [esp + 0x4f8]
call fcn.004032dc
mov eax, esi
jmp 0x401bcd
push str._elevate
lea ecx, [esp + 0x24]
call fcn.00401be9
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x14]
mov byte [esp + 0xc], 0
push dword [esp + 0xc]
lea edi, [ebx + eax*4]
lea eax, [esp + 0x24]
push eax
push edi
push ebx
call fcn.00401e3b
add esp, 0x10
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00401c11
cmp esi, edi
jne 0x401bb4
movaps xmm0, xmmword [0x42d720]
sub esp, 0x10
lea esi, [esp + 0x94]
movups xmmword [esp + 0x94], xmm0
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004024e0
add esp, 0x10
mov dword [esp + 0x9c], eax
jmp 0x401bb4
push str._uninstall
lea ecx, [esp + 0x24]
call fcn.00401be9
mov eax, dword [esp + 0x80]
mov byte [esp + 0xc], 0
push dword [esp + 0xc]
lea edi, [ebx + eax*4]
lea eax, [esp + 0x24]
push eax
push edi
push ebx
call fcn.00401e3b
add esp, 0x10
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00401c11
cmp esi, edi
je 0x401a5d
cmp dword [esp + 0xa0], 0
mov ecx, dword [0x43329c]
je 0x401936
call fcn.004062e9
test al, al
je 0x401bb4
mov ecx, dword [0x43329c]
call fcn.00406398
test al, al
je 0x401bb4
call fcn.00402b5f
jmp 0x4018ad
call fcn.00406047
test al, al
je 0x4019fb
push 0xa0
lea eax, [esp + 0x4fc]
push 0
push eax
call fcn.0040db40
add esp, 0xc
lea ecx, [esp + 0x4f8]
push dword [0x43329c]
call fcn.00403289
xor eax, eax
lea edi, [esp + 0x84]
stosd dword es:[edi], eax
lea ecx, [esp + 0x4f8]
push 1
push 0
push 0
stosd dword es:[edi], eax
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x94]
push eax
push str._uninstall
lea eax, [esp + 0x100]
push eax
push 2
call fcn.00403472
test al, al
je 0x4019ea
cmp dword [esp + 0x84], 0
je 0x4019ea
push 0x7530
push dword [esp + 0x88]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4019dd
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x88]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x4f8]
call fcn.004032dc
jmp 0x401bb4
push str._elevate
lea ecx, [esp + 0x3c]
call fcn.00401be9
mov eax, dword [esp + 0x80]
mov byte [esp + 0xc], 0
push dword [esp + 0xc]
lea edi, [ebx + eax*4]
lea eax, [esp + 0x3c]
push eax
push edi
push ebx
call fcn.00401e3b
add esp, 0x10
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00401c11
cmp esi, edi
jne 0x401bb4
call fcn.00401232
test al, al
je 0x401a53
movaps xmm0, xmmword [0x42d730]
jmp 0x40188d
call fcn.00401f74
jmp 0x401bb4
push str._start
lea ecx, [esp + 0x24]
call fcn.00401be9
mov eax, dword [esp + 0x80]
mov byte [esp + 0xc], 0
push dword [esp + 0xc]
lea edi, [ebx + eax*4]
lea eax, [esp + 0x24]
push eax
push edi
push ebx
call fcn.00401e3b
add esp, 0x10
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00401c11
cmp esi, edi
je 0x401aa9
mov ecx, dword [0x43329c]
call fcn.00406243
jmp 0x401af3
push str._stop
lea ecx, [esp + 0x24]
call fcn.00401be9
mov eax, dword [esp + 0x80]
mov byte [esp + 0xc], 0
push dword [esp + 0xc]
lea edi, [ebx + eax*4]
lea eax, [esp + 0x24]
push eax
push edi
push ebx
call fcn.00401e3b
add esp, 0x10
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00401c11
cmp esi, edi
je 0x401b08
mov ecx, dword [0x43329c]
call fcn.004062e9
test al, al
je 0x401bb4
and dword [esp + 0x9c], 0
jmp 0x401bb4
push str._update
lea ecx, [esp + 0x54]
call fcn.00401be9
mov eax, dword [esp + 0x80]
mov byte [esp + 0xc], 0
push dword [esp + 0xc]
lea edi, [ebx + eax*4]
lea eax, [esp + 0x54]
push eax
push edi
push ebx
call fcn.00401e3b
add esp, 0x10
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00401c11
cmp esi, edi
je 0x401bb4
push str._update
lea ecx, [esp + 0x6c]
call fcn.00401be9
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x84]
lea eax, [ebx + eax*4]
push eax
push ebx
call fcn.00403975
add esp, 0xc
lea ecx, [esp + 0x68]
mov esi, eax
call fcn.00401c11
test esi, esi
je 0x401bb4
push esi
call fcn.00413d8e
pop ecx
sub eax, 1
je 0x401bac
sub eax, 1
je 0x401ba3
sub eax, 1
jne 0x401bb4
push eax
call fcn.00402289
push 0
call fcn.0040246f
pop ecx
jmp 0x401bb3
push 0
call fcn.0040246f
jmp 0x401bb3
push 0
call fcn.00402289
pop ecx
mov ecx, dword [0x43329c]
call fcn.00406393
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x8fc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040bd28
mov esp, ebp
pop ebp
ret 0x10