Function at 0x436880
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48f130
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x34]
push ecx
xor ebp, ebp
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x88], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x436a4b
mov ecx, dword [esp + 0x2c]
push ecx
mov byte [esp + 0x84], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [esp + 0x28], edi
cmp edi, ebp
je 0x436a4b
mov edx, dword [esi + 0x48]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push edi
call ebx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push eax
push ecx
mov ecx, dword [esp + 0x24]
push ebp
push ebp
mov ebp, dword [sym.imp.GDI32.dll_StretchBlt]
push edi
push eax
mov eax, dword [esp + 0x30]
sub edx, eax
push edx
mov edx, dword [esp + 0x4c]
push ecx
push eax
push edx
call ebp
mov eax, dword [esi + 0x54]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x50]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push 0
push 0
sub ecx, eax
sub ecx, dword [esp + 0x2c]
push edi
push ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
push edx
mov edx, dword [esp + 0x38]
add eax, edx
push eax
mov eax, dword [esp + 0x50]
push ecx
push eax
call ebp
mov ecx, dword [esi + 0x884]
mov edx, dword [esi + 0x88c]
mov eax, dword [esi + 0x888]
push 3
push 0
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edx, dword [esi + 0x890]
mov eax, dword [esi + 0x88c]
lea ecx, [edx + eax + 0xa]
mov eax, dword [esi + 0x898]
mov edx, dword [esi + 0x50]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x28], edx
call ebx
mov edx, dword [esp + 0x2c]
push 1
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x89c]
push eax
lea ecx, [esp + 0x28]
call fcn.0043e1d0
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
push 0x124
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x24]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4b0010]
je 0x436a44
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x436a44
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00474543
add esp, 4
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00474468
add esp, 0x70
ret 0x10