Function at 0x413ce0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x56527d
mov eax, dword fs:[0]
push eax
sub esp, 0x5e0
mov eax, dword [0x5d72e0]
xor eax, esp
mov dword [esp + 0x5dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x5f4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x608]
mov ebx, dword [esp + 0x60c]
mov ebp, dword [esp + 0x604]
mov dword [ebx], 0
mov esi, dword [eax + 0x3c]
mov dword [esp + 0x30], ecx
push esi
mov ecx, ebp
call fcn.00519e77
mov edi, eax
test edi, edi
je 0x4142da
mov eax, dword [edi]
cmp eax, 1
jne 0x414213
mov esi, dword [edi + 4]
test esi, esi
jne 0x413d68
mov dword [ebx], esi
jmp 0x4142da
call fcn.00518333
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413d82
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5fc], 0
call fcn.00518333
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413db7
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
cmp dword [esi + 0x1d4], 3
mov byte [esp + 0x5fc], 1
je 0x4140cd
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Desktop.IPAddr
call fcn.004019c0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x604], 2
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x604], 1
call fcn.004ea820
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x600], 3
call fcn.00402060
lea ecx, [esp + 0x14]
mov byte [esp + 0x5fc], 1
call fcn.004015d0
lea edx, [esi + 0x84]
push edx
lea eax, [esp + 0x24]
push str.:__s__r_n
push eax
call fcn.004020e0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004065f0
add esp, 0x18
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x600], 4
call fcn.00402060
lea ecx, [esp + 0x14]
call fcn.004015d0
lea ecx, [esp + 0x28]
call fcn.00401e90
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov bl, 5
push str.Desktop.Port
mov byte [esp + 0x604], bl
call fcn.004019c0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x604], 6
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x604], bl
call fcn.004ea820
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x600], 7
call fcn.00402060
lea ecx, [esp + 0x14]
mov byte [esp + 0x5fc], bl
call fcn.004015d0
mov edx, dword [esi + 0x1dc]
push edx
lea eax, [esp + 0x2c]
push str.:__d__r_n
push eax
call fcn.004020e0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004065f0
add esp, 0x18
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x600], 8
call fcn.00402060
lea ecx, [esp + 0x14]
call fcn.004015d0
lea ecx, [esp + 0x2c]
call fcn.00401e90
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov bl, 9
push str.Desktop.DevName
mov byte [esp + 0x604], bl
call fcn.004019c0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x604], 0xa
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x604], bl
call fcn.004ea820
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x600], 0xb
call fcn.00402060
lea ecx, [esp + 0x14]
mov byte [esp + 0x5fc], bl
call fcn.004015d0
lea edx, [esi + 0x44]
push edx
lea eax, [esp + 0x30]
push str.:__s__r_n
push eax
call fcn.004020e0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004065f0
add esp, 0x18
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x600], 0xc
call fcn.00402060
lea ecx, [esp + 0x14]
call fcn.004015d0
lea ecx, [esp + 0x14]
call fcn.00401e90
push 0x58153c
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
mov bl, 0xd
push str.Desktop.DevType
mov byte [esp + 0x608], bl
call fcn.004019c0
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x608], 0xe
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x608], bl
call fcn.004ea820
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x608], 0xf
call fcn.00402100
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x600], 0x10
call fcn.00402060
lea ecx, [esp + 0x24]
call fcn.004015d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x5fc], bl
call fcn.004015d0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004065f0
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x614], 0x11
call fcn.004065f0
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0x12
call fcn.0040ce30
lea ecx, [esp + 0x18]
call fcn.004015d0
lea ecx, [esp + 0x24]
call fcn.004015d0
lea ecx, [esp + 0x14]
call fcn.004015d0
lea ecx, [esp + 0x2c]
call fcn.004015d0
lea ecx, [esp + 0x28]
jmp 0x414189
push 0x581528
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.DeviceManage.Cloud
call fcn.004019c0
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x608], 0x13
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x608], 1
call fcn.004ea820
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x608], 0x14
call fcn.00402100
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x600], 0x15
call fcn.00402060
lea ecx, [esp + 0x18]
call fcn.004015d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5fc], 1
call fcn.004015d0
lea edx, [esi + 0x84]
push edx
lea eax, [esp + 0x24]
push str.:__s__r_n
push eax
call fcn.004020e0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004065f0
add esp, 0x18
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x600], 0x16
call fcn.00402060
lea ecx, [esp + 0x18]
mov byte [esp + 0x5fc], 1
call fcn.004015d0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + 0x80]
push 0
push 0
push edi
push ebp
call fcn.0051e13e
push esi
lea ecx, [ebx + 0x2044]
call fcn.0042c8a0
lea eax, [edi - 0x10]
mov byte [esp + 0x5fc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4141df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x5fc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4142da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4142da
cmp eax, 3
je 0x4142da
cmp eax, 2
jne 0x4142da
mov ecx, dword [ebp + 0x20]
push esi
push 3
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov ecx, ebp
call fcn.00519e77
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4142da
mov eax, dword [ebx + 0x5b8]
test eax, eax
je 0x4142da
mov ebp, dword [edi + 4]
cmp ebp, 0x40
jge 0x4142da
mov esi, ebp
imul esi, esi, 0x64
mov edx, dword [esi + eax + 0x40]
add esi, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0xffffffff
xor edi, edi
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [0x5d95ac]
push edi
add ecx, 0x4454
mov dword [esp + 0x24], 0xffffffff
call fcn.00432f80
test eax, eax
je 0x4142b4
mov edx, dword [ebx]
cmp edx, dword [esp + 0x38]
jne 0x4142b4
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x48]
je 0x4142c3
add edi, 1
cmp edi, 0x90
jl 0x414279
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push edi
push ecx
mov ecx, dword [esp + 0x38]
push ebp
push ebx
add ecx, 0x2044
call fcn.0042c950
mov ecx, dword [esp + 0x5f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5dc]
xor ecx, esp
call fcn.0053042b
add esp, 0x5ec
ret 0xc