Function at 0x403c50
Capabilities:
Initialize winsock library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477785
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x4a0008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 0x202
mov word [edi], ax
lea eax, [edi + 4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
jne 0x403d81
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], al
push 7
push str.0.0.0.0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], eax
call fcn.004028e0
push 0x141e
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.00402e90
mov ecx, edi
call fcn.0044ed80
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], esi
cmp ecx, 0x10
jb 0x403d36
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403d2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403d2c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044f65b
add esp, 8
test esi, esi
jne 0x403d81
movsd xmm0, qword [0x48c610]
lea eax, [ebp - 0x20]
push eax
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
cvttsd2si eax, qword [ebp - 0x20]
add esp, 0xc
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
mulsd xmm0, qword [0x48c630]
mov dword [edi + 0x80400], eax
cvttsd2si eax, xmm0
mov dword [edi + 0x80404], eax
jmp 0x403ea9
jns 0x403ea9
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push eax
call fcn.00450fe0
mov ecx, eax
call fcn.004055d0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x403ea9
lea ecx, [edi + 0x194]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00402e90
mov byte [ebp - 4], 2
call fcn.00450fe0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00453260
add esp, 4
mov esi, eax
mov dword [ebp - 0x44], esi
call dword [sym.imp.MSVCP140.dll_int___cdecl_std::uncaught_exceptions_void_]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
test esi, esi
jne 0x403e15
push 0x218
push str.C:UsersEnricoDocumentsDevelopGNRAcqSW_buildVS2010AcqSWpackages_boost.1.81.0lib_nativeinclude_boostlog_sources_record_ostream.hpp
push str.m_pStreamCompound___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
add esi, 8
push str.Errore_inizializzazione_comunicazione:
mov ecx, esi
call fcn.00404fe0
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.004058f0
add esp, 8
mov ecx, esi
push 0x486524
call fcn.00404fe0
push dword [edi + 0x1ac]
lea ecx, [esi + 0x58]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push 0x486528
mov ecx, esi
call fcn.00404fe0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00404ed0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x403e9c
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403e92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403d26
push ecx
push edx
call fcn.0044f65b
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x403dc0
mov esi, dword [ebp - 0x4c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044f64d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret