Function at 0x46eec0
Capabilities:
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56c070
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f5fb
cmp dword [ebx + 0x1a0], 0
je 0x46f5fb
cmp dword [ebx + 0x1a4], 0
je 0x46f5fb
mov eax, dword [ebx + 0x1a0]
test eax, eax
jne 0x46ef3b
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
mov edx, dword [ecx + 0xfc]
push eax
call edx
mov eax, dword [ebx + 0x1a0]
test eax, eax
jne 0x46ef5a
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
mov edx, dword [ecx + 0x128]
push eax
call edx
mov eax, dword [ebx + 0x1a0]
test eax, eax
jne 0x46ef79
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
mov edx, dword [ecx + 0x164]
push eax
call edx
lea esi, [ebx + 0x1cc]
call fcn.0046ff40
mov eax, dword [ebx + 0x1a4]
test eax, eax
jne 0x46efa3
push 0x80004003
call fcn.0053d640
lea ecx, [esp + 0x2c]
call fcn.00470fa0
mov dword [esp + 0x98], 0
mov eax, dword [eax]
test eax, eax
je 0x46efc1
mov eax, dword [eax]
jmp 0x46efc3
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00425130
lea edi, [esp + 0x2c]
mov byte [esp + 0x98], 2
call fcn.00422900
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jle 0x46f008
push 0x40
push eax
call fcn.00542343
add esp, 8
test eax, eax
je 0x46f008
mov ecx, dword [esp + 0x20]
sub eax, ecx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x46f02d
mov esi, dword [esp + 0x30]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46f5f2
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46f5f2
mov eax, dword [ecx - 0xc]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
sub eax, esi
push edx
call fcn.00470dd0
lea eax, [esp + 0x2c]
push eax
mov eax, esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], 4
call fcn.00421cd0
mov byte [esp + 0x98], 5
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x46f5c4
mov edx, dword [esp + 0x2c]
cmp dword [edx - 0xc], 0
je 0x46f5c4
push 0x2a
lea esi, [esp + 0x20]
call fcn.00423100
mov edi, esi
call fcn.004251e0
push ecx
lea eax, [ebx + 0x1a0]
mov ecx, esp
mov edi, 0xfff0
mov dword [esp + 0x38], esp
call fcn.00473d80
lea eax, [esp + 0x48]
push eax
call fcn.00470d40
lea esi, [ebx + 0x1b4]
mov byte [esp + 0x98], 7
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x24], 0
je 0x46f402
lea edi, [esp + 0x14]
call fcn.0046fa50
mov edi, dword [esp + 0x24]
mov byte [esp + 0x98], 8
call fcn.00411060
cmp dword [eax + 0x18], 8
jb 0x46f10a
mov eax, dword [eax + 4]
jmp 0x46f10d
add eax, 4
mov edx, eax
lea eax, [esp + 0x14]
call fcn.0040eec0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov eax, edi
call fcn.00470500
test eax, eax
setne al
test al, al
jne 0x46f148
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 7
call fcn.00425530
jmp 0x46f3ad
mov esi, dword [esi - 0xc]
mov eax, dword [edi - 0xc]
inc esi
cmp esi, eax
jne 0x46f181
push 0x2a
lea esi, [esp + 0x18]
call fcn.00423100
lea eax, [esp + 0x1c]
mov edx, esi
call fcn.0040f0b0
test al, al
je 0x46f181
mov ecx, esi
mov byte [esp + 0x98], 7
call fcn.00425530
jmp 0x46f3ad
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
mov esi, 0x58f000
call fcn.004236c0
add esp, 8
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x24]
add esi, 0x1b4
mov byte [esp + 0x98], 9
call fcn.00411060
cmp dword [eax + 0x18], 8
jb 0x46f1bf
mov eax, dword [eax + 4]
jmp 0x46f1c2
add eax, 4
lea ecx, [esp + 0x28]
push ebx
push ecx
mov esi, eax
call fcn.004236c0
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 0xb
call fcn.00425530
mov edx, dword [esp + 0x28]
cmp dword [edx - 0xc], 0x3c
jg 0x46f390
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x1dc]
sub ecx, dword [ebx + 0x1d8]
mov eax, dword [ebp + 8]
add ebx, 0x1cc
sar ecx, 3
cmp dword [eax + 0x1b0], ecx
jle 0x46f3e5
push ecx
add eax, 0x19c
mov esi, esp
mov edi, 0x7d0
mov dword [esp + 0x3c], esp
call fcn.0048ac70
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.00492fb0
add esp, 4
mov byte [esp + 0x98], 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46f37c
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], esp
test eax, eax
je 0x46f269
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x28]
add esi, 0x1b4
call fcn.00411060
cmp dword [eax + 0x18], 8
jb 0x46f286
mov eax, dword [eax + 4]
jmp 0x46f289
add eax, 4
lea esi, [esp + 0x50]
call fcn.004705c0
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
mov byte [esp + 0x9c], 0xd
call fcn.004705f0
lea edx, [esp + 0x3c]
push edx
mov edi, ebx
mov byte [esp + 0x9c], 0xe
call fcn.0046fec0
lea esi, [esp + 0x3c]
call fcn.0046f620
mov byte [esp + 0x98], 0xc
mov eax, dword [esp + 0x50]
test eax, eax
je 0x46f2de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov esi, 0x7d1
mov dword [esp + 0x44], esp
test eax, eax
je 0x46f307
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.0048ce40
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x46ef31
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0
push 0x10000000
push eax
call edx
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
test eax, 0xfffffff8
je 0x46f35b
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x18]
sar eax, 3
test ecx, ecx
je 0x46ef31
mov edx, dword [ecx]
dec eax
push eax
mov eax, dword [edx + 0xc0]
push ecx
call eax
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x18]
add eax, 0x1a0
call fcn.00473640
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf4]
push esi
push eax
call edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x98], 0xb
test eax, eax
je 0x46f390
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x28]
call fcn.00425530
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 7
call fcn.00425530
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x1c4]
sub ecx, dword [ebx + 0x1c0]
mov edi, dword [esp + 0x24]
lea esi, [ebx + 0x1b4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
mov dword [esp + 0x24], edi
cmp edi, eax
jb 0x46f0e5
jmp 0x46f402
lea ecx, [esp + 0x28]
call fcn.00425530
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 7
call fcn.00425530
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1a0]
lea esi, [ebx + 0x1a0]
test eax, eax
jne 0x46f41c
push 0x80004003
call fcn.0053d640
call fcn.00470ef0
test eax, eax
jne 0x46f458
mov esi, dword [esp + 0x30]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46f441
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x9c], 5
call fcn.00470cd0
jmp 0x46f5e0
mov eax, dword [ebx + 0x1a4]
test eax, eax
jne 0x46f46c
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x70]
push edx
call edi
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
push eax
mov eax, dword [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov dword [ecx], eax
test eax, eax
je 0x46f4ab
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx]
push eax
call fcn.0046e9f0
mov eax, dword [esi]
add esp, 0xc
test eax, eax
jne 0x46f4ca
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x80]
push edx
call edi
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x46f527
mov eax, dword [eax]
cmp eax, 0x64
je 0x46f527
push 0x64
push eax
push 3
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46f52c
mov esi, 3
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
lea ecx, [esp + 0x5c]
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
mov ecx, dword [ebx]
add eax, dword [esp + 0x60]
lea edx, [esi + esi]
sub edx, dword [esp + 0x7c]
add eax, esi
add edx, dword [esp + 0x84]
push ecx
add edx, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x5c]
lea edi, [esp + 0x34]
call fcn.00470ca0
push 0x14
push 0
push ebx
lea eax, [esp + 0x68]
call fcn.00470c70
mov edx, dword [ebx]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46f5b0
mov eax, dword [ebx]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x9c], 5
call fcn.00470cd0
jmp 0x46f5e0
mov esi, dword [esp + 0x30]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46f5e0
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x2c]
call fcn.00425530
lea ecx, [esp + 0x1c]
call fcn.00425530
lea ecx, [esp + 0x20]
call fcn.00425530
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4