Function at 0x5452bd
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e9bfe
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x70b744]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ecx
mov dword [ebx + 0x900], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
mov edi, 0x208
mov ecx, esp
mov dword [esp + 0x1c], esp
mov esi, 0xbe
push eax
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], edi
call fcn.00411379
push 0x769998
mov ecx, ebx
call fcn.004ba3bc
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x18], esi
call fcn.00411379
push 0x7699b4
mov ecx, ebx
call fcn.004ba3bc
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x18], edi
call fcn.00411379
push 0x7698f0
mov ecx, ebx
call fcn.004ba3bc
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x18], esi
call fcn.00411379
push 0x76990c
mov ecx, ebx
call fcn.004ba3bc
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00411379
push 0x76989c
mov ecx, ebx
call fcn.004ba3bc
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00411379
push 0x769880
mov ecx, ebx
call fcn.004ba3bc
and dword [esp + 0x10], 0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00411379
push 0x769a40
mov ecx, ebx
call fcn.004ba3bc
push ecx
mov dword [esp + 0x14], 0x64
mov ecx, esp
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], esp
push eax
call fcn.00411379
push 0x769a78
mov ecx, ebx
call fcn.004ba3bc
push 4
mov byte [ebx + 0x8c0], 0
call fcn.0051d97d
test eax, eax
pop ecx
je 0x545447
and dword [eax], 0
jmp 0x545449
xor eax, eax
lea esi, [ebx + 0x928]
mov edi, eax
call fcn.00456c27
mov eax, dword [esi]
xor edi, edi
push edi
push eax
call fcn.004570e0
mov eax, dword [esi]
cmp eax, edi
jne 0x5454b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateDC_failed:__1___..Win32Desktop.cpp__626_
lea ecx, [esp + 0xd8]
mov dword [esp + 0x14], eax
call fcn.00403e35
mov dword [esp + 0x238], edi
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.0041d1e8
push eax
call fcn.004b9650
or dword [esp + 0x244], 0xffffffff
add esp, 0xc
lea ecx, [esp + 0xd4]
call fcn.00401441
xor al, al
jmp 0x545843
push dword [eax]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, edi
mov dword [ebx + 0x930], eax
jne 0x5454f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateCompatibleDC_failed:__1___..Win32Desktop.cpp__632_
lea ecx, [esp + 0xd8]
mov dword [esp + 0x14], eax
call fcn.00403e35
mov dword [esp + 0x238], 1
jmp 0x545489
push 0x20
pop ecx
push ecx
call fcn.0054caea
add esp, 4
push eax
mov dword [esp + 0x14], eax
call fcn.004fed14
pop ecx
push dword [esp + 0x10]
mov edi, eax
push 0
push edi
call fcn.00522720
add esp, 0xc
push 0x7698f0
mov ecx, ebx
mov dword [edi], 0x28
call fcn.004bb12e
push 0x76990c
mov ecx, ebx
mov dword [edi + 4], eax
call fcn.004bb12e
mov dword [edi + 8], eax
mov word [edi + 0xe], 0x20
mov esi, dword [esi]
push 0xe
push dword [esi]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
movzx ecx, word [edi + 0xe]
imul ecx, dword [edi + 4]
and dword [edi + 0x10], 0
add ecx, 0x1f
sar ecx, 3
mov word [edi + 0xc], ax
mov eax, dword [edi + 8]
and ecx, 0xfffffffc
imul ecx, eax
mov dword [edi + 0x14], ecx
neg eax
lea ecx, [ebx + 0x8a8]
push ecx
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x930]
push edi
push eax
lea esi, [ebx + 0x934]
push esi
call fcn.00456324
test eax, eax
jne 0x5455c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateDIBSection_failed:__1___..Win32Desktop.cpp__650_
lea ecx, [esp + 0xd8]
mov dword [esp + 0x14], eax
call fcn.00403e35
mov dword [esp + 0x238], 2
jmp 0x545489
push dword [esi]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x930]
call edi
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebx + 0x930]
call edi
mov eax, dword [ebx + 0x930]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebx + 0x930]
push 0
push eax
sub esp, 0x10
lea esi, [esp + 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004aec7a
add esp, 0x18
push 0x272c
lea eax, [esp + 0x40]
call fcn.0054c1f5
mov dword [esp + 0x238], 3
push dword [esp + 0x44]
mov edi, dword [esp + 0x44]
push edi
xor esi, esi
push esi
lea eax, [esp + 0x6c]
push eax
call fcn.0054c6cf
mov byte [esp + 0x238], 4
mov eax, dword [esp + 0x44]
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x54]
mov dword [ecx], esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], esp
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push ecx
mov dword [esp + 0x34], edi
call fcn.0054c3cc
mov eax, dword [esp + 0x74]
mov eax, dword [eax + edi*4 - 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
shr eax, 1
add eax, 0x3b
push eax
mov esi, ebx
call fcn.005a101c
movzx ecx, byte [esp + 0x1d]
push eax
xor eax, eax
mov ah, byte [esp + 0x20]
lea esi, [esp + 0x64]
or eax, ecx
movzx ecx, byte [esp + 0x22]
shl eax, 8
or eax, ecx
push eax
call fcn.0054c224
mov eax, dword [esp + 0x44]
push 1
add eax, 0x3b
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
lea ecx, [edi + 9]
push eax
mov eax, dword [ebx + 0x930]
push ecx
mov dword [esp + 0x34], ecx
mov ecx, esp
mov dword [esp + 0x2c], 9
mov dword [esp + 0x30], 0x3b
mov dword [esp + 0x24], esp
mov dword [ecx], eax
call fcn.0054c407
lea eax, [esp + 0x9c]
push 0x2a02
push eax
call fcn.004b9340
mov esi, eax
lea eax, [esp + 0xc0]
push 0x2a00
push eax
mov byte [esp + 0x248], 5
call fcn.004b9340
push esi
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x254], 6
call fcn.00403bfd
add esp, 0x1c
push eax
lea ecx, [esp + 0x180]
mov byte [esp + 0x23c], 7
call fcn.004241ee
xor esi, esi
push esi
push 1
lea ecx, [esp + 0x28]
call fcn.00410779
push esi
push 1
lea ecx, [esp + 0xc0]
call fcn.00410779
push esi
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x240], 0xb
call fcn.00410779
lea eax, [esp + 0x80]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
add edi, 0x13
lea eax, [esp + 0x190]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0x3b
mov dword [esp + 0x6c], 0x1fe
mov dword [esp + 0x70], 0x89
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], 4
call fcn.0041e85f
add esp, 4
call fcn.0041e85f
pop ecx
mov ecx, eax
call fcn.0041f39e
cmp dword [eax + 0x18], 8
jb 0x5457f2
mov eax, dword [eax + 4]
jmp 0x5457f5
add eax, 4
mov ebx, dword [ebx + 0x930]
push 0x10
lea ecx, [esp + 0x54]
push ecx
push 0xffffffffffffffff
push eax
push ebx
call dword [0x71f718]
push esi
push 1
lea ecx, [esp + 0x88]
call fcn.00410779
lea ecx, [esp + 0x17c]
mov byte [esp + 0x238], 4
call fcn.00401441
lea ecx, [esp + 0x60]
call fcn.0043650b
lea ecx, [esp + 0x3c]
call fcn.0043652a
mov al, 1
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0051d721
mov esp, ebp
pop ebp
ret 4