Function at 0x1401e25d0
Capabilities:
Get common file path
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x538]
sub rsp, 0x610
mov qword [rbp + 0x90], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov qword [rbp + 0x10], rdx
mov rsi, rcx
xor r14b, r14b
mov byte [rsp + 0x30], r14b
mov rdx, qword [rcx]
lea rcx, str.RepairLSPCatalog__ws_r_n
call fcn.140298d38
mov edx, 0x104
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, [rbp + 0x2f0]
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1401e2650
xor r15d, r15d
mov qword [rsp + 0x78], r15
lea r12, [0x140323de0]
test edi, edi
jne 0x1401e2674
mov qword [rsp + 0x70], r12
jmp 0x1401e269d
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x2f0]
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
mov edx, 0x104
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea rax, [rbp + 0x2f0]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e26c3
mov qword [rbp - 0x78], r15
test ebx, ebx
jne 0x1401e26db
mov qword [rbp - 0x80], r12
jmp 0x1401e2701
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x2f0]
mov rcx, qword [rbp - 0x80]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401ea290
nop
mov r9, qword [rsi]
lea r8, str.SYSTEMCurrentControlSetServicesWinSock2Parameters
lea rdx, [0x140342698]
lea rcx, [rbp + 0x18]
call fcn.1401e94c0
nop
mov eax, dword [0x1403fe608]
lea rsi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401e2760
or eax, 1
mov dword [0x1403fe608], eax
mov qword [0x1403fe5e0], rsi
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
mov qword [rbp - 0x40], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rbp + 0x18]
mov rcx, qword [0x1403fe5e8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401e2e21
lea ecx, [rax + 0x10]
call fcn.14029806c
mov r13, rax
mov qword [rbp - 0x48], rax
test rax, rax
je 0x1401e27b1
mov rax, qword [rbp - 0x40]
mov qword [r13], rsi
mov qword [r13 + 8], rax
jmp 0x1401e27b8
mov r13, r15
mov qword [rbp - 0x48], r15
test r13, r13
je 0x1401e2e21
lea rax, str.Catalog_Entries
mov qword [rbp + 0x28], rax
lea rax, str.Catalog_Entries64
mov qword [rbp + 0x30], rax
xor r14d, r14d
mov dword [rsp + 0x58], r14d
mov r15d, r14d
mov qword [rbp - 0x68], r14
lea edi, [r14 + 1]
nop word [rax + rax]
mov rbx, qword [rbp + r15*8 + 0x28]
mov qword [rbp - 0x38], r14
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r13 + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401e283b
lea ecx, [rax + 0x10]
call fcn.14029806c
mov r12, rax
test rax, rax
je 0x1401e283b
mov rax, qword [rbp - 0x38]
mov qword [r12], rsi
mov qword [r12 + 8], rax
jmp 0x1401e283e
mov r12, r14
test r12, r12
je 0x1401e2def
xor sil, sil
mov dword [rsp + 0x48], esi
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x18], r14
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1400ec710
mov edi, dword [rbp - 0x20]
test al, al
je 0x1401e290f
mov r8, rbx
lea rdx, str.Num_
lea rcx, [rbp + 0x50]
call fcn.1401e7ee0
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x50], 4
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x38]
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [r13 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x1401e28d6
xor al, al
mov r14d, dword [rbp - 0x70]
jmp 0x1401e28e1
mov r14d, dword [rsp + 0x34]
mov dword [rbp - 0x70], r14d
mov al, 1
test al, al
sete bl
cmp dword [rbp + 0x58], 0
jle 0x1401e28f5
mov rcx, qword [rbp + 0x50]
call fcn.140298600
test bl, bl
jne 0x1401e290c
movzx esi, sil
cmp r14d, edi
mov eax, 1
cmovne esi, eax
mov dword [rsp + 0x48], esi
xor r14d, r14d
test edi, edi
jle 0x1401e2c8b
mov r15, qword [rbp - 0x18]
mov qword [rbp - 0x30], rdi
nop
mov qword [rsp + 0x50], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, qword [r12 + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401e296f
lea ecx, [rax + 0x10]
call fcn.14029806c
mov rdi, rax
test rax, rax
je 0x1401e296f
mov rax, qword [rsp + 0x50]
lea rcx, vtable.Core::Win32::RegistryKey.0
mov qword [rdi], rcx
mov qword [rdi + 8], rax
jmp 0x1401e2972
mov rdi, r14
test rdi, rdi
je 0x1401e2c75
xor sil, sil
lea rax, vtable.Core::ByteArray.0
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x68], r14d
mov qword [rbp + 0x70], r14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r13, rax
mov qword [rbp + 0x78], rax
xor ecx, ecx
mov dword [rsp + 0x34], ecx
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.PackedCatalogItem
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401e2c2a
cmp dword [rsp + 0x5c], 3
jne 0x1401e2c2a
movsxd rbx, dword [rsp + 0x34]
test ebx, ebx
je 0x1401e2a0a
mov r8, rbx
lea edx, [rax + 8]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
mov qword [rbp + 0x70], rax
test rax, rax
je 0x1401e2c2a
mov dword [rbp + 0x68], ebx
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.PackedCatalogItem
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401e2c2a
mov r8, r14
lea rdx, [0x14032c774]
lea rcx, [rsp + 0x38]
call fcn.1401e94c0
nop
cmp dword [rsp + 0x44], 0
je 0x1401e2a60
lea rcx, [rsp + 0x38]
call fcn.1401d4490
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x1401e2b15
lea rcx, vtable.Core::Collection_class_Core::String_::Enumerator.0
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
mov rbx, qword [rax + 0x10]
mov qword [rbp - 0x50], rbx
lea rax, [0x140323de0]
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x68], rax
test rbx, rbx
je 0x1401e2afa
mov edx, dword [rbx + 0x1c]
lea rcx, [rsp + 0x60]
call fcn.1401e9030
movsxd r9, dword [rbx + 0x1c]
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x60]
call fcn.14029b4d8
mov edx, dword [rbx + 0x1c]
lea rcx, [rsp + 0x60]
call fcn.1401ea290
mov rbx, qword [rbx]
mov qword [rbp - 0x50], rbx
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x44], eax
jne 0x1401e2a97
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call fcn.14029848c
test eax, eax
jne 0x1401e2a97
mov sil, 1
jmp 0x1401e2a97
cmp dword [rsp + 0x68], 0
jle 0x1401e2b0c
mov rcx, qword [rsp + 0x60]
call fcn.140298600
nop
test sil, sil
jne 0x1401e2c14
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1401e2b3b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1401e2c14
cmp qword [rbp - 0x68], 0
jne 0x1401e2c11
movsxd rax, dword [rsp + 0x7c]
cmp dword [rsp + 0x44], eax
jl 0x1401e2c11
mov r8, rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.14029a350
test eax, eax
jne 0x1401e2c11
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.1400d2fb0
nop
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x40]
call fcn.1400d1690
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x38]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401ea290
nop
cmp dword [rbp + 0x48], 0
jle 0x1401e2bd9
mov rcx, qword [rbp + 0x40]
call fcn.140298600
nop
cmp dword [rbp + 0x88], 0
jle 0x1401e2bee
mov rcx, qword [rbp + 0x80]
call fcn.140298600
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1401e2c11
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1401e2c14
mov sil, 1
cmp dword [rsp + 0x40], 0
jle 0x1401e2c25
mov rcx, qword [rsp + 0x38]
call fcn.140298600
test sil, sil
je 0x1401e2c4d
mov rdx, qword [r15]
lea rcx, str._tDeleting__ws_r_n
call fcn.140298d38
mov rdx, qword [r15]
mov rcx, r12
call fcn.1400ec4d0
mov sil, 1
mov dword [rsp + 0x48], esi
jmp 0x1401e2c51
mov esi, dword [rsp + 0x48]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test r14, r14
je 0x1401e2c72
mov r8, r14
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor r14d, r14d
add r15, 0x10
dec qword [rbp - 0x30]
jne 0x1401e2920
mov r15, qword [rbp - 0x68]
mov r13, qword [rbp - 0x48]
movzx edx, sil
lea rcx, str._tRenumber___d_r_n
call fcn.140298d38
test sil, sil
jne 0x1401e2caa
mov byte [rsp + 0x30], 1
jmp 0x1401e2daa
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], r14d
mov qword [rbp - 0x50], r14
lea rdx, [rbp - 0x60]
mov rcx, r12
call fcn.1400ec710
mov r14, qword [rbp - 0x50]
test al, al
je 0x1401e2d84
xor ebx, ebx
mov esi, dword [rbp - 0x58]
test esi, esi
jle 0x1401e2d2d
mov rdi, r14
nop dword [rax]
nop word [rax + rax]
inc ebx
mov r8d, ebx
lea rdx, str._012u
lea rcx, [rbp - 0x10]
call fcn.1401e94c0
nop
lea r8, [rbp - 0x10]
mov rdx, rdi
mov rcx, r12
call fcn.1401a1dc0
nop
cmp dword [rbp - 8], 0
jle 0x1401e2d25
mov rcx, qword [rbp - 0x10]
call fcn.140298600
add rdi, 0x10
cmp ebx, esi
jl 0x1401e2cf0
mov r8, qword [rbp + r15*8 + 0x28]
lea rdx, str.Num_
lea rcx, [rbp]
call fcn.1401e7ee0
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp]
mov rcx, qword [r13 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [rsp + 0x30], 1
cmp dword [rbp + 8], 0
jle 0x1401e2d84
mov rcx, qword [rbp]
call fcn.140298600
nop
test r14, r14
je 0x1401e2daa
lea r9, [fcn.140005d80]
mov r8d, dword [r14 - 8]
mov edx, 0x10
mov rcx, r14
call fcn.140298fa4
lea rcx, [r14 - 8]
call fcn.1402983dc
mov rax, qword [r12]
mov edi, 1
mov edx, edi
mov rcx, r12
call qword [rax]
nop
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x1401e2de5
lea rbx, [rax - 8]
lea r9, [fcn.140005d80]
mov r8d, dword [rbx]
lea edx, [rdi + 0xf]
mov rcx, rax
call fcn.140298fa4
mov rcx, rbx
call fcn.1402983dc
lea rsi, vtable.Core::Win32::RegistryKey.0
xor r14d, r14d
mov r12d, dword [rsp + 0x58]
inc r12d
mov dword [rsp + 0x58], r12d
inc r15
mov qword [rbp - 0x68], r15
movsxd rax, r12d
cmp rax, 2
jb 0x1401e27f0
mov rax, qword [r13]
mov edx, edi
mov rcx, r13
call qword [rax]
movzx r14d, byte [rsp + 0x30]
cmp dword [rbp + 0x20], 0
jle 0x1401e2e31
mov rcx, qword [rbp + 0x18]
call fcn.140298600
nop
cmp dword [rbp - 0x78], 0
jle 0x1401e2e41
mov rcx, qword [rbp - 0x80]
call fcn.140298600
nop
cmp dword [rsp + 0x78], 0
jle 0x1401e2e52
mov rcx, qword [rsp + 0x70]
call fcn.140298600
movzx eax, r14b
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x610]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret