Function at 0x14003c630
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xd60]
sub rsp, 0xe60
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rbp + 0xd50], rax
mov ebx, ecx
mov qword [rsp + 0x30], 0
lea rcx, [rbp + 0x150]
xor edx, edx
mov r8d, 0x400
call fcn.14003fab0
xor edx, edx
lea rcx, [rbp + 0x550]
mov r8d, 0x400
call fcn.14003fab0
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14003fab0
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
mov rcx, 0xffffffff80000002
cmp ebx, 6
jae 0x14003c7a1
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003c978
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Winosinfo
lea rax, [rbp + 0x150]
mov dword [rsp + 0x38], 0x400
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003c96d
mov r8d, 0x103
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rbp + 0x950]
mov r8d, 0x400
call fcn.14003fab0
lea r9, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
lea r8, str.__s_
lea rcx, [rbp + 0x950]
call fcn.14003c0c0
lea rax, [rbp + 0x950]
lea r8, [rbp + 0x150]
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14003c784
add rax, 2
test ecx, ecx
jne 0x14003c770
test edx, edx
jne 0x14003c96d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14003c97a
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTreeWinosinfo
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003c978
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [0x140064800]
lea rax, [rbp + 0x150]
mov dword [rsp + 0x38], 0x400
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x14003c972
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x150]
mov rdx, 0xffffffffffffffff
lea r9, str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTasks_
mov qword [rsp + 0x20], rax
lea r8, [0x1400573a0]
lea rcx, [rbp + 0x550]
call fcn.14003c0c0
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003c978
xor edx, edx
lea rcx, [rbp + 0x950]
mov r8d, 0x400
call fcn.14003fab0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Triggers
lea rax, [rbp + 0x950]
mov dword [rsp + 0x38], 0x400
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003c96d
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x400
call fcn.14003fab0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Actions
lea rax, [rbp + 0x150]
mov dword [rsp + 0x38], 0x400
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003c78c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, [rbp + 0x16c]
mov rdx, 0xffffffffffffffff
lea r8, [0x140057288]
lea rcx, [rbp + 0x550]
call fcn.14003c0c0
mov r8d, 0x103
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x40]
lea r8, [rbp + 0x550]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14003c964
add rax, 2
test ecx, ecx
jne 0x14003c950
test edx, edx
jne 0x14003c978
lea eax, [rdx + 1]
jmp 0x14003c97a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0xd50]
xor rcx, rsp
call fcn.14003e040
mov rbx, qword [rsp + 0xe70]
add rsp, 0xe60
pop rbp
ret