Function at 0x40d3a4
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.0049dfb0
cmp dword [rsp + 0x38], 0x80000004
jb 0x40d453
mov edi, r15d
lea edx, [rdi - 0x7ffffffe]
lea rcx, [rsp + 0x38]
call fcn.0049dfb0
lea rsi, [rsp + 0x38]
mov ebp, 4
mov edx, dword [rsi]
mov rcx, rbx
call fcn.0040cd0c
add rsi, 4
dec rbp
jne 0x40d439
inc edi
cmp edi, 3
jb 0x40d41f
mov rcx, rbx
call fcn.004032c8
mov rcx, rbx
call fcn.00403280
cmp dword [rbx + 8], r15d
jne 0x40d4a3
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.0049dfb0
mov edi, 1
mov eax, edi
shr eax, 1
xor eax, edi
mov edx, dword [rsp + rax*4 + 0x38]
mov rcx, rbx
call fcn.0040cd0c
inc edi
cmp edi, 4
jb 0x40d47a
mov rcx, rbx
call fcn.004032c8
mov rcx, rbx
call fcn.00403280
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.0049dfb0
lea rdx, [rsp + 0x58]
mov ecx, dword [rsp + 0x38]
call fcn.00401d9c
lea rdx, [rsp + 0x58]
lea rcx, [rbx + 0x10]
call fcn.00403118
cmp dword [rbx + 8], r15d
jne 0x40d4e3
lea rdx, [0x004a5380]
mov rcx, rbx
call fcn.00403118
mov qword [rsp + 0xe0], r15
mov r9d, 0x20019
lea r8, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.0040cb10
cmp eax, r15d
jne 0x40d672
lea rax, [section..text]
mov qword [rsp + 0x20], rax
lea r9, [0x0040a8e0]
mov r8d, 2
lea r12d, [r8 + 0xe]
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.0049da70
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.0040cb64
mov dword [rbx], eax
cmp eax, r15d
jne 0x40d5a3
mov eax, dword [rsp + 0xd0]
cmp rax, qword [rsi]
je 0x40d5a3
mov dword [rbx], 1
inc edi
add rbp, r12
add rsi, r12
add rbx, 4
cmp edi, 2
jb 0x40d555
cmp dword [rsp + 0xd8], r15d
je 0x40d5cc
cmp dword [rsp + 0xdc], r15d
jne 0x40d657
mov edi, r15d
lea rbx, [rsp + 0x58]
lea rsi, [rsp + 0xd8]
cmp edi, 1
jne 0x40d5f0
lea rdx, [0x004a52c4]
mov rcx, r13
call fcn.00403118
cmp dword [rsi], r15d
jne 0x40d649
cmp qword [rbx + 8], 8
jne 0x40d649
mov rax, qword [rbx]
cmp dword [rax], r15d
je 0x40d62c
mov ecx, dword [rax]
lea rdx, [rsp + 0x38]
call fcn.00401dec
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.00403118
lea rdx, [0x004a52c0]
mov rcx, r13
call fcn.00403118
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
lea rdx, [rsp + 0x38]
call fcn.00401dec
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.00403118
inc edi
add rsi, 4
add rbx, r12
cmp edi, 2
jb 0x40d5dc
lea r9, [section..text]
mov r8d, 2
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.0049d9c0
nop
lea rcx, [rsp + 0xe0]
call fcn.0040cae0
mov rcx, r14
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.004202b4