Function at 0x40cda0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4438e0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x455dc4]
push eax
push 0x455dcc
push 0x455e94
call fcn.0041ffb0
mov edx, dword [ebp]
mov eax, dword [edx + 0x48]
push 0xfffffffffffffff0
mov ecx, ebp
call eax
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
call esi
mov edx, dword [ebp]
and eax, 0x7f30ff7f
or eax, 0xa0000
push eax
mov eax, dword [edx + 0x48]
push 0xfffffffffffffff0
mov ecx, ebp
call eax
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push eax
call edi
mov edx, dword [ebp]
mov eax, dword [edx + 0x48]
push 0xffffffffffffffec
mov ecx, ebp
call eax
push eax
call esi
and eax, 0xfffffe7e
or eax, 0x80000
cmp dword [0x456b54], 1
jne 0x40ce3e
or eax, 8
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x48]
push 0xffffffffffffffec
mov ecx, ebp
call eax
push eax
call edi
mov edx, dword [ebp]
mov eax, dword [edx + 0x48]
push 1
xor ebx, ebx
push ebx
push 0xff80ff
mov ecx, ebp
call eax
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [0x455dc4]
push 0x88
push ecx
lea esi, [ebp + 0x90]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esi + 0x78], eax
cmp eax, ebx
je 0x40cebe
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 + 0x70], eax
mov dword [esi + 0x74], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x24], 0x2bc
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
call edx
mov edi, dword [0x455dc4]
push 0xa9
lea esi, [ebp + 0x220]
push 0xa9
mov eax, 0x87
call fcn.0041fd40
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x36d
mov dword [esp + 0x1c], 0xf2
mov dword [esp + 0x20], 0x395
mov dword [esp + 0x24], 0x11a
call edx
push 0x7f89
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
call ebx
mov dword [ebp + 0x238], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x300], 1
call edx
mov edi, dword [0x455dc4]
push 0xa8
lea esi, [ebp + 0x110]
push 0xa8
mov eax, 0x86
call fcn.0041fd40
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x33f
mov dword [esp + 0x1c], 0xe7
mov dword [esp + 0x20], 0x36c
mov dword [esp + 0x24], 0x112
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x128], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x1f0], 1
call edx
mov edi, dword [0x455dc4]
push 0xb0
lea esi, [ebp + 0x330]
push 0xb0
mov eax, 0xac
call fcn.0041fd40
mov eax, dword [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0xac
mov dword [esp + 0x18], 0x11c
mov dword [esp + 0x1c], 0x12e
mov dword [esp + 0x20], 0x13f
push ecx
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x348], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x410], 1
call edx
mov edi, dword [0x455dc4]
push 0xb1
lea esi, [ebp + 0x550]
push 0xb1
mov eax, 0xad
call fcn.0041fd40
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x12e
mov dword [esp + 0x1c], 0x11b
mov dword [esp + 0x20], 0x1b8
mov dword [esp + 0x24], 0x13e
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x568], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x630], 1
call edx
mov edi, dword [0x455dc4]
push 0xb2
lea esi, [ebp + 0x440]
push 0xb2
mov eax, 0xae
call fcn.0041fd40
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x256
mov dword [esp + 0x1c], 0x11b
mov dword [esp + 0x20], 0x2dc
mov dword [esp + 0x24], 0x13f
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x458], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x520], 1
call edx
mov edi, dword [0x455dc4]
push 0xaf
lea esi, [ebp + 0x660]
push 0xaf
mov eax, 0xab
call fcn.0041fd40
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x2dc
mov dword [esp + 0x1c], 0x11b
mov dword [esp + 0x20], 0x363
mov dword [esp + 0x24], 0x13f
call edx
push 0x7f89
xor edi, edi
push edi
call ebx
mov dword [ebp + 0x678], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x740], 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], edi
call fcn.004050f0
mov dword [esp + 0x80], edi
mov edx, dword [ebp]
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 + 0x48]
mov ecx, ebp
lea edi, [ebp + 0x880]
call eax
push eax
push edi
mov ecx, esi
lea edx, [esp + 0x1c]
call fcn.0041eef0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x40d20f
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00427f9c
add esp, 4
push ebp
lea edx, [ebp + 0x8dc]
push edx
call fcn.0040df30
lea esi, [esp + 0x58]
call fcn.004109e0
mov ecx, eax
mov edx, edi
mov dword [esp + 0x80], 1
call fcn.00402420
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x40d258
mov eax, dword [esp + 0x5c]
push eax
call fcn.00427f9c
add esp, 4
xor ecx, ecx
push edi
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], cx
call fcn.00402620
mov edx, dword [ebp]
mov eax, dword [edx + 0x48]
mov edi, dword [ebp + 0x928]
lea esi, [ebp + 0x928]
mov ecx, ebp
mov dword [esp + 0x2c], 0x167
mov dword [esp + 0x30], 0x1bd
mov dword [esp + 0x34], 0x2a7
mov dword [esp + 0x38], 0x1d7
call eax
mov edx, dword [edi + 0x24]
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 + 0x3c]
push 0
push 0xffff
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push 0
push 1
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 1
push 0
push 0x1a
mov ecx, esi
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x940], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
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