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

Disassembly:
push 0xffffffffffffffff
push 0x10262088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0x1c]
lea eax, [edi + 0x64]
push eax
call fcn.1009ee90
mov ebx, dword [esp + 0x34]
xor edx, edx
mov eax, ebx
xor ecx, ecx
shr eax, 4
div dword [edi + 0x88]
mov eax, dword [edi + 0x84]
mov dword [esp + 0x2c], ecx
cmp eax, ecx
mov dword [esp + 0xc], ecx
je 0x10073813
mov eax, dword [eax + edx*4]
cmp eax, ecx
je 0x10073813
cmp dword [eax + 8], ebx
je 0x1007384a
mov eax, dword [eax]
cmp eax, ecx
jne 0x10073808
push ecx
mov ecx, dword [edi + 0x60]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1009eef0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
cmp eax, ecx
je 0x10073813
mov esi, dword [eax + 0xc]
cmp dword [esi + 0x9c], ecx
je 0x10073880
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1009eef0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov eax, dword [esi + 0x88]
push ebp
mov ebp, dword [esi + 0x84]
dec eax
cmp eax, 3
mov dword [esp + 0x38], ebp
ja case.default.0x1007389b
jmp dword [eax*4 + 0x10073ac4]
mov eax, dword [esi + 0x64]
mov dword [esi + 0x88], 3
test eax, eax
jne 0x10073a98
mov edx, dword [esi]
push 1
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [esi + 0x40]
lea ebp, [esi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x10073a17
cmp dword [esi + 0x8c], eax
je 0x10073a98
mov dword [esi + 0x8c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push eax
lea eax, [esi + 0x20]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esi]
push edx
lea eax, [esi + 0x38]
push 1
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x10073a98
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x10073a98
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x10073a0e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esi]
push eax
push edx
jmp 0x100739f5
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x10073a98
jmp 0x10073a45
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x10073a98
mov eax, dword [esi]
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [esi + 0x64]
mov dword [esi + 0x88], 4
test eax, eax
jne 0x10073981
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10073a45
mov ecx, dword [esi + 0x40]
lea ebp, [esi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x10073a98
cmp dword [esi + 0x8c], eax
je 0x10073a98
lea ecx, [esi + 0x20]
mov dword [esi + 0x8c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esi]
push eax
lea ecx, [esi + 0x38]
push 1
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x10073a98
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x10073a98
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x10073a0e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [esi]
push eax
push str.WSARecv_failed__SOCKET__d___errno__d_
push str.SocketSystem
push 1
push 0x1030c61c
call fcn.100a65e0
add esp, 0x18
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
push ebx
mov ecx, edi
call fcn.10073ae0
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x10], 1
jmp 0x10073a56
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x10073a98
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x10073a98
jmp 0x10073a45
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x10073a98
push esi
push ebx
mov ecx, edi
call fcn.10073ae0
mov dword [esp + 0x10], 1
mov eax, ebp
xor edx, edx
shr eax, 4
div dword [edi + 0x88]
mov eax, dword [edi + 0x84]
test eax, eax
je 0x10073a98
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10073a98
cmp dword [eax + 8], ebp
je 0x10073a81
mov eax, dword [eax]
test eax, eax
jne 0x10073a74
jmp 0x10073a98
test eax, eax
je 0x10073a98
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x10073a98
push eax
push ebp
mov ecx, edi
call fcn.10073ae0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.1009eef0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4