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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1e0
mov esi, esp
mov dword [esi + 0x1c8], ebp
movsd xmm1, qword [ebp + 0x1c]
lea eax, [esi + 0x1d0]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x43f530
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x160]
mov dword [eax + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [eax + 0x50], xmm0
movdqa xmmword [eax + 0x40], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov dword [esi + 0x28], eax
mov dword [esi + 0x150], edx
movdqa xmmword [esi + 0x140], xmm0
movdqa xmmword [esi + 0x130], xmm0
movdqa xmmword [esi + 0x120], xmm0
movdqa xmmword [esi + 0x110], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0xf0], xmm0
sub esp, 0x14
movsd qword [esp + 0xc], xmm1
mov dword [esp], eax
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.004686d0
add esp, 0x14
cmp eax, 0x64
jb 0x4c6397
mov dword [esi + 0x20], esp
push eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0xc], eax
add eax, 4
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x1d8], ecx
push eax
call fcn.0046bd60
add esp, 4
lea eax, [esi + 0x28]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov dword [ecx + 0x10], str._.0Lf
movq xmm0, qword [ebp + 0x1c]
movq qword [ecx + 0x14], xmm0
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.004cc730
add esp, 0x1c
mov dword [esi + 0xc], eax
mov esp, dword [esi + 0x20]
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x4c667e
mov edi, dword [esi + 0x28]
push eax
call fcn.004717a0
add esp, 4
test eax, eax
je 0x4c668b
mov dword [esi + 0x20], eax
jmp 0x4c63a7
mov dword [esi + 0xc], eax
lea eax, [esi + 0xf0]
mov dword [esi + 0x20], eax
xor eax, eax
xor edi, edi
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0x24]
mov dword [edx], 0xffffffff
mov dword [esi + 0x4c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x50], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x1d8], 0
push edx
call fcn.0046bc00
mov dword [esi + 0x1d8], 1
lea ecx, [esi + 0x24]
push 0x52675c
call fcn.0046bfe0
mov edx, dword [esi + 0xc]
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0xc]
add edx, eax
mov edi, dword [ecx]
push dword [esi + 0x20]
push edx
push eax
mov dword [esi + 0x78], ecx
call dword [edi + 0x18]
mov eax, dword [esi + 0xc]
xor ecx, ecx
test eax, eax
jle 0x4c6672
mov edx, dword [esi + 0x28]
cmp byte [edx], 0x2d
sete al
mov dword [esi + 0x14], eax
lea edx, [esi + 0x60]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov dword [edx + 8], ecx
lea edi, [esi + 0x40]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea edx, [esi + 0x30]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov dword [edx + 8], ecx
mov bl, 0xff
lea ecx, [esi + 0x13]
mov byte [ecx], bl
lea eax, [esi + 0x12]
mov byte [eax], bl
lea eax, [esi + 0x5c]
xor ecx, ecx
dec ecx
mov dword [eax], ecx
lea ebx, [esi + 0x7c]
mov dword [ebx], ecx
mov dword [esi + 0x1d8], 2
movzx eax, byte [esi + 0x14]
movzx ecx, byte [ebp + 0x10]
push ebx
push edx
push edi
lea edx, [esi + 0x60]
push edx
lea edx, [esi + 0x12]
push edx
lea edx, [esi + 0x13]
push edx
lea edx, [esi + 0x5c]
push edx
lea edx, [esi + 0x24]
push edx
mov dword [esi + 0x74], eax
push eax
push ecx
call fcn.004c67a0
add esp, 0x28
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
mov dword [esi + 0xe0], 0xffffffff
mov edi, dword [esi + 0x7c]
mov eax, dword [esi + 0xc]
sub eax, edi
jle 0x4c64f4
movzx ecx, byte [esi + 0x3b]
test cl, cl
jns 0x4c64df
mov ecx, dword [esi + 0x34]
movzx edx, byte [esi + 0x4b]
test dl, dl
jns 0x4c64ea
mov edx, dword [esi + 0x44]
lea eax, [edi + eax*2]
add eax, ecx
add eax, edx
inc eax
jmp 0x4c6511
movzx eax, byte [esi + 0x3b]
test al, al
jns 0x4c64ff
mov eax, dword [esi + 0x34]
movzx ecx, byte [esi + 0x4b]
test cl, cl
jns 0x4c650a
mov ecx, dword [esi + 0x44]
add eax, edi
add eax, ecx
add eax, 2
cmp eax, 0x65
mov dword [esi + 0x70], edi
jb 0x4c6544
push eax
call fcn.004717a0
add esp, 4
mov ecx, eax
mov dword [esi + 0x14], eax
test eax, eax
mov edx, dword [ebp + 0x14]
jne 0x4c6552
mov dword [esi + 0x2c], 0
mov dword [esi + 0x1d8], 3
call fcn.004cb690
lea eax, [esi + 0x80]
mov dword [esi + 0x14], eax
xor ecx, ecx
mov edx, dword [ebp + 0x14]
lea edi, [esi + 0x58]
xor eax, eax
dec eax
mov dword [edi], eax
lea edi, [esi + 0x54]
mov dword [edi], eax
movsx ebx, byte [esi + 0x12]
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x20]
add edi, eax
mov edx, dword [edx + 4]
mov dword [esi + 0x6c], edx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x1d8], 3
movsx ecx, byte [esi + 0x13]
push dword [esi + 0x70]
lea edx, [esi + 0x30]
push edx
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x60]
push edx
push ebx
push ecx
lea ecx, [esi + 0x5c]
push ecx
push dword [esi + 0x74]
push dword [esi + 0x78]
push edi
push eax
push dword [esi + 0x6c]
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x58]
push eax
push dword [esi + 0x14]
call fcn.004c68b0
add esp, 0x3c
mov cl, byte [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x54]
mov edi, dword [esi + 0xc]
mov dword [esi + 0x2c], edi
mov edi, dword [esi + 0x58]
movsx ecx, cl
push ecx
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x14]
push eax
push dword [ebp + 8]
call fcn.0043a770
add esp, 0x1c
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4c65f2
push eax
call fcn.004717f0
add esp, 4
cmp byte [esi + 0x3b], 0
mov edi, dword [esi + 0x50]
jns 0x4c6606
push dword [esi + 0x30]
call fcn.0048b376
add esp, 4
cmp byte [esi + 0x4b], 0
jns 0x4c6617
push dword [esi + 0x40]
call fcn.0048b376
add esp, 4
cmp byte [esi + 0x6b], 0
jns 0x4c6628
push dword [esi + 0x60]
call fcn.0048b376
add esp, 4
mov ecx, dword [esi + 0x24]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x4c663c
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4c664c
push eax
call fcn.004717f0
add esp, 4
test edi, edi
je 0x4c6659
push edi
call fcn.004717f0
add esp, 4
mov eax, dword [esi + 0x1d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov dword [esi + 0x14], 0
jmp 0x4c641c
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.004cb690
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], edi
call fcn.004cb690
nop word [eax + eax]
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x1dc]
mov ebp, dword [esi + 0x1c8]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4c66c0
push eax
call fcn.004717f0
add esp, 4
add esp, 0x3c
pop ebp
ret