Function at 0x4067e0
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ec
mov eax, dword [0x40c008]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push esi
push edi
lea eax, [esp + 0x48]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x406827
mov ecx, dword [esp + 0x1f4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406a94
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x40cccc]
push 0
push 0x402a70
push 0
push 0
mov dword [0x40ccd0], eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
call fcn.00404ec0
call fcn.00404e00
test al, al
jne 0x406858
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
call fcn.00406aa2
movzx ebx, word [0x40d1cc]
lea edi, [esp + 0x1f5]
mov esi, eax
mov dword [esp + 0x28], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
add esp, 4
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_class_client_.0
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 6
nop dword [eax]
mov eax, 0xcccccccd
dec edi
mul ebx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [edi], bl
mov ebx, edx
test ebx, ebx
jne 0x4068c0
xor ecx, ecx
lea eax, [esp + 0x1f1]
mov dword [esp + 0xc], ecx
mov edx, 0xf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
cmp edi, eax
je 0x406916
sub eax, edi
lea ecx, [esp + 0xc]
push eax
push edi
call fcn.004015a0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
cmp edx, 0x10
lea eax, [esp + 0xc]
cmovae eax, ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
push section..f3di006
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, dword [esp + 0x20]
mov edi, eax
cmp edx, 0x10
jb 0x40696e
mov ecx, dword [esp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406964
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406a3a
push edx
push ecx
call fcn.00406d23
add esp, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xf
mov byte [esp + 0xc], 0
test edi, edi
jne 0x4069fd
mov eax, dword [esp + 0x24]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, eax
mov dword [0x40c570], ecx
cmp ecx, 0xffffffff
jne 0x4069b3
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x4069fd
mov eax, dword [esp + 0x24]
push dword [eax + 0x10]
push dword [eax + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4069e1
push dword [0x40c570]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x4069fd
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call fcn.00405150
test eax, eax
jne 0x4069fd
call fcn.004013e0
test eax, eax
je 0x406a08
push 0xc350
call dword [sym.imp.KERNEL32.dll_Sleep]
or eax, 0xffffffff
lea ecx, [esi + 4]
lock xadd dword [ecx], eax
jne 0x406858
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x406858
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x406858
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3