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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510a3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea edi, [esi + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], eax
mov byte [edi + 4], al
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x30]
mov ebx, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x10]
mov dword [esi], ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [esi + 0x30], edx
mov dword [esi + 4], ebx
call fcn.00402f60
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc]
mov ecx, dword [ebp + 0x2c]
push edi
sub ecx, eax
mov dword [esi + 0x28], ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
mov edi, dword [esi]
push 0xc
mov dword [esi + 0x2c], eax
add edi, 0x2c4
call fcn.004eb990
mov ecx, dword [edi + 8]
add esp, 4
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov edx, dword [edi + 8]
mov dword [ebp + 0x30], ecx
mov dword [edx + 4], eax
mov dword [eax], esi
mov edx, dword [edi + 0xc]
mov dword [edi + 8], eax
inc edx
mov dword [edi + 0xc], edx
mov dword [esi + 0x74], eax
cmp dword [esi + 0x1c], ecx
jbe 0x41ca2d
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0x3ff00000
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp + 8], 9
fild dword [ebp + 8]
mov edx, dword [esi + 0x48]
lea edi, [esi + 0x44]
test edx, edx
fstp qword [ebp - 0x28]
jne 0x41c912
xor ecx, ecx
jmp 0x41c91a
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 3
test edx, edx
je 0x41c949
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 3
cmp ecx, eax
jae 0x41c949
mov eax, dword [ebp + 8]
mov ebx, dword [edi + 8]
push eax
lea ecx, [ebp - 0x28]
push edi
push ecx
push 1
push ebx
call fcn.00402690
add esp, 0x14
add ebx, 8
mov dword [edi + 8], ebx
jmp 0x41c95e
mov eax, dword [edi + 8]
lea edx, [ebp - 0x28]
push edx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, edi
call fcn.00405f40
mov edx, dword [esi + 0x58]
lea edi, [esi + 0x54]
test edx, edx
jne 0x41c96c
xor ecx, ecx
jmp 0x41c974
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 3
test edx, edx
je 0x41c9a3
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 3
cmp ecx, eax
jae 0x41c9a3
mov eax, dword [ebp + 8]
mov ebx, dword [edi + 8]
push eax
lea ecx, [ebp - 0x18]
push edi
push ecx
push 1
push ebx
call fcn.00402690
add esp, 0x14
add ebx, 8
mov dword [edi + 8], ebx
jmp 0x41c9b8
mov eax, dword [edi + 8]
lea edx, [ebp - 0x18]
push edx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, edi
call fcn.00405f40
mov edx, dword [esi + 0x68]
lea edi, [esi + 0x64]
test edx, edx
jne 0x41c9c6
xor ecx, ecx
jmp 0x41c9ce
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 3
test edx, edx
je 0x41c9fd
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 3
cmp ecx, eax
jae 0x41c9fd
mov eax, dword [ebp + 8]
mov ebx, dword [edi + 8]
push eax
lea ecx, [ebp - 0x20]
push edi
push ecx
push 1
push ebx
call fcn.00402690
add esp, 0x14
add ebx, 8
mov dword [edi + 8], ebx
jmp 0x41ca12
mov eax, dword [edi + 8]
lea edx, [ebp - 0x20]
push edx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, edi
call fcn.00405f40
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
inc eax
add edx, 2
cmp eax, ecx
mov dword [ebp + 0x30], eax
mov dword [ebp + 8], edx
jb 0x41c8fe
cmp dword [ebp + 0x28], 0x10
jb 0x41ca3f
mov eax, dword [ebp + 0x14]
push eax
call fcn.004fb06d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c