Function at 0x40ce7c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
xor r15d, r15d
mov dword [rcx + 8], r15d
mov rax, qword [rcx]
mov byte [rax], r15b
mov dword [rcx + 0x18], r15d
mov rax, qword [rcx + 0x10]
mov byte [rax], r15b
lea r13, [rcx + 0x20]
mov dword [r13 + 8], r15d
mov rax, qword [r13]
mov byte [rax], r15b
lea r14, [rcx + 0x30]
mov dword [r14 + 8], r15d
mov rax, qword [r14]
mov byte [rax], r15b
mov dword [rcx + 8], r15d
mov rax, qword [rcx]
mov byte [rax], r15b
mov edx, 0x80000000
lea rcx, [rsp + 0x38]
call fcn.0045e080
cmp dword [rsp + 0x38], 0x80000004
jb 0x40cf2b
mov edi, r15d
lea edx, [rdi - 0x7ffffffe]
lea rcx, [rsp + 0x38]
call fcn.0045e080
lea rsi, [rsp + 0x38]
mov ebp, 4
mov edx, dword [rsi]
mov rcx, rbx
call fcn.0040c89c
add rsi, 4
dec rbp
jne 0x40cf11
inc edi
cmp edi, 3
jb 0x40cef7
mov rcx, rbx
call fcn.00403104
mov rcx, rbx
call fcn.004030bc
cmp dword [rbx + 8], r15d
jne 0x40cf7b
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.0045e080
mov edi, 1
mov eax, edi
shr eax, 1
xor eax, edi
mov edx, dword [rsp + rax*4 + 0x38]
mov rcx, rbx
call fcn.0040c89c
inc edi
cmp edi, 4
jb 0x40cf52
mov rcx, rbx
call fcn.00403104
mov rcx, rbx
call fcn.004030bc
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.0045e080
lea rdx, [rsp + 0x58]
mov ecx, dword [rsp + 0x38]
call fcn.00401ca8
lea rdx, [rsp + 0x58]
lea rcx, [rbx + 0x10]
call fcn.00402f30
cmp dword [rbx + 8], r15d
jne 0x40cfbb
lea rdx, [0x00460060]
mov rcx, rbx
call fcn.00402f30
mov qword [rsp + 0xe0], r15
mov r9d, 0x20019
lea r8, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.0040c6b0
cmp eax, r15d
jne 0x40d143
lea rax, [fcn.0042c934]
mov qword [rsp + 0x20], rax
lea r9, [0x0040a428]
mov r8d, 2
lea r12d, [r8 + 0xe]
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.0045dcb0
nop
mov edi, r15d
lea rbx, [rsp + 0xd8]
lea rsi, [rsp + 0x60]
lea rbp, [rsp + 0x58]
mov dword [rsp + 0xd0], r15d
lea rax, str.Previous_Update_Revision
lea rdx, str.Update_Revision
cmp edi, r15d
cmove rdx, rax
lea r9, [rsp + 0xd0]
mov r8, rbp
lea rcx, [rsp + 0xe0]
call fcn.0040c704
mov dword [rbx], eax
cmp eax, r15d
jne 0x40d07b
mov eax, dword [rsp + 0xd0]
cmp rax, qword [rsi]
je 0x40d07b
mov dword [rbx], 1
inc edi
add rbp, r12
add rsi, r12
add rbx, 4
cmp edi, 2
jb 0x40d02d
cmp dword [rsp + 0xd8], r15d
je 0x40d0a4
cmp dword [rsp + 0xdc], r15d
jne 0x40d128
mov edi, r15d
lea rbx, [rsp + 0x58]
lea rsi, [rsp + 0xd8]
cmp edi, 1
jne 0x40d0c8
lea rdx, [0x0045ffa0]
mov rcx, r13
call fcn.00402f30
cmp dword [rsi], r15d
jne 0x40d11a
cmp qword [rbx + 8], 8
jne 0x40d11a
mov rax, qword [rbx]
cmp dword [rax], r15d
je 0x40d0fd
mov ecx, dword [rax]
lea rdx, [rsp + 0x38]
call fcn.00401cd0
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.00402f30
mov rcx, r13
call fcn.00403d64
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
lea rdx, [rsp + 0x38]
call fcn.00401cd0
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.00402f30
inc edi
add rsi, 4
add rbx, r12
cmp edi, 2
jb 0x40d0b4
lea r9, [fcn.0042c934]
mov r8d, 2
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.0045dc00
nop
lea rcx, [rsp + 0xe0]
call fcn.0040c5a0
mov rcx, r14
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.0041e484