Function at 0x471d40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4838
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4e24e0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
lea esi, [ebx + 0x30]
push 0xfffffffffffffff0
push eax
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x2c400
cmp eax, ecx
je 0x471d9a
push ecx
mov ecx, dword [esi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [0x4e76b0]
push 0
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x80
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, dword [esi]
push eax
push 1
push 0x80
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_DisableProcessWindowsGhosting]
mov edi, 0x4e9da8
call fcn.0048d3c0
mov esi, dword [esi]
lea eax, [ebx + 0xf0]
mov dword [eax], esi
mov esi, eax
call fcn.004997e0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
push eax
call fcn.0049ba70
call fcn.0049baf0
call fcn.004781d0
push ebx
call fcn.00471610
push ebx
call fcn.004710a0
mov eax, ebx
call fcn.0046f7d0
push ebx
call fcn.0046f510
mov ecx, dword [esi]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebx
call fcn.0046fc40
lea eax, [esp + 0x14]
push eax
call fcn.004709d0
lea edi, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.0046fac0
mov byte [esp + 0x40], 1
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
je 0x471e8d
push 5
push str.tab
lea edx, [esp + 0x1c]
push edx
call fcn.00410d00
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00410d00
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x2c]
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [esp + 0x28], esp
lea edi, [ebx + 0x58]
push edx
mov esi, edi
call fcn.0042f820
mov eax, dword [ebx + 0x7c]
mov ecx, dword [eax + 4]
lea esi, [ebx + 0x7c]
push esi
call ecx
mov eax, dword [ebx + 0x170]
mov dword [ebx + 0xbc], eax
test edi, edi
je 0x471ed8
lea eax, [ebx + 0xa8]
jmp 0x471eda
xor eax, eax
push eax
lea ecx, [ebx + 0x5c]
call fcn.0042f690
mov eax, dword [ebx + 0xb0]
mov edx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [edx + 0xf0]
call eax
mov ecx, dword [edi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [edi + 4]
push 0
push 0x7530
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0042fa00
mov eax, dword [ebx + 0xb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x100]
push 0
push eax
call edx
mov eax, dword [ebx + 0xb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf8]
push 0
push eax
call edx
mov ebx, dword [ebx + 0xb0]
mov eax, dword [ebx]
mov ecx, dword [eax + 0xf0]
push 0xffffffffffffffff
push ebx
call ecx
test byte [0x4ebbb4], 1
mov edi, 0x60
jne 0x471f99
or dword [0x4ebbb4], 1
mov dword [0x4ebbb8], 0x64
mov dword [0x4ebbbc], edi
mov dword [0x4ebbc0], edi
mov byte [0x4ebbc4], 0
call fcn.0048eb90
test al, al
jne 0x471f99
call fcn.00417ff0
cmp byte [0x4ebbc4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, dword [0x4ebbb8]
je 0x471fc0
cmp eax, 0x64
je 0x471fc0
push 0x64
push eax
push 0x1f6
call ebx
mov esi, eax
jmp 0x471fc5
mov esi, 0x1f6
test byte [0x4ebbb4], 1
jne 0x472000
or dword [0x4ebbb4], 1
mov dword [0x4ebbb8], 0x64
mov dword [0x4ebbbc], edi
mov dword [0x4ebbc0], edi
mov byte [0x4ebbc4], 0
call fcn.0048eb90
test al, al
jne 0x472000
call fcn.00417ff0
cmp byte [0x4ebbc4], 0
je 0x47201f
mov eax, dword [0x4ebbb8]
cmp eax, 0x64
je 0x47201f
push 0x64
push eax
push 0x296
call ebx
jmp 0x472024
mov eax, 0x296
push 1
push esi
mov esi, dword [esp + 0x24]
mov edx, dword [esi]
push eax
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
call fcn.0041a0f0
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call edi
mov eax, dword [esi]
push 0x43
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
call edi
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47209e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 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 0x4720c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4