Function at 0x40772c
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
je 0x4075df
mov word [esi - 0xe], 0x800
cmp dword [ebp - 0x48], 0xffffff93
jne 0x40758e
push ebx
mov ebx, dword [ecx + 0xc]
push esi
mov esi, dword [ebp + 8]
mov esi, dword [ebp - 0x64]
sub edx, dword [ebp - 0x50]
add dword [ebp - 0x48], 0
je 0x40759e
inc eax
mov dword [esi - 0x20], 0x1000
xor dword [ebp - 0x28], 0x3c
and edx, ebx
or dword [ebp - 0x54], 0xdf1
add dword [ebp - 0x48], 0
je 0x4075cd
call 0x413bbe
cmp esi, edi
jne 0x40758a
cmp dword [ebp - 0x19c], edi
mov eax, dword [ebp - 0x64]
or ebx, ecx
cmp dword [ebp - 0x38], 1
je 0x4075e2
push edx
mov edx, dword [edi + 4]
lea eax, [ebp - 0x28]
mov dword [eax - 0x1c], 0
cmp dword [ebp - 0x38], 0xfffffff8
jne 0x407605
jne 0x4075c7
pop ecx
push 0xa
call dword [0x419160]
mov dword [0x419680], eax
xor dword [ebp - 0x78], ebx
push 4
xor ebx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x54]
push 0x3000
sub ecx, eax
or edi, dword [ebp - 0x34]
sub esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x64]
xor esi, dword [ebp - 0x54]
and dword [ebp - 0x6c], 0xffffff92
lea ecx, [edx - 0x20]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x48], 0
je 0x407648
mov eax, dword [ebp - 8]
add esp, 8
push eax
call fcn.00416905
push dword [ebp - 0x80]
and edi, ecx
xor dword [ebp - 0x30], esi
cmp dword [ebp - 0x38], 0xffffffc7
jne 0x40765d
mov byte [ebp - 4], 5
push 0
add edx, 0x4446
and ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x64]
sub edi, dword [ebp - 0x7c]
xor dword [ebp - 0x84], 0xffffffa7
lea esi, [eax - 0x1c]
mov dword [ebp - 0x80], esi
cmp dword [ebp - 0x38], 0xfffffff6
jne 0x4076b2
mov dword [ebp - 0x1b4], 0x80000000
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x1a0], edi
cmp dword [ebp - 0x38], 0x400002
jne 0x4076cb
push esi
push eax
call fcn.0040ff3b
xor edx, edx
inc edx
add esp, 0xc
push dword [ebp - 0x80]
push 0xffffffff
cmp dword [ebp - 0x38], 1
je 0x4076e3
mov eax, dword [eax*4 + 0x43f7a0]
add ecx, dword [ebp - 0x4c]
sub esi, dword [ebp - 0x84]
mov edx, dword [ebp - 0x40]
and dword [ebp - 0x84], edi
mov eax, dword [ebp - 0x44]
add eax, 0x5a0
call dword [eax]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x40], edx
and word [ebp - 0x60], 0x578
add dword [ebp - 0x68], 0xffffffd1
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
push dword [ecx]
call fcn.00403812
mov edx, 0xf000
cmp dword [ebp - 0x38], 0x5c
jne 0x407733
mov byte [eax], 0
pop ebx
pop ebp
mov eax, esi
and dword [ebp - 0x40], edx
sub ebx, edx
cmp dword [ebp - 0x38], 1
je 0x407745
and dword [eax + 8], 0
cmp dword [ebp - 0x40], 0x1000
jne 0x40777d
cmp dword [ebp - 0x38], 1
je 0x40776d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x41965c]
mov ecx, dword [ebp - 0x64]
mov dword [ecx - 0x24], 1
lea esi, [edx + 0x65]
xor esi, edx
mov edi, dword [ebp - 0x64]
or ecx, eax
and ecx, esi
cmp dword [edi - 0x24], 1
jne 0x4078c7
mov edi, dword [ebp - 0x80]
cmp dword [ebp - 0x48], 0
je 0x4077a2
inc ecx
cmp ecx, eax
mov ebx, dword [ebp - 0x44]
lea edi, [ebx + 0xf0c]
mov dword [ebp - 0x80], edi
and ebx, dword [ebp - 0x4c]
push dword [ebp - 0x80]
mov dword [ebp - 0x28], 0xf12
xor word [ebp - 0x6c], 0x33c
add dword [ebp - 0x48], 0
je 0x4077d5
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x44]
lea esi, [ebx + 0xef4]
mov dword [ebp - 0x80], esi
cmp dword [ebp - 0x48], 0x400002
jne 0x4078f2
push 0x419538
push ecx
call fcn.00417ab6
add esp, 0xc
push 0
cmp dword [ebp - 0x38], 1
je 0x407906
test eax, eax
je 0x4078ed
push eax
call dword [0x4190f4]
push dword [ebp - 0x80]
add ebx, dword [ebp - 0x4c]
add dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x38], 1
je 0x40791f
test eax, eax
je 0x407930
mov eax, dword [ebp - 0x64]
add word [ebp - 0x34], 0x291
mov edx, eax
lea ecx, [eax - 8]
mov dword [ebp - 0x80], ecx
sub esi, edx
mov esi, eax
xor dword [ebp - 0x60], edx
add ecx, edx
push dword [ebp - 0x80]
or ecx, esi
and eax, dword [ebp - 0x78]
add ebx, esi
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
add eax, 0x5b0
call dword [eax]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x40], edx
xor dword [ebp - 0x58], ebx
lea eax, [eax]
mov eax, esi
mov esi, dword [ebp - 0x80]
cmp dword [ebp - 0x48], 0
je 0x407972
sub esp, 0x4194d3
push ebx
push esi
mov edi, dword [ebp - 0x64]
sub edx, eax
cmp dword [ebp - 0x48], 0
je 0x407986
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
lea esi, [edi - 0x10]
mov dword [ebp - 0x80], esi
and edi, dword [ebp - 0x2c]
push dword [ebp - 0x80]
and edi, ecx
or edx, dword [ebp - 0x4c]
xor edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x80]
cmp dword [ebp - 0x38], 0x400002
jne 0x4079af
pop ebx
mov esp, ebp
pop ebp
int3
mov esi, dword [ebp - 0x64]
and ebx, ecx
add eax, dword [ebp - 0x30]
lea edi, [esi - 8]
mov dword [ebp - 0x80], edi
sub edx, eax
and edi, dword [ebp - 0x7c]
cmp dword [ebp - 0x38], 1
je 0x4079d1
mov esi, ecx
cmp dword [esi + 0x54], 0
push dword [ebp - 0x80]
cmp dword [ebp - 0x38], 1
je 0x4079e9
add eax, dword [ebp + 0xc]
add ecx, ebx
push ecx
push eax
call 0x40b4c9
xor dword [ebp - 0x54], 0x7c
and eax, dword [ebp - 0x30]
push 0
lea ebx, [edi + ebx*4 - 0x3a]
xor eax, esi
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
add esi, 0x620
call dword [esi]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x40], edx
and edi, dword [ebp - 0x54]
add dword [ebp - 0x2c], esi
or edi, ecx
mov eax, dword [ebp - 0x80]
or dword [ebp - 0x30], ecx
lea esi, [edi + 0x1823]
or dword [ebp - 0x80], eax
je 0x407b04
cmp dword [ebp - 0x38], 0xfffffff3
jne 0x407a44
test esi, esi
je 0x407a95
test ebx, ebx
je 0x407a39
lea ecx, [ebp - 0xa54]
push ecx
mov ebx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x28]
sub esi, dword [ebp - 0x84]
or dword [ebp - 0x24], ebx
jne 0x407b04
xor edx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x44]
or ecx, ebx
and ecx, dword [ebp - 0x7c]
lea edi, [eax + 0xf00]
mov dword [ebp - 0x80], edi
lea ecx, [edx]
and esi, dword [ebp - 0x50]
push dword [ebp - 0x80]
cmp dword [ebp - 0x48], 0xffffffcb
jne 0x407a9b
push eax
call edx
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x21c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x21c]
cmp dword [ebp - 0x38], 0xfffffff4
jne 0x407aad
mov eax, dword [esi]
xor ecx, ecx
mov word [ebx + eax], cx
pop ebx
mov eax, dword [ebp - 0x80]
mov esi, dword [ebp - 0x64]
xor ebx, dword [ebp - 0x54]
lea edx, [eax]
lea eax, [esi - 8]
mov dword [ebp - 0x80], eax
lea eax, [ebx + 0x12d0]
or edi, dword [ebp - 0x4c]
push dword [ebp - 0x80]
or dword [ebp - 0x58], 0x4f5
or dword [ebp - 0x7c], edi
add word [ebp - 0x54], 0xdc6
mov edx, dword [ebp - 0x40]
add dword [ebp - 0x4c], 0xfffffff4
or dword [ebp - 0x6c], ebx
mov eax, dword [ebp - 0x44]
add eax, 0x5b0
call dword [eax]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x40], edx
add dword [ebp - 0x24], 1
xor ecx, dword [ebp - 0x60]
jmp 0x40795e