Function at 0x449680
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48d696
mov eax, dword fs:[0]
push eax
sub esp, 0xe20
mov eax, dword [0x4ad650]
xor eax, esp
mov dword [esp + 0xe1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ad650]
xor eax, esp
push eax
lea eax, [esp + 0xe34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe44]
mov eax, dword [esp + 0xe48]
xor ebx, ebx
push 0x3ff
lea ecx, [esp + 0x635]
push ebx
push ecx
mov dword [esp + 0x30], eax
mov byte [esp + 0x63c], bl
call fcn.00472360
add esp, 0xc
push str.QueryNicIpAddress
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0x400
call fcn.00406140
mov dword [esp + 0xe3c], ebx
mov edx, dword [esp + 0x14]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x449732
push esi
lea ecx, [esp + 0x18]
call fcn.004064a0
mov edx, dword [esp + 0x14]
cmp esi, ebx
mov eax, 0x20
mov word [edx + edi*2], ax
jl 0x449c75
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x449c75
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
push 7
mov word [edx + esi*2], cx
push str.nicMode
lea ecx, [esp + 0x1c]
call fcn.004059f0
mov edx, dword [esp + 0x14]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x449796
push esi
lea ecx, [esp + 0x18]
call fcn.004064a0
mov edx, dword [esp + 0x14]
cmp esi, ebx
mov eax, 0x3d
mov word [edx + edi*2], ax
jl 0x449c75
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x449c75
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
cmp ebp, ebx
jne 0x4497ce
push 3
push 0x49cb20
jmp 0x4497da
cmp ebp, 1
jne 0x4497e3
push 6
push str.SoftAp
lea ecx, [esp + 0x1c]
call fcn.004059f0
mov eax, dword [esp + 0x14]
push 0x64
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
lea ebx, [esp + 0xa3c]
call fcn.00405c40
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004386b0
xor ebx, ebx
add esp, 8
cmp dword [0x4b1db4], ebx
je 0x4498ac
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x634]
push ecx
lea edx, [esp + 0xa38]
push edx
call dword [0x4b1da4]
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x4498ac
mov ecx, dword [esp + 0x24]
push 7
mov dword [ecx], ebx
add ecx, 4
push 0x49cb38
call fcn.00406010
mov dword [esp + 0xe3c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449882
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xe34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe1c]
xor ecx, esp
call fcn.004705a7
add esp, 0xe2c
ret
lea ecx, [esp + 0x30]
push ecx
mov al, 0x20
lea ecx, [esp + 0x634]
call fcn.00449620
push 0x1ff
lea edx, [esp + 0x439]
push ebx
push edx
mov byte [esp + 0x440], bl
call fcn.00472360
lea eax, [esp + 0x440]
push eax
mov al, 0x3d
lea ecx, [esp + 0x44]
call fcn.00449620
lea ecx, [esp + 0x44]
push ecx
call fcn.004722ca
mov esi, dword [esp + 0x3c]
add esp, 0x18
mov dword [esi], eax
call fcn.00454183
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x449919
push 0x80004005
call fcn.00406520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0xe3c], 1
cmp dword [esi], ebx
mov dword [esp + 0x20], ebx
jle 0x449c20
add esi, 4
mov dword [esp + 0x1c], esi
jmp 0x449950
mov dword [esp + 0x28], 2
jmp 0x449960
lea ecx, [esp + 0x630]
push 0x20
push ecx
call fcn.004720d0
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x449999
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x630]
mov byte [esp + eax + 0x30], cl
inc eax
cmp cl, bl
jne 0x449980
mov byte [esp + 0x630], bl
jmp 0x4499cf
lea edx, [esp + 0x630]
mov esi, edi
sub esi, edx
push esi
mov eax, edx
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00472190
lea eax, [edi + 1]
lea edx, [esp + 0x63c]
add esp, 0xc
mov byte [esp + esi + 0x30], bl
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
cmp cl, bl
jne 0x4499c5
lea edx, [esp + 0x30]
push 0x3d
push edx
call fcn.004720d0
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x449a06
xor eax, eax
jmp 0x4499f0
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x430], cl
inc eax
cmp cl, bl
jne 0x4499f0
mov byte [esp + 0x30], bl
jmp 0x449a3c
lea eax, [esp + 0x30]
mov esi, edi
sub esi, eax
push esi
mov ecx, eax
push ecx
lea edx, [esp + 0x438]
push edx
call fcn.00472190
lea eax, [edi + 1]
lea edx, [esp + 0x3c]
add esp, 0xc
mov byte [esp + esi + 0x430], bl
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
cmp cl, bl
jne 0x449a32
mov ecx, str.IPAddr
lea eax, [esp + 0x430]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x449a68
cmp dl, bl
je 0x449a64
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x449a68
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x449a48
xor eax, eax
jmp 0x449a6d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x449b4b
lea eax, [esp + 0x30]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449a80
sub eax, edx
lea esi, [eax + 1]
lea eax, [esp + 0x30]
test eax, eax
je 0x449ae3
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
mov byte [esp + esi + 0x2f], bl
neg ecx
or ecx, eax
push ecx
call fcn.00452df0
add esp, 4
push esi
mov edi, eax
push edi
push esi
lea eax, [esp + 0x3c]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
lea ecx, [esp + 0x1c]
push 0x499de0
push ecx
call fcn.004065f0
push edi
call fcn.00452dfb
mov ebp, dword [esp + 0x28]
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov esi, dword [edx]
lea eax, [ebp - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x449bfb
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x449b38
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x449b38
push eax
call fcn.00405c40
add esp, 4
mov ebp, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x449b26
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x1c]
add ebp, 0x10
mov dword [eax], ebp
mov ebp, dword [esp + 0x18]
jmp 0x449bfb
mov eax, dword [ebp - 0xc]
mov ecx, dword [esp + 0x1c]
push eax
push ebp
call fcn.00406010
jmp 0x449bfb
mov ecx, str.IPMask
lea eax, [esp + 0x430]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x449b77
cmp dl, bl
je 0x449b73
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x449b77
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x449b57
xor eax, eax
jmp 0x449b7c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x449bfb
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449b87
sub eax, edx
lea ecx, [esp + 0x30]
lea esi, [eax + 1]
test ecx, ecx
je 0x449bea
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
mov byte [esp + esi + 0x2f], bl
neg ecx
or ecx, eax
push ecx
call fcn.00452df0
add esp, 4
push esi
mov edi, eax
push edi
push esi
lea eax, [esp + 0x3c]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
lea ecx, [esp + 0x1c]
push 0x499de0
push ecx
call fcn.004065f0
push edi
call fcn.00452dfb
mov ebp, dword [esp + 0x28]
add esp, 0x10
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
add ecx, 4
call fcn.00405ba0
sub dword [esp + 0x28], 1
jne 0x449960
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x1c], 8
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x20], eax
jl 0x449950
lea eax, [ebp - 0x10]
mov byte [esp + 0xe3c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x449c43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xe3c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449c6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x449884
push 0x80070057
call fcn.00406520
int3