Function at 0x140002490
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x14003b250]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dl, 1
lea rcx, str.Adding_dim_job_to_startup
call fcn.140017250
mov qword [rsp + 0x50], 0xffffffff80000001
mov qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
lea rdx, [0x140027e50]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rsp + 0x38], eax
xor eax, eax
mov word [rsp + 0xa0], ax
lea rax, [rsp + 0xa2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, Ordinal_265
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x1400274d4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, [0x1400274d8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, [0x1400274dc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
mov rax, qword [rsp + 0x2d0]
add rax, 0x298
mov rcx, rax
call fcn.140005e30
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, [0x1400274e4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, [0x1400274e8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, str.__uibase_
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
mov rax, qword [rsp + 0x2d0]
add rax, 0x298
mov rcx, rax
call fcn.140005e80
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, [0x140027518]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
mov rax, qword [rsp + 0x2d0]
add rax, 0x178
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.14001b500
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x2d0]
add rax, 0x178
mov rcx, rax
call fcn.14001b560
mov r8, qword [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002c90
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea r8, [rsp + 0x40]
lea rdx, [0x140027520]
lea rcx, [rsp + 0x68]
call fcn.140002c90
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
cmp dword [rsp + 0x38], 0
jne 0x140002733
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x38], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140021890
add rsp, 0x2c0
pop rdi
ret