Function at 0x436b60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x463eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x18], 0x466964
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov eax, dword [0x47a158]
mov dword [esp + 0x58], edi
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x47b828]
mov dword [esp + 0x14], eax
mov edx, dword [esi + 8]
mov ecx, dword [esi]
lea eax, [edx*4 + 4]
push eax
push ecx
call fcn.0045613a
add esp, 8
cmp eax, edi
je 0x436c1f
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esi], eax
lea eax, [edx*4 + 4]
push eax
push ecx
call fcn.0045613a
add esp, 8
cmp eax, edi
je 0x436c1f
mov ebp, dword [esi + 8]
mov dword [esi + 4], eax
inc ebp
lea edx, [esp + 0x10]
mov eax, ebp
lea ecx, [esp + 0x14]
push edx
dec eax
push ecx
push eax
mov ecx, esi
mov dword [esi + 8], ebp
call fcn.0043ac30
mov edx, dword [0x47a158]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, 1
xor esi, esi
cmp ebx, edi
je 0x436c64
push edi
push edi
push edi
lea eax, [esp + 0x40]
push edi
push eax
call ebp
test eax, eax
jne 0x436c64
mov edx, dword [esp + 0x18]
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
inc esi
call dword [edx + 4]
test eax, eax
jne 0x436c40
xor ebx, ebx
push edi
push edi
lea eax, [esp + 0x3c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x436c3c
cmp eax, edi
je 0x436ce4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call dword [edx]
test eax, eax
jne 0x436ca4
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esp + 0x38]
cmp eax, 0x118
ja 0x436ccd
je 0x436c3c
cmp eax, 0xf
je 0x436c3c
cmp eax, 0xa0
je 0x436c3c
mov ebx, 1
xor esi, esi
jmp 0x436c3c
cmp eax, 0x200
je 0x436c3c
mov ebx, 1
xor esi, esi
jmp 0x436c3c
mov ebx, dword [esp + 0x3c]
mov esi, 1
push 1
push edi
push edi
lea edx, [esp + 0x40]
push edi
push edx
call ebp
test eax, eax
je 0x436d05
mov eax, esi
inc esi
cmp eax, 0x64
jl 0x436ced
mov ecx, dword [0x47a158]
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x47b828]
push eax
call fcn.0043a9f0
mov edx, dword [0x47a158]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x436d4c
push eax
call fcn.00455176
add esp, 4
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
cmp eax, edi
mov dword [esp + 0x30], edi
je 0x436d65
push eax
call fcn.00455176
add esp, 4
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret