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

Disassembly:
push 0xffffffffffffffff
push 0x68896b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x108]
xor ebx, ebx
mov byte [esp + 0x10], 0xff
mov byte [esp + 0x11], 0xff
mov eax, dword [edi + 4]
mov byte [esp + 0x12], 0xff
mov byte [esp + 0x13], 0xff
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004ff6fd
mov esi, dword [esp + 0x104]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov edx, dword [esi + 0x55]
mov dword [esp + 0x100], ebx
mov dword [esp + 0x1c], 6
mov eax, dword [edx + 0x44]
mov dword [esp + 0x30], eax
call fcn.00570e81
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax + 8]
push ecx
mov dword [esp + 0x28], edx
lea edx, [esp + 0x34]
mov eax, dword [eax + 0xc]
push edx
lea ecx, [edi + 0x10c6]
mov dword [esp + 0x30], eax
call fcn.00574d22
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
sub eax, edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
sub ecx, ebp
mov ebp, 1
mov dword [esp + 0x34], ecx
push ebp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.0045cc6c
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0x50]
lea eax, [eax + eax*2]
lea edx, [eax + eax*8]
mov eax, dword [edi + 0x12b6]
add edx, eax
push edx
call fcn.004ff89c
cmp dword [esp + 0x2c], 0x2b
jne 0x46267a
cmp dword [esi + 0x61], ebp
jne 0x46267a
mov dword [esp + 0x18], 3
call fcn.005f9703
mov ecx, eax
mov eax, 0x1b4e81b5
mul ecx
shr edx, 4
mov dword [0x6b1f28], edx
mov eax, dword [esi + 0x74]
dec eax
je 0x462629
sub eax, 2
je 0x462646
push ebp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.0045cc6c
mov eax, dword [0x6b1f28]
mov edx, dword [esi + 0x2c]
shr eax, 1
and eax, ebp
mov ecx, dword [edi + 0x12b6]
add eax, edx
lea eax, [eax + eax*2]
lea edx, [eax + eax*8]
add edx, ecx
push edx
jmp 0x462671
test dl, 1
je 0x462646
mov ecx, dword [0x739a48]
mov edx, dword [0x7b8b94]
push 0x30f
push edx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x24]
push ebp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.0045cc6c
mov eax, dword [0x6b1f28]
mov ecx, dword [esi + 0x2c]
and eax, 3
mov edx, dword [edi + 0x12b6]
add eax, ecx
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
add eax, edx
push eax
lea ecx, [esp + 0x54]
call fcn.004ff89c
cmp dword [esp + 0x2c], 0x14
jne 0x462770
mov ecx, dword [edi + 0x13db]
xor eax, eax
cmp ecx, 0xa
jne 0x4626c4
cmp dword [esi + 0x2c], 0x1c
jne 0x4626c4
push ebp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.0045cc6c
mov eax, dword [esi + 0x30]
mov edx, dword [edi + 0x12b6]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*8]
add ecx, edx
push ecx
lea ecx, [esp + 0x54]
call fcn.004ff89c
mov eax, ebp
cmp dword [edi + 0x13db], 4
jne 0x4626ff
cmp dword [esi + 0x2c], 0x1d
jne 0x4626ff
push ebp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.0045cc6c
mov eax, dword [esi + 0x30]
mov ecx, dword [edi + 0x12b6]
lea eax, [eax + eax*2]
lea edx, [eax + eax*8]
add edx, ecx
lea ecx, [esp + 0x50]
push edx
call fcn.004ff89c
mov eax, ebp
cmp dword [edi + 0x2722], ebp
jne 0x462739
cmp dword [esi + 0x2c], 0x1e
jne 0x462739
push ebp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.0045cc6c
mov eax, dword [esi + 0x30]
mov edx, dword [edi + 0x12b6]
lea ecx, [esp + 0x50]
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
add eax, edx
push eax
call fcn.004ff89c
mov eax, ebp
cmp eax, ebx
jne 0x462770
cmp dword [esi + 0x49], ebp
jne 0x4629a9
push ebp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.0045cc6c
mov eax, dword [esi + 0x2c]
mov edx, dword [edi + 0x12b6]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*8]
add ecx, edx
push ecx
lea ecx, [esp + 0x54]
call fcn.004ff89c
mov eax, dword [esp + 0x2c]
cmp eax, 0x28
je 0x46277e
cmp eax, 0x27
jne case.0x46279a.139
cmp dword [esi + 0x49], ebx
je case.0x46279a.139
mov eax, dword [esi + 0x2c]
add eax, 0xffffff7b
cmp eax, 0x8a
ja case.0x46279a.139
xor edx, edx
mov dl, byte [eax + 0x4629f8]
jmp dword [edx*4 + 0x4629d8]
push ebp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.0045cc6c
mov eax, dword [esi + 0x2c]
mov edx, dword [edi + 0x12b6]
inc eax
lea ecx, [esp + 0x50]
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
add eax, edx
push eax
call fcn.004ff89c
mov ecx, dword [edi + 0x53]
mov edx, dword [ecx]
call dword [edx + 0x360]
cmp eax, ebp
jne 0x462877
cmp dword [esi + 0x2c], 0xaa
jne 0x462877
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ebp
push ebx
push ecx
mov dword [esp + 0x58], ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.0045cc6c
mov edx, dword [edi + 0x12b6]
lea ecx, [esp + 0x50]
add edx, 0x125a
push edx
call fcn.004ff89c
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0x44]
dec edx
mov eax, dword [ebp]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call dword [eax + 0x5c]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.0045cc6c
mov eax, dword [esi + 0x2c]
mov edx, dword [edi + 0x12b6]
lea ecx, [esp + 0x50]
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
add eax, edx
push eax
call fcn.004ff89c
jmp 0x46287b
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov byte [esp + 0x10], 0xff
mov byte [esp + 0x11], 0xff
mov byte [esp + 0x12], 0xff
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x61]
cmp eax, 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
jne 0x462934
cmp dword [esi + 0x49], ebx
je 0x4628c7
cmp dword [esi + 0x30], ebx
jne 0x4628c7
or byte [esp + 0x90], 8
mov ecx, dword [edi + 0x53]
mov edx, dword [ecx]
call dword [edx + 0x2f8]
test eax, eax
je 0x46298d
mov edi, dword [edi + 0x53]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x2fc]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ax, word [eax + 8]
mov word [esp + 0x38], ax
mov al, byte [esp + 0x30]
cmp al, bl
jne 0x46298d
mov ecx, dword [esp + 0x31]
mov esi, dword [esi + 0x74]
and ecx, 0xff
cmp ecx, esi
jne 0x46298d
call fcn.005f9703
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 5
test dl, 1
je 0x46298d
mov al, 0x32
jmp 0x462976
cmp eax, 2
jne 0x46296f
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x10], 0x64
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov edx, dword [ebp]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x5c]
jmp 0x4629a9
cmp eax, 3
jne 0x4629a9
mov al, 0x64
mov byte [esp + 0x10], al
mov byte [esp + 0x11], al
mov byte [esp + 0x12], al
mov edx, dword [esp + 0x10]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x18]
mov eax, dword [ebp]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call dword [eax + 0x5c]
lea ecx, [esp + 0x44]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004ff821
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf0
ret