Function at 0x435650
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52e47a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x585698]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx - 0xc]
mov esi, dword [ebx + 0x30]
mov edi, dword [ebx + 0x50]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi - 0xc]
neg ecx
sbb ecx, ecx
and edi, 0xfffffffe
and ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], 1
test edi, 4
je 0x4356c9
and dword [esp + 0x14], 0
mov eax, dword [ebx + 0x28]
lea edx, [ebx + 0x74]
push edx
mov edx, dword [esp + 0x28]
lea esi, [ebx + 0x70]
push esi
push dword [esp + 0x1c]
lea ecx, [ebx + 0x38]
push dword [esp + 0x28]
push edi
push eax
call fcn.00434eab
add esp, 0x18
cmp eax, 1
jne 0x4357e3
test byte [esp + 0x2c], 2
je 0x435734
push 0xa
pop ecx
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push eax
push dword [ebx + 0x38]
mov dword [esp + 0x38], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [esp + 0x38], 2
jne 0x4357b9
push 9
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x58]
push eax
mov byte [ebx + 0x48], 0
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [ebx + 0x78]
mov dword [esp + 0x68], 1
push dword [edi + 0x10]
lea esi, [esp + 0x18]
call fcn.00480d46
lea edi, [ebx + 0x78]
push dword [edi + 0xc]
lea esi, [esp + 0x20]
call fcn.00480d46
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
test eax, eax
je 0x435786
cmp eax, dword [esp + 0x14]
je 0x43578b
call fcn.004f2996
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x18]
je 0x43590f
lea esi, [esp + 0x24]
call fcn.00467597
mov esi, eax
cmp dword [esi + 0x20], 0x10
mov ecx, dword [esi + 0x1c]
jb 0x435864
mov eax, dword [esi + 0xc]
jmp 0x435867
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x435734
push eax
push 0x1f4
push 0x64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x44], eax
jmp 0x435925
xor edi, edi
cmp eax, edi
jne 0x435925
lea eax, [ebx + 0x58]
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x68], edi
mov eax, dword [ebx + 0x40]
cmp dword [ebx + 0x54], eax
lea ecx, [eax + 1]
mov dword [ebx + 0x40], ecx
jle 0x435826
push edi
push 0x1f4
push 0x64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x44], eax
jmp 0x43591b
lea eax, [ebx + 0x78]
mov dword [ebx + 0x44], edi
call fcn.00435a12
push dword [ebx + 0x3c]
mov byte [ebx + 0x48], 0
mov dword [esi], 3
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43591b
push dword [ebx + 0x74]
push dword [esi]
push 0x4cc
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x43591b
lea eax, [esi + 0xc]
mov edi, dword [ebx + 0x38]
push 0
push 0xbb8
push ecx
push eax
push dword [esi + 4]
call fcn.0043bf4b
add esp, 0x14
test eax, eax
jne 0x4358be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x74], eax
cmp eax, 0x5b4
jne 0x4358cc
cmp dword [esi + 0x20], 0x10
mov ecx, dword [esi + 0x1c]
jb 0x4358a0
mov eax, dword [esi + 0xc]
jmp 0x4358a3
lea eax, [esi + 0xc]
mov edi, dword [ebx + 0x38]
push 0
push 0x1770
push ecx
push eax
push dword [esi + 4]
call fcn.0043bf4b
add esp, 0x14
test eax, eax
je 0x4358cc
push dword [esi + 4]
mov eax, dword [ebx]
push dword [esi]
mov ecx, ebx
call dword [eax + 0x14]
jmp 0x4358fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx + 0x3c]
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x70], 0x69
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4358fd
push dword [ebx + 0x74]
push dword [ebx + 0x70]
push 0x4cc
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_PostMessageW]
lea esi, [esp + 0x24]
call fcn.00435a81
mov eax, dword [esp + 0x24]
jmp 0x43577c
lea eax, [ebx + 0x78]
call fcn.00435a12
and dword [ebx + 0x44], 0
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4