Function at 0x140059fe0
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Execute shellcode via indirect call
Spawn thread to rwx shellcode

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, 0x100
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rbp - 9], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
lea rax, [rbp + 0x5f]
movabs r13, 0xff00ff00ff00ff00
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], rax
mov rdi, qword [rax]
xor rdi, r13
mov qword [rbp - 0x21], rdi
xor r14d, r14d
mov qword [rax], r14
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_21]
cmp byte [reloc.SecureEngineSDK64.dll_Ordinal_1], 1
jne 0x14005a914
mov rbx, qword [0x1400f9960]
mov rax, qword [rbx + 0x1d18]
movss xmm0, dword [rax + 0x11c]
subss xmm0, dword [rax + 0x54]
addss xmm0, dword [rax + 0xa0]
addss xmm0, dword [0x1400e2d4c]
mov byte [rax + 0xd1], 1
mov rax, qword [rbx + 0x1d18]
movss xmm1, dword [rax + 0x54]
subss xmm1, dword [rax + 0xa0]
addss xmm1, xmm0
movss dword [rax + 0x11c], xmm1
movss xmm0, dword [rax + 0x134]
maxss xmm0, xmm1
movss dword [rax + 0x134], xmm0
movaps xmm6, xmmword [0x1400e3020]
mov dword [rbp - 0x39], 7
movups xmm0, xmmword [rbx + 0x176c]
movups xmmword [rbp - 0x35], xmm0
lea rcx, [rbx + 0x1e70]
lea rdx, [rbp - 0x39]
call fcn.140025460
movups xmmword [rbx + 0x176c], xmm6
movaps xmm6, xmmword [0x1400e3190]
mov rbx, qword [0x1400f9960]
mov dword [rbp - 0x39], 9
movups xmm0, xmmword [rbx + 0x178c]
movups xmmword [rbp - 0x35], xmm0
lea rcx, [rbx + 0x1e70]
lea rdx, [rbp - 0x39]
call fcn.140025460
movups xmmword [rbx + 0x178c], xmm6
movsd xmm0, qword [str.xURVJ_ewXG_]
movsd qword [rbp - 0x79], xmm0
mov eax, dword [0x1400e1968]
mov dword [rbp - 0x71], eax
lea esi, [r14 + 4]
lea r15d, [r14 + 0x1f]
mov ebx, dword [reloc.SecureEngineSDK64.dll_Ordinal_1]
cmp byte [0x1400e196b], r14b
je 0x14005a2b2
mov r8d, r14d
cmp ebx, 2
jl 0x14005a26a
movdqa xmm4, xmmword [0x1400e31b0]
movd xmm6, esi
movd xmm5, r15d
movdqa xmm2, xmmword [0x1400e2e50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e2e70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e2e80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
movd xmm0, dword [str.xURVJ_ewXG_]
pxor xmm2, xmm0
movd dword [rbp - 0x79], xmm2
movdqa xmm3, xmmword [0x1400e2e60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e2e70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e2e80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
movd xmm0, dword [rbp - 0x75]
pxor xmm2, xmm0
movd dword [rbp - 0x75], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x34
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x14005a280
lea rdx, [rbp - 0x79]
call fcn.140048b70
mov r8, qword [0x1400f9960]
movsxd rax, dword [r8 + 0x1e70]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1e78]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x16fc], xmm0
movsxd rcx, dword [r8 + 0x1e70]
lea eax, [rcx - 1]
mov dword [r8 + 0x1e70], eax
lea rax, [rcx - 2]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1e78]
movsxd rax, dword [rcx + rdx*4]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 + 4]
movups xmmword [r8 + rax*8 + 0x16fc], xmm0
dec dword [r8 + 0x1e70]
mov rax, qword [r8 + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [r8 + 0x1d18]
movss xmm6, dword [0x1400e2dac]
cmp byte [rax + 0xd4], 0
jne 0x14005a369
mov qword [rsp + 0x40], 0
movaps xmm1, xmm6
lea rcx, [rsp + 0x40]
call fcn.140013b50
mov r8, qword [0x1400f9960]
mov rcx, qword [r8 + 0x1d18]
movss xmm0, dword [rcx + 0x2a8]
cmp qword [rcx + 0x1e8], 0
jne 0x14005a38c
cmp qword [r8 + 0x2178], 0
je 0x14005a394
movss xmm0, dword [rcx + 0x278]
subss xmm0, dword [rcx + 0x118]
mulss xmm0, dword [0x1400e2c90]
subss xmm0, dword [0x1400e2d5c]
mov byte [rcx + 0xd1], 1
mov rax, qword [r8 + 0x1d18]
movss xmm1, dword [rax + 0x50]
subss xmm1, dword [rax + 0x9c]
addss xmm1, xmm0
movss dword [rax + 0x118], xmm1
movss xmm0, dword [rax + 0x130]
maxss xmm0, xmm1
movss dword [rax + 0x130], xmm0
mov rax, qword [r8 + 0x1d18]
movss xmm2, dword [rax + 0x11c]
subss xmm2, dword [rax + 0x54]
addss xmm2, dword [rax + 0xa0]
addss xmm2, dword [0x1400e2d44]
mov byte [rax + 0xd1], 1
mov rax, qword [r8 + 0x1d18]
movss xmm1, dword [rax + 0x54]
subss xmm1, dword [rax + 0xa0]
addss xmm1, xmm2
movss dword [rax + 0x11c], xmm1
movss xmm0, dword [rax + 0x134]
maxss xmm0, xmm1
movss dword [rax + 0x134], xmm0
movss xmm0, dword [0x1400e2d74]
movss dword [rbp - 0x79], xmm0
movss xmm1, dword [0x1400e2d48]
movss dword [rbp - 0x75], xmm1
mov eax, dword [str.xZQV9]
mov dword [rsp + 0x40], eax
movzx eax, word [0x1400e18a0]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x40], Ordinal_79
xor byte [rsp + 0x41], 0x35
xor byte [rsp + 0x42], 0x36
xor byte [rsp + 0x43], 0x37
xor al, 0x38
mov byte [rsp + 0x44], al
xor byte [rsp + 0x45], 0x39
lea rdx, [rbp - 0x79]
lea rcx, [rsp + 0x40]
call fcn.14003cc10
test al, al
je 0x14005a4c5
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140059c90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x1400f9960]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
cmp byte [rax + 0xd4], 0
jne 0x14005a505
mov qword [rbp - 0x79], 0
movaps xmm1, xmm6
lea rcx, [rbp - 0x79]
call fcn.140013b50
mov rcx, qword [0x1400f9960]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
cmp byte [rax + 0xd4], 0
jne 0x14005a53e
mov qword [rbp - 0x79], 0
movaps xmm1, xmm6
lea rcx, [rbp - 0x79]
call fcn.140013b50
mov rcx, qword [0x1400f9960]
mov rax, qword [rcx + 0x1d18]
movss xmm0, dword [rax + 0x11c]
subss xmm0, dword [rax + 0x54]
addss xmm0, dword [rax + 0xa0]
addss xmm0, dword [0x1400e2d54]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
movss xmm1, dword [rax + 0x54]
subss xmm1, dword [rax + 0xa0]
addss xmm1, xmm0
movss dword [rax + 0x11c], xmm1
movss xmm0, dword [rax + 0x134]
maxss xmm0, xmm1
movss dword [rax + 0x134], xmm0
movups xmm0, xmmword [str.pETWKegnKO0.07]
movups xmmword [rbp - 0x39], xmm0
movzx eax, word [0x1400e1920]
mov word [rbp - 0x29], ax
cmp byte [0x1400e1921], 0
je 0x14005a752
mov r8d, r14d
cmp ebx, 2
jl 0x14005a708
movdqa xmm5, xmmword [0x1400e2e50]
movdqa xmm4, xmmword [0x1400e31b0]
movd xmm6, esi
movdqa xmm7, xmmword [0x1400e2e70]
movd xmm8, r15d
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x35]
mov edx, dword [rbp - 0x79]
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e2e80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e2e80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14005a601
cmp r8d, 0x12
jge 0x14005a752
movsxd rax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x34
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x14005a720
lea rcx, [rbp - 0x39]
call fcn.140002690
call fcn.14000d430
test al, al
je 0x14005a914
mov rdx, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x79]
call fcn.14005c2c0
mov rsi, rax
movups xmm0, xmmword [0x1400e1c00]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [0x1400e1c10]
movups xmmword [rbp - 0x59], xmm1
movsd xmm0, qword [0x1400e1c20]
movsd qword [rbp - 0x49], xmm0
mov ecx, dword [0x1400e1c28]
mov dword [rbp - 0x41], ecx
movzx ecx, byte [0x1400e1c2c]
mov byte [rbp - 0x3d], cl
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
lea rax, [rbp + 0x5f]
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], rax
mov rbx, qword [rax]
xor rbx, r13
mov qword [rbp - 0x39], rbx
mov qword [rax], r14
mov ecx, r14d
lea r12, [0x1400614e0]
lea r15, [0x140000000]
mov rax, qword [0x1400fcc90]
test rax, rax
je 0x14005a81a
mov rdx, r14
cmp rax, r12
je 0x14005a809
inc ecx
mov edx, ecx
mov rax, qword [r15 + rcx*8 + 0xfcc90]
test rax, rax
jne 0x14005a7f1
jmp 0x14005a81a
mov r8, qword [r15 + rdx*8 + 0xfcfb0]
test r8, r8
jne 0x14005a8ff
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
jne 0x14005a841
mov r8, r14
jmp 0x14005a8de
mov rax, r12
mov rcx, r8
mov edx, 3
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x14005a850
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x1400fcc80]
mov qword [r15 + rax*8 + 0xfcc90], r12
mov qword [r15 + rax*8 + 0xfcfb0], r8
inc rax
mov qword [0x1400fcc80], rax
lea rdx, [rbp - 0x69]
mov rcx, qword [rsi]
call r8
nop
xor rbx, r13
lea rax, [rbp + 0x5f]
mov qword [rax], rbx
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_22]
call fcn.1400586f0
nop
xor rdi, r13
lea rax, [rbp + 0x5f]
mov qword [rax], rdi
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400c8520
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret