Function at 0x18000a9d0
Capabilities:
Allocate or change rwx memory
Enumerate process modules
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor ebx, ebx
mov dword [rsp + 0x38], 0xc3c03148
mov dword [rsp + 0x3c], 0xc3c03148
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov dword [rsp + 0x34], ebx
mov r14, rcx
mov qword [rsp + 0x40], rbx
test dl, dl
je 0x18000ad56
test rcx, rcx
jne 0x18000aa5f
mov r14, qword [0x180082d08]
test r14, r14
jne 0x18000aa5f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r14, rax
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x18000ab32
mov ecx, dword [rsp + 0x30]
shl rcx, 3
call fcn.180050474
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov rcx, r14
mov r12, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x18000ab2a
test dword [rsp + 0x30], 0xfffffff8
mov edi, ebx
jbe 0x18000ab2a
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.18004c900
mov r15d, edi
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov rcx, r14
mov rdx, qword [r12 + r15*8]
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x18000ab1d
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.18004acc4
test rax, rax
je 0x18000ab1d
lea rcx, [rax + 2]
lea rdx, [0x18006cfd0]
call fcn.180050580
test eax, eax
je 0x18000acb4
mov eax, dword [rsp + 0x30]
inc edi
shr eax, 3
cmp edi, eax
jb 0x18000aac0
mov rcx, r12
call fcn.18005047c
mov rdi, rbx
mov r9d, 0x40
lea rax, [rsp + 0x34]
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [r9 - 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x18000ab9b
lea rax, [rsp + 0x40]
mov r9d, 4
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x34]
lea rax, [rsp + 0x34]
mov r8d, 4
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r14, rsi
test rsi, rsi
jne 0x18000abb8
mov r14, qword [0x180082d08]
test r14, r14
jne 0x18000abb8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r14, rax
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x18000ac82
mov ecx, dword [rsp + 0x30]
shl rcx, 3
call fcn.180050474
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov rcx, r14
mov r12, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x18000ac7a
test dword [rsp + 0x30], 0xfffffff8
mov edi, ebx
jbe 0x18000ac7a
nop dword [rax]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.18004c900
mov r15d, edi
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov rcx, r14
mov rdx, qword [r12 + r15*8]
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x18000ac6d
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.18004acc4
test rax, rax
je 0x18000ac6d
lea rcx, [rax + 2]
lea rdx, [0x18006d000]
call fcn.180050580
test eax, eax
je 0x18000ad05
mov eax, dword [rsp + 0x30]
inc edi
shr eax, 3
cmp edi, eax
jb 0x18000ac10
mov rcx, r12
call fcn.18005047c
mov r9d, 0x40
lea rax, [rsp + 0x34]
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [r9 - 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x18000b033
lea r8, [rsp + 0x50]
jmp 0x18000aff6
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r14, rax
test rax, rax
je 0x18000ab2a
lea rdx, [0x18006cfb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
je 0x18000ab2a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [r12 + r15*8]
sub rdi, r14
add rdi, r13
jmp 0x18000ab35
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x18000ac7a
lea rdx, [0x18006cff0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x18000ac7a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [r12 + r15*8]
sub rbx, rdi
add rbx, r14
jmp 0x18000ac82
test rsi, rsi
jne 0x18000ad70
mov r14, qword [0x180082d08]
test r14, r14
jne 0x18000ad70
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r14, rax
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x18000ae42
mov ecx, dword [rsp + 0x30]
shl rcx, 3
call fcn.180050474
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov rcx, r14
mov r12, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x18000ae3a
test dword [rsp + 0x30], 0xfffffff8
mov edi, ebx
jbe 0x18000ae3a
nop dword [rax]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.18004c900
mov r15d, edi
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov rcx, r14
mov rdx, qword [r12 + r15*8]
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x18000ae2d
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.18004acc4
test rax, rax
je 0x18000ae2d
lea rcx, [rax + 2]
lea rdx, [0x18006d040]
call fcn.180050580
test eax, eax
je 0x18000b071
mov eax, dword [rsp + 0x30]
inc edi
shr eax, 3
cmp edi, eax
jb 0x18000add0
mov rcx, r12
call fcn.18005047c
mov rdi, rbx
mov r9d, 0x40
lea rax, [rsp + 0x34]
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [r9 - 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x18000aec6
lea rcx, [0x18006d080]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.CheckRemoteDebuggerPresent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 4
mov rdx, rdi
mov r8, rax
mov rcx, rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x34]
lea rax, [rsp + 0x34]
mov r8d, 4
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r14, rsi
test rsi, rsi
jne 0x18000aee3
mov r14, qword [0x180082d08]
test r14, r14
jne 0x18000aee3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r14, rax
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x18000afb2
mov ecx, dword [rsp + 0x30]
shl rcx, 3
call fcn.180050474
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov rcx, r14
mov r12, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x18000afaa
test dword [rsp + 0x30], 0xfffffff8
mov edi, ebx
jbe 0x18000afaa
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.18004c900
mov r15d, edi
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov rcx, r14
mov rdx, qword [r12 + r15*8]
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x18000af9d
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.18004acc4
test rax, rax
je 0x18000af9d
lea rcx, [rax + 2]
lea rdx, [0x18006d0a0]
call fcn.180050580
test eax, eax
je 0x18000b0c2
mov eax, dword [rsp + 0x30]
inc edi
shr eax, 3
cmp edi, eax
jb 0x18000af40
mov rcx, r12
call fcn.18005047c
mov r9d, 0x40
lea rax, [rsp + 0x34]
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [r9 - 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x18000b033
lea rcx, [0x18006d0d0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.GetTickCount
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, rax
lea rax, [rsp + 0x40]
mov r9d, 4
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x34]
lea rax, [rsp + 0x34]
mov r8d, 4
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180049ad0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r14, rax
test rax, rax
je 0x18000ae3a
lea rdx, [0x18006d020]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
je 0x18000ae3a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [r12 + r15*8]
sub rdi, r14
add rdi, r13
jmp 0x18000ae45
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x18000afaa
lea rdx, [0x18006d090]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x18000afaa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [r12 + r15*8]
sub rbx, rdi
add rbx, r14
jmp 0x18000afb2