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

Disassembly:
push 0xffffffffffffffff
push 0x44810a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov eax, dword [0x48b448]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x18], eax
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x17c], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
xor eax, eax
push 0x4a7c8a
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], eax
push str.CC_6sZ
push ecx
mov byte [esp + 0x188], 6
mov byte [esp + 0x50], al
call fcn.0042c597
add esp, 0xc
mov dword [esp + 0x38], edi
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x28]
push edx
call fcn.0043bd2c
mov eax, dword [0x4a7f88]
sub eax, edi
cmp eax, 0x14
jle 0x40f1a4
mov dword [esp + 0x34], 0x14
jmp 0x40f1b0
test eax, eax
mov dword [esp + 0x34], eax
jle 0x40f306
mov eax, dword [esp + 0x34]
add eax, edi
cmp edi, eax
jge 0x40f1de
mov esi, dword [esp + 0x38]
sub eax, edi
mov edi, eax
mov ecx, dword [0x4a7f80]
lea edx, [esi + ecx]
lea ecx, [esp + 0x28]
push edx
call fcn.0043bf0b
add esi, 0xb6
dec edi
jne 0x40f1c2
mov esi, dword [esp + 0x28]
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0xac]
mov ebx, dword [esi - 8]
push eax
rep stosd dword es:[edi], eax
mov ecx, 0x32
lea edi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x1a0]
lea eax, [esp + 0xb0]
push ebx
push eax
push ecx
call sub.WSOCK32.dll_send
or esi, 0xffffffff
cmp eax, esi
jne 0x40f245
mov ecx, ebp
call fcn.0040ee80
mov ecx, ebp
call fcn.0040eb30
mov eax, dword [ebp + 0x1a0]
push 0
lea edx, [esp + 0xb0]
push ebx
push edx
push eax
call sub.WSOCK32.dll_send
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 0x1a0]
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
push eax
lea ecx, [esp + 0x4c]
push 0x64
push ecx
push edx
call sub.WSOCK32.dll_recv
cmp eax, esi
je 0x40f37c
lea eax, [esp + 0x48]
lea ecx, [esp + 0x18]
push eax
call fcn.0043bd2c
mov ecx, dword [esp + 0x18]
push 0x459c4c
push ecx
call fcn.0042c273
add esp, 8
test eax, eax
je 0x40f44a
lea edx, [esp + 0x10]
push 2
push edx
lea ecx, [esp + 0x20]
call fcn.00439d26
mov eax, dword [eax]
push 0x459c48
push eax
call fcn.0042c273
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.0043bba3
test bl, bl
je 0x40f551
mov ecx, dword [esp + 0x34]
mov eax, 0x14
cmp ecx, eax
jl 0x40f466
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x38]
add eax, 0xe38
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
mov edi, ecx
jmp 0x40f180
lea ecx, [esp + 0x24]
mov byte [esp + 0x17c], 5
call fcn.0043bba3
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 4
call fcn.0043bba3
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 3
call fcn.0043bba3
lea ecx, [esp + 0x30]
mov byte [esp + 0x17c], 2
call fcn.0043bba3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x17c], 1
call fcn.0043bba3
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 0
call fcn.0043bba3
mov dword [esp + 0x17c], 0xffffffff
jmp 0x40f52d
mov eax, dword [ebp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 5
push eax
call edi
mov ecx, dword [ebp + 0x1c]
push 0xa
push ecx
call edi
mov dword [0x4594b0], 1
mov dword [0x4a8084], 0
mov edx, dword [ebp + 0x1c]
push 0
push 0x7d0
push 0xa
push edx
call dword [sym.imp.USER32.dll_SetTimer]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x459cec
call fcn.0043bc11
mov ecx, ebp
call fcn.0040db10
mov ecx, ebp
call fcn.0040faa0
lea ecx, [esp + 0x24]
mov byte [esp + 0x17c], 5
call fcn.0043bba3
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 4
call fcn.0043bba3
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 3
call fcn.0043bba3
lea ecx, [esp + 0x30]
mov byte [esp + 0x17c], 2
call fcn.0043bba3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x17c], 1
call fcn.0043bba3
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 0
call fcn.0043bba3
mov dword [esp + 0x17c], esi
jmp 0x40f99a
lea eax, [esp + 0x18]
lea ecx, [ebp + 0x5bc]
push eax
call fcn.0043bcdc
mov ecx, ebp
call fcn.0040dce0
jmp 0x40f3d8
push 8
lea ecx, [esp + 0x14]
push 2
push ecx
lea ecx, [esp + 0x24]
call fcn.00439c14
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 7
call fcn.0043bcdc
lea ecx, [esp + 0x10]
mov byte [esp + 0x17c], 6
call fcn.0043bba3
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0043b918
mov ecx, 0x4a7f80
call fcn.0041a800
mov dword [0x4a8078], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x17c], 5
call fcn.0043bba3
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 4
call fcn.0043bba3
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 3
call fcn.0043bba3
lea ecx, [esp + 0x30]
mov byte [esp + 0x17c], 2
call fcn.0043bba3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x17c], 1
call fcn.0043bba3
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 0
call fcn.0043bba3
mov dword [esp + 0x17c], esi
lea ecx, [esp + 0x18]
call fcn.0043bba3
xor eax, eax
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x170
ret
mov ecx, ebp
call fcn.0040dad0
push 8
lea edx, [esp + 0x14]
push 2
push edx
lea ecx, [esp + 0x24]
call fcn.00439c14
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 8
call fcn.0043bcdc
lea ecx, [esp + 0x10]
mov byte [esp + 0x17c], 6
call fcn.0043bba3
push 1
push 0x2a
lea ecx, [esp + 0x24]
call fcn.00439a28
push 1
lea eax, [esp + 0x14]
push 0xa
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 9
call fcn.00439c14
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push eax
call fcn.0042c273
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.0043bba3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17c], 6
call fcn.0043bba3
test bl, bl
je 0x40f7c7
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0043b918
lea eax, [esp + 0x14]
mov ecx, 0x4a7b40
push eax
call fcn.004203d0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 0xa
call fcn.0043bcdc
lea ecx, [esp + 0x10]
mov byte [esp + 0x17c], 6
call fcn.0043bba3
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0043b918
lea ecx, [ebp + 0x2f8]
mov dword [esp + 0x20], ecx
call fcn.00405a70
test eax, eax
je 0x40f7c7
mov eax, dword [esp + 0x14]
push 8
lea ecx, [ebp + 0x4a4]
push eax
push ecx
mov dword [ebp + 0x49c], 2
mov dword [ebp + 0x498], 1
call fcn.0042c330
add esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0043b918
lea eax, [esp + 0x14]
mov ecx, 0x4a7f80
push eax
call fcn.0041b390
mov eax, dword [eax]
mov ecx, esi
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x4ae]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0043bba3
lea ecx, [esp + 0x10]
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.00439d26
mov eax, dword [eax]
push 0x459c44
push eax
call fcn.0042c273
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.0043bba3
test bl, bl
je 0x40f70c
mov dword [ebp + 0x4a0], 1
jmp 0x40f716
mov dword [ebp + 0x4a0], 0
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00405e60
mov ecx, esi
call fcn.00406260
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0043b918
mov ecx, 0x4a7f80
call fcn.0041a800
lea ecx, [esp + 0x24]
mov byte [esp + 0x17c], 5
call fcn.0043bba3
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 4
call fcn.0043bba3
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 3
call fcn.0043bba3
lea ecx, [esp + 0x30]
mov byte [esp + 0x17c], 2
call fcn.0043bba3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x17c], 1
call fcn.0043bba3
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 0
call fcn.0043bba3
lea ecx, [esp + 0x18]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0043bba3
mov eax, 1
jmp 0x40f538
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0043b918
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4a7b40
call fcn.0041ff20
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 0xb
call fcn.0043bcdc
lea ecx, [esp + 0x10]
mov byte [esp + 0x17c], 6
call fcn.0043bba3
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0043b918
lea ecx, [ebp + 0x2f8]
mov dword [esp + 0x20], ecx
call fcn.00405a70
test eax, eax
je 0x40f9ad
mov eax, dword [esp + 0x14]
push 8
lea ecx, [ebp + 0x4a4]
push eax
push ecx
mov dword [ebp + 0x49c], 2
mov dword [ebp + 0x498], 0
call fcn.0042c330
add esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0043b918
lea eax, [esp + 0x14]
mov ecx, 0x4a7f80
push eax
call fcn.0041b390
mov eax, dword [eax]
mov ecx, esi
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x4ae]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0043bba3
lea ecx, [esp + 0x10]
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.00439d26
mov eax, dword [eax]
push 0x459c44
push eax
call fcn.0042c273
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.0043bba3
test bl, bl
je 0x40f8e8
mov dword [ebp + 0x4a0], 1
jmp 0x40f8f2
mov dword [ebp + 0x4a0], 0
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00405e60
mov ecx, esi
call fcn.00406260
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0043b918
mov ecx, 0x4a7f80
call fcn.0041a800
lea ecx, [esp + 0x24]
mov dword [0x4a8078], 1
mov byte [esp + 0x17c], 5
call fcn.0043bba3
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 4
call fcn.0043bba3
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 3
call fcn.0043bba3
lea ecx, [esp + 0x30]
mov byte [esp + 0x17c], 2
call fcn.0043bba3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x17c], 1
call fcn.0043bba3
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 0
call fcn.0043bba3
mov dword [esp + 0x17c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0043bba3
mov eax, 1
jmp 0x40f538
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0043b918
mov ecx, 0x4a7f80
call fcn.0041b470
push 1
push 0x2a
lea ecx, [esp + 0x24]
call fcn.00439a28
push 1
lea ecx, [esp + 0x14]
push 0xa
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0xc
call fcn.00439c14
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push edx
push eax
call fcn.0042c273
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0043bba3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17c], 6
call fcn.0043bba3
test bl, bl
je 0x40f4c0
push 0
push 0x459524
lea ecx, [esp + 0x20]
call fcn.00439d9e
push 0x459c40
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.0043bd2c
add edi, 0xfffffff4
lea eax, [esp + 0x10]
push edi
push 0xc
push eax
lea ecx, [esp + 0x24]
call fcn.00439c14
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x180], 0xd
call fcn.0043bf47
lea ecx, [esp + 0x10]
mov byte [esp + 0x17c], 6
call fcn.0043bba3
mov eax, dword [esp + 0x24]
push 0
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [ebp + 0x1a0]
push eax
push ecx
call sub.WSOCK32.dll_send
jmp 0x40f4c0