Function at 0x4064d0
Capabilities:
Get number of processors
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489859
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4bd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0
mov edx, 8
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], 0
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x58], eax
mul edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
shld ecx, eax, 9
shl eax, 9
add dword [ebp - 0x5c], eax
adc edx, ecx
mov ecx, dword [ebp - 0x58]
add esi, 0x14
mov dword [ebp - 0x54], edx
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x406561
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x406559
mov eax, dword [esi]
mov word [eax + ecx], 0x80
jmp 0x406572
push 0xffffffffffffff80
mov byte [ebp - 0x58], 0
push dword [ebp - 0x58]
push ecx
mov ecx, esi
call fcn.00404100
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x64], eax
cmp eax, 0x40
jae 0x4065ba
mov ecx, eax
nop
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x40659e
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x406596
mov eax, dword [esi]
mov word [ecx + eax], 0
jmp 0x4065af
push 0
mov byte [ebp - 0x58], 0
push dword [ebp - 0x58]
push ecx
mov ecx, esi
call fcn.00404100
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x24]
cmp ecx, 0x40
jb 0x406580
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.00406130
cmp dword [ebp - 0x64], 0x38
mov esi, dword [ebp - 0x60]
jbe 0x4065f1
push dword [ebp - 0x68]
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.004050c0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov ecx, esi
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
lea eax, [esi + 0x30]
push eax
call fcn.004050c0
mov dword [edi + 0x10], 0
add esp, 4
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov eax, esi
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 5
nop dword [eax]
xor esi, esi
mov edx, dword [eax]
mov ecx, 0x18
sub ecx, esi
shr edx, cl
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x54], dl
cmp ecx, dword [edi + 0x14]
jae 0x406672
cmp dword [edi + 0x14], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x406668
mov eax, dword [edi]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x406684
push dword [ebp - 0x54]
mov byte [ebp - 0x64], 0
push dword [ebp - 0x64]
push ecx
mov ecx, edi
call fcn.00404100
mov eax, dword [ebp - 0x5c]
add esi, 8
cmp esi, 0x20
jb 0x406642
add eax, 4
sub dword [ebp - 0x58], 1
mov dword [ebp - 0x5c], eax
jne 0x406640
mov eax, dword [ebp - 0x60]
push 0
push 0x4a27cc
lea ecx, [eax + 0x14]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
call fcn.00403320
mov eax, dword [ebp - 0x68]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444991
mov esp, ebp
pop ebp
ret 4