Function at 0x6c2780
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x834914
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push esi
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x1f8], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1fc]
add ecx, 0x3c
call fcn.0050a090
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1fc]
add ecx, 0x14
call fcn.0050a090
mov edx, dword [ebp - 0x1fc]
mov eax, dword [ebp + 0x1c]
mov dword [edx + 0x68], eax
lea ecx, [ebp - 0x8d]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00478ac0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x8e]
push edx
lea ecx, [ebp - 0x34]
call fcn.00478ac0
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push 0x951210
lea ecx, [ebp - 0xa4]
call fcn.00419730
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0x951210
lea ecx, [ebp - 0xb8]
call fcn.00419730
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x1fc]
sub ecx, 0x24
call fcn.006a07e0
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x200]
call dword [edx + 0x30]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.004b8ec0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.004b8ec0
mov eax, dword [ebp - 0x1fc]
sub eax, 0x24
push eax
push 0x6c57e0
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x1fc]
mov eax, dword [edx]
call dword [eax + 0x88]
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
mov dword [ebp - 0x208], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x208]
call fcn.00570390
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x210], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x1fc]
call fcn.00660f60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x154]
call fcn.0040e080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00433c30
push 0
push 0
push 5
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ecx + 0x5c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x10], 0x5081000d
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 0x54]
xor edx, edx
mov dl, byte [ecx + 0xcc]
test edx, edx
jne 0x6c2964
mov eax, dword [ebp - 0x10]
or ah, 0x80
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1fc]
sub ecx, 0x24
push ecx
mov edx, dword [ebp - 0x1fc]
mov eax, dword [edx + 0x54]
mov ecx, dword [eax + 0x24]
push ecx
push 0x579
mov edx, dword [ebp - 0x1fc]
mov eax, dword [edx + 0x5c]
push eax
push 0x64
push 0x64
push 0x14
push 0x14
mov ecx, dword [ebp - 0x10]
push ecx
push 0x951210
push 0x926860
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x1fc]
mov dword [edx + 0x10b4], eax
mov eax, dword [ebp - 0x1fc]
cmp dword [eax + 0x10b4], 0
jne 0x6c2a2c
lea ecx, [ebp - 0x199]
push ecx
push str.CreateWindow
lea ecx, [ebp - 0x198]
call fcn.0042b7f0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x1ad]
push edx
push str.CreateWindow_call_failed
lea ecx, [ebp - 0x1ac]
call fcn.0042b7f0
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1ac]
push ecx
push 6
lea ecx, [ebp - 0x188]
call fcn.0067a390
push 0x8d12c8
lea edx, [ebp - 0x188]
push edx
call fcn.007ac5c6
push 0
push 0
push 0x101f
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 0x10b4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x54], eax
push 0x34
call fcn.007d7320
add esp, 4
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1bc], 0
je 0x6c2a7d
push 1
mov ecx, dword [ebp - 0x1bc]
call fcn.006a8390
mov dword [ebp - 0x214], eax
jmp 0x6c2a87
mov dword [ebp - 0x214], 0
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x1b8], edx
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x1b4], esp
mov eax, dword [ebp - 0x1b8]
push eax
call fcn.00404320
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0056a370
add esp, 8
mov edx, dword [ebp - 0x1fc]
sub edx, 0x24
push edx
push 0xffffffffffffffeb
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 0x10b4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x200
push 0xffffffffffffffec
mov edx, dword [ebp - 0x1fc]
mov eax, dword [edx + 0x10b4]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x21
push 0
push 0x1036
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ecx + 0x10b4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 5
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 0x10b4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x34]
call fcn.006cd2e0
and eax, 0xff
test eax, eax
je 0x6c2b5d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00430780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00430780
jmp 0x6c2fa5
lea ecx, [ebp - 0x24]
call fcn.004413f0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x1fc]
mov eax, dword [ebp - 0x1fc]
mov edx, dword [eax]
call dword [edx + 0x80]
mov byte [ebp - 0x4d], al
lea ecx, [ebp - 0x24]
call fcn.004a0720
test eax, eax
je 0x6c2ba9
lea ecx, [ebp - 0x24]
call fcn.004a0720
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.0043b8f0
shl eax, 2
cmp esi, eax
je 0x6c2bad
mov byte [ebp - 0x4d], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
jmp 0x6c2bcf
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 4
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x34]
call fcn.0043b8f0
cmp dword [ebp - 0x48], eax
je 0x6c2d03
mov dword [ebp - 0x78], 0x78
mov edx, dword [ebp - 0x4d]
and edx, 0xff
test edx, edx
je 0x6c2c51
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x24]
call fcn.006cd280
xor ecx, ecx
mov cl, byte [eax]
mov esi, ecx
shl esi, 0x18
mov edx, dword [ebp - 0x4c]
add edx, 1
push edx
lea ecx, [ebp - 0x24]
call fcn.006cd280
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 0x10
or esi, ecx
mov edx, dword [ebp - 0x4c]
add edx, 2
push edx
lea ecx, [ebp - 0x24]
call fcn.006cd280
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 8
or esi, ecx
mov edx, dword [ebp - 0x4c]
add edx, 3
push edx
lea ecx, [ebp - 0x24]
call fcn.006cd280
xor ecx, ecx
mov cl, byte [eax]
or esi, ecx
mov dword [ebp - 0x78], esi
push 0x4b0
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.006cd300
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00418d50
add esp, 0xc
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x70], 2
cmp dword [ebp - 0x78], 0
jg 0x6c2c96
mov dword [ebp - 0x21c], 0x78
jmp 0x6c2c9f
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x6c], edx
lea ecx, [ebp - 0x8c]
call fcn.004035d0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.006cd300
add eax, 4
mov ecx, eax
call fcn.0050bb60
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 0x1061
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 0x10b4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
call fcn.004b8ec0
jmp 0x6c2bbd
mov edx, dword [ebp - 0x1fc]
cmp dword [edx + 0x68], 0
je 0x6c2f28
mov eax, dword [ebp - 0x1fc]
sub eax, 0x24
test eax, eax
je 0x6c2d2e
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x220], ecx
jmp 0x6c2d38
mov dword [ebp - 0x220], 0
mov edx, dword [ebp - 0x1fc]
mov eax, dword [edx + 0x68]
xor ecx, ecx
mov cl, byte [eax + 0x50]
test ecx, ecx
je 0x6c2e79
mov edx, dword [ebp - 0x1fc]
add edx, 0x14
test edx, edx
je 0x6c2d6c
mov eax, dword [ebp - 0x1fc]
add eax, 0x18
mov dword [ebp - 0x224], eax
jmp 0x6c2d76
mov dword [ebp - 0x224], 0
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ecx + 0x68]
add edx, 0x14
test edx, edx
je 0x6c2d9a
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 0x68]
add ecx, 0x18
mov dword [ebp - 0x228], ecx
jmp 0x6c2da4
mov dword [ebp - 0x228], 0
push 0x4b0
mov edx, dword [ebp - 0x224]
push edx
push 0x8febe0
mov eax, dword [ebp - 0x228]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.00406b50
add esp, 0xc
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x1f8]
or edx, 1
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x230]
push ecx
lea edx, [ebp - 0x1e0]
push edx
call fcn.00406890
add esp, 0xc
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x1f8]
or al, 2
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x238]
push edx
lea eax, [ebp - 0x1f4]
push eax
call fcn.0049d0a0
add esp, 0xc
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x1f8]
or ecx, 4
mov dword [ebp - 0x1f8], ecx
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], edx
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
jmp 0x6c2e88
mov ecx, dword [ebp - 0x1fc]
add ecx, 0x14
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 0x54]
call fcn.00674f60
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1f8]
and ecx, 4
test ecx, ecx
je 0x6c2eda
and dword [ebp - 0x1f8], 0xfffffffb
lea ecx, [ebp - 0x1f4]
call fcn.004b8ec0
mov dword [ebp - 4], 0xb
mov edx, dword [ebp - 0x1f8]
and edx, 2
test edx, edx
je 0x6c2f00
and dword [ebp - 0x1f8], 0xfffffffd
lea ecx, [ebp - 0x1e0]
call fcn.00403660
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x1f8]
and eax, 1
test eax, eax
je 0x6c2f26
and dword [ebp - 0x1f8], 0xfffffffe
lea ecx, [ebp - 0x1d0]
call fcn.00403660
jmp 0x6c2f70
mov ecx, dword [ebp - 0x1fc]
sub ecx, 0x24
test ecx, ecx
je 0x6c2f43
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x248], edx
jmp 0x6c2f4d
mov dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x1fc]
add ecx, 0x14
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 0x54]
call fcn.00674f60
mov ecx, dword [ebp - 0x1fc]
sub ecx, 0x24
call fcn.006b2990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0040e080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00430780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00430780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18