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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6553c7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6ece84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x10], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 3
mov byte [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 4
lea ecx, [edi + 0x30]
call fcn.00476200
mov byte [ebp - 4], 5
xor eax, eax
mov dword [edi + 0x28], 0x681260
lea ecx, [edi + 0x4c]
mov dword [edi + 0x2c], 0x681260
mov dword [edi], 0x68131c
mov dword [edi + 0x28], 0x6812c4
mov dword [edi + 0x2c], 0x6812c8
mov dword [edi + 0x48], 0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x67ed6c
mov word [ecx], ax
call fcn.0040cbc0
mov byte [ebp - 4], 6
lea ecx, [edi + 0x64]
call fcn.00429880
mov byte [ebp - 4], 7
mov dword [edi + 0x1a8], 0
mov byte [edi + 0x1ac], 1
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
mov byte [ebp - 4], 8
lea ecx, [edi + 0x1c0]
call fcn.00428640
mov byte [ebp - 4], 9
lea ecx, [edi + 0x1f8]
call fcn.00498440
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x21c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [esi], 0x68021c
mov byte [ebp - 4], 0xb
mov dword [esi], 0x681304
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 0xc
xor eax, eax
lea ecx, [esi + 0x10]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x67ed6c
mov word [ecx], ax
call fcn.0040cbc0
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x28]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push 0
push 0x67ecf8
call fcn.0040cad0
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x40]
push 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x67ecf8
mov byte [ecx], 0
call fcn.0040cad0
mov byte [ebp - 4], 0x10
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov byte [ebp - 4], 0x11
mov ebx, dword [esi + 0x5c]
mov esi, dword [esi + 0x58]
cmp esi, ebx
je 0x476711
nop dword [eax + eax]
mov ecx, esi
call fcn.0042d090
add esi, 0x138
cmp esi, ebx
jne 0x476700
mov eax, dword [edi + 0x274]
mov dword [edi + 0x278], eax
mov byte [ebp - 4], 0x12
lea ecx, [edi + 0x2b8]
mov dword [edi + 0x280], 0
mov dword [edi + 0x284], 0
mov dword [edi + 0x288], 0
mov dword [edi + 0x28c], 0
mov dword [edi + 0x290], 0
mov dword [edi + 0x294], 0
mov dword [edi + 0x298], 0
mov dword [edi + 0x29c], 0
mov dword [edi + 0x2a0], 0
mov dword [edi + 0x2a4], 0
mov dword [edi + 0x2a8], 0
mov dword [edi + 0x2ac], 0
mov dword [edi + 0x2b0], 0
mov dword [edi + 0x2b4], 0
call fcn.00472080
mov byte [ebp - 4], 0x13
lea ecx, [edi + 0x364]
call fcn.00472080
mov byte [ebp - 4], 0x14
lea ecx, [edi + 0x410]
call fcn.00472080
mov byte [ebp - 4], 0x15
mov dword [edi + 0x4bc], 0
mov dword [edi + 0x4c0], 0
mov dword [edi + 0x4c4], 0
call fcn.00471a70
lea eax, [edi + 0x4c8]
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov byte [ebp - 4], 0x17
lea ecx, [edi + 0x4d4]
mov dword [edi + 0x4cc], 0
mov dword [edi + 0x4d0], 0
call fcn.00472080
mov byte [ebp - 4], 0x18
mov dword [edi + 0x580], 0
mov esi, dword [edi + 0x1b4]
mov ebx, dword [edi + 0x1b8]
mov dword [ebp - 0x10], esi
cmp esi, ebx
je 0x476869
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x14]
call fcn.0042d090
add esi, 0x14c
mov dword [ebp - 0x10], esi
cmp esi, ebx
jne 0x476850
mov eax, dword [edi + 0x1b4]
mov dword [edi + 0x1b8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret