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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x270
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x484870
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea esi, [ebp - 0xec]
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 - 0x3c], esi
lea eax, [ebp - 0x27c]
push 0xc8
push 0xff
mov dword [ebp - 0x24], eax
push eax
call fcn.00544260
sub esp, 8
movsd xmm0, qword [ebp + 0x1c]
movsd qword [esp + 0xc], xmm0
mov dword [esp], esi
mov dword [esp + 8], 0x6cb338
mov dword [esp + 4], 0x64
call fcn.004d45b0
add esp, 0x14
cmp eax, 0x64
jb 0x5aef9b
mov dword [ebp - 0x24], esp
push eax
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x20], eax
add eax, 4
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], ecx
push eax
call fcn.004e1ed0
add esp, 4
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ecx + 0x10], 0x6cb338
movsd xmm0, qword [ebp + 0x1c]
movsd qword [ecx + 0x14], xmm0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
call fcn.005b5090
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov esp, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5af286
mov esi, dword [ebp - 0x3c]
add eax, eax
push eax
call fcn.004f72d0
add esp, 4
test eax, eax
je 0x5af275
mov dword [ebp - 0x24], eax
jmp 0x5aefa2
mov dword [ebp - 0x34], 0
jmp 0x5af028
mov dword [ebp - 0x20], eax
xor eax, eax
xor esi, esi
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x38]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], 0
push edx
call fcn.004e0ff0
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x38]
push 0x7482a8
call fcn.004e2490
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x3c]
lea ebx, [edi + ecx]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x64], eax
mov esi, dword [ecx + 0x28]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0x73c768]
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x64]
push dword [ebp - 0x24]
push ebx
push edi
call esi
mov ecx, dword [ebp - 0x20]
xor eax, eax
test ecx, ecx
jle 0x5aef8f
mov ecx, dword [ebp - 0x3c]
cmp byte [ecx], 0x2d
sete cl
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x70]
xor ebx, ebx
dec ebx
mov dword [ecx], ebx
lea esi, [ebp - 0x88]
mov dword [esi + 8], eax
lea edx, [ebp - 0x58]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x4c]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x30]
mov word [eax], bx
lea eax, [ebp - 0x2e]
mov word [eax], bx
xorps xmm0, xmm0
movsd qword [esi], xmm0
movsd qword [edx], xmm0
movsd qword [ecx], xmm0
lea edi, [ebp - 0x7c]
mov dword [edi], ebx
mov dword [ebp - 0x10], 2
movzx eax, byte [ebp - 0x34]
movzx ebx, byte [ebp + 0x10]
push edi
push ecx
push edx
push esi
lea ecx, [ebp - 0x2e]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x34], eax
push eax
push ebx
call fcn.005af380
add esp, 0x28
lea esi, [ebp - 0x1b4]
push 0xc8
push 0xff
push esi
call fcn.00544260
add esp, 0xc
mov ebx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x20]
mov eax, edi
sub eax, ebx
jg 0x5af0dc
movsx eax, byte [ebp - 0x41]
test eax, eax
mov edx, dword [ebp + 0x14]
jns 0x5af0c8
mov eax, dword [ebp - 0x48]
movsx ecx, byte [ebp - 0x4d]
test ecx, ecx
jns 0x5af0d3
mov ecx, dword [ebp - 0x54]
add eax, ebx
add eax, ecx
add eax, 2
jmp 0x5af0fd
movsx ecx, byte [ebp - 0x41]
test ecx, ecx
jns 0x5af0e7
mov ecx, dword [ebp - 0x48]
movsx edx, byte [ebp - 0x4d]
test edx, edx
jns 0x5af0f2
mov edx, dword [ebp - 0x54]
lea eax, [ebx + eax*2]
add eax, ecx
add eax, edx
inc eax
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x78], ebx
xor ecx, ecx
cmp eax, 0x65
jb 0x5af121
add eax, eax
push eax
call fcn.004f72d0
mov edx, dword [ebp + 0x14]
add esp, 4
mov ecx, eax
mov esi, eax
test eax, eax
je 0x5af260
lea ebx, [ebp - 0x6c]
xor eax, eax
dec eax
mov dword [ebx], eax
lea ebx, [ebp - 0x68]
mov dword [ebx], eax
movzx ebx, word [ebp - 0x2e]
mov eax, edx
mov edx, esi
mov esi, dword [ebp - 0x24]
lea edi, [esi + edi*2]
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x10], 3
movzx eax, word [ebp - 0x30]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push ebx
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x64]
push edi
push esi
push dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x24], edx
push edx
call fcn.005af4e0
add esp, 0x3c
movzx eax, word [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x40], edi
movzx eax, ax
push eax
push dword [ebp + 0x14]
push edx
push esi
push dword [ebp - 0x24]
push ecx
push dword [ebp + 8]
call fcn.005a7ef0
add esp, 0x1c
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5af1c5
push eax
call fcn.004f72a0
add esp, 4
cmp byte [ebp - 0x41], 0
jns 0x5af1d6
push dword [ebp - 0x4c]
call fcn.00540380
add esp, 4
cmp byte [ebp - 0x4d], 0
jns 0x5af1e7
push dword [ebp - 0x58]
call fcn.00540380
add esp, 4
cmp byte [ebp - 0x7d], 0
jns 0x5af1fb
push dword [ebp - 0x88]
call fcn.00540380
add esp, 4
mov esi, dword [ebp - 0x38]
cmp esi, 0x7481f8
je 0x5af22a
xor eax, eax
dec eax
lock xadd dword [esi + 4], eax
test eax, eax
jne 0x5af22a
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [0x73c768]
mov ecx, esi
call edi
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x5af23a
push eax
call fcn.004f72a0
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x5af24a
push eax
call fcn.004f72a0
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 - 0x40], 0
mov dword [ebp - 0x10], 3
call fcn.005b4450
jmp 0x5af293
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], esi
call fcn.005b4450
jmp 0x5af293
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
call fcn.005b4450
nop word cs:[eax + eax]
push ebp
sub esp, 0x3c
add ebp, 0xc
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x5af2b7
push eax
call fcn.004f72a0
add esp, 4
add esp, 0x3c
pop ebp
ret