Function at 0x1400011f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
push rbp
push rbx
push r12
push r13
push r14
lea rbp, [r11 - 0x388]
sub rsp, 0x460
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x340], rax
xor r14d, r14d
mov r12, r8
mov r13, rdx
mov rbx, rcx
test r8, r8
je 0x14000160d
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x30], rdi
mov qword [r11 - 0x38], r15
mov r15d, 0xc8
lea rax, [rbp + 0xf8]
mov r9, r15
lea rsi, [r14 + r13]
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea r8, [rsp + 0x50]
mov rcx, rbx
xor dil, dil
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400015ba
cmp qword [rbp + 0xf8], r15
jne 0x1400015ba
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400015ba
cmp qword [rbp - 0x20], 0
je 0x1400015ba
cmp qword [rbp], 0
je 0x1400015ba
cmp qword [rbp - 0x60], 0
je 0x1400015ba
mov r9d, 0x30
lea r8, [rbp + 0x100]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x1400015ba
test byte [rbp + 0x124], 2
je 0x1400015ba
test dword [rbp + 0x128], 0x1000000
je 0x1400015ba
mov rdx, qword [rbp - 0x20]
lea r8, [rbp + 0x100]
mov r9, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x1400015ba
test byte [rbp + 0x124], 4
je 0x1400015ba
mov rdx, qword [rbp]
lea r8, [rbp + 0x100]
mov r9, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x1400015ba
test byte [rbp + 0x124], 0x20
je 0x1400015ba
mov rdx, qword [rbp - 0x60]
lea r8, [rbp + 0x100]
mov r9, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x1400015ba
test dword [rbp + 0x124], 0x20
je 0x1400015ba
xor edx, edx
lea rcx, [rbp + 0x130]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rbp - 0x60]
lea r8, [rbp + 0x130]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetMappedFileNameW]
lea rdx, str.RPCRT4.dll
lea rcx, [rbp + 0x130]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400015ba
lea r8, [rbp + 0x130]
mov rdx, rsi
lea rcx, str.Found_TCO_at__p_for__s_n
call fcn.140001010
mov r8, qword [0x1400056c0]
xor edi, edi
add r8, 0x10
mov qword [rsp + 0x30], rdi
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x1400015af
mov r9, qword [0x1400056c0]
lea rax, [rbp + 0xf0]
mov r8, qword [0x1400056c8]
mov rdx, r15
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400056c0]
lea rax, [rsp + 0x50]
movups xmm0, xmmword [rax]
lea rcx, [rbp + 0x20]
add rdx, r15
movups xmm1, xmmword [rax + 0x10]
lea r9d, [rdi + 0x10]
movups xmmword [rcx], xmm0
lea r8, [rsp + 0x38]
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x80]
movups xmmword [rcx - 0x10], xmm1
movups xmm1, xmmword [rax + 0x90]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0xa0]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0xb0]
mov rax, qword [rax + 0xc0]
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm1
mov qword [rcx + 0x40], rax
mov rcx, rbx
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x1400056c0]
lea rax, [rbp + 0xf0]
add rcx, r15
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], rcx
lea r8, [rbp + 0x20]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor r8d, r8d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.WINSPOOL.DRV_OpenPrinterW]
test eax, eax
je 0x140001545
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINSPOOL.DRV_ClosePrinter]
lea rax, [rbp + 0xf0]
mov r9d, 0xc8
lea r8, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rax, [rbp + 0xf0]
mov r9d, 0xc8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rbp - 0x60]
mov r9d, 0x8000
cmp qword [rbp + 0x70], rax
mov rdx, r15
mov r8, qword [0x1400056c0]
mov rcx, rbx
sete dil
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test dil, dil
jne 0x1400015d2
mov r15d, 0xc8
test dil, dil
mov eax, 8
cmovne rax, r15
add r14, rax
cmp r14, r12
jb 0x140001241
mov rsi, qword [rsp + 0x4a0]
movzx eax, dil
mov rdi, qword [rsp + 0x458]
mov r15, qword [rsp + 0x450]
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140001aa0
add rsp, 0x460
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret
xor al, al
jmp 0x1400015ee