Function at 0x40e3d4
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.00473820
cmp dword [rsp + 0x38], 0x80000004
jb 0x40e47c
mov edi, r15d
lea edx, [rdi - 0x7ffffffe]
lea rcx, [rsp + 0x38]
call fcn.00473820
lea rsi, [rsp + 0x38]
mov ebp, 4
mov edx, dword [rsi]
mov rcx, rbx
call fcn.0040dd5c
add rsi, 4
dec rbp
jne 0x40e462
inc edi
cmp edi, 3
jb 0x40e448
mov rcx, rbx
call fcn.00403418
mov rcx, rbx
call fcn.004033d0
cmp dword [rbx + 8], r15d
jne 0x40e4cc
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.00473820
mov edi, 1
mov eax, edi
shr eax, 1
xor eax, edi
mov edx, dword [rsp + rax*4 + 0x38]
mov rcx, rbx
call fcn.0040dd5c
inc edi
cmp edi, 4
jb 0x40e4a3
mov rcx, rbx
call fcn.00403418
mov rcx, rbx
call fcn.004033d0
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.00473820
lea rdx, [rsp + 0x48]
mov ecx, dword [rsp + 0x38]
call fcn.00401d28
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x10]
call fcn.00403244
mov qword [rsp + 0xe8], r15
mov r9d, 0x20019
lea r8, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe8]
call fcn.0040d1ac
cmp eax, r15d
jne 0x40e73f
lea rcx, [rsp + 0x38]
call fcn.00403810
nop
cmp dword [rbx + 8], r15d
jne 0x40e57e
lea r8, [rsp + 0x38]
lea rdx, str.ProcessorNameString
lea rcx, [rsp + 0xe8]
call fcn.0040d02c
cmp eax, r15d
jne 0x40e57e
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.0040dd38
nop
mov rdx, rax
mov rcx, rbx
call fcn.00403290
nop
mov rcx, qword [rsp + 0x48]
call fcn.004047d4
lea r8, [rsp + 0x38]
lea rdx, str.Identifier
lea rcx, [rsp + 0xe8]
call fcn.0040d02c
cmp eax, r15d
jne 0x40e5da
cmp dword [rbx + 0x18], r15d
je 0x40e5b2
lea rdx, [0x004762e8]
lea rcx, [rbx + 0x10]
call fcn.00403244
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.0040dd38
nop
mov rdx, rax
lea rcx, [rbx + 0x10]
call fcn.00403290
nop
mov rcx, qword [rsp + 0x48]
call fcn.004047d4
nop
mov rcx, qword [rsp + 0x38]
call fcn.004047d4
lea rax, [fcn.00412d2c]
mov qword [rsp + 0x20], rax
lea r9, [0x0040acd8]
mov edx, InitCommonControls
lea r8d, [rdx - 0xe]
lea rcx, [rsp + 0x68]
call fcn.00473190
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.0040d2d0
mov dword [rdi], eax
cmp eax, r15d
jne 0x40e66f
mov eax, dword [rsp + 0xe0]
cmp rax, qword [rbp]
je 0x40e66f
mov dword [rdi], 1
inc esi
add r12, 0x10
add rbp, 0x10
add rdi, 4
cmp esi, 2
jb 0x40e620
cmp dword [rsp + 0xf0], r15d
je 0x40e69a
cmp dword [rsp + 0xf4], r15d
jne 0x40e724
mov esi, r15d
lea rdi, [rsp + 0x68]
lea rbp, [rsp + 0xf0]
cmp esi, 1
jne 0x40e6bf
lea rdx, [0x00476340]
lea rcx, [rbx + 0x20]
call fcn.00403244
cmp dword [rbp], r15d
jne 0x40e715
cmp qword [rdi + 8], 8
jne 0x40e715
mov rax, qword [rdi]
cmp dword [rax], r15d
je 0x40e6f7
mov ecx, dword [rax]
lea rdx, [rsp + 0x48]
call fcn.00401d50
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x20]
call fcn.00403244
lea rcx, [rbx + 0x20]
call fcn.00404108
mov rax, qword [rdi]
mov ecx, dword [rax + 4]
lea rdx, [rsp + 0x48]
call fcn.00401d50
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x20]
call fcn.00403244
inc esi
add rbp, 4
add rdi, 0x10
cmp esi, 2
jb 0x40e6aa
lea r9, [fcn.00412d2c]
mov edx, InitCommonControls
lea r8d, [rdx - 0xe]
lea rcx, [rsp + 0x68]
call fcn.004730e0
nop
lea rcx, [rsp + 0xe8]
call fcn.0040cebc
cmp dword [rbx + 8], r15d
jne 0x40e761
lea rdx, [0x00476250]
mov rcx, rbx
call fcn.00403244
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.00420780