Function at 0x41d4a0
Capabilities:
Accept command line arguments
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474890
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7d0
lea eax, [ebp - 0x33c]
xor ebx, ebx
push eax
mov dword [ebp - 0x2fc], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 8
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x31c], ebx
mov dword [ebp - 0x318], ebx
mov dword [ebp - 0x314], ebx
call fcn.0044f797
add esp, 4
mov dword [ebp - 0x324], eax
push eax
push 8
call fcn.004013c0
lea ecx, [ebp - 0x324]
add esp, 8
cmp dword [0x49ad1c], 1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x324]
mov dword [eax], ecx
mov eax, dword [0x49ba88]
mov dword [ebp - 0x310], eax
jne 0x41d5b4
cmp dword [0x49ad2c], 3
jg 0x41d5b4
test eax, eax
je 0x41d5b4
sub esp, 8
mov dword [ebp - 0x3f0], 3
lea ecx, [ebp - 0x3e8]
mov ebx, 2
call fcn.00422bb0
mov dword [ebp - 0x34c], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_at_exit.cc
mov dword [ebp - 0x348], 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1c
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_at_exit.cc
lea ecx, [ebp - 0x3f0]
mov dword [ebp - 0x344], eax
call fcn.00425610
mov edx, str.Check_failed:__g_top_manager.
lea ecx, [ebp - 0x3e8]
call fcn.00407130
test bl, 2
je 0x41d5c7
lea ecx, [ebp - 0x3f0]
and ebx, 0xfffffffd
call fcn.00425110
cmp dword [0x49ad50], 0
lea eax, [ebp - 0x33c]
mov dword [0x49ba88], eax
jne 0x41d617
push 0x18
call fcn.0044f797
mov ecx, eax
call fcn.00428d10
mov dword [0x49ad50], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.004018b0
lea eax, [ebp - 0x2b0]
push eax
call fcn.00429ac0
lea ecx, [ebp - 0x2b0]
call fcn.00401850
lea ecx, [ebp - 0x2f8]
call fcn.00401900
lea edx, [ebp - 0x2f8]
mov ecx, 0x66
call fcn.0042b6d0
lea ecx, [ebp - 0x2e0]
call fcn.00401900
push 0xb
xor eax, eax
mov dword [ebp - 0x270], 0
push str.msiexec.exe
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
call fcn.00401a50
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00426760
lea ecx, [ebp - 0x2e0]
cmp ecx, eax
je 0x41d6a8
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41d699
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2e0]
call fcn.00401a50
lea ecx, [ebp - 0x2b0]
call fcn.00401850
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x41d6fa
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d6f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41db06
push edx
push ecx
call fcn.0044f7c7
add esp, 8
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x60]
mov ecx, 0x13
mov dword [ebp - 0x2fc], 0x104
mov esi, str.052CFB79_9D62_42E3_8A15_DE66C2C97C3E
lea eax, [ebp - 0x2fc]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x268]
push eax
push str.LocalPackage
lea eax, [ebp - 0x60]
movsw word es:[edi], word [esi]
push eax
call dword [sym.imp.msi.dll_MsiGetPropertyW]
test eax, eax
jne 0x41d9c2
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], 7
lea edx, [ecx + 2]
mov word [ebp - 0x298], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d780
sub ecx, edx
lea eax, [ebp - 0x268]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x298]
call fcn.00401a50
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00401920
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x284]
cmp edx, 8
jb 0x41d7fb
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d7f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41db0b
push edx
push ecx
call fcn.0044f7c7
add esp, 8
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00401900
lea ecx, [ebp - 0x2c8]
call fcn.00401810
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
jne 0x41d859
lea ecx, [ebp - 0x2b0]
call fcn.0041d110
test eax, eax
je 0x41d859
lea ecx, [ebp - 0x2b0]
call fcn.00401810
push eax
call esi
cmp eax, 0xffffffff
je 0x41d859
lea edx, [ebp - 0x2c8]
lea ecx, [ebp - 0x2b0]
call fcn.004277f0
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x280]
xor eax, eax
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x26c], 7
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2cc], 8
push dword [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2e0]
push eax
call fcn.00401b90
push 4
push str.__x
lea ecx, [ebp - 0x280]
call fcn.00401b90
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
push dword [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x280]
push eax
call fcn.00401b90
push 0x21
push str._YP_UNINSTALL_FROM_uninstallexe_
lea ecx, [ebp - 0x280]
call fcn.00401b90
lea eax, [ebp - 0x300]
mov word [ebp - 0x290], 0
push eax
lea edx, [ebp - 0x290]
mov byte [ebp - 0x28e], 0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x28c], 0
mov byte [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
call fcn.00423a40
add esp, 4
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x41d981
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d977
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41db10
push edx
push ecx
call fcn.0044f7c7
add esp, 8
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00401850
lea ecx, [ebp - 0x2c8]
call fcn.00401850
xor edi, edi
jmp 0x41dac5
call fcn.00428e50
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
call fcn.0041b0b0
call fcn.0041b6d0
cmp dword [0x49ad1c], 1
mov esi, dword [ebp + 8]
jne 0x41da28
cmp dword [0x49ad2c], 3
jg 0x41da28
test esi, esi
jne 0x41da28
push 3
push 0x67
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstalluninstall.cpp
lea ecx, [ebp - 0x3f0]
or ebx, 1
call fcn.00424f80
mov edx, str.Check_failed:_hInstance.
lea ecx, [eax + 8]
call fcn.00407130
test bl, 1
je 0x41da38
lea ecx, [ebp - 0x3f0]
call fcn.00425110
sub esp, 0x18
mov ecx, esp
push 0x15
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4851f4
mov byte [ecx], 0
call fcn.00405f80
mov ecx, esi
call fcn.00441930
push 0x10
call fcn.0044f797
mov esi, eax
lea ecx, [ebp - 0x30c]
add esp, 0x1c
mov dword [esi], vtable.UninstallMainRunnerImpl.0
mov word [esi + 4], 0
mov byte [esi + 6], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edi, eax
test edi, edi
jns 0x41daaf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov edi, eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov dword [ebp - 4], 0xe
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e0]
call fcn.00401850
lea ecx, [ebp - 0x2f8]
call fcn.00401850
lea ecx, [ebp - 0x33c]
call fcn.0042ead0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f786
mov esp, ebp
pop ebp
ret 0x10
call fcn.00454bbf
call fcn.00454bbf
call fcn.00454bbf
int3