Function at 0x534a60
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, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov edx, dword [ebp + 0x10]
lea eax, [esi + 0x50]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x53a5e0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x29]
mov dword [eax + 3], 0
mov dword [eax - 1], 0x25
mov ecx, dword [edx + 4]
bt ecx, 0xb
jb 0x534c2a
mov edx, dword [ebp + 0x1c]
bt ecx, 9
jb 0x534c4d
mov bl, byte [edx]
test bl, bl
je 0x534ad3
inc edx
mov byte [eax], bl
inc eax
mov bl, byte [edx]
inc edx
test bl, bl
jne 0x534ac9
mov edx, ecx
and edx, 0x4a
cmp edx, 8
je 0x534c11
cmp edx, 0x40
je 0x534cbd
mov dword [esi + 0x58], 0xffffffff
mov cl, 0x64
mov dword [esi + 4], esp
mov byte [eax], cl
xor ecx, ecx
dec ecx
lea ebx, [esi + 0x18]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov byte [ebx + 0xc], 0xff
push eax
sub esp, 0x18
mov edi, esp
lea eax, [edi + 8]
mov dword [esi + 0x58], ecx
push eax
call fcn.005de060
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], 0xd
lea eax, [esi + 0x28]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.0053c2e0
add esp, 0x1c
mov esp, dword [esi + 4]
lea edi, [esi + eax]
add edi, 0x18
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 4]
mov edx, ecx
and dl, 0xb0
mov dword [esi + 4], edi
cmp dl, 0x20
je 0x534b6d
mov edx, ebx
and ecx, 0xb0
cmp ecx, 0x10
je 0x534c56
mov ebx, edx
mov edi, edx
mov dword [esi + 0x14], edi
lea edi, [esi + 0x30]
xor eax, eax
dec eax
mov dword [edi + 0x13], eax
mov dword [edi + 0xf], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
lea ecx, [esi + 0x10]
mov dword [ecx], eax
lea ecx, [esi + 0xc]
mov dword [ecx], eax
lea eax, [esi + 8]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.005dd970
mov dword [esi + 0x58], 0
lea eax, [esi + 8]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
push edi
push dword [esi + 4]
push dword [esi + 0x14]
push ebx
call fcn.00535f60
add esp, 0x1c
mov ebx, dword [esi + 8]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
mov edi, dword [ebp + 8]
mov dl, byte [ebp + 0x14]
test eax, eax
je 0x534c9b
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x58], 0xffffffff
movsx edx, dl
push edx
push dword [ebp + 0x10]
push eax
push ecx
lea eax, [esi + 0x30]
push eax
push dword [ebp + 0xc]
push edi
call fcn.0067ff80
add esp, 0x1c
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
bt ecx, 0xe
setae cl
shl cl, 5
or cl, 0x58
mov dword [esi + 0x58], 0xffffffff
jmp 0x534af3
mov edx, ecx
and edx, 0x4a
cmp edx, 8
je 0x534ab5
cmp edx, 0x40
je 0x534ab5
lea eax, [esi + 0x2a]
mov byte [eax - 1], 0x2b
jmp 0x534ab5
mov byte [eax], 0x23
inc eax
jmp 0x534ac2
lea ecx, [esi + 0x19]
mov edi, ecx
movzx ecx, byte [ecx - 1]
cmp ecx, 0x2b
je 0x534c94
cmp ecx, 0x2d
mov ebx, edx
je 0x534b6d
cmp eax, 2
jl 0x534b69
cmp cl, 0x30
jne 0x534b69
movzx eax, byte [esi + 0x19]
or eax, 0x20
cmp eax, 0x78
jne 0x534b69
lea edi, [esi + 0x1a]
mov ebx, edx
jmp 0x534b6d
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov dword [esi + 0x58], 0xffffffff
call dword [section..00cfg]
mov ecx, ebx
call dword [esi + 4]
mov dl, byte [ebp + 0x14]
jmp 0x534bd6
mov cl, 0x6f
jmp 0x534af3