Function at 0x10004970
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x10160e77
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
push ebx
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp + 0x30], edi
cmp byte [edi + 0x30], 0
jne 0x100049b8
mov eax, 0xfffffff1
jmp 0x1000548e
mov esi, dword [ebp + 0x70]
test esi, esi
je 0x100053cc
call fcn.10001700
push 0x4d
push esi
lea ecx, [ebp + 0x10]
call fcn.1000d930
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0
call fcn.10024550
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 1
call fcn.1002b830
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.10024590
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp + 0x10]
call fcn.1000d470
lea ecx, [ebp - 0x98]
call fcn.10024a10
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.1002ab50
push 0x4d
lea ecx, [ebp + 0x58]
call fcn.1000d900
mov ebx, 4
push 0x4d
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], bl
call fcn.1000d900
push str.Mode
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp + 0x20]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.10001740
mov edx, dword [ebp + 0x58]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 6
call eax
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 5
call fcn.1000d9b0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x70], esp
push 0x101806c0
call fcn.10003950
mov ecx, dword [edi + 0x8c]
push 0
call fcn.10003a30
lea ecx, [ebp + 0x58]
push str.UNKOWN_ELEMENT
push ecx
call fcn.1000d740
add esp, 8
test al, al
je 0x10005339
push str.Type
push str.Mode
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp + 0x20]
push eax
mov ecx, edi
call fcn.10001810
mov edx, dword [ebp + 0x48]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 7
call eax
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 5
call fcn.1000d9b0
lea ecx, [ebp + 0x48]
push str.UNKOWN_ATTRIBUTE
push ecx
call fcn.1000d6e0
add esp, 8
test al, al
jne 0x10005339
lea edx, [ebp + 0x48]
push str.NAME
push edx
call fcn.1000d6e0
add esp, 8
test al, al
je 0x10004b3c
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x38]
lea ecx, [edi + 0x34]
lea edx, [ebp + 0x58]
push edx
mov word [edi + 0x32], 1
call eax
jmp 0x10004c74
lea ecx, [ebp + 0x48]
push 0x101806ac
push ecx
call fcn.1000d6e0
add esp, 8
test al, al
je 0x10004b6b
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x38]
lea ecx, [edi + 0x44]
lea eax, [ebp + 0x58]
push eax
mov word [edi + 0x32], 2
call edx
jmp 0x10004c74
lea eax, [ebp + 0x48]
push 0x10180608
push eax
call fcn.1000d6e0
add esp, 8
test al, al
je 0x10004be4
mov edx, dword [edi + 0x54]
mov edx, dword [edx + 0x38]
lea esi, [edi + 0x54]
lea eax, [ebp + 0x58]
push eax
mov ecx, esi
mov word [edi + 0x32], bx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
jle 0x10004c74
call fcn.1002e8d0
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
sub eax, 1
neg eax
sbb eax, eax
push 1
add eax, 0x56
push eax
lea eax, [ebp + 0x20]
push eax
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x54]
mov byte [ebp - 4], 8
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x70], esp
push eax
call fcn.10003950
push 1
jmp 0x10004c5d
lea ecx, [ebp + 0x48]
push str.MACADDRESS
push ecx
call fcn.1000d6e0
add esp, 8
test al, al
je 0x10005333
mov edx, dword [edi + 0x64]
mov edx, dword [edx + 0x38]
lea esi, [edi + 0x64]
lea eax, [ebp + 0x58]
push eax
mov ecx, esi
mov word [edi + 0x32], 0x10
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
jle 0x10004c74
call fcn.1002e8d0
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
sub eax, 1
neg eax
sbb eax, eax
push 1
add eax, 0x56
push eax
lea eax, [ebp + 0x20]
push eax
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x54]
mov byte [ebp - 4], 9
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x70], esp
push eax
call fcn.10003950
push 2
mov ecx, dword [edi + 0x8c]
call fcn.10003a30
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 5
call fcn.1000d9b0
cmp word [edi + 0x32], bx
jne 0x10004e89
lea ecx, [ebp - 0x1c0]
call fcn.10028ac0
test eax, eax
je 0x10004e89
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xb4]
push str.Mode
call eax
test eax, eax
je 0x10004e89
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xb4]
push str.SubnetAddressList
call eax
test eax, eax
je 0x10004e89
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
mov esi, eax
test esi, esi
je 0x10004e89
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x70], esp
push 0x101806c0
call fcn.10003950
mov ecx, dword [edi + 0x8c]
push 0
call fcn.10003a30
mov ecx, dword [edi + 0x8c]
call fcn.10004900
mov edx, dword [edi + 0x54]
mov eax, dword [edx + 0xa4]
lea ecx, [edi + 0x54]
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [ebp + 0x20]
push eax
mov ecx, esi
call edx
mov byte [ebp - 4], 0xa
mov bl, 0xb
lea ecx, [ebp + 0x20]
call fcn.10003200
test al, al
jne 0x10004e85
lea ecx, [ebp + 0x20]
call fcn.10002cb0
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
cmp eax, 1
jne 0x10004e78
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
push str.networkAddress
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
push str.subnetMask
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], bl
call edx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.1000cd60
test eax, eax
je 0x10004e61
lea ecx, [ebp - 0x3c]
call fcn.1000cd60
test eax, eax
je 0x10004e61
call fcn.1002e8d0
sub eax, 1
neg eax
sbb eax, eax
push 1
add eax, 0x56
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000da60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x54]
mov byte [ebp - 4], 0xd
call eax
push eax
lea ecx, [ebp - 0xe0]
call fcn.10003950
mov byte [ebp - 4], 0xe
call fcn.1002e8d0
sub eax, 1
neg eax
sbb eax, eax
push 1
add eax, 0x56
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.1000da60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x54]
mov byte [ebp - 4], 0xf
call eax
push eax
lea ecx, [ebp - 0xc4]
call fcn.10003950
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, dword [edi + 0x8c]
lea edx, [ebp - 0xc4]
push edx
mov byte [ebp - 4], 0x10
call fcn.1000c870
lea ecx, [ebp - 0xc4]
call fcn.10003250
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.1000d9b0
lea ecx, [ebp - 0xe0]
call fcn.10003250
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 0xc
call fcn.1000d9b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.1000d9b0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.1000d9b0
lea ecx, [ebp + 0x20]
call fcn.10002c70
jmp 0x10004d21
mov byte [ebp - 4], 5
push 0x4d
lea ecx, [ebp]
call fcn.1000d900
lea eax, [ebp]
push eax
push str.OverRouter
push str.Mode
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.100020e0
test al, al
je 0x10004ee2
lea edx, [ebp]
push str.TRUE
push edx
call fcn.1000d6e0
add esp, 8
test al, al
mov eax, dword [edi + 0x8c]
je 0x10004edb
mov dword [eax + 0x7c], 0x80
jmp 0x10004ee2
mov dword [eax + 0x7c], 1
lea eax, [ebp]
push eax
push str.MergeNotification
push str.Mode
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, edi
call fcn.100020e0
test al, al
je 0x10004f1d
lea edx, [ebp]
push str.TRUE
push edx
call fcn.1000d6e0
xor ecx, ecx
add esp, 8
test al, al
setne cl
mov dword [edi + 0x74], ecx
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.1000d9b0
push str.Protocol
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp + 0x34]
xor esi, esi
push eax
mov ecx, edi
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x44], esi
call fcn.10001740
mov edx, dword [ebp + 0x58]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x12
call eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.1000d9b0
lea ecx, [ebp + 0x58]
push str.UNKOWN_ELEMENT
push ecx
call fcn.1000d740
add esp, 8
test al, al
je 0x10005061
push 0x10180640
push str.Protocol
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp + 0x34]
push eax
mov ecx, edi
call fcn.10001810
mov edx, dword [ebp + 0x48]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0x13
call eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.1000d9b0
push esi
push 0x10180638
lea ecx, [ebp + 0x48]
call fcn.1000e1b0
cmp eax, esi
jl 0x10004fce
mov dword [ebp + 0x70], 0x10
push esi
push 0x10180634
lea ecx, [ebp + 0x48]
call fcn.1000e1b0
cmp eax, esi
jl 0x10004fe4
or dword [ebp + 0x70], 0x20
push esi
push str.SNMP
lea ecx, [ebp + 0x48]
call fcn.1000e1b0
cmp eax, esi
jl 0x10004ffa
or dword [ebp + 0x70], 0x40
push 0x10180628
push str.Protocol
lea ecx, [ebp - 0x1c0]
push ecx
lea edx, [ebp + 0x34]
push edx
mov ecx, edi
call fcn.10001810
push eax
mov eax, dword [ebp + 0x48]
mov edx, dword [eax + 0x38]
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0x14
call edx
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.1000d9b0
push esi
push str.IPv4
lea ecx, [ebp + 0x48]
call fcn.1000e1b0
cmp eax, esi
jl 0x1000504b
mov dword [ebp + 0x44], 1
push esi
push str.IPv6
lea ecx, [ebp + 0x48]
call fcn.1000e1b0
cmp eax, esi
jl 0x10005061
or dword [ebp + 0x44], 2
push str.TimeOut
lea eax, [ebp - 0x1c0]
push eax
lea ecx, [ebp + 0x34]
push ecx
mov ecx, edi
call fcn.10001740
mov edx, dword [ebp + 0x58]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x15
call eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.1000d9b0
lea ecx, [ebp + 0x58]
push str.UNKOWN_ELEMENT
push ecx
mov ebx, 0x9c40
call fcn.1000d740
add esp, 8
test al, al
je 0x100050da
lea ecx, [ebp + 0x58]
call fcn.1000cd60
test eax, eax
jle 0x100050da
lea ecx, [ebp + 0x58]
call fcn.1000e3b0
test al, al
je 0x100050da
push ebx
lea ecx, [ebp + 0x58]
call fcn.1000e650
mov ebx, eax
test ebx, ebx
jg 0x100050da
mov ebx, 0x9c40
mov ecx, dword [ebp + 0x30]
push str.Retry
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp + 0x34]
push eax
mov edi, 3
call fcn.10001740
mov edx, dword [ebp + 0x58]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x16
call eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.1000d9b0
lea ecx, [ebp + 0x58]
push str.UNKOWN_ELEMENT
push ecx
call fcn.1000d740
add esp, 8
test al, al
je 0x10005154
lea ecx, [ebp + 0x58]
call fcn.1000cd60
test eax, eax
jle 0x10005154
lea ecx, [ebp + 0x58]
call fcn.1000e3b0
test al, al
je 0x10005154
push edi
lea ecx, [ebp + 0x58]
call fcn.1000e490
mov edi, eax
test edi, edi
jge 0x10005154
mov edi, 3
mov ecx, dword [ebp + 0x30]
push str.RetryInterval
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp + 0x34]
push eax
mov esi, 0x2710
call fcn.10001740
mov edx, dword [ebp + 0x58]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x17
call eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.1000d9b0
lea ecx, [ebp + 0x58]
push str.UNKOWN_ELEMENT
push ecx
call fcn.1000d740
add esp, 8
test al, al
je 0x100051ce
lea ecx, [ebp + 0x58]
call fcn.1000cd60
test eax, eax
jle 0x100051ce
lea ecx, [ebp + 0x58]
call fcn.1000e3b0
test al, al
je 0x100051ce
push esi
lea ecx, [ebp + 0x58]
call fcn.1000e490
mov esi, eax
test esi, esi
jg 0x100051ce
mov esi, 0x2710
lea ecx, [edi + 1]
mov eax, esi
imul eax, ecx
cmp ebx, eax
jle 0x100051e1
mov eax, ebx
cdq
idiv ecx
mov esi, eax
mov edx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x44]
push esi
mov esi, dword [ebp + 0x30]
mov ecx, dword [esi + 0x8c]
push edi
push edx
push eax
call fcn.10009870
push str.ExtendInfo
lea ecx, [ebp - 0x1c0]
push ecx
lea edx, [ebp + 0x34]
push edx
mov ecx, esi
call fcn.10001740
push eax
mov eax, dword [ebp + 0x58]
mov edx, dword [eax + 0x38]
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x18
call edx
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.1000d9b0
lea eax, [ebp + 0x58]
push str.UNKOWN_ELEMENT
push eax
call fcn.1000d740
add esp, 8
test al, al
je 0x10005266
lea ecx, [ebp + 0x58]
call fcn.1000cd60
test eax, eax
jle 0x10005266
lea ecx, [ebp + 0x58]
push str.TRUE
push ecx
call fcn.1000d6e0
add esp, 8
mov byte [esi + 0x88], al
jmp 0x1000526d
mov byte [esi + 0x88], 0
push str.NoENPC
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp + 0x34]
push eax
mov ecx, esi
mov byte [esi + 0x89], 1
call fcn.10001740
mov edx, dword [ebp + 0x58]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x19
call eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.1000d9b0
lea ecx, [ebp + 0x58]
push str.UNKOWN_ELEMENT
push ecx
call fcn.1000d740
add esp, 8
test al, al
je 0x100052e4
lea ecx, [ebp + 0x58]
call fcn.1000cd60
test eax, eax
jle 0x100052e4
lea edx, [ebp + 0x58]
push str.TRUE
push edx
call fcn.1000d6e0
add esp, 8
test al, al
je 0x100052e4
mov byte [esi + 0x89], 0
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 4
call fcn.1000d9b0
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 3
call fcn.1000d9b0
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 4], 1
call fcn.1002a9e0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.10026520
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.1000d9b0
xor eax, eax
jmp 0x1000548e
mov word [edi + 0x32], 0
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 4
call fcn.1000d9b0
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 3
call fcn.1000d9b0
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 1
call fcn.1002a9e0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.10026520
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.1000d9b0
mov eax, 0xfffffff4
jmp 0x1000548e
mov eax, 0xfffffff0
jmp 0x1000548e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x68
mov esp, ebp
pop ebp
ret 4