Function at 0x5912b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d64ca
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x64e0a0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
mov eax, dword [0x64e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.00431620
mov ecx, ebx
call fcn.00430d72
push 0
call fcn.00431867
add esp, 4
lea eax, [esp + 0x10]
push 0x20019
push eax
mov edx, str.SoftwareEsetESET_SysInspector
mov ecx, closesocket
mov dword [esp + 0x18], 0
call fcn.005baae0
add esp, 8
test al, al
je 0x59139e
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push str.CmdLine
push esi
mov dword [esp + 0x24], 0x200
call dword [0x64904c]
test eax, eax
jne 0x591394
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x59136d
cmp eax, 2
jne 0x591394
cmp dword [esp + 0xc], 0x200
ja 0x591394
lea eax, [esp + 0xc]
push eax
push 0x650a7c
lea eax, [esp + 0x1c]
push eax
push 0
push str.CmdLine
push esi
call dword [0x64904c]
push dword [esp + 0x10]
call dword [0x649028]
push 0x27e8
push 0
push 0x650a30
call fcn.00546fa0
mov eax, dword [0x65f72c]
add esp, 0xc
lea ecx, [esp + 0x44]
push 0x104
push ecx
push eax
mov dword [0x650ca4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
push 0x65300c
mov edx, 0x104
lea ecx, [esp + 0x4c]
call fcn.00594e30
mov esi, dword [0x650ca4]
add esp, 8
test esi, esi
je 0x59140e
push 0x24
push 0x65f690
push 0x65f694
call fcn.00541b90
mov dword [0x65f690], esi
mov esi, dword [0x650ca4]
add esp, 0xc
mov ecx, esi
mov byte [0x650a54], 1
call fcn.005bd4d0
mov esi, eax
mov dword [0x650ca8], esi
test esi, esi
je 0x591450
push 0x24
push 0x65f690
push 0x65f694
call fcn.00541b90
mov dword [0x65f690], esi
mov esi, dword [0x650ca8]
add esp, 0xc
call fcn.0042def3
mov dword [eax + 0xc], esi
mov dword [0x650cac], 0
call fcn.005b95c0
mov word [0x650d20], ax
mov eax, dword [0x650d20]
and eax, 0x3ff
cmp ax, 0x12
je 0x591491
cmp ax, 0x11
je 0x591491
cmp ax, 4
je 0x591491
mov ecx, 0x7c04
cmp ax, cx
je 0x591491
cmp ax, 0x1e
jne 0x591498
mov byte [0x650a55], 1
mov byte [0x650cd9], 0
call fcn.0059ce80
call fcn.005918a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x20]
call fcn.00568060
mov dword [esp + 0x260], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], vtable.UACElevation.0
mov dword [esp + 0x18], eax
mov byte [esp + 0x260], 1
cmp byte [0x650c7c], 0
jne 0x591504
cmp byte [0x652df4], 0
jne 0x591504
push ecx
lea ecx, [esp + 0x18]
call fcn.0059f9e0
cmp eax, 1
je 0x591504
cmp eax, 2
jne 0x59152f
mov ecx, esi
call fcn.00592460
test eax, eax
jne 0x591513
xor esi, esi
jmp 0x591534
mov ecx, ebx
call fcn.005915d0
cmp byte [0x650cb8], 0
jne 0x59152f
push dword [0x650cb4]
call dword [0x649008]
mov esi, 1
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], vtable.CommandLine.0
test eax, eax
je 0x591553
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x40], 0
cmp dword [esp + 0x34], 8
jb 0x591566
push dword [esp + 0x20]
call fcn.00421634
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret