Function at 0x42e9a0
Capabilities:
Get number of processors
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435cfc
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebx + 0x14]
push eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], 0
call edi
lea eax, [ebx + 0xc8]
mov dword [esp + 0xd8], 1
push eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0
call edi
mov esi, dword [ebx + 0xe0]
lea ecx, [esp + 0x14]
call fcn.004021e0
mov eax, dword [ebx + 0x20c]
push 0
push 0x2710
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov dword [esp + 0x24], eax
call fcn.00402130
mov esi, eax
mov ecx, dword [esi + 4]
add ecx, 0x14
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.004198b0
mov edx, dword [esi + 4]
mov eax, dword [edx]
and eax, 0x1f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.004021e0
xor esi, esi
test byte [esp + 0x14], 1
je 0x42eaf9
push 1
push 2
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], str..NetworkModelSocketEngine.cpp
mov dword [esp + 0x40], str.SocketParam::Read
mov dword [esp + 0x44], 0x189
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov eax, dword [esp + 0x24]
push eax
push ecx
mov byte [esp + 0xe0], 3
mov ecx, dword [ebx + 0x164]
push str._Read___::recv
push ecx
lea edx, [esp + 0x5c]
push str.SEngine_:
push edx
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 1
call fcn.00428850
cmp dword [esp + 0x24], esi
jle 0x42eb7a
lea eax, [ebx + 0x88]
push eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
call edi
mov eax, dword [ebx + 0xa0]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.004021e0
cmp dword [esp + 0x14], esi
je 0x42ed1c
lea eax, [ebx + 0x128]
push eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
call edi
mov cl, byte [ebx + 0x140]
mov byte [esp + 0x13], cl
lea ecx, [esp + 0x1c]
call fcn.004021e0
cmp byte [esp + 0x13], 0
jne 0x42ed1c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebx + 0x20c]
push eax
call edx
jmp 0x42ed1c
call fcn.00402130
mov edi, eax
mov eax, dword [edi + 4]
push esi
add eax, 0x14
push eax
lea ecx, [esp + 0x24]
call fcn.004198b0
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
and eax, 0x1f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.004021e0
test byte [esp + 0x14], 1
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
je 0x42ec63
push 1
push 2
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], str..NetworkModelSocketEngine.cpp
mov dword [esp + 0x40], str.SocketParam::Read
mov dword [esp + 0x44], 0x190
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov byte [esp + 0xd8], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
push str._GetLastError:
call edi
mov edx, dword [ebx + 0x164]
push eax
push str._::recv_WSAGetLastError:
push edx
lea eax, [esp + 0x64]
push str.SEngine_:
push eax
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.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 eax
call fcn.00401ae0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 1
call fcn.00428850
call edi
cmp eax, 0x2714
je 0x42ed1c
call edi
cmp eax, 0x2733
jne 0x42ec86
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42ed1c
push 2
lea esi, [ebx + 0x44]
call fcn.00430d60
test al, al
jne 0x42ed0f
lea esi, [ebx + 0x64]
mov edi, 3
call fcn.00430ce0
call fcn.00402130
call fcn.00429250
test al, 1
je 0x42ed0f
push 0x19a
mov edx, str.SocketParam::Read
mov ecx, str..NetworkModelSocketEngine.cpp
lea eax, [edi - 2]
lea esi, [esp + 0x34]
call fcn.004287e0
mov byte [esp + 0xd8], 7
mov ecx, dword [ebx + 0x164]
push str._Read___socket_recv_socketError
push ecx
add eax, 0x1c
push str.SEngine_:
push eax
call fcn.00401ae0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push eax
call fcn.00401ae0
add esp, 8
mov ecx, esi
mov byte [esp + 0xd8], 1
call fcn.00428850
lea esi, [ebx + 0x104]
mov bl, 1
call fcn.0041ea00
lea ecx, [esp + 0x28]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004021e0
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret