Function at 0x10052a90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
mov dword [esi + 0x11c], esp
mov dword [esi + 0x128], 0xffffffff
mov dword [esi + 0x124], 0x10054fe0
lea eax, [esi + 0x120]
mov ecx, dword fs:[0]
mov dword [esi + 0x120], ecx
mov dword fs:[0], eax
mov eax, dword [0x1015f8d8]
mov eax, dword [eax]
cmp eax, 4
jbe 0x10052b41
mov dword [esi + 0x88], 0x1011b710
mov dword [esi + 0x8c], 1
mov dword [esi + 0x90], 0
mov dword [esi + 0x98], 0x1011b060
mov dword [esi + 0x9c], 0
mov byte [esi + 7], 1
mov dword [esi + 0x128], 0
sub esp, 4
lea eax, [esi + 0x88]
push 0
push 0x1011b718
push 5
push eax
call fcn.10090f60
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [esi + 7], 1
mov dword [esi + 0x128], 0
lea eax, [esi + 0x88]
push ecx
push eax
call fcn.1006f440
add esp, 8
cmp dword [esi + 0x88], 0
jne 0x1005331a
mov eax, dword [esi + 0xb4]
mov dword [esi + 0x34], 0
lea edx, [esi + 0x34]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xb8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov byte [esi + 0x18], 1
mov dword [esi + 0x128], 1
push edx
push 0x1011d168
push eax
call ecx
mov edx, dword [esi + 0x34]
test eax, eax
mov dword [esi + 0x88], edx
js 0x10053358
test edx, edx
je 0x10053399
mov eax, dword [esi + 8]
mov dword [esi + 0x88], 0
mov dword [esi + 0x28], edx
mov dword [esi + 0x68], 0
lea ecx, [esi + 0x68]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 1
mov dword [esi + 0x94], 0
mov eax, dword [edx]
mov eax, dword [eax + 0x38]
mov byte [esi + 0x19], 1
mov dword [esi + 0x128], 4
push ecx
push 0x1011caac
lea ecx, [esi + 0x88]
push ecx
push edx
call eax
mov ecx, dword [esi + 0x68]
test eax, eax
mov dword [esi + 0x34], ecx
js 0x100533e8
test ecx, ecx
je 0x10053426
mov eax, dword [esi + 0x28]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x34], 0
lea edx, [esi + 0x34]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x24]
mov byte [esi + 0x1a], 1
mov dword [esi + 0x128], 7
push edx
push 0x1011cabc
push 0
push eax
call ecx
mov ecx, dword [esi + 0x34]
test eax, eax
mov dword [esi + 0x88], ecx
js 0x1005346c
test ecx, ecx
je 0x100534ad
mov dword [esi + 0x60], ecx
mov byte [esi + 0x16], 1
mov byte [esi + 0x17], 1
mov dword [esi + 0x128], 9
lea eax, [esi + 0x60]
lea ecx, [esi + 0x28]
push 0
push eax
push 0
push 0
push ecx
lea eax, [esi + 0x88]
push eax
call fcn.1005a1a0
add esp, 0x18
cmp dword [esi + 0x88], 0
jne 0x100534fc
mov eax, dword [esi + 0x8c]
mov byte [esi + 5], 1
mov byte [esi + 6], 0
mov dword [esi + 0x128], 0xa
mov dword [esi + 0x30], eax
lea eax, [esi + 0x30]
push eax
lea eax, [esi + 0x88]
push eax
call fcn.1006f850
add esp, 8
cmp dword [esi + 0x88], 0
jne 0x1005353a
mov byte [esi + 5], 1
mov byte [esi + 6], 0
push 0x15
push str.hudhook_Command_List
call fcn.10064c60
add esp, 8
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
mov byte [esi + 5], 1
mov byte [esi + 6], 0
push eax
push ecx
call edx
test eax, eax
js 0x10053578
mov eax, dword [esi + 8]
mov dword [esi + 0x88], 2
mov dword [esi + 0x68], 0
lea edx, [esi + 0x68]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 1
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x38]
mov byte [esi + 0x1b], 1
mov dword [esi + 0x128], 0xb
push edx
push 0x1011caac
lea edx, [esi + 0x88]
push edx
push eax
call ecx
mov ecx, dword [esi + 0x68]
test eax, eax
mov dword [esi + 0x34], ecx
js 0x100535b7
test ecx, ecx
je 0x100535f5
mov dword [esi + 0x64], ecx
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], 0
mov dword [esi + 0x128], 0xd
push 2
lea eax, [esi + 0x28]
push eax
call fcn.1006f7f0
add esp, 8
mov dword [esi + 0xfc], eax
lea eax, [esi + 0x64]
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], 0
push eax
call fcn.1006f7a0
add esp, 4
mov dword [esi + 0x84], eax
mov eax, dword [0x1015f8d8]
mov eax, dword [eax]
cmp eax, 4
jbe 0x10052e44
lea eax, [esi + 0x84]
mov dword [esi + 0x88], 0x1011b814
mov dword [esi + 0x8c], 1
mov dword [esi + 0x90], 0
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], 0
mov dword [esi + 0x34], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x38], fcn.100b6590
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], 1
sub esp, 4
push 0
push 0x1011b81c
push 5
lea eax, [esi + 0x88]
push eax
call fcn.10090f60
add esp, 0x14
mov eax, dword [esi + 8]
mov dword [esi + 0x88], 0
lea ecx, [esi + 0x88]
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], 0
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x84]
mov dword [esi + 0x90], eax
lea eax, [esi + 0xfc]
mov dword [esi + 0x94], eax
lea eax, [ebp + 0xc]
mov dword [esi + 0x98], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x9c], eax
lea eax, [esi + 0x104]
push ecx
push eax
call fcn.1005caa0
add esp, 8
lea eax, [esi + 0x34]
mov byte [esi + 0x21], 1
mov byte [esi + 0x22], 0
mov dword [esi + 0x128], 0xe
push eax
call fcn.1006b040
add esp, 4
lea eax, [esi + 0x2c]
mov byte [esi + 0x12], 1
mov byte [esi + 0x13], 1
mov dword [esi + 0x128], 0xf
push eax
call fcn.1006f7a0
add esp, 4
mov dword [esi + 0x24], eax
lea ecx, [esi + 0x2c]
mov byte [esi + 0x12], 1
mov byte [esi + 0x13], 1
lea eax, [esi + 0x110]
push ecx
push eax
call fcn.1006f7c0
add esp, 8
mov eax, dword [esi + 0x28]
mov byte [esi + 0x23], 1
mov dword [esi + 0x128], 0x12
mov dword [esi + 0xf8], eax
mov dword [esi + 0x100], eax
lea eax, [esi + 0x2c]
push eax
call fcn.1006e800
add esp, 4
movsd xmm0, qword [esi + 0x110]
lea ecx, [esi + 0x68]
mov byte [esi + 0x23], 0
movsd qword [esi + 0x68], xmm0
push ecx
push dword [esi + 0x24]
push eax
push 0x1c
push dword [esi + 8]
push dword [esi + 0xf8]
lea eax, [esi + 0x34]
push eax
lea eax, [esi + 0x88]
push eax
call fcn.10060160
add esp, 0x20
mov byte [esi + 0x14], 0
mov byte [esi + 0x15], 1
mov dword [esi + 0x128], 0x10
push 0x10052880
push 0xfffffffffffffffc
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_SetWindowLongA]
mov dword [esi + 8], eax
lea eax, [esi + 0x68]
mov dword [esi + 0x68], 0
mov byte [esi + 0x14], 0
mov byte [esi + 0x15], 1
push eax
lea eax, [esi + 0x34]
push eax
call fcn.1005d290
add esp, 8
mov eax, dword [0x1015fabc]
test eax, eax
je 0x10053638
mov ecx, dword [0x1015fac0]
lea edx, [esi + 0x34]
mov byte [esi + 0x14], 0
mov byte [esi + 0x15], 1
push edx
push eax
call dword [ecx + 0xc]
add esp, 8
mov eax, dword [0x1015f8d8]
mov eax, dword [eax]
cmp eax, 3
jbe 0x10053012
mov dword [esi + 0x68], str.Done_init
mov dword [esi + 0x6c], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x78], 0x1011b060
mov dword [esi + 0x7c], 0
mov byte [esi + 0x14], 0
mov byte [esi + 0x15], 1
sub esp, 4
push 0
push 0x1011b85c
push 4
lea eax, [esi + 0x68]
push eax
call fcn.10090f60
add esp, 0x14
mov edi, dword [ebp + 8]
movsd xmm2, qword [esi + 0x4c]
movsd xmm1, qword [esi + 0x44]
movsd xmm0, qword [esi + 0x54]
mov ebx, dword [esi + 0x30]
lea eax, [edi + 0x70]
movsd qword [edi + 0x88], xmm2
movsd qword [edi + 0x80], xmm1
movsd xmm2, qword [esi + 0x34]
movsd xmm1, qword [esi + 0x3c]
movsd qword [edi + 0x90], xmm0
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x5c]
movsd qword [edi + 0x78], xmm1
movsd qword [edi + 0x70], xmm2
mov dword [edi + 0x98], eax
push 0x70
lea eax, [esi + 0x88]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x10c]
movsd xmm0, qword [esi + 0x104]
mov dword [esi + 0x128], 0x11
mov dword [edi + 0xa8], eax
mov eax, dword [esi + 8]
movsd qword [edi + 0xa0], xmm0
mov dword [edi + 0x9c], eax
mov eax, dword [esi + 0x64]
mov byte [edi + 0xc0], 1
mov dword [edi + 0xac], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0xb0], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], eax
push dword [esi + 0x1c]
call fcn.1006b4e0
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov word [eax + 0x34d], 0x101
push 0x1011b16c
push 0
push eax
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 9
push 0x1011b17c
push 1
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x25
push 0x1011b18c
push 2
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x27
push 0x1011b19c
push 3
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x26
push 0x1011b1ac
push 4
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x28
push 0x1011b1bc
push 5
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x21
push 0x1011b1cc
push 6
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x22
push 0x1011b1dc
push 7
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x24
push 0x1011b1ec
push 8
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x23
push 0x1011b1fc
push 9
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x2d
push 0x1011b20c
push 0xa
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x2e
push 0x1011b21c
push 0xb
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 8
push 0x1011b22c
push 0xc
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x20
push 0x1011b23c
push 0xd
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0xd
push 0x1011b24c
push 0xe
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x1b
push 0x1011b25c
push 0x10
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x41
push 0x1011b26c
push 0x11
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x43
push 0x1011b27c
push 0x12
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x56
push 0x1011b28c
push 0x13
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x58
push 0x1011b29c
push 0x14
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x59
push 0x1011b2ac
push 0x15
push dword [esi + 8]
call fcn.1006bd90
add esp, 0xc
mov dword [eax], 0x5a
lea eax, [esi + 0x60]
mov byte [esi + 0xe], 0
mov byte [esi + 0xf], 0
mov dword [esi + 0x128], 6
push eax
call fcn.10047c70
add esp, 4
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x128], 0x1a
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
lea eax, [esi + 0x34]
push 0x1011b734
push 0x1011b08c
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__valueHRESULT_0x
call fcn.100f9a60
add esp, 0x14
jmp 0x10053654
mov dword [esi + 0x24], edx
mov dword [esi + 0x128], 2
push eax
call fcn.1006d520
add esp, 4
mov dword [esi + 0x1c], eax
mov dword [esi + 8], edx
cmp dword [esi + 0x24], 0
je 0x100533a7
lea eax, [esi + 0x88]
mov byte [esi + 0x18], 0
mov dword [esi + 0x128], 1
push eax
call fcn.10047c70
add esp, 4
jmp 0x100533a7
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x128], 0x19
mov dword [esi + 0x88], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x8c], eax
push 0x1011b744
push 0x1011b08c
lea eax, [esi + 0x88]
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__valueHRESULT_0x
call fcn.100f9a60
add esp, 0x14
jmp 0x10053654
mov dword [esi + 0x24], ecx
mov dword [esi + 0x128], 5
push eax
call fcn.1006d520
add esp, 4
mov dword [esi + 0x1c], eax
mov dword [esi + 8], edx
cmp dword [esi + 0x24], 0
je 0x10053434
lea eax, [esi + 0x34]
mov byte [esi + 0x19], 0
mov dword [esi + 0x128], 4
push eax
call fcn.10047c70
add esp, 4
jmp 0x10053434
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x128], 0x18
mov dword [esi + 0x34], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x38], eax
push 0x1011b754
push 0x1011b08c
lea eax, [esi + 0x34]
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__valueHRESULT_0x
call fcn.100f9a60
add esp, 0x14
jmp 0x10053654
mov dword [esi + 0x24], ecx
mov dword [esi + 0x128], 8
push eax
call fcn.1006d520
add esp, 4
mov dword [esi + 0x1c], eax
mov dword [esi + 8], edx
cmp dword [esi + 0x24], 0
je 0x100534bb
lea eax, [esi + 0x88]
mov byte [esi + 0x1a], 0
mov dword [esi + 0x128], 7
push eax
call fcn.10047c70
add esp, 4
jmp 0x100534bb
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x128], 0x17
mov dword [esi + 0x88], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x8c], eax
push 0x1011b764
push 0x1011b08c
lea eax, [esi + 0x88]
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__valueHRESULT_0x
call fcn.100f9a60
add esp, 0x14
jmp 0x10053654
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x128], 0x16
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
push 0x1011b774
push 0x1011b08c
lea eax, [esi + 0x34]
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__valueHRESULT_0x
call fcn.100f9a60
add esp, 0x14
jmp 0x10053654
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x128], 0x15
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
push 0x1011b784
push 0x1011b08c
lea eax, [esi + 0x34]
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__valueHRESULT_0x
call fcn.100f9a60
add esp, 0x14
jmp 0x10053654
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0
mov dword [esi + 0x128], 0x14
push 0x1011b7dc
push 0x1011b08c
lea eax, [esi + 0x88]
push eax
push 0x1e
push str.Couldnt_set_command_list_name
call fcn.100f9a60
add esp, 0x14
jmp 0x10053654
mov dword [esi + 0x24], ecx
mov dword [esi + 0x128], 0xc
push eax
call fcn.1006d520
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0x1c], edx
cmp dword [esi + 0x24], 0
je 0x10053603
lea eax, [esi + 0x34]
mov byte [esi + 0x1b], 0
mov dword [esi + 0x128], 0xb
push eax
call fcn.10047c70
add esp, 4
jmp 0x10053603
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 8]
mov dword [esi + 0x128], 0x13
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x38], eax
push 0x1011b7ec
push 0x1011b08c
lea eax, [esi + 0x34]
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__valueHRESULT_0x
call fcn.100f9a60
add esp, 0x14
jmp 0x10053654
mov byte [esi + 0x14], 0
mov byte [esi + 0x15], 1
push 0x1011b838
push 0x2b
push 0x1011b060
call fcn.100f9870
add esp, 0xc
ud2