Function at 0x42e080
Capabilities:
Get number of processors
Print debug messages
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x479dc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], esi
lea eax, [ebx + 0xd0]
push eax
lea ecx, [esp + 0x24]
push str.SIZE
push ecx
mov dword [esp + 0x44], esi
call fcn.0040eaf0
push 0x483178
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x50], 1
call fcn.00403630
add esp, 0x18
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e0fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
mov edi, dword [esp + 0x40]
mov ebp, dword [sym.imp.WS2_32.dll_send]
push esi
push eax
push ecx
push edi
call ebp
push 0x64
call fcn.00460104
add esp, 4
push 0
push 0x64
mov esi, eax
push esi
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42e132
xor eax, eax
mov byte [eax + esi], 0
mov dword [esp + 0x40], 1
mov edi, edi
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
call fcn.004025d0
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.0042c180
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
or edx, 1
push 0x483264
push eax
mov dword [esp + 0x1c], edx
call fcn.00451467
add esp, 8
test eax, eax
je 0x42e183
cmp dword [esp + 0x40], 3
jge 0x42e183
mov bl, 1
jmp 0x42e185
xor bl, bl
test byte [esp + 0x14], 1
je 0x42e1b5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
and edx, 0xfffffffe
add eax, 0xfffffff0
mov dword [esp + 0x14], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e1b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x42e1f5
push 0x483254
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
push edi
call ebp
push 0
push 0x64
push esi
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42e1e4
xor eax, eax
mov ebx, dword [esp + 0x1c]
mov byte [eax + esi], 0
inc dword [esp + 0x40]
jmp 0x42e140
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
call fcn.004025d0
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call fcn.0042c180
mov eax, dword [eax]
push 0x483264
push eax
call fcn.00451467
add esp, 8
test eax, eax
mov eax, dword [esp + 0x40]
setne bl
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e247
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x42e2b3
push 0x483240
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
je 0x42e26b
push esi
call fcn.00460109
add esp, 4
mov dword [esp + 0x38], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e28d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x38], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42e2ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x42e42b
push esi
lea ecx, [esp + 0x14]
call fcn.004025d0
test esi, esi
mov ebx, 6
mov byte [esp + 0x38], bl
je 0x42e2d7
push esi
call fcn.00460109
add esp, 4
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42e2e6
mov eax, ebp
jmp 0x42e300
push 0x483178
push eax
call fcn.0045111f
add esp, 8
test eax, eax
jne 0x42e2fc
mov eax, ebp
jmp 0x42e300
sub eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.004034f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 9
call fcn.00402260
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e33f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x42e34e
mov edx, ebp
jmp 0x42e36c
push 0x483170
push ecx
call fcn.0045111f
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x42e368
mov edx, ebp
jmp 0x42e36c
sub eax, ecx
mov edx, eax
mov eax, dword [ecx - 0xc]
sub eax, edx
dec eax
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.00409070
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0xa
call fcn.00402260
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e3b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
push eax
call fcn.0045138f
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
mov dword [edi + 0xb8], esi
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e3e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e40a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x38], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42e429
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8