Function at 0x40cf4c
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.0045e4a0
cmp dword [rsp + 0x38], 0x80000004
jb 0x40cffb
mov edi, r15d
lea edx, [rdi - 0x7ffffffe]
lea rcx, [rsp + 0x38]
call fcn.0045e4a0
lea rsi, [rsp + 0x38]
mov ebp, 4
mov edx, dword [rsi]
mov rcx, rbx
call fcn.0040c880
add rsi, 4
dec rbp
jne 0x40cfe1
inc edi
cmp edi, 3
jb 0x40cfc7
mov rcx, rbx
call fcn.0040315c
mov rcx, rbx
call fcn.00403114
cmp dword [rbx + 8], r15d
jne 0x40d04b
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.0045e4a0
mov edi, 1
mov eax, edi
shr eax, 1
xor eax, edi
mov edx, dword [rsp + rax*4 + 0x38]
mov rcx, rbx
call fcn.0040c880
inc edi
cmp edi, 4
jb 0x40d022
mov rcx, rbx
call fcn.0040315c
mov rcx, rbx
call fcn.00403114
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.0045e4a0
lea rdx, [rsp + 0x58]
mov ecx, dword [rsp + 0x38]
call fcn.00401c30
lea rdx, [rsp + 0x58]
lea rcx, [rbx + 0x10]
call fcn.00402fac
cmp dword [rbx + 8], r15d
jne 0x40d08b
lea rdx, [0x004610c0]
mov rcx, rbx
call fcn.00402fac
mov qword [rsp + 0xe0], r15
mov r9d, 0x20019
lea r8, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.0040c684
cmp eax, r15d
jne 0x40d21a
lea rax, [section..text]
mov qword [rsp + 0x20], rax
lea r9, [0x0040a3e4]
mov r8d, 2
lea r12d, [r8 + 0xe]
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.0045e0e0
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.0040c6d8
mov dword [rbx], eax
cmp eax, r15d
jne 0x40d14b
mov eax, dword [rsp + 0xd0]
cmp rax, qword [rsi]
je 0x40d14b
mov dword [rbx], 1
inc edi
add rbp, r12
add rsi, r12
add rbx, 4
cmp edi, 2
jb 0x40d0fd
cmp dword [rsp + 0xd8], r15d
je 0x40d174
cmp dword [rsp + 0xdc], r15d
jne 0x40d1ff
mov edi, r15d
lea rbx, [rsp + 0x58]
lea rsi, [rsp + 0xd8]
cmp edi, 1
jne 0x40d198
lea rdx, [0x00461004]
mov rcx, r13
call fcn.00402fac
cmp dword [rsi], r15d
jne 0x40d1f1
cmp qword [rbx + 8], 8
jne 0x40d1f1
mov rax, qword [rbx]
cmp dword [rax], r15d
je 0x40d1d4
mov ecx, dword [rax]
lea rdx, [rsp + 0x38]
call fcn.00401c80
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.00402fac
lea rdx, [0x00461000]
mov rcx, r13
call fcn.00402fac
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
lea rdx, [rsp + 0x38]
call fcn.00401c80
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.00402fac
inc edi
add rsi, 4
add rbx, r12
cmp edi, 2
jb 0x40d184
lea r9, [section..text]
mov r8d, 2
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.0045e030
nop
lea rcx, [rsp + 0xe0]
call fcn.0040c574
mov rcx, r14
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.0041e50c