Function at 0x10002bb3
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100780b2
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x10099790]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10099790]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x18], eax
and dword [esp + 0x48], 0
or dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x4c], eax
xor eax, eax
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
xor ecx, ecx
cpuid
lea esi, [esp + 0x1c]
push 8
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
xor eax, eax
pop ecx
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
xor esi, esi
xor ecx, ecx
mov eax, esi
cpuid
lea ebp, [esp + 0x1c]
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
cmp esi, 1
jne 0x10002ce4
mov ebp, dword [esp + 0x1c]
mov eax, ebp
sar eax, 4
and eax, 0xf
mov dword [esp + 0x30], eax
mov eax, ebp
sar eax, 8
and eax, 0xf
mov dword [esp + 0x38], eax
mov eax, ebp
sar eax, 0xc
and eax, 3
mov dword [esp + 0x44], eax
mov eax, ebp
sar eax, 0x10
and eax, 0xf
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
movzx ecx, al
mov edx, 0xff
sar eax, 8
sar ebp, 0x14
and ebp, edx
and eax, edx
shl eax, 3
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
inc esi
cmp esi, edi
jbe 0x10002c70
mov ebp, connect
xor ecx, ecx
mov eax, ebp
cpuid
lea esi, [esp + 0x1c]
push 0x40
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x9c]
push 0
push eax
mov dword [esp + 0x20], ebx
call fcn.1005b850
add esp, 0xc
cmp ebx, ebp
jb 0x10002d78
xor ecx, ecx
mov eax, ebp
cpuid
lea esi, [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp ebp, reloc.WS2_32.dll_bind
jne 0x10002d49
lea edi, [esp + 0x98]
jmp 0x10002d69
cmp ebp, reloc.WS2_32.dll_closesocket
jne 0x10002d5a
lea edi, [esp + 0xa8]
jmp 0x10002d69
cmp ebp, reloc.WS2_32.dll_connect
jne 0x10002d71
lea edi, [esp + 0xb8]
lea esi, [esp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc ebp
cmp ebp, dword [esp + 0x14]
jbe 0x10002d23
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.10008646
and dword [esp + 0xe4], 0
xor ebx, ebx
lea eax, [esp + 0x78]
inc ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], ebx
call fcn.10008c66
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe8], ebx
call fcn.10008c66
push 0x25
pop edx
mov byte [esp + 0xe4], 2
push 0x64
pop ecx
push 0x73
xor eax, eax
mov word [esp + 0x78], ax
pop eax
mov word [esp + 0x52], ax
mov word [esp + 0x56], ax
mov eax, dword [esp + 0x34]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x48]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x70]
push dword [esp + 0x34]
mov word [esp + 0x74], dx
push eax
push esi
mov word [esp + 0x90], dx
mov word [esp + 0x9a], cx
mov word [esp + 0x9c], dx
mov word [esp + 0x94], dx
mov word [esp + 0x8e], cx
mov word [esp + 0x80], dx
mov word [esp + 0x96], cx
mov word [esp + 0x88], dx
mov word [esp + 0x86], cx
mov word [esp + 0x8c], dx
mov word [esp + 0x98], dx
mov word [esp + 0x8a], cx
mov word [esp + 0x84], dx
mov word [esp + 0x92], cx
mov word [esp + 0x9e], cx
call fcn.1000c74f
add esp, 0x2c
lea ecx, [esp + 0x18]
call fcn.100086b0
lea ecx, [esp + 0x14]
call fcn.100086b0
mov eax, esi
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.1005801c
add esp, 0xd4
ret