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

Disassembly:
push eax
call dword [0x41a034]
push 1
lea ecx, [ebp - 0x178]
call fcn.0040c411
lea ebx, [ecx - 0x28]
mov dword [ebp - 0x20], ebx
sub edi, esi
add eax, 0x9703
push dword [ebp - 0x20]
mov word [ebp - 0x44], 0x953
xor dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x3c], 1
je 0x414c53
lea ecx, [esi + 1]
neg eax
mov edi, ecx
xor edx, edx
div dword [ebp + 0xc]
lea edi, [eax - 0x20]
mov dword [ebp - 0x20], edi
push dword [ebp - 0x20]
cmp dword [ebp - 0x3c], 1
je 0x414c6b
call fcn.004133b7
add edx, eax
test dword [ebp - 0x28], 0
je 0x414c8a
add ebx, 0x41a3fd
mov dword [ebp - 4], edx
movzx edi, bx
push 0x60
and dword [ebp - 0x64], ecx
add esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], 0
je 0x414ca0
add eax, dword [ebx]
push 5
xor word [ebp - 0x2c], 0xffa
add edx, 0x4b4c
lea ebx, [ebx - 0x35]
mov edi, dword [ebp - 0x20]
add eax, 0xe7b3
mov eax, dword [ebp - 0x30]
xor ecx, dword [ebp - 0x2c]
lea ebx, [esi + eax*4 + 0x20]
lea edi, [eax - 0x30]
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x28], 0
je 0x414ce2
call fcn.00414682
add esp, 0x24
cmp byte [ebp - 4], 0
sub edx, dword [ebp - 0x38]
push dword [ebp - 0x20]
mov eax, ebx
cmp dword [ebp - 0x3c], 0x33
jne 0x414cfc
mov al, byte [ebp + 0x10]
mov edx, dword [ebp + 8]
mov byte [ecx + edx], al
mov ebx, dword [ebp - 0x20]
and dword [ebp - 0x38], edi
cmp dword [ebp - 0x3c], 0x400002
jne 0x414d1c
jne 0x414d12
xor ecx, ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0x14]
mov edi, dword [ebp - 0x30]
lea ebx, [edi - 0x20]
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x28], 0
je 0x414d33
add ecx, eax
mov edx, dword [ecx + 0x14]
push dword [ebp - 0x20]
and dword [ebp - 0x44], eax
cmp dword [ebp - 0x3c], 0xffffff8e
jne 0x414d45
push 0x80100080
cmp dword [ebp - 0x3c], 1
je 0x414d5a
mov dl, byte [ebp - 0x211]
pop ecx
mov esi, dword [ebp - 0x20]
add edx, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 1
je 0x414d76
mov edi, dword [ebp - 0x30]
cmp dword [ebp - 0x3c], 0xffffff85
jne 0x414d91
cmp ebx, edi
je 0x414dd5
cmp dword [ebp - 0x14], 0
jbe 0x414dfb
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
lea esi, [edi - 4]
mov dword [ebp - 0x20], esi
sub edx, dword [ebp - 0x1c]
xor dword [ebp - 0x2c], 0x21
or edi, dword [ebp - 0x34]
test dword [ebp - 0x28], 0
je 0x414dbc
mov dword [eax], 0x16
call fcn.0040ca24
cmp byte [ebp - 4], 0
push dword [ebp - 0x20]
cmp dword [ebp - 0x28], 0xffffffb5
jne 0x414dd5
je 0x414d8c
mov eax, dword [ecx + 0xc]
or eax, edx
cmp dword [ecx + 0x38], 0
jne 0x414e0c
add esi, ecx
cmp dword [ebp - 0x3c], 0x400002
jne 0x414de5
jbe 0x414dfb
mov edx, dword [ebp - 0x68]
xor eax, edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x58c
call dword [ecx]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x68], edx
and edi, esi
cmp dword [ebp - 0x28], 0x400002
jne 0x414e16
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x41a11f
jne 0x414e6f
cmp dword [ebp - 0x3c], 0xffffffa8
jne 0x414e2e
mov eax, 0x41a229
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov edx, dword [ebp - 0x20]
xor ebx, ecx
or dword [ebp - 0x20], edx
jne 0x41630c
add ebx, dword [ebp - 0x48]
cmp dword [ebp - 0x3c], 1
je 0x414e5d
lea eax, [edx + 0xc]
mov ecx, dword [edx - 0x1a4]
xor ecx, eax
call fcn.004185dd
mov eax, 0x41a4c9
mov edx, dword [ebp - 0x30]
xor ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x3c], 1
je 0x414e72
push esi
push 0x10
sub eax, 0xffffff80
push dword [edx - 4]
or eax, dword [ebp - 0x64]
push 0x1000000
or dword [ebp - 0x64], 0xe3e
xor esi, ebx
mov esi, edi
push 2
xor esi, dword [ebp - 0x64]
xor edi, ecx
push 0
sub ecx, dword [ebp - 0x58]
test dword [ebp - 0x28], 0
je 0x414ea8
je 0x414e6d
push 0
cmp dword [ebp - 0x3c], 1
je 0x414eb8
push 4
mov ebx, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x30]
lea ebx, [eax - 8]
mov dword [ebp - 0x20], ebx
xor edi, dword [ebp - 0x48]
xor ecx, edx
push dword [ebp - 0x20]
and edi, esi
xor ebx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x4c]
add edi, 0x590
call dword [edi]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x28], 0x400002
jne 0x414f04
test esi, esi
je 0x414f43
test eax, eax
je 0x414f23
cmp dword [ebp - 0x3c], 0x16
jne 0x414f14
mov ebp, esp
push ecx
test esi, esi
je 0x414ecf
mov eax, dword [ebp - 0x20]
or dword [ebp - 0x20], eax
jne 0x4162d9