Function at 0x40d214
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
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
mov dword [rcx + 0x28], r15d
mov rax, qword [rcx + 0x20]
mov byte [rax], r15b
mov dword [rcx + 0x38], r15d
mov rax, qword [rcx + 0x30]
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.0045f010
cmp dword [rsp + 0x38], 0x80000004
jb 0x40d2bc
mov edi, r15d
lea edx, [rdi - 0x7ffffffe]
lea rcx, [rsp + 0x38]
call fcn.0045f010
lea rsi, [rsp + 0x38]
mov ebp, 4
mov edx, dword [rsi]
mov rcx, rbx
call fcn.0040cb9c
add rsi, 4
dec rbp
jne 0x40d2a2
inc edi
cmp edi, 3
jb 0x40d288
mov rcx, rbx
call fcn.0040326c
mov rcx, rbx
call fcn.00403224
cmp dword [rbx + 8], r15d
jne 0x40d30c
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.0045f010
mov edi, 1
mov eax, edi
shr eax, 1
xor eax, edi
mov edx, dword [rsp + rax*4 + 0x38]
mov rcx, rbx
call fcn.0040cb9c
inc edi
cmp edi, 4
jb 0x40d2e3
mov rcx, rbx
call fcn.0040326c
mov rcx, rbx
call fcn.00403224
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.0045f010
lea rdx, [rsp + 0x48]
mov ecx, dword [rsp + 0x38]
call fcn.00401ca8
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x10]
call fcn.00403098
mov qword [rsp + 0xe8], r15
mov r9d, 0x20019
lea r8, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe8]
call fcn.0040c98c
cmp eax, r15d
jne 0x40d57f
lea rcx, [rsp + 0x38]
call fcn.0040365c
nop
cmp dword [rbx + 8], r15d
jne 0x40d3be
lea r8, [rsp + 0x38]
lea rdx, str.ProcessorNameString
lea rcx, [rsp + 0xe8]
call fcn.0040c8a4
cmp eax, r15d
jne 0x40d3be
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.0040cb78
nop
mov rdx, rax
mov rcx, rbx
call fcn.004030e4
nop
mov rcx, qword [rsp + 0x48]
call fcn.00402344
lea r8, [rsp + 0x38]
lea rdx, str.Identifier
lea rcx, [rsp + 0xe8]
call fcn.0040c8a4
cmp eax, r15d
jne 0x40d41a
cmp dword [rbx + 0x18], r15d
je 0x40d3f2
lea rdx, [0x00460fb8]
lea rcx, [rbx + 0x10]
call fcn.00403098
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.0040cb78
nop
mov rdx, rax
lea rcx, [rbx + 0x10]
call fcn.004030e4
nop
mov rcx, qword [rsp + 0x48]
call fcn.00402344
nop
mov rcx, qword [rsp + 0x38]
call fcn.00402344
lea rax, [fcn.00445efc]
mov qword [rsp + 0x20], rax
lea r9, [0x0040a67c]
mov edx, 0x10
lea r8d, [rdx - 0xe]
lea rcx, [rsp + 0x68]
call fcn.0045ec40
nop
mov esi, r15d
lea rdi, [rsp + 0xf0]
lea rbp, [rsp + 0x70]
lea r12, [rsp + 0x68]
mov dword [rsp + 0xe0], r15d
lea rax, str.Previous_Update_Revision
lea rdx, str.Update_Revision
cmp esi, r15d
cmove rdx, rax
lea r9, [rsp + 0xe0]
mov r8, r12
lea rcx, [rsp + 0xe8]
call fcn.0040c9e0
mov dword [rdi], eax
cmp eax, r15d
jne 0x40d4af
mov eax, dword [rsp + 0xe0]
cmp rax, qword [rbp]
je 0x40d4af
mov dword [rdi], 1
inc esi
add r12, 0x10
add rbp, 0x10
add rdi, 4
cmp esi, 2
jb 0x40d460
cmp dword [rsp + 0xf0], r15d
je 0x40d4da
cmp dword [rsp + 0xf4], r15d
jne 0x40d564
mov esi, r15d
lea rdi, [rsp + 0x68]
lea rbp, [rsp + 0xf0]
cmp esi, 1
jne 0x40d4ff
lea rdx, [0x00461010]
lea rcx, [rbx + 0x20]
call fcn.00403098
cmp dword [rbp], r15d
jne 0x40d555
cmp qword [rdi + 8], 8
jne 0x40d555
mov rax, qword [rdi]
cmp dword [rax], r15d
je 0x40d537
mov ecx, dword [rax]
lea rdx, [rsp + 0x48]
call fcn.00401cd0
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x20]
call fcn.00403098
lea rcx, [rbx + 0x20]
call fcn.00403ecc
mov rax, qword [rdi]
mov ecx, dword [rax + 4]
lea rdx, [rsp + 0x48]
call fcn.00401cd0
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x20]
call fcn.00403098
inc esi
add rbp, 4
add rdi, 0x10
cmp esi, 2
jb 0x40d4ea
lea r9, [fcn.00445efc]
mov edx, 0x10
lea r8d, [rdx - 0xe]
lea rcx, [rsp + 0x68]
call fcn.0045eb90
nop
lea rcx, [rsp + 0xe8]
call fcn.0040c87c
cmp dword [rbx + 8], r15d
jne 0x40d5a1
lea rdx, [0x00460f20]
mov rcx, rbx
call fcn.00403098
lea rcx, [rbx + 0x30]
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.0041ec14