Function at 0x4d1dc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562088
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x40b
mov dword [edi + 0x30], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi + 0x30], eax
push dword [edi + 0x6c]
push 0
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 4]
lea ecx, [edi + 0xa0]
call fcn.004d6ab0
mov eax, dword [edi + 0x6c]
cdq
push 0x40a
mov dword [edi + 0xa8], eax
mov dword [edi + 0xac], edx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [edi + 0x40]
call fcn.0040bf30
push 0xfffffffffffffff0
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x4d1e6b
push ecx
push 0xfffffffffffffff0
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [0x5d0ad8]
mov edx, dword [0x5d0ad0]
sub eax, edx
mov ecx, dword [0x5d0acc]
push 0
push dword [0x5d532c]
push 0
push dword [edi + 0x44]
push eax
mov eax, dword [0x5d0ad4]
sub eax, ecx
push eax
push edx
push ecx
push 0
push 0
push 0x580dbc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [edi + 0x64], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d1edf
push 0
push 1
push 0x401
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push ecx
mov eax, esp
lea ecx, [edi + 0x64]
mov dword [eax], 0xffffffff
push dword [edi + 0x44]
call fcn.0045e7e0
mov edx, dword [0x5d5330]
push ecx
mov ecx, dword [edi + 4]
call fcn.004920b0
lea ecx, [edi + 4]
call fcn.00441930
mov ecx, dword [edi + 0x2c]
lea eax, [ecx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x4d1f59
push 0
call fcn.004b4bd0
mov edx, 0xa1
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.004bdc10
mov dword [ebp - 4], 0
push dword [esi]
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x10]
push esi
call fcn.00417cc0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d1f5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d1f5c
mov esi, dword [ebp - 0x14]
push dword [esi]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [edi + 0x8c], 0
jne 0x4d1f87
lea ecx, [edi + 0x3c]
push 0xc8
call fcn.00412350
lea ecx, [edi + 0x38]
push 0xc9
jmp 0x4d1f92
lea ecx, [edi + 0x94]
push 0xda
call fcn.00412350
cmp byte [edi + 0x84], 0
je 0x4d1ff9
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 2
push 0
push 0
push 1
push 0xf060
push esi
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4d1ff9
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [edi + 0x90]
test eax, eax
je 0x4d200a
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10