Function at 0x511d50
Capabilities:
Get number of processors
Hash data using djb2

Disassembly:
push 0xffffffffffffffff
push 0x6dff0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5d8
push esi
mov dword [esp + 0x4c], 0x50000000
xor eax, eax
mov dword [esp + 0x5e4], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], 0x60000000
lea ecx, [esp + 0x50]
call fcn.0064c690
mov eax, dword [esp + 0x5ec]
lea esi, [esp + 0x50]
mov byte [esp + 0x5e4], 4
call fcn.0064c590
test eax, eax
jne 0x511df1
mov ecx, esi
call fcn.0064c770
xor eax, eax
pop esi
mov ecx, dword [esp + 0x5d8]
mov dword fs:[0], ecx
add esp, 0x5e4
ret
push ebx
push ebp
push edi
mov ebx, 0x64
lea edi, [esp + 0x34]
call fcn.00512db0
call fcn.006287f0
call fcn.006287f0
mov edi, dword [esp + 0x68]
lea ecx, [esp + 0x5c]
call fcn.0064ccb0
cmp dword [esp + 0x68], edi
jne 0x511e99
nop
lea esi, [esp + 0x34]
call fcn.00512cc0
mov esi, eax
lea eax, [esp + 0x1c0]
push 0x70a557
push eax
call fcn.00625d90
add esp, 8
test eax, eax
je 0x511e8a
movsx eax, byte [esp + 0x1c0]
test eax, eax
lea edx, [esp + 0x1c0]
mov ecx, 0x1505
je 0x511e7a
lea esp, [esp]
inc edx
cmp eax, 0x61
jl 0x511e6e
cmp eax, 0x7a
jg 0x511e6e
sub eax, 0x20
imul ecx, ecx, 0x21
xor ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x511e60
mov edx, dword [esi]
mov eax, dword [esi]
xor edx, ecx
and edx, 0xfffffff
xor eax, edx
mov dword [esi], eax
lea ecx, [esp + 0x5c]
call fcn.0064ccb0
cmp dword [esp + 0x68], edi
je 0x511e20
mov ebx, 0x1a81
lea esi, [esp + 0x20]
call fcn.00512fe0
xorps xmm0, xmm0
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x5c4], eax
mov byte [esp + 0x1c0], al
lea eax, [esp + 0x5c]
mov dword [esp + 0x68], 1
mov byte [esp + 0x5cc], 0x20
movss dword [esp + 0x5c0], xmm0
call fcn.0064c8a0
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x5c]
jge 0x512020
lea ecx, [esp + 0x5c]
call fcn.0064ccb0
lea ecx, [esp + 0x1c0]
push 0x70a557
push ecx
call fcn.00625d90
add esp, 8
test eax, eax
jne 0x511f25
lea eax, [esp + 0x5c]
call fcn.0064c8a0
jmp 0x512012
movsx eax, byte [esp + 0x1c0]
test eax, eax
lea edx, [esp + 0x1c0]
mov ecx, 0x1505
je 0x511f5a
lea ecx, [ecx]
inc edx
cmp eax, 0x61
jl 0x511f4e
cmp eax, 0x7a
jg 0x511f4e
sub eax, 0x20
imul ecx, ecx, 0x21
xor ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x511f40
and ecx, 0xfffffff
or ecx, 0x40000000
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
push edx
mov edi, 0x91a408
call fcn.0050e790
test eax, eax
je 0x512001
mov eax, dword [esp + 0x38]
cmp eax, 1
jle 0x512001
mov ebp, dword [esp + 0x34]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
cmp dword [ebp], 0x50000000
je 0x511ff3
push ebp
mov edi, 0x91a408
call fcn.0050e790
test eax, eax
je 0x511ff3
push ebp
lea ebx, [esp + 0x20]
lea eax, [esp + 0x1c]
call fcn.005112c0
mov byte [esp + 0x5f0], 6
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
lea ecx, [esp + 0x48]
xor edi, edi
push ecx
lea esi, [esp + 0x24]
mov dword [esp + 0x4c], eax
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm0
mov dword [esp + 0x58], edi
call fcn.00512ea0
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x511f96
lea eax, [esp + 0x5c]
call fcn.0064c8a0
mov byte [esp + 0x5f0], 4
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x5c]
jl 0x511ef5
lea esi, [esp + 0x5c]
call fcn.0064c7f0
mov esi, dword [esp + 0x24]
mov eax, esi
shl eax, 4
add eax, 4
push eax
call fcn.00685d18
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x5f0], 7
je 0x512068
push fcn.00668d30
push 0x511380
push esi
lea edi, [eax + 4]
push 0x10
push edi
mov dword [eax], esi
call fcn.00686002
jmp 0x51206a
xor edi, edi
test esi, esi
jle 0x51209f
mov edx, dword [esp + 0x20]
lea ecx, [edx + 0xc]
lea eax, [edi + 4]
sub edx, edi
mov ebp, esi
lea esp, [esp]
mov ebx, dword [ecx - 0xc]
mov dword [eax - 4], ebx
mov ebx, dword [edx + eax]
mov dword [eax], ebx
mov ebx, dword [ecx - 4]
mov dword [eax + 4], ebx
mov ebx, dword [ecx]
mov dword [eax + 8], ebx
add ecx, 0x10
add eax, 0x10
dec ebp
jne 0x512080
push 0x10
push esi
push edi
mov eax, str.PH_PROFILE
mov ecx, 0x91a408
call fcn.0050e9f0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x10]
mov ebx, dword [0x7c1978]
mov eax, dword [esp + 0x14]
mov edi, dword [0x7c197c]
mov edx, dword [0x956cac]
sub ecx, ebx
sbb eax, edi
cmp eax, edx
jg 0x5120f5
mov esi, dword [0x956ca8]
jl 0x5120eb
cmp ecx, esi
jae 0x5120f5
add esi, 1
adc edx, 0
mov ecx, esi
mov eax, edx
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x956cac], eax
mov eax, dword [esp + 0x60]
test eax, eax
mov dword [0x956ca8], ecx
je 0x51216b
mov esi, eax
mov eax, dword [0x80edc8]
test eax, eax
jne 0x51213a
push 0x7c2190
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x80edc8], 1
push 0x7c2190
call ebp
push 0x80ed7c
call edi
push esi
call fcn.0068662d
add esp, 4
push 0x80ed7c
call ebx
push 0x7c2190
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x60], 0
mov esi, dword [esp + 0x5dc]
test esi, esi
je 0x5121c8
mov eax, dword [0x80edc8]
test eax, eax
jne 0x512194
push 0x7c2190
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x80edc8], 1
push 0x7c2190
call ebp
push 0x80ed7c
call edi
push esi
call fcn.0068662d
add esp, 4
push 0x80ed7c
call ebx
push 0x7c2190
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x5dc], 0
or eax, 0xffffffff
mov dword [esp + 0x5d4], eax
mov dword [esp + 0x5d8], eax
mov byte [esp + 0x5f0], 1
mov eax, dword [esp + 0x2c]
mov edi, 2
cmp eax, edi
mov dword [esp + 0x5d0], 0
je 0x51221e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x51221e
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00668d30
push edx
push 0x10
push eax
call fcn.00685fa2
push esi
call fcn.00685b4c
add esp, 4
mov byte [esp + 0x5f0], 0
cmp dword [esp + 0x40], edi
pop edi
pop ebp
pop ebx
je 0x512254
mov eax, dword [esp + 0x28]
test eax, eax
je 0x512254
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00668d30
push ecx
push 4
push eax
call fcn.00685fa2
push esi
call fcn.00685b4c
add esp, 4
mov ecx, dword [esp + 0x5dc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x5e4
ret