Function at 0x1004b9a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059f2c
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1006b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebx + 8]
mov dword [ebp - 0x64], ebx
mov dword [ebx], eax
mov byte [ebx + 4], 0
call fcn.10050da0
mov dword [ebp - 4], 0
call fcn.1004c8e0
lea edi, [ebx + 0x124]
mov dword [ebx + 0x120], eax
mov dword [ebp - 0x30], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0xc]
mov dword [ebp - 0x38], esi
push 0x10
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10056caf
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.1004c8e0
mov dword [edi + 0x14], eax
add ebx, 0x140
mov dword [ebp - 0x38], ebx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0x561b10
mov dword [ebx + 0x2c], 0
mov byte [ebp - 4], 5
lea edi, [ebx + 0x38]
push 0x3ec
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebp - 0x30], edi
call fcn.10056caf
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 6
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
mov ecx, esi
push 0x1007e060
push 0
push 0x1000
call fcn.1004af00
mov dword [edi], eax
mov byte [ebp - 4], 7
lea edi, [ebx + 0x3c]
push 0x3ec
mov dword [ebp - 0x30], edi
call fcn.10056caf
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 8
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
push 0
push 0
push 0x1000
call fcn.1004af00
mov dword [edi], eax
mov byte [ebp - 4], 9
xorps xmm0, xmm0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
movq qword [ebx + 0x4c], xmm0
push 4
mov word [ebx + 0x54], 1
call fcn.10056caf
add esp, 4
mov dword [eax], 0
mov dword [ebx + 0x50], eax
mov al, byte [ebp - 0x6c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x34]
mov byte [ebp - 0x58], al
mov eax, ecx
mov dword [ebp - 0x60], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8Plugin__AEXABV__kthook_simple_P6AXXZ_0A__kthook___ZPAV3_ABU___Ph__00_2__std__XABV__kthook_simple_P6AXXZ_0A__kthook___std__.0
mov dword [ebp - 0x5c], 0x1004c6c0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x3c], ecx
cmp ebx, eax
je 0x1004bc44
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x1004bc1a
mov edx, dword [edi]
cmp edi, ebx
mov ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0x24], 0
test ecx, ecx
je 0x1004bb9c
lea eax, [ebp - 0x60]
cmp ecx, eax
je 0x1004bc1a
mov dword [ebx + 0x24], ecx
lea edi, [ebx + 0x3c]
cmp byte [ebx + 0x55], 0
jne 0x1004bc53
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x1004bc53
push 0x1c
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
je 0x1004bbda
cmp eax, 0x20
je 0x1004bbda
cmp eax, 0x40
je 0x1004bbda
cmp eax, 0x80
jne 0x1004bc53
push ecx
mov ecx, dword [ebx + 0x28]
mov edx, edi
call fcn.10045690
add esp, 4
test al, al
je 0x1004bc53
mov eax, dword [edi]
push dword [eax + 0x20]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x1004bc53
push 1
mov ecx, ebx
call fcn.10046310
test al, al
mov eax, esi
je 0x1004bc55
mov byte [ebx + 0x55], 1
jmp 0x1004bc55
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0x24], eax
test ecx, ecx
je 0x1004bb9c
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x1004bb9c
push 0
lea ecx, [ebp - 0x60]
call fcn.1004d3a0
jmp 0x1004bb9f
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret 4