Function at 0x180003a10
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 0x180003d61
cmp rcx, 0xffffffffffffffff
je 0x180003d61
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 0x180003ca0
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 0x180003d54
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 0x180003d54
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 0x180003d54
mov r13, qword [rsp + 0xd8]
test r13, r13
je 0x180003b85
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 0x180003d54
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 0x180003d54
mov edi, 0x30
mov r9d, 0x3000
xor edx, edx
mov rcx, rbx
mov r8, rdi
mov dword [rsp + 0x20], 0x40
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x180003d4a
lea ecx, [rdi - 0x20]
call fcn.1800076c8
mov r13, qword [rsp + 0x40]
mov rdi, rax
test rax, rax
je 0x180003c12
xor eax, eax
mov r9d, 0x10
mov r8, rdi
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rax, [rsp + 0x48]
mov rdx, r12
mov rcx, rbx
mov dword [rdi], r13d
mov qword [rsp + 0x20], rax
mov dword [rdi + 4], esi
mov dword [rdi + 8], r15d
mov dword [rdi + 0xc], r14d
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rdi
test eax, eax
jne 0x180003ca7
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 0x180003c4d
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 0x180003c69
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 0x180003c83
mov r9d, 0x8000
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test rbp, rbp
je 0x180003ca0
mov r9d, 0x8000
mov r8d, 0x1e49
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, esi
jmp 0x180003d63
call fcn.1800078a8
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1e49
mov rcx, rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x180003c12
lea rax, [rsp + 0x48]
lea r8, [0x18001cf80]
mov r9d, 0x1e49
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180003c12
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 0x180003c12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
mov eax, esi
jmp 0x180003d63
mov r13, qword [rsp + 0x40]
jmp 0x180003c17
mov r13, qword [rsp + 0x40]
mov rdi, rsi
jmp 0x180003c17
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