Function at 0x592460
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x64e0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.ESET_SysInspector_3S13V3N7
push 1
push 0
push 0
mov edi, ecx
call dword [0x649020]
mov dword [0x650cb4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x5924a1
mov byte [0x650cb8], 1
call fcn.005945b0
cmp eax, 1
sete byte [0x651030]
mov word [0x650cd4], 0x102
mov byte [0x650cd8], 0
mov byte [0x650cd6], 0
mov dword [0x650d18], 0x60de84
mov dword [0x652dd0], 0xffffffff
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
fld dword [0x650d1c]
mov eax, dword [ebp - 0xc]
fstp dword [0x676870]
sub eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x652e00], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0xfaf4f0
mov dword [0x652e04], eax
mov al, byte [0x650a55]
mov byte [0x676874], al
mov eax, dword [0x650cac]
mov dword [0x676878], eax
mov eax, dword [0x650ca4]
mov dword [0x67687c], eax
mov ax, word [0x650d20]
mov dword [0x652e08], 0x60
mov dword [0x650c80], 0x65f7b8
mov byte [0x65f84c], 0
mov dword [0x650c84], 0x667bb8
mov dword [0x650c88], 0x66c0a8
mov dword [0x650c8c], 0x66e6d0
mov dword [0x650c94], 0x675604
mov dword [0x650c98], 0x6767d8
mov dword [0x650c9c], 0x67789c
mov byte [0x65145e], 0
mov byte [0x650ce4], 0
mov dword [0x67686c], 0x65300c
mov word [0x676880], ax
call esi
push eax
mov ecx, 0x652dd4
call fcn.00429d75
push 0xf7f7f7
call esi
push eax
mov ecx, 0x652ddc
call fcn.00429d75
push 0xffe7e7
call esi
push eax
mov ecx, 0x652de4
call fcn.00429d75
push 0xcfb6a2
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, 0x652dec
call fcn.00429d75
push 0
push 0x652dfe
push 0
push 0x26
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
xor eax, eax
push 0x18e
push eax
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 0x1a6]
push eax
call fcn.00546fa0
add esp, 0xc
lea eax, [ebp - 0x1a8]
push eax
push 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp edi, 0xffffffff
je 0x592822
test edi, edi
je 0x592837
cmp edi, 1
jne 0x592702
cmp byte [0x650c7c], 0
jne 0x592702
call fcn.00571b10
cmp eax, edi
sete byte [0x650d22]
call fcn.005bd600
test al, al
jne 0x5926c4
call fcn.00570360
test eax, eax
je 0x592692
call fcn.005a10e0
test eax, eax
jne 0x592692
mov byte [0x651024], 1
call fcn.005709b0
cmp eax, 1
sete al
mov byte [0x651025], al
test al, al
je 0x5926c4
call fcn.005c4770
cmp eax, 1
sete byte [0x651026]
call fcn.005c47a0
cmp eax, 1
sete byte [0x651027]
cmp byte [0x650d22], 0
je 0x59278a
push ecx
mov edx, 0x650d24
mov ecx, 1
call fcn.005702a0
mov edx, 0x650e24
mov ecx, 7
call fcn.005702a0
mov edx, 0x650f24
mov ecx, 0xa
call fcn.005702a0
add esp, 4
cmp byte [0x652df6], 0
setne al
dec al
and byte [0x650cd9], al
cmp byte [0x652df5], 0
je 0x59280d
cmp byte [0x652df7], 0
mov eax, 0x60de88
jne 0x592734
mov eax, 0x60de94
push eax
mov edx, 0x105
mov ecx, 0x651032
call fcn.00594720
add esp, 4
mov ecx, 0x651032
call fcn.005947f0
test eax, eax
jne 0x5927b3
mov ecx, dword [0x65be48]
sub esp, 8
xor dl, dl
push dword [0x65be4c]
call fcn.00593d10
add esp, 0xc
mov dword [0x653214], 3
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
cmp byte [0x652df9], 0
je 0x592702
mov dword [0x653214], 2
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
cmp byte [0x652df7], 0
setne al
add al, 4
cmp byte [0x652df8], 0
mov byte [0x650ce5], al
jne 0x5927e9
mov ecx, 0x65f6e8
call fcn.00592410
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
call fcn.0059e5e0
neg eax
sbb eax, eax
and eax, 2
inc eax
mov dword [0x653214], eax
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
mov eax, dword [0x675604]
mov ecx, 0x675604
call dword [eax + 0x170]
call fcn.005bd480
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00541b41
mov esp, ebp
pop ebp
ret