Function at 0x4d5d90
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, 0x290
mov esi, esp
mov dword [esi + 0x278], ebp
lea eax, [esi + 0x280]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x41f950
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea edi, [esi + 0x80]
mov dword [edi + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov dword [esi + 0x2c], edi
lea eax, [esi + 0x1b0]
push 0xc8
push 0xff
mov dword [esi + 0x4c], eax
push eax
call fcn.0049dcc0
sub esp, 8
movsd xmm0, qword [ebp + 0x1c]
movsd qword [esp + 0xc], xmm0
mov dword [esp], edi
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.00416ac0
add esp, 0x14
cmp eax, 0x64
jb 0x4d5ebc
mov dword [esi + 0x14], esp
push eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0x10], eax
add eax, 4
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x288], ecx
push eax
call fcn.00462320
add esp, 4
lea eax, [esi + 0x2c]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
mov dword [ecx + 0x10], str._.0Lf
movsd xmm0, qword [ebp + 0x1c]
movsd qword [ecx + 0x14], xmm0
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.004db190
add esp, 0x1c
mov dword [esi + 0x10], eax
mov esp, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x4d61f6
mov edi, dword [esi + 0x2c]
add eax, eax
push eax
call fcn.00468190
add esp, 4
test eax, eax
je 0x4d6203
mov dword [esi + 0x4c], eax
jmp 0x4d5ec3
mov dword [esi + 0x10], eax
xor eax, eax
xor edi, edi
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0x28]
mov dword [edx], 0xffffffff
mov dword [esi + 0x54], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x288], 0
push edx
call fcn.00461c00
mov dword [esi + 0x288], 1
lea ecx, [esi + 0x28]
push 0x5551ac
call fcn.00462a00
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x2c]
lea ecx, [ebx + edx]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov edi, dword [eax + 0x28]
mov dword [esi + 0x288], 0xffffffff
mov ecx, edi
mov dword [esi + 0x10], edx
call dword [section..00cfg]
mov dword [esi + 0x288], 1
mov ecx, dword [esi + 0x14]
push dword [esi + 0x4c]
push dword [esi + 0xc]
push ebx
call edi
mov eax, dword [esi + 0x10]
xor ecx, ecx
test eax, eax
jle 0x4d61ca
mov edx, dword [esi + 0x2c]
cmp byte [edx], 0x2d
sete al
mov dword [esi + 0xc], eax
lea ebx, [esi + 0x68]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 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
xor eax, eax
dec eax
lea ecx, [esi + 0x64]
mov dword [ecx], eax
lea ecx, [esi + 0x22]
mov word [ecx], ax
lea ecx, [esi + 0x20]
mov word [ecx], ax
lea ecx, [esi + 0x24]
mov dword [ecx], eax
mov dword [esi + 0x288], 2
movzx eax, byte [esi + 0xc]
movzx ecx, byte [ebp + 0x10]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x24]
push ecx
push edx
push edi
push ebx
lea edx, [esi + 0x20]
push edx
lea edx, [esi + 0x22]
push edx
lea edx, [esi + 0x64]
push edx
lea edx, [esi + 0x28]
push edx
mov dword [esi + 0x7c], eax
push eax
push dword [esi + 0xc]
call fcn.004d6340
add esp, 0x28
lea edi, [esi + 0xe8]
push 0xc8
push 0xff
push edi
call fcn.0049dcc0
add esp, 0xc
mov ebx, dword [esi + 0x10]
sub ebx, dword [esi + 0x24]
jle 0x4d6031
cmp byte [esi + 0x3b], 0
js 0x4d61d6
lea ecx, [esi + 0x30]
call fcn.00462b50
mov dword [esi + 0xc], eax
add ebx, ebx
cmp byte [esi + 0x4b], 0
js 0x4d61de
lea ecx, [esi + 0x40]
call fcn.00462b50
mov ecx, dword [ebp + 0x14]
mov edx, dword [esi + 0x24]
or ebx, 1
add ebx, dword [esi + 0xc]
add ebx, eax
mov dword [esi + 0xc], edx
add ebx, edx
jmp 0x4d6067
cmp byte [esi + 0x3b], 0
js 0x4d61e6
lea ecx, [esi + 0x30]
call fcn.00462b50
mov ebx, eax
cmp byte [esi + 0x4b], 0
js 0x4d61ee
lea ecx, [esi + 0x40]
call fcn.00462b50
mov ecx, dword [ebp + 0x14]
mov edx, dword [esi + 0x24]
add ebx, eax
mov dword [esi + 0xc], edx
add ebx, edx
add ebx, 2
xor edx, edx
cmp ebx, 0x65
jb 0x4d6088
add ebx, ebx
push ebx
call fcn.00468190
mov ecx, dword [ebp + 0x14]
add esp, 4
mov edx, eax
mov edi, eax
test eax, eax
je 0x4d6212
lea ebx, [esi + 0x60]
xor eax, eax
dec eax
mov dword [ebx], eax
lea ebx, [esi + 0x5c]
mov dword [ebx], eax
mov ebx, ecx
mov ecx, edi
mov edi, dword [esi + 0x4c]
mov eax, dword [esi + 0x10]
lea eax, [edi + eax*2]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x78], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x288], 3
movzx eax, word [esi + 0x20]
movzx ebx, word [esi + 0x22]
push dword [esi + 0xc]
lea edx, [esi + 0x30]
push edx
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x68]
push edx
push eax
push ebx
lea eax, [esi + 0x64]
push eax
push dword [esi + 0x7c]
push dword [esi + 0x14]
push dword [esi + 0x74]
push edi
push dword [esi + 0x78]
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x60]
push eax
mov dword [esi + 0x14], ecx
push ecx
call fcn.004d64a0
add esp, 0x3c
movzx ecx, word [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x5c]
mov edi, dword [esi + 0x10]
mov dword [esi + 0x50], edi
mov edi, dword [esi + 0x60]
movzx ecx, cx
push ecx
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x14]
push eax
push dword [ebp + 8]
call fcn.004cec70
add esp, 0x1c
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4d6134
push eax
call fcn.004681e0
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x4d6145
push dword [esi + 0x30]
call fcn.0049a571
add esp, 4
cmp byte [esi + 0x4b], 0
jns 0x4d6156
push dword [esi + 0x40]
call fcn.0049a571
add esp, 4
cmp byte [esi + 0x73], 0
jns 0x4d6167
push dword [esi + 0x68]
call fcn.0049a571
add esp, 4
mov edi, dword [esi + 0x28]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x4d6191
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov dword [esi + 0x288], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4d61a1
push eax
call fcn.004681e0
add esp, 4
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4d61b1
push eax
call fcn.004681e0
add esp, 4
mov eax, dword [esi + 0x280]
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 + 0xc], 0
jmp 0x4d5f5d
mov eax, dword [esi + 0x34]
jmp 0x4d6005
mov eax, dword [esi + 0x44]
jmp 0x4d601c
mov ebx, dword [esi + 0x34]
jmp 0x4d6045
mov eax, dword [esi + 0x44]
jmp 0x4d6057
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.004da220
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], edi
call fcn.004da220
mov dword [esi + 0x50], 0
mov dword [esi + 0x288], 3
call fcn.004da220
nop dword [eax + eax]
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x28c]
mov ebp, dword [esi + 0x278]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4d6250
push eax
call fcn.004681e0
add esp, 4
add esp, 0x3c
pop ebp
ret