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

Disassembly:
push 0xffffffffffffffff
push 0x5347d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
or eax, 0xffffffff
xor ebx, ebx
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], 0
mov dword [esp + 0x38], 0xbf800000
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], 0x64
lea eax, [esp + 0x13]
lea ecx, [esp + 0x44]
push eax
push 0x57f488
mov dword [esp + 0x64], ebx
call fcn.00466ef0
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], 1
mov eax, dword [ecx]
lea ecx, [esp + 0x28]
push eax
call fcn.0049cc20
mov eax, dword [esp + 0x2c]
mov esi, dword [ebp + 0x80]
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea esi, [esi + eax*4]
mov dword [esi], ecx
mov edx, dword [esp + 0x2c]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x30]
mov dword [esi + 8], eax
mov cl, byte [esp + 0x34]
mov byte [esi + 0xc], cl
mov edx, dword [esp + 0x38]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x14], eax
mov cl, byte [esp + 0x40]
mov byte [esi + 0x18], cl
lea ecx, [esi + 0x1c]
lea edx, [esp + 0x44]
cmp edx, ecx
je 0x46f1ea
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
call fcn.00467190
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x28], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x80]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x64]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov edx, 2
jl 0x46f240
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x80]
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
mov dword [ecx + eax*4 + 0x28], edx
mov eax, dword [esp + 0x30]
cmp eax, ebx
jl 0x46f240
mov ecx, dword [ebp + 0xd8]
shl eax, 4
mov esi, dword [eax + ecx + 4]
jmp 0x46f245
mov esi, 0x579f6c
lea ecx, [esp + 0x68]
push ebx
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], dl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.005124c0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x5c], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
push esi
lea ecx, [esp + 0x24]
call fcn.004067c0
push 0x44
mov byte [esp + 0x60], 5
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebx
mov byte [esp + 0x5c], 6
je 0x46f2f6
mov ebx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov dword [esi], 0x547238
push edx
lea ecx, [esi + 8]
mov dword [esi + 4], 0
call fcn.0046e5c0
lea eax, [esp + 0x64]
lea ecx, [esi + 0x34]
push eax
mov byte [esp + 0x60], 8
mov dword [esp + 0x18], ecx
call fcn.0050e020
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x5c], 9
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
push ecx
mov ecx, dword [esp + 0x18]
push ebx
call fcn.004067c0
mov dword [esi], 0x547438
jmp 0x46f2f8
xor esi, esi
push esi
lea ecx, [ebp + 0x8c]
mov byte [esp + 0x60], 5
call fcn.0049b840
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub ecx, eax
mov byte [esp + 0x5c], 0xa
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004fdfd0
lea edx, [esp + 0x44]
mov dword [esp + 0x68], edx
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
sub ecx, eax
mov dword [esp + 0x5c], 0xb
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.004fdfd0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 8