Function at 0x40e1bc
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.00472850
cmp dword [rsp + 0x38], 0x80000004
jb 0x40e26b
mov edi, r15d
lea edx, [rdi - 0x7ffffffe]
lea rcx, [rsp + 0x38]
call fcn.00472850
lea rsi, [rsp + 0x38]
mov ebp, 4
mov edx, dword [rsi]
mov rcx, rbx
call fcn.0040daf0
add rsi, 4
dec rbp
jne 0x40e251
inc edi
cmp edi, 3
jb 0x40e237
mov rcx, rbx
call fcn.00403440
mov rcx, rbx
call fcn.004033f8
cmp dword [rbx + 8], r15d
jne 0x40e2bb
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.00472850
mov edi, 1
mov eax, edi
shr eax, 1
xor eax, edi
mov edx, dword [rsp + rax*4 + 0x38]
mov rcx, rbx
call fcn.0040daf0
inc edi
cmp edi, 4
jb 0x40e292
mov rcx, rbx
call fcn.00403440
mov rcx, rbx
call fcn.004033f8
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.00472850
lea rdx, [rsp + 0x58]
mov ecx, dword [rsp + 0x38]
call fcn.00401c28
lea rdx, [rsp + 0x58]
lea rcx, [rbx + 0x10]
call fcn.00403290
cmp dword [rbx + 8], r15d
jne 0x40e2fb
lea rdx, [0x00475420]
mov rcx, rbx
call fcn.00403290
mov qword [rsp + 0xe0], r15
mov r9d, 0x20019
lea r8, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.0040cf54
cmp eax, r15d
jne 0x40e48a
lea rax, [fcn.00412d2c]
mov qword [rsp + 0x20], rax
lea r9, [0x0040aaf4]
mov r8d, 2
lea r12d, [r8 + 0xe]
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.004721c0
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.0040d078
mov dword [rbx], eax
cmp eax, r15d
jne 0x40e3bb
mov eax, dword [rsp + 0xd0]
cmp rax, qword [rsi]
je 0x40e3bb
mov dword [rbx], 1
inc edi
add rbp, r12
add rsi, r12
add rbx, 4
cmp edi, 2
jb 0x40e36d
cmp dword [rsp + 0xd8], r15d
je 0x40e3e4
cmp dword [rsp + 0xdc], r15d
jne 0x40e46f
mov edi, r15d
lea rbx, [rsp + 0x58]
lea rsi, [rsp + 0xd8]
cmp edi, 1
jne 0x40e408
lea rdx, [0x00475364]
mov rcx, r13
call fcn.00403290
cmp dword [rsi], r15d
jne 0x40e461
cmp qword [rbx + 8], 8
jne 0x40e461
mov rax, qword [rbx]
cmp dword [rax], r15d
je 0x40e444
mov ecx, dword [rax]
lea rdx, [rsp + 0x38]
call fcn.00401c78
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.00403290
lea rdx, [0x00475360]
mov rcx, r13
call fcn.00403290
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
lea rdx, [rsp + 0x38]
call fcn.00401c78
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.00403290
inc edi
add rsi, 4
add rbx, r12
cmp edi, 2
jb 0x40e3f4
lea r9, [fcn.00412d2c]
mov r8d, 2
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.00472110
nop
lea rcx, [rsp + 0xe0]
call fcn.0040cc64
mov rcx, r14
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.00420308