Function at 0x4100c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0xc], 5
mov dword [ebp - 0x20], 1
mov eax, dword [ebp + 8]
mov dword [0x418ab0], eax
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41019a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00401df0
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x41017d
mov dword [ebp - 0x2c], 0x80004005
mov eax, dword [ebp - 0x2c]
push eax
push 0x469
push str.._setupexe.cpp
call fcn.0040d330
jmp 0x41072e
mov dword [ebp - 0x44], 1
jmp 0x4101ac
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 4]
jge 0x4105d8
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
movzx eax, word [edx]
cmp eax, 0x2d
je 0x4101de
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
movzx ecx, word [eax]
cmp ecx, 0x2f
jne 0x4105bc
push 0xffffffffffffffff
push 0x41461c
push 0xffffffffffffffff
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
add ecx, 2
push ecx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410228
push 0xffffffffffffffff
push str.extract
push 0xffffffffffffffff
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
add ecx, 2
push ecx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41026b
mov edx, dword [ebp - 0x44]
add edx, 1
cmp edx, dword [ebp - 4]
jl 0x41024a
mov dword [ebp - 0x2c], 0x80070057
cmp dword [ebp - 0x2c], 0
jge 0x41024a
jmp 0x41072e
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x40], eax
jmp 0x4105ba
push 0xffffffffffffffff
push 0x414634
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4102d3
mov ecx, dword [ebp - 0x44]
add ecx, 1
cmp ecx, dword [ebp - 4]
jl 0x4102b2
mov dword [ebp - 0x2c], 0x80070057
cmp dword [ebp - 0x2c], 0
jge 0x4102b2
jmp 0x41072e
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x40], edx
jmp 0x4105ba
push 0xffffffffffffffff
push str.msicl
push 0xffffffffffffffff
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
add edx, 2
push edx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41032b
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
push 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0040e440
push 0
push 0x414648
lea edx, [ebp - 0x3c]
push edx
call fcn.0040e440
jmp 0x4105ba
push 0xffffffffffffffff
push 0x41464c
push 0xffffffffffffffff
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
add edx, 2
push edx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41035c
mov dword [ebp - 0xc], 2
jmp 0x4105ba
push 0xffffffffffffffff
push str.passive
push 0xffffffffffffffff
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
add edx, 2
push edx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41038d
mov dword [ebp - 0xc], 3
jmp 0x4105ba
push 0xffffffffffffffff
push str.norestart
push 0xffffffffffffffff
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
add edx, 2
push edx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4103c7
push 0
push str.REBOOTReallySuppress
lea eax, [ebp - 0x3c]
push eax
call fcn.0040e440
jmp 0x4105ba
push 0xffffffffffffffff
push str.forcerestart
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410401
push 0
push str.REBOOTForce
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0040e440
jmp 0x4105ba
push 0xffffffffffffffff
push str.promptrestart
push 0xffffffffffffffff
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
add ecx, 2
push ecx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41043b
push 0
push str.REBOOTPROMPT
lea edx, [ebp - 0x3c]
push edx
call fcn.0040e440
jmp 0x4105ba
push 0xffffffffffffffff
push str.uninstall
push 0xffffffffffffffff
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
add edx, 2
push edx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410479
cmp dword [ebp - 0xc], 5
jne 0x41046d
mov dword [ebp - 0xc], 3
mov dword [ebp - 0x20], 7
jmp 0x4105ba
push 0xffffffffffffffff
push 0x414734
push 0xffffffffffffffff
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
add edx, 2
push edx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4104c1
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
push 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0040e540
jmp 0x4105ba
push 0xffffffffffffffff
push str.lang
push 0xffffffffffffffff
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
add ecx, 2
push ecx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41052b
mov edx, dword [ebp - 0x44]
add edx, 1
cmp edx, dword [ebp - 4]
jl 0x410508
mov dword [ebp - 0x2c], 0x80070057
cmp dword [ebp - 0x2c], 0
jge 0x410508
jmp 0x41072e
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00402df0
add esp, 4
mov dword [ebp - 0x24], eax
jmp 0x4105ba
push 0xffffffffffffffff
push 0x414748
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x41059a
push 0xffffffffffffffff
push 0x41474c
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x41059a
push 0xffffffffffffffff
push 0x414750
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4105a3
mov dword [ebp - 0x28], 1
jmp 0x4105ba
mov dword [ebp - 0x2c], 0x80070057
cmp dword [ebp - 0x2c], 0
jge 0x4105ba
jmp 0x41072e
jmp 0x4105d3
mov dword [ebp - 0x2c], 0x80070057
cmp dword [ebp - 0x2c], 0
jge 0x4105d3
jmp 0x41072e
jmp 0x4101a3
cmp dword [ebp - 0x28], 0
je 0x410645
lea ecx, [ebp - 0x10]
push ecx
push 0xc739
mov edx, dword [0x418ab0]
push edx
call fcn.0040dbe0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x410606
jmp 0x41072e
lea eax, [ebp - 0x34]
push eax
push 0x7d5
mov ecx, dword [0x418ab0]
push ecx
call fcn.0040dbe0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x41062e
jmp 0x41072e
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x41072e
cmp dword [ebp - 0x1c], 0
je 0x41066f
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0040f110
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x41066a
jmp 0x41072e
jmp 0x41072e
cmp dword [ebp - 0x14], 0
je 0x4106d1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x50]
push eax
push str.MANIFEST
push 0
call fcn.0040da50
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x4106aa
jmp 0x41072e
mov ecx, dword [ebp - 0x50]
add ecx, 4
mov dword [ebp - 0x48], ecx
push 2
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0040dca0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x4106cf
jmp 0x41072e
jmp 0x41072e
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0xc73a
push 0
call fcn.0040da50
mov dword [ebp - 0x2c], eax
push 0x716
call fcn.00401df0
add esp, 4
cmp eax, dword [ebp - 0x2c]
jne 0x410701
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jge 0x41070b
jmp 0x41072e
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.0040f930
add esp, 0x18
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x3c], 0
je 0x41073d
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040e1c0
cmp dword [ebp - 0x10], 0
je 0x41074c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040e1c0
cmp dword [ebp - 0x34], 0
je 0x41075b
mov edx, dword [ebp - 0x34]
push edx
call fcn.0040e1c0
cmp dword [ebp - 8], 0
je 0x41076a
mov eax, dword [ebp - 8]
push eax
call fcn.0040e1c0
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
mov esp, ebp
pop ebp
ret 0x10