Function at 0x1800294b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor esi, esi
mov rbp, r9
mov rdi, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rsi
mov r14, rsi
mov r15, rsi
mov r13, rsi
test rcx, rcx
jne 0x1800294f4
xor eax, eax
jmp 0x1800297fe
mov r9d, 0x3000
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1800297fc
lea rcx, [rsp + 0x40]
mov r9, rdi
mov r8, r12
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800297fc
test rbp, rbp
je 0x1800295a0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
mov r9d, 0x3000
xor edx, edx
not rcx
mov dword [rsp + 0x20], 0x40
lea rdi, [rcx + rcx]
mov rcx, rbx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x1800297fc
lea rax, [rsp + 0x40]
mov r9, rdi
mov r8, rbp
mov rdx, r14
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800297fc
mov rbp, qword [rsp + 0xa0]
test rbp, rbp
je 0x18002960c
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasb al, byte [rdi]
mov r9d, 0x3000
xor edx, edx
not rcx
mov dword [rsp + 0x20], 0x40
lea rdi, [rcx - 1]
mov r8, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x1800297fc
lea rax, [rsp + 0x40]
lea r9, [rdi + 1]
mov r8, rbp
mov rdx, r15
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800297fc
mov rbp, qword [rsp + 0xa8]
test rbp, rbp
je 0x180029678
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
mov r9d, 0x3000
xor edx, edx
not rcx
mov dword [rsp + 0x20], 0x40
lea rdi, [rcx + rcx]
mov rcx, rbx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
je 0x1800297fc
lea rax, [rsp + 0x40]
mov r9, rdi
mov r8, rbp
mov rdx, r13
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800297fc
xor edx, edx
mov r9d, 0x3000
mov rcx, rbx
lea r8d, [rdx + 0x30]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x1800297fc
mov ecx, 0x10
call fcn.180034088
mov rdi, rax
test rax, rax
je 0x1800297fc
xor eax, eax
mov r9d, 0x10
mov r8, rdi
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x48]
mov dword [rdi], eax
lea rax, [rsp + 0x40]
mov rdx, r12
mov rcx, rbx
mov dword [rdi + 4], r14d
mov dword [rdi + 8], r15d
mov qword [rsp + 0x20], rax
mov dword [rdi + 0xc], r13d
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rdi
test eax, eax
jne 0x180029703
call fcn.180036fb0
jmp 0x1800297fc
call fcn.180036fb0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, 0x10624dd3
mul edi
shr edx, 6
imul edx, edx, 0x3e8
sub edi, edx
cmp qword [0x180086880], rsi
jne 0x18002973e
lea rcx, [0x18008687c]
call fcn.180029000
mov qword [0x180086880], rax
mov r8d, dword [0x18008687c]
xor edx, edx
mov r9d, 0x3000
mov rcx, rbx
add r8d, edi
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x1800297fc
mov r8, qword [0x180086880]
lea rax, [rsp + 0x40]
mov r9, rdi
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800297fc
mov r9d, dword [0x18008687c]
mov r8, qword [0x180086880]
lea rax, [rsp + 0x40]
add rdi, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800297fc
lea rax, [rsp + 0x80]
mov r9, rdi
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x80], esi
call fcn.180029bd0
test rax, rax
je 0x1800297fc
mov rcx, rax
mov esi, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret