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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x280
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x4f1ae0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea esi, [ebp - 0xfc]
mov dword [esi + 0x60], edx
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x50], xmm0
movdqu xmmword [esi + 0x40], xmm0
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi], xmm0
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x28c]
push 0xc8
push 0xff
mov dword [ebp - 0x3c], eax
push eax
call fcn.00567640
sub esp, 8
movsd xmm0, qword [ebp + 0x1c]
movsd qword [esp + 0xc], xmm0
mov dword [esp], esi
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.005559a0
add esp, 0x14
cmp eax, 0x64
jb 0x5ac332
mov dword [ebp - 0x20], esp
push eax
sub esp, 0x18
mov esi, esp
lea ecx, [esi + 4]
call fcn.005a06d0
lea eax, [ebp - 0x30]
mov dword [esi], eax
mov dword [esi + 0x10], str._.0Lf
movsd xmm0, qword [ebp + 0x1c]
movsd qword [esi + 0x14], xmm0
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], eax
call fcn.005b2050
add esp, 0x1c
mov edi, eax
mov esp, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5ac640
mov esi, dword [ebp - 0x30]
lea eax, [edi + edi]
push eax
call fcn.00560680
add esp, 4
test eax, eax
je 0x5ac62f
mov dword [ebp - 0x3c], eax
jmp 0x5ac338
mov dword [ebp - 0x20], 0
jmp 0x5ac3c2
mov edi, eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
cmp eax, 0x648d98
jne 0x5ac64d
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x2c]
push 0x648e48
call fcn.00538dc0
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x30]
lea ebx, [edi + edx]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0x63e1cc]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x3c]
push ebx
push edi
call esi
mov eax, dword [ebp - 0x24]
xor ecx, ecx
test eax, eax
jle 0x5ac326
mov edx, dword [ebp - 0x30]
cmp byte [edx], 0x2d
sete al
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x74]
xor edx, edx
dec edx
mov dword [esi], edx
lea edi, [ebp - 0x98]
mov dword [edi + 8], ecx
lea esi, [ebp - 0x60]
mov dword [esi + 8], ecx
lea eax, [ebp - 0x54]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x28]
mov word [ecx], dx
lea ecx, [ebp - 0x26]
mov word [ecx], dx
xorps xmm0, xmm0
movsd qword [edi], xmm0
movsd qword [esi], xmm0
movsd qword [eax], xmm0
lea ebx, [ebp - 0x8c]
mov dword [ebx], edx
mov dword [ebp - 0x10], 2
movzx ecx, byte [ebp + 0x10]
movzx edx, byte [ebp - 0x20]
mov dword [ebp - 0x84], edx
push ebx
push eax
push esi
push edi
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.005ac740
add esp, 0x20
lea ebx, [ebp - 0x1c4]
push 0xc8
push 0xff
push ebx
call fcn.00567640
add esp, 0xc
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x24]
mov eax, esi
sub eax, edi
jg 0x5ac47f
movsx ecx, byte [ebp - 0x49]
mov eax, ecx
mov dword [ebp - 0x64], ecx
test ecx, ecx
jns 0x5ac46b
mov eax, dword [ebp - 0x50]
movsx ecx, byte [ebp - 0x55]
test ecx, ecx
jns 0x5ac476
mov ecx, dword [ebp - 0x5c]
add eax, edi
add eax, ecx
add eax, 2
jmp 0x5ac4a2
movsx edx, byte [ebp - 0x49]
mov ecx, edx
mov dword [ebp - 0x64], edx
test edx, edx
jns 0x5ac48f
mov ecx, dword [ebp - 0x50]
movsx edx, byte [ebp - 0x55]
test edx, edx
jns 0x5ac49a
mov edx, dword [ebp - 0x5c]
lea eax, [edi + eax*2]
add eax, ecx
add eax, edx
inc eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x20], 0
cmp eax, 0x65
jb 0x5ac4c9
add eax, eax
push eax
call fcn.00560680
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x5ac61a
mov dword [ebp - 0x78], ebx
lea edx, [ebp - 0x88]
xor eax, eax
dec eax
mov dword [edx], eax
lea ecx, [ebp - 0x70]
mov dword [ecx], eax
movzx eax, word [ebp - 0x26]
mov edi, dword [ebp - 0x3c]
lea ecx, [edi + esi*2]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x10], 3
movzx esi, word [ebp - 0x28]
mov ecx, ebx
push dword [ebp - 0x80]
lea ebx, [ebp - 0x54]
push ebx
lea ebx, [ebp - 0x60]
push ebx
lea ebx, [ebp - 0x98]
push ebx
push eax
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x84]
push dword [ebp - 0x40]
push dword [ebp - 0x7c]
push edi
push dword [ebp - 0x24]
lea eax, [ebp - 0x70]
push eax
call fcn.005ac8a0
add esp, 0x34
movzx eax, word [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x44], edi
movzx eax, ax
push eax
push dword [ebp + 0x14]
push edx
push esi
push dword [ebp - 0x78]
push ecx
push dword [ebp + 8]
call fcn.005a5190
add esp, 0x1c
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x64]
je 0x5ac57e
push dword [ebp - 0x20]
call fcn.00554e50
add esp, 4
mov al, byte [ebp - 0x49]
test al, al
jns 0x5ac58d
push dword [ebp - 0x54]
call fcn.00562bc0
add esp, 4
cmp byte [ebp - 0x55], 0
jns 0x5ac59e
push dword [ebp - 0x60]
call fcn.00562bc0
add esp, 4
cmp byte [ebp - 0x8d], 0
jns 0x5ac5b5
push dword [ebp - 0x98]
call fcn.00562bc0
add esp, 4
mov esi, dword [ebp - 0x2c]
cmp esi, 0x648d98
je 0x5ac5e4
xor eax, eax
dec eax
lock xadd dword [esi + 4], eax
test eax, eax
jne 0x5ac5e4
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [0x63e1cc]
mov ecx, esi
call edi
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x5ac5f4
push eax
call fcn.00554e50
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x5ac604
push eax
call fcn.00554e50
add esp, 4
mov eax, dword [ebp - 0x18]
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 [ebp - 0x44], 0
mov dword [ebp - 0x10], 3
call fcn.005b1340
jmp 0x5ac65d
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], esi
call fcn.005b1340
jmp 0x5ac65d
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
call fcn.005b1340
lock inc dword [eax + 4]
mov dword [ebp - 0x10], 1
jmp 0x5ac355
nop dword [eax]
push ebp
sub esp, 0x34
add ebp, 0xc
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x5ac677
push eax
call fcn.00554e50
add esp, 4
add esp, 0x34
pop ebp
ret