Function at 0x40b2a0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x46ba58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x10]
call fcn.00405970
mov eax, dword [esp + 0xc]
push eax
push 0x4711a4
push 0x80
mov dword [esp + 0x2c], 0
call fcn.004047f0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.00404410
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_CharUpperA]
push 0x2f
push 0x2d
lea ecx, [esp + 0x14]
call fcn.00404bb0
mov esi, dword [esp + 0xc]
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b33c
push 0x4712dc
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b33c
sub eax, esi
mov dword [esp + 0x14], eax
js 0x40b33c
mov edi, 1
mov dword [ebp + 0x2c], edi
jmp 0x40b3b4
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b3af
push str._TRAY
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b366
sub eax, esi
mov dword [esp + 0x14], eax
js 0x40b366
mov dword [ebp + 0x2c], 2
jmp 0x40b3af
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b3af
push 0x4712d0
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b387
sub eax, esi
mov dword [esp + 0x14], eax
jns 0x40b3a8
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b3af
push str._SILENCE
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b3af
sub eax, esi
mov dword [esp + 0x14], eax
js 0x40b3af
mov dword [ebp + 0x2c], 3
mov edi, 1
mov edx, dword [ebp + 0x2c]
mov dword [ebp + 0x15c], edx
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b3ea
push str._INSTALL
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b3ea
sub eax, esi
test eax, eax
jle 0x40b3ea
mov dword [ebp + 0x140], edi
mov dword [ebp + 0x30], edi
jmp 0x40b4d6
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b47e
push str._REPAIR
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b41f
sub eax, esi
test eax, eax
jle 0x40b41f
mov dword [ebp + 0x140], edi
mov dword [ebp + 0x30], 2
jmp 0x40b4d6
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b47e
push str._UPDATE
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b450
sub eax, esi
test eax, eax
jle 0x40b450
mov dword [ebp + 0x140], edi
mov dword [ebp + 0x30], 3
jmp 0x40b4d6
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b47e
push str._UNINSTALL
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b47e
sub eax, esi
test eax, eax
jle 0x40b47e
mov dword [ebp + 0x140], edi
mov dword [ebp + 0x30], 4
jmp 0x40b4d6
push str._ADDREMOVE
lea ecx, [esp + 0x10]
call fcn.004042a0
test eax, eax
jle 0x40b49f
mov dword [ebp + 0x140], edi
mov dword [ebp + 0x30], 5
jmp 0x40b4d6
push str._SPANUPDATE
lea ecx, [esp + 0x10]
call fcn.004042a0
test eax, eax
jle 0x40b4d6
push str._NEEDPREHANDLE
lea ecx, [esp + 0x10]
mov dword [ebp + 0x140], edi
mov dword [ebp + 0x30], 6
call fcn.004042a0
test eax, eax
jle 0x40b4d6
mov dword [ebp + 0x1d4], edi
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b5a7
push str._RUNAS
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b4ff
sub eax, esi
test eax, eax
jle 0x40b4ff
mov dword [ebp + 0x144], edi
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b5a7
push str._IGNOREDOWNLOAD
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b528
sub eax, esi
test eax, eax
jle 0x40b528
mov dword [ebp + 0x148], edi
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b5a7
push str._AFTERREBOOT
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b550
sub eax, esi
test eax, eax
jle 0x40b550
mov dword [ebp + 0x140], edi
mov dword [ebp + 0x24], edi
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b5a7
push str._NOREBOOT
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b575
sub eax, esi
test eax, eax
jle 0x40b575
mov dword [ebp + 0x14c], edi
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b5a7
push str._LANG
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b5a7
sub eax, esi
test eax, eax
jle 0x40b5a7
lea eax, [eax + esi + 6]
push eax
call fcn.004582cb
add esp, 4
mov dword [ebp + 0x154], eax
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b691
push str._PRODUCT
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b691
sub eax, esi
test eax, eax
jle 0x40b691
lea ecx, [eax + esi + 9]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405970
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 8]
test eax, eax
mov byte [esp + 0x20], 1
jle 0x40b65b
push 0x20
push edi
call fcn.00457c44
add esp, 8
test eax, eax
je 0x40b65b
sub eax, edi
test eax, eax
jle 0x40b65b
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
call fcn.0040a900
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.00404cd0
mov eax, dword [esp + 0x14]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x20], 1
je 0x40b657
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40b657
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
lea ecx, [ebp + 0x44]
call fcn.00404cd0
mov ecx, dword [0x4800dc]
lea eax, [edi - 0xc]
cmp eax, ecx
mov byte [esp + 0x20], 0
je 0x40b691
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40b691
push edi
call fcn.00457c3f
add esp, 4
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b7fd
push str._CUSTOM
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b79c
sub eax, esi
test eax, eax
jle 0x40b79c
lea ecx, [eax + esi + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405970
mov eax, dword [esi - 8]
test eax, eax
mov byte [esp + 0x20], 3
jle 0x40b73e
push 0x22
push esi
call fcn.00457c44
add esp, 8
test eax, eax
je 0x40b73e
sub eax, esi
test eax, eax
jle 0x40b73e
inc eax
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
call fcn.0040a900
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 4
call fcn.00404cd0
mov eax, dword [esp + 0x14]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x20], 3
je 0x40b73e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40b73e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
push 0x22
lea ecx, [esp + 0x14]
call fcn.00404b50
push 0x20
lea ecx, [esp + 0x14]
call fcn.00404b00
push 0x22
lea ecx, [esp + 0x14]
call fcn.00404b00
lea edx, [esp + 0x10]
push edx
lea ecx, [ebp + 0x1dc]
call fcn.00404cd0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x20], 0
je 0x40b79c
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40b79c
push edi
call fcn.00457c3f
add esp, 4
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b7fd
push str._LOOP
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b7ce
sub eax, esi
test eax, eax
jle 0x40b7ce
lea edx, [eax + esi + 6]
push edx
call fcn.004582cb
add esp, 4
mov dword [ebp + 0x150], eax
mov eax, dword [esi - 8]
test eax, eax
jl 0x40b7fd
push str._PASS
push esi
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x40b7fd
sub eax, esi
test eax, eax
jle 0x40b7fd
lea eax, [eax + esi + 6]
push eax
lea ecx, [ebp + 0x160]
call fcn.00404d30
mov eax, dword [0x4800dc]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x40b820
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40b820
push esi
call fcn.00457c3f
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret