Function at 0x40c140
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4422f0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4501a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x453e44]
push eax
push 0x453e4c
push 0x453f14
call fcn.0041eb30
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
push 0xfffffffffffffff0
mov ecx, edi
call eax
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
call ebx
mov edx, dword [edi]
and eax, 0x7f30ff7f
or eax, 0xa0000
push eax
mov eax, dword [edx + 0x34]
push 0xfffffffffffffff0
mov ecx, edi
call eax
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push eax
call esi
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
push 0xffffffffffffffec
mov ecx, edi
call eax
push eax
call ebx
and eax, 0xfffffe7e
or eax, 0x80000
cmp dword [0x4543c8], 1
jne 0x40c1db
or eax, 8
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x34]
push 0xffffffffffffffec
mov ecx, edi
call eax
push eax
call esi
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
push 1
push 0
push 0xff80ff
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [0x453e44]
mov ebx, dword [sym.imp.USER32.dll_LoadBitmapW]
push 0x88
push ecx
lea esi, [edi + 0x38]
call ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x40c257
xor ecx, ecx
lea edx, [esp + 0x14]
push edx
push 0x18
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
xor ecx, ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], ebp
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push esi
mov ecx, edi
call edx
mov eax, dword [0x453e44]
push 0x87
push eax
lea esi, [edi + 0x90]
call ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x40c2e5
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0x324
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x20], 0x33c
mov dword [esp + 0x24], 0x29
call edx
mov ebp, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push 0
call ebp
mov dword [edi + 0xa8], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push esi
mov ecx, edi
mov byte [edi + 0xb8], 1
call edx
mov eax, dword [0x453e44]
push 0x86
push eax
lea esi, [edi + 0x64]
call ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x40c386
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0x344
mov dword [esp + 0x1c], 0x19
mov dword [esp + 0x20], 0x35d
mov dword [esp + 0x24], 0x2a
call edx
push 0x7f89
push 0
call ebp
mov dword [edi + 0x7c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push esi
mov ecx, edi
mov byte [edi + 0x8c], 1
call edx
mov eax, dword [0x453e44]
push 0x99
push eax
lea esi, [edi + 0xbc]
call ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x40c421
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0x9c
mov dword [esp + 0x1c], 0x3b
mov dword [esp + 0x20], 0xe8
mov dword [esp + 0x24], 0x51
call edx
push 0x7f89
push 0
call ebp
mov dword [edi + 0xd4], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push esi
mov ecx, edi
mov byte [edi + 0xe4], 1
call edx
mov eax, dword [0x453e44]
push 0x9a
push eax
lea esi, [edi + 0xe8]
call ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x40c4bf
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0x105
mov dword [esp + 0x1c], 0x3b
mov dword [esp + 0x20], 0x151
mov dword [esp + 0x24], 0x51
call edx
push 0x7f89
push 0
call ebp
mov dword [edi + 0x100], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push esi
mov ecx, edi
mov byte [edi + 0x110], 1
call edx
mov eax, dword [0x453e44]
push 0x98
push eax
lea esi, [edi + 0x114]
call ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x40c55d
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0x310
mov dword [esp + 0x1c], 0x3b
mov dword [esp + 0x20], 0x35c
mov dword [esp + 0x24], 0x51
call edx
push 0x7f89
push 0
call ebp
mov dword [edi + 0x12c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push esi
mov ecx, edi
mov byte [edi + 0x13c], 1
call edx
mov eax, dword [0x453e44]
push 0x9b
push eax
lea esi, [edi + 0x140]
call ebx
xor ebx, ebx
mov dword [esi + 0x24], eax
cmp eax, ebx
je 0x40c5fd
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0x2a2
mov dword [esp + 0x1c], 0x3b
mov dword [esp + 0x20], 0x2ee
mov dword [esp + 0x24], 0x51
call edx
push 0x7f89
push ebx
call ebp
mov dword [edi + 0x158], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push esi
mov ecx, edi
mov byte [edi + 0x168], 1
call edx
xor eax, eax
mov word [esp + 0x40], ax
push 0xb
mov eax, str.about:blank
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
call fcn.00403f90
mov dword [esp + 0x80], ebx
mov edx, dword [edi]
mov eax, 0xffffff9c
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, 0xffffffce
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x34]
mov ecx, edi
lea ebx, [edi + 0x16c]
call eax
push eax
push ebx
mov ecx, esi
lea edx, [esp + 0x1c]
call fcn.0041e1d0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x40c6c9
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004266b0
add esp, 4
push edi
lea edx, [edi + 0x1c8]
push edx
call fcn.0040d3c0
lea esi, [esp + 0x58]
call fcn.0040fb80
mov ecx, eax
mov edx, ebx
mov dword [esp + 0x80], 1
call fcn.00401260
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x40c712
mov eax, dword [esp + 0x5c]
push eax
call fcn.004266b0
add esp, 4
xor ecx, ecx
push ebx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], cx
call fcn.00401460
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
mov ebx, dword [edi + 0x214]
lea esi, [edi + 0x214]
mov ecx, edi
mov dword [esp + 0x2c], 0x160
mov dword [esp + 0x30], 0x138
mov dword [esp + 0x34], 0x2a0
mov dword [esp + 0x38], 0x152
call eax
mov edx, dword [ebx + 0x20]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0
push 0xffff
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0
push 1
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push 0
push 0x1a
mov ecx, esi
call edx
push 0x7f89
push 0
call ebp
mov dword [edi + 0x22c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push esi
mov ecx, edi
call edx
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret