Function at 0x486040
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a525a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov edi, dword [0x52f800]
sub esp, 0x18
mov ecx, esp
call fcn.004234e0
mov edx, 0x526ec8
lea ecx, [esp + 0x38]
call fcn.0045972a
add esp, 0x18
xor ebx, ebx
push ebx
push 0x4f140c
mov dword [esp + 0x64], ebx
push dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x30]
call fcn.00420b14
test eax, eax
je 0x48630e
mov esi, 0x4f1404
push esi
call fcn.00438238
pop ecx
push eax
push esi
push dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x30]
call fcn.00420b14
test eax, eax
je 0x48630e
mov esi, 0x4f1414
push esi
call fcn.00438238
pop ecx
push eax
push esi
push dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x30]
call fcn.00420b14
test eax, eax
jne 0x48611e
push 0x40
push dword [edi + 0x60]
lea esi, [edi + 4]
push dword [edi + 0x5c]
push ebx
push ebx
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
mov ecx, esi
call fcn.004265d9
push ebx
push 0xf030
push 0x112
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x48632b
mov esi, 0x4f1410
push esi
call fcn.00438238
pop ecx
push eax
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.0042207e
sub esp, 0x18
mov esi, eax
mov ecx, esp
push esi
push ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.00424dd5
lea ecx, [esp + 0x50]
call fcn.0045e1cb
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x48615d
mov eax, dword [eax]
push eax
call fcn.00438fbd
pop ecx
push ebx
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.0041f358
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.00424dd5
push eax
lea ecx, [esp + 0x24]
call fcn.0041eed4
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.0041f6b8
mov esi, 0x4f1490
push esi
call fcn.00438238
pop ecx
push eax
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.0042207e
sub esp, 0x18
mov esi, eax
mov ecx, esp
push esi
push ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.00424dd5
lea ecx, [esp + 0x50]
call fcn.0045e1cb
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4861dd
mov eax, dword [eax]
push eax
call fcn.00438fbd
pop ecx
push ebx
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], eax
call fcn.0041f358
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.00424dd5
push eax
lea ecx, [esp + 0x24]
call fcn.0041eed4
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.0041f6b8
mov esi, 0x4f148c
push esi
call fcn.00438238
pop ecx
push eax
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.0042207e
sub esp, 0x18
mov esi, eax
mov ecx, esp
push esi
push ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.00424dd5
lea ecx, [esp + 0x50]
call fcn.0045e1cb
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x48625d
mov eax, dword [eax]
push eax
call fcn.00438fbd
pop ecx
push 0
push 1
lea ecx, [esp + 0x40]
mov ebx, eax
call fcn.0041f358
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.00424dd5
push eax
lea ecx, [esp + 0x24]
call fcn.0041eed4
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.0041f6b8
sub esp, 0x18
lea eax, [esp + 0x38]
mov ecx, esp
push eax
call fcn.0041ee74
lea ecx, [esp + 0x50]
call fcn.0045e1cb
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4862c1
mov eax, dword [eax]
push eax
call fcn.00438fbd
pop ecx
push 0
push 1
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.0041f358
mov ecx, dword [esp + 0x10]
sub ebx, ecx
cmp ebx, 0x64
jl 0x486301
mov eax, dword [esp + 0x14]
sub esi, eax
cmp esi, 0x64
jl 0x486301
push 0x40
push esi
push ebx
push eax
push ecx
xor ebx, ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x486343
xor ebx, ebx
lea ecx, [edi + 4]
push ebx
call fcn.004265d9
jmp 0x486343
push 0x40
push dword [edi + 0x60]
push dword [edi + 0x5c]
push ebx
push ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
lea ecx, [edi + 4]
call fcn.004265d9
call fcn.0045d40f
mov dword [esp + 0x1c], edx
mov dword [edi + 0x5c], eax
call fcn.0045d40f
mov dword [edi + 0x60], edx
mov dword [esp + 0x18], eax
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.0041f6b8
mov ecx, dword [esp + 0x54]
xor eax, eax
pop edi
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc