Function at 0x5ae730
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], 0x4ec500
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.00569910
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.005541b0
add esp, 0x14
cmp eax, 0x64
jb 0x5ae842
mov dword [ebp - 0x20], esp
push eax
sub esp, 0x18
mov esi, esp
lea ecx, [esi + 4]
call fcn.005a2c10
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.005b4550
add esp, 0x1c
mov edi, eax
mov esp, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5aeb50
mov esi, dword [ebp - 0x30]
lea eax, [edi + edi]
push eax
call fcn.005631a0
add esp, 4
test eax, eax
je 0x5aeb3f
mov dword [ebp - 0x3c], eax
jmp 0x5ae848
mov dword [ebp - 0x20], 0
jmp 0x5ae8d2
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, 0x648d88
jne 0x5aeb5d
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x2c]
push 0x648e38
call fcn.00532460
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 [0x63e64c]
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 0x5ae836
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.005aec50
add esp, 0x20
lea ebx, [ebp - 0x1c4]
push 0xc8
push 0xff
push ebx
call fcn.00569910
add esp, 0xc
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x24]
mov eax, esi
sub eax, edi
jg 0x5ae98f
movsx ecx, byte [ebp - 0x49]
mov eax, ecx
mov dword [ebp - 0x64], ecx
test ecx, ecx
jns 0x5ae97b
mov eax, dword [ebp - 0x50]
movsx ecx, byte [ebp - 0x55]
test ecx, ecx
jns 0x5ae986
mov ecx, dword [ebp - 0x5c]
add eax, edi
add eax, ecx
add eax, 2
jmp 0x5ae9b2
movsx edx, byte [ebp - 0x49]
mov ecx, edx
mov dword [ebp - 0x64], edx
test edx, edx
jns 0x5ae99f
mov ecx, dword [ebp - 0x50]
movsx edx, byte [ebp - 0x55]
test edx, edx
jns 0x5ae9aa
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 0x5ae9d9
add eax, eax
push eax
call fcn.005631a0
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x5aeb2a
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.005aedb0
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.005a76c0
add esp, 0x1c
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x64]
je 0x5aea8e
push dword [ebp - 0x20]
call fcn.005631f0
add esp, 4
mov al, byte [ebp - 0x49]
test al, al
jns 0x5aea9d
push dword [ebp - 0x54]
call fcn.00564ea0
add esp, 4
cmp byte [ebp - 0x55], 0
jns 0x5aeaae
push dword [ebp - 0x60]
call fcn.00564ea0
add esp, 4
cmp byte [ebp - 0x8d], 0
jns 0x5aeac5
push dword [ebp - 0x98]
call fcn.00564ea0
add esp, 4
mov esi, dword [ebp - 0x2c]
cmp esi, 0x648d88
je 0x5aeaf4
xor eax, eax
dec eax
lock xadd dword [esi + 4], eax
test eax, eax
jne 0x5aeaf4
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [0x63e64c]
mov ecx, esi
call edi
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x5aeb04
push eax
call fcn.005631f0
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x5aeb14
push eax
call fcn.005631f0
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.005b3820
jmp 0x5aeb6d
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], esi
call fcn.005b3820
jmp 0x5aeb6d
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
call fcn.005b3820
lock inc dword [eax + 4]
mov dword [ebp - 0x10], 1
jmp 0x5ae865
nop dword [eax]
push ebp
sub esp, 0x34
add ebp, 0xc
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x5aeb87
push eax
call fcn.005631f0
add esp, 4
add esp, 0x34
pop ebp
ret