Function at 0x1400441f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x380
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rsi, rcx
mov rcx, qword [rcx]
call fcn.1400449f0
test al, al
je 0x1400442ba
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x140]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x148], 1
lea rcx, [rsp + 0x150]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x148], eax
setl byte [rsp + 0x248]
jl 0x1400442a8
lea rdx, str.Automatic_Diagnostic_Log_Submission_is_disabled__skipping_SDU.
lea rcx, [rsp + 0x140]
call fcn.140021770
mov byte [rsp + 0x248], 1
lea rcx, [rsp + 0x140]
call fcn.14000afe0
jmp 0x14004495e
mov rbx, qword [rsi]
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], r15w
lea r8d, [r15 + 9]
lea rdx, str.RepairSdu
lea rcx, [rsp + 0x70]
call fcn.14000b550
nop
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
lea r8d, [r15 + 4]
lea rdx, [0x1402108d8]
lea rcx, [rsp + 0x50]
call fcn.14000b550
nop
mov rax, qword [rbx]
lea rdx, [rsp + 0x90]
mov rcx, rbx
mov rax, qword [rax + 0x88]
call qword [case.0x1400d90b6.0]
nop
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14000fcc0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb8]
call fcn.140009b70
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.14000fcc0
nop
lea rcx, [rsp + 0xb8]
call fcn.140010b20
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xd8]
call fcn.14000fcc0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xd8]
call fcn.140009b70
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.14000fcc0
nop
lea rcx, [rsp + 0xd8]
call fcn.140010b20
nop
lea rcx, [rsp + 0x100]
call fcn.140010b20
nop
lea rcx, [rsp + 0x90]
call fcn.140010b20
nop
lea rcx, [rsp + 0x50]
call fcn.140010b20
nop
lea rcx, [rsp + 0x70]
call fcn.140010b20
nop
call fcn.1401889a4
mov rdi, rax
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsi + 0x20]
mov r14, qword [rsi]
mov bl, 1
test rcx, rcx
je 0x140044429
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400d90b6.0]
movzx ebx, al
lea r9, str.IncidentSduCreationTime
lea r8, [rsp + 0xf8]
mov rdx, r14
lea rcx, [rsp + 0x100]
call fcn.1400603e0
cmp byte [rsp + 0x108], 0
je 0x14004459a
test bl, bl
mov rbx, qword [rsp + 0x100]
jne 0x140044478
sub rdi, rbx
movabs rax, 0xb0051c87fff
cmp rdi, rax
jg 0x14004459a
lea r9, str.LastSduUploadTime
lea r8, [rsp + 0xf8]
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1400603e0
cmp byte [rsp + 0x38], 0
je 0x1400444a6
cmp qword [rsp + 0x30], rbx
jge 0x14004459a
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x120]
call fcn.1400612b0
test al, al
je 0x14004459a
mov ebx, 1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400446cc
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400d90b6.0]
test al, al
je 0x1400444fe
cmp ebx, 1
jne 0x1400444fe
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x20]
call qword [case.0x1400d90b6.0]
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400d90b6.0]
test al, al
je 0x1400446cc
cmp ebx, 1
jne 0x1400446cc
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x140]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x148], ebx
lea rcx, [rsp + 0x150]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x148], eax
setl byte [rsp + 0x248]
jl 0x140044624
lea rdx, str.Stopping_SDU_generation__Waiting_for_a_reboot_shutdown...
lea rcx, [rsp + 0x140]
call fcn.14004a2b0
jmp 0x14004461c
mov ebx, r15d
cmp qword [rsi + 0x48], rbx
jne 0x140044636
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x140]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x148], 1
lea rcx, [rsp + 0x150]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x148], eax
setl byte [rsp + 0x248]
jl 0x140044624
lea rdx, str.No_components_flagged_for_diagnostics__skipping_SDU.
lea rcx, [rsp + 0x140]
call fcn.1400215c0
mov byte [rsp + 0x248], 1
lea rcx, [rsp + 0x140]
call fcn.14000afe0
jmp 0x140044951
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsi]
call fcn.140060a70
test al, al
je 0x1400444c8
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x140]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x148], 1
lea rcx, [rsp + 0x150]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x148], eax
setl byte [rsp + 0x248]
jl 0x140044624
lea rdx, str.SDU_is_throttled.
lea rcx, [rsp + 0x140]
call fcn.140021ad0
jmp 0x14004461c
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x140]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x148], 1
lea rcx, [rsp + 0x150]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x148], eax
setl byte [rsp + 0x248]
jl 0x140044749
lea rdx, str.Generating_SDU...
lea rcx, [rsp + 0x140]
call fcn.140021ad0
mov byte [rsp + 0x248], 1
lea rcx, [rsp + 0x140]
call fcn.14000afe0
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x250]
call fcn.1401a8d80
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0xf8]
lea r8, [rsp + 0x120]
mov rdx, rsi
lea rcx, [rsp + 0x250]
call fcn.140044b20
nop
lea rcx, [rsp + 0x250]
call fcn.140045d00
mov edx, ebx
lea rcx, [rsp + 0x250]
call fcn.1400467f0
test ebx, ebx
jne 0x140044907
mov rbx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
mov rax, qword [rbx]
mov rdi, qword [rax + 8]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov r8d, 0x1b
lea rdx, str.SophosAutoUpdateRepairKit
lea rcx, [rsp + 0x30]
call fcn.14000b550
nop
mov dword [rsp + 0x20], r15d
mov r9d, 0xf023f
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x100]
mov rcx, rbx
mov rax, rdi
call qword [case.0x1400d90b6.0]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140044861
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004485c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044987
call fcn.1401853a0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
movabs rax, 0xd6bf94d5e57a42bd
imul qword [rsp + 0x278]
add rdx, qword [rsp + 0x278]
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0xf8], rdx
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, str.IncidentSduCreationTime
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x14004498d
lea rax, vtable.RegistryHandle.0
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x140044905
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x140044927
cmp ebx, 1
jne 0x140044927
lea rcx, [rsp + 0x250]
call fcn.140046f60
lea rcx, [rsp + 0x250]
call fcn.140047960
nop
lea rcx, [rsp + 0x350]
call fcn.140010b20
nop
lea rcx, [rsp + 0x280]
call fcn.140145aa0
nop
lea rcx, [rsp + 0x258]
call fcn.140010b20
nop
lea rcx, [rsp + 0x120]
call fcn.140010b20
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.140185380
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1401b3c00
nop
lea rdx, str.Failed_to_set_registry_value_of_type_QWORD
lea rcx, [rsp + 0x90]
call fcn.140010040
nop
lea rdx, [rsp + 0x90]
mov ecx, ebx
call fcn.140030620
int3