Function at 0x11010190
Capabilities:
Get number of processors
Reference 114dns dns server
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1115e712
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x111c8010]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x111c8010]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], edi
mov byte [esp + 0x50], 0
mov dword [esp + 0x78], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
lea esi, [esp + 0x38]
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x48], edi
call fcn.11016e10
mov dword [esp + 0x38], eax
mov byte [esp + 0x78], 3
xor eax, eax
cmp dword [ebx + 0x50], edi
jne 0x1101027b
mov cl, byte [ebx + 0xc]
test cl, cl
jne 0x110102bd
mov esi, 0x111ce74c
cmp eax, edi
jne 0x110102bd
mov ecx, dword [esi]
cmp ecx, edi
je 0x110102bd
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [ebx + 0x38], 0x10
jb 0x11010252
mov ecx, dword [ebx + 0x24]
jmp 0x11010255
lea ecx, [ebx + 0x24]
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x1c]
lea edi, [esp + 0x20]
call fcn.11016c40
mov cl, byte [ebx + 0xc]
add esi, 4
xor edi, edi
test cl, cl
je 0x11010232
jmp 0x110102bd
mov eax, 0x10
cmp dword [ebx + 0x38], eax
jb 0x1101028a
mov esi, dword [ebx + 0x24]
jmp 0x1101028d
lea esi, [ebx + 0x24]
cmp dword [ebx + 0x54], eax
jb 0x11010297
mov eax, dword [ebx + 0x40]
jmp 0x1101029a
lea eax, [ebx + 0x40]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x1c]
lea edi, [esp + 0x20]
mov ecx, esi
call fcn.11016c40
xor edi, edi
mov cl, byte [ebx + 0xc]
test cl, cl
jne 0x11010330
cmp eax, edi
jne 0x11010330
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x20]
lea edx, [ebx + 0x58]
push eax
mov dword [esp + 0x18], 0xffffffff
call fcn.11010700
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x11010303
push eax
call fcn.11137f33
add esp, 4
lea ecx, [esp + 0x28]
call fcn.11008750
lea ecx, [esp + 0x14]
call fcn.11008750
cmp dword [esp + 0x64], 0x10
jb 0x11010329
mov ecx, dword [esp + 0x50]
push ecx
call fcn.1101d128
add esp, 4
xor al, al
jmp 0x110104c6
mov dl, byte [ebx + 0xc]
test dl, dl
jne 0x1101042d
lea edi, [esp + 0x4c]
call fcn.11010550
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov edi, edi
mov esi, dword [esp + 0x18]
test esi, esi
mov edi, dword [esp + 0x1c]
jne 0x11010360
xor eax, eax
jmp 0x11010377
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xc], eax
je 0x11010407
cmp dword [esp + 0x60], 0
jbe 0x110103a0
push 1
push 0x111b7b28
lea ecx, [esp + 0x54]
call fcn.11003350
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x110103bf
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xc], eax
jb 0x110103c8
call fcn.11135927
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp dword [eax + esi + 0x18], 0x10
jb 0x110103d9
mov esi, dword [eax + esi + 4]
jmp 0x110103dd
lea esi, [eax + esi + 4]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x110103e2
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x54]
call fcn.11003350
add dword [esp + 0xc], 1
add dword [esp + 0x10], 0x1c
jmp 0x11010350
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x20]
lea edx, [ebx + 0x58]
push eax
mov dword [esp + 0x30], 0
call fcn.11010700
add esp, 0xc
xor edi, edi
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x11010444
push eax
call fcn.11137f33
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x1101046e
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
call fcn.110093d0
mov edx, dword [esp + 0x3c]
push edx
call fcn.1101d128
add esp, 0x14
mov eax, dword [esp + 0x18]
cmp eax, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
je 0x110104a4
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.110093d0
mov edx, dword [esp + 0x28]
push edx
call fcn.1101d128
add esp, 0x14
cmp dword [esp + 0x64], 0x10
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
jb 0x110104c4
mov eax, dword [esp + 0x50]
push eax
call fcn.1101d128
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1113507a
mov esp, ebp
pop ebp
ret