Function at 0x420ec0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x568488
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c96a4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
movzx esi, ax
shr eax, 0x10
mov edi, ecx
cmp eax, 0x300
jne 0x421046
cmp dword [edi + 0xb18], 3
jne 0x421046
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00448211
mov ecx, dword [edi + 0xa30]
cmp eax, ecx
jne 0x421046
call fcn.0044b83a
cmp esi, eax
jne 0x421046
mov ecx, dword [edi + 0xa30]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0043a8c0
test eax, eax
je 0x421037
mov ebp, dword [esp + 0x18]
xor eax, eax
lea esi, [edi + 0xa3c]
mov word [esi], ax
mov eax, dword [edi + 0xb24]
cmp eax, 0xffffffff
je 0x420fa5
cmp ebp, eax
jae 0x420fa5
mov ecx, dword [edi + 0xb28]
push ecx
push eax
mov ecx, 0x5e184c
call fcn.00403490
push eax
push str._s___d____d
push 0x63
push 0x64
push esi
call fcn.005403d0
add esp, 0x1c
mov eax, dword [edi + 0xb28]
cmp eax, 0xffffffff
je 0x421037
cmp ebp, eax
jbe 0x421037
mov edx, dword [edi + 0xb24]
push eax
push edx
mov ecx, 0x5e184c
call fcn.00403490
push eax
push str._s____d____d
push 0x63
push 0x64
push esi
call fcn.005403d0
mov eax, dword [edi + 0xb28]
push eax
push 0x598da0
push 0x13
lea ecx, [esp + 0x44]
push 0x14
push ecx
call fcn.005403d0
mov ecx, dword [edi + 0xa30]
add esp, 0x30
lea edx, [esp + 0x1c]
push edx
call fcn.0044b7f3
mov esi, dword [edi + 0xa30]
mov eax, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff
push 0xffff
push 0xb1
push eax
call ebp
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call ebp
mov eax, dword [edi + 0x20]
push 1
lea edx, [edi + 0xb04]
push edx
push eax
call ebx
call fcn.00441f5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x421060
push 0x80004005
call fcn.00403c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [edi + 0x84]
mov dword [esp + 0x50], 0
test eax, eax
je 0x421085
mov eax, dword [eax + 0x20]
mov ebp, dword [esp + 0x5c]
cmp ebp, eax
je 0x4212de
lea eax, [edi + 0x344]
test eax, eax
je 0x42109e
mov eax, dword [eax + 0x20]
cmp ebp, eax
je 0x4212de
lea eax, [edi + 0x1e4]
test eax, eax
je 0x4210b3
mov eax, dword [eax + 0x20]
cmp ebp, eax
jne 0x421204
mov eax, dword [edi + 0xb18]
cmp eax, 3
jne 0x421167
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 0xa30]
call fcn.004498fb
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
jle 0x4210f5
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00403ad0
mov eax, dword [esp + 0x14]
push eax
call fcn.00540c76
mov ecx, dword [edi + 0xb24]
add esp, 4
mov dword [edi + 0xb3c], eax
cmp eax, ecx
jb 0x42111a
cmp eax, dword [edi + 0xb28]
jbe 0x4211f3
mov eax, dword [edi + 0xb28]
push eax
push ecx
mov ecx, 0x5e184c
call fcn.00403490
push eax
push str._s___d____d
push 0x63
lea ecx, [edi + 0xa3c]
push 0x64
push ecx
call fcn.005403d0
mov eax, dword [edi + 0x20]
add esp, 0x1c
push 1
lea edx, [edi + 0xb04]
push edx
push eax
call ebx
lea ecx, [esp + 0x14]
call fcn.0041a0e0
mov eax, 1
jmp 0x42132d
cmp eax, 2
jne 0x4211a5
mov ecx, dword [edi + 0xa30]
lea esi, [edi + 0xb38]
push esi
call fcn.004498fb
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jg 0x4211f3
mov edx, dword [edi]
mov eax, dword [edx + 0x15c]
mov ecx, edi
call eax
lea ecx, [esp + 0x14]
call fcn.0041a0e0
mov eax, 1
jmp 0x42132d
cmp eax, 4
jne 0x4211f3
cmp dword [edi + 0xb34], 0
je 0x4211f3
cmp dword [edi + 0x548], 0
je 0x4211c3
or byte [edi + 0xb40], 1
cmp dword [edi + 0x6a8], 0
je 0x4211d3
or byte [edi + 0xb40], 2
cmp dword [edi + 0x808], 0
je 0x4211e3
or byte [edi + 0xb40], 4
cmp dword [edi + 0x968], 0
je 0x4211f3
or byte [edi + 0xb40], 8
mov edx, dword [edi]
mov eax, dword [edx + 0x158]
mov ecx, edi
call eax
jmp 0x4212f4
lea eax, [edi + 0x4a4]
test eax, eax
je 0x42123c
cmp dword [eax + 0x20], 0
je 0x42123c
test eax, eax
jne 0x42121c
xor ecx, ecx
jmp 0x42121f
mov ecx, dword [eax + 0x20]
cmp ebp, ecx
jne 0x42123c
mov ecx, dword [edi + 0x548]
xor edx, edx
test ecx, ecx
sete dl
mov ecx, edx
call fcn.00431380
jmp 0x4212f4
lea eax, [edi + 0x604]
test eax, eax
je 0x421274
cmp dword [eax + 0x20], 0
je 0x421274
test eax, eax
jne 0x421254
xor ecx, ecx
jmp 0x421257
mov ecx, dword [eax + 0x20]
cmp ebp, ecx
jne 0x421274
mov ecx, dword [edi + 0x6a8]
xor edx, edx
test ecx, ecx
sete dl
mov ecx, edx
call fcn.00431380
jmp 0x4212f4
lea eax, [edi + 0x764]
test eax, eax
je 0x4212a9
cmp dword [eax + 0x20], 0
je 0x4212a9
test eax, eax
jne 0x42128c
xor ecx, ecx
jmp 0x42128f
mov ecx, dword [eax + 0x20]
cmp ebp, ecx
jne 0x4212a9
mov ecx, dword [edi + 0x808]
xor edx, edx
test ecx, ecx
sete dl
mov ecx, edx
call fcn.00431380
jmp 0x4212f4
lea eax, [edi + 0x8c4]
test eax, eax
je 0x4212f4
cmp dword [eax + 0x20], 0
je 0x4212f4
test eax, eax
jne 0x4212c1
xor ecx, ecx
jmp 0x4212c4
mov ecx, dword [eax + 0x20]
cmp ebp, ecx
jne 0x4212f4
mov ecx, dword [edi + 0x968]
xor edx, edx
test ecx, ecx
sete dl
mov ecx, edx
call fcn.00431380
jmp 0x4212f4
mov eax, dword [edi]
mov edx, dword [eax + 0x15c]
mov ecx, edi
mov dword [edi + 0xb3c], 0
call edx
mov eax, dword [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.00449a58
mov esi, eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42132b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x40
ret 8