Function at 0x420330
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44b570
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
push str.32770
lea ecx, [esp + 0x1c]
call fcn.00404d30
lea eax, [esp + 0x18]
push eax
xor edi, edi
push esi
mov dword [esp + 0x88], edi
call fcn.00420ed0
add esp, 8
test al, al
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4203ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x42045b
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410850
push esi
mov dword [esp + 0x84], 1
call fcn.004267a3
push str.DirectUIHWND
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00404d30
lea edx, [esp + 0x18]
push edx
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 2
call fcn.00420f90
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420423
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 4
je 0x420471
cmp eax, edi
je 0x420442
push eax
call fcn.0042123b
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.0042123b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
push str.Button
lea ecx, [esp + 0x1c]
call fcn.00404d30
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 3
call fcn.00420f90
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4204c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub eax, ecx
sar eax, 2
xor bl, bl
cmp eax, 4
jne 0x42053b
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
xor esi, esi
lea edi, [esp + 0x34]
cmp esi, eax
jb 0x4204ee
call fcn.0042f0b7
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + esi*4]
push ecx
call fcn.004267a3
mov edx, dword [eax + 0x20]
push edi
push edx
call ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub eax, ecx
inc esi
sar eax, 2
add edi, 0x10
cmp esi, eax
jb 0x4204ee
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x34], eax
jne 0x420537
cmp eax, dword [esp + 0x54]
jne 0x420537
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x3c], eax
jne 0x420537
cmp eax, dword [esp + 0x5c]
jne 0x420537
mov bl, 1
jmp 0x420539
xor bl, bl
xor edi, edi
cmp ecx, edi
je 0x420548
push ecx
call fcn.0042123b
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.0042123b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret