Function at 0x1400011c0
Capabilities:
Enumerate process modules
Link many functions at runtime

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov ecx, 0xc
mov r13, rdx
call fcn.140004cbc
mov qword [rsp + 0x50], rax
mov rbx, rax
test rax, rax
je 0x140001263
lea r8, str.Open
mov r9, rax
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
mov byte [r9 + r8], cl
lea r8, [r8 + 1]
test cl, cl
jne 0x140001200
lea rcx, [rax - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001214
mov eax, dword [str.Proc]
mov dword [rcx], eax
movzx eax, byte [0x14001135c]
mov byte [rcx + 4], al
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001234
mov eax, dword [0x140011354]
mov dword [rcx], eax
lea rcx, [rbx - 1]
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001250
movzx eax, byte [0x140011350]
mov byte [rcx], al
mov ecx, 0xf
call fcn.140004cbc
mov qword [rsp + 0x60], rax
mov r14, rax
test rax, rax
je 0x1400012fa
lea rdx, str.Virt
mov r8, rax
sub r8, rdx
nop dword [rax + rax]
movzx ecx, byte [rdx]
mov byte [r8 + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001290
lea rcx, [rax - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400012a3
mov eax, dword [str.ualAll]
mov dword [rcx], eax
movzx eax, word [0x140011374]
mov word [rcx + 4], ax
movzx eax, byte [0x140011376]
mov byte [rcx + 6], al
lea rcx, [r14 - 1]
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400012d0
mov eax, dword [0x14001136c]
mov dword [rcx], eax
lea rcx, [r14 - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400012e6
movzx eax, word [0x140011368]
mov word [rcx], ax
mov ecx, 0xd
call fcn.140004cbc
mov qword [rsp + 0x68], rax
mov rdi, rax
test rax, rax
je 0x140001384
lea rdx, str.Load
mov r8, rax
sub r8, rdx
nop
movzx ecx, byte [rdx]
mov byte [r8 + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001320
lea rcx, [rax - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001333
mov eax, dword [str.Libr]
mov dword [rcx], eax
movzx eax, byte [0x14001138c]
mov byte [rcx + 4], al
lea rcx, [rdi - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001353
mov eax, dword [0x140011384]
lea rdx, [rdi - 1]
mov dword [rcx], eax
nop dword [rax]
cmp byte [rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x140001370
movzx eax, word [0x140011380]
mov word [rdx], ax
mov ecx, 0xd
call fcn.140004cbc
mov r12, rax
test rax, rax
je 0x14000142e
lea rdx, str.kernel
mov r8, rax
sub r8, rdx
nop word [rax + rax]
movzx ecx, byte [rdx]
mov byte [r8 + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400013b0
lea rcx, [rax - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400013c3
movzx eax, word [0x1400113a0]
mov word [rcx], ax
movzx eax, byte [0x1400113a2]
mov byte [rcx + 2], al
lea rcx, [r12 - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400013e6
movzx eax, word [0x14001139c]
lea rdx, [r12 - 1]
mov word [rcx], ax
movzx eax, byte [0x14001139e]
mov byte [rcx + 2], al
nop dword [rax]
cmp byte [rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x140001410
movzx eax, word [0x140011398]
mov word [rdx], ax
movzx eax, byte [0x14001139a]
mov byte [rdx + 2], al
mov ecx, 0xf
call fcn.140004cbc
mov rbp, rax
test rax, rax
je 0x1400014c3
lea rdx, [0x1400113c0]
mov r8, rax
sub r8, rdx
movzx ecx, byte [rdx]
mov byte [r8 + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001451
lea rcx, [rax - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001464
mov eax, dword [str.ProcA]
mov dword [rcx], eax
movzx eax, word [0x1400113bc]
mov word [rcx + 4], ax
lea rcx, [rbp - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001485
mov eax, dword [str.ddre]
mov dword [rcx], eax
movzx eax, byte [0x1400113b4]
mov byte [rcx + 4], al
lea rcx, [rbp - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400014a5
movzx eax, word [0x1400113ac]
mov word [rcx], ax
movzx eax, byte [0x1400113ae]
mov byte [rcx + 2], al
mov rcx, r12
mov qword [rsp + 0x2f8], rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r15, rax
test rax, rax
je 0x1400017b2
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, r14
mov rcx, r15
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rbp
mov rcx, r15
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x140001788
test rsi, rsi
je 0x140001788
test rax, rax
je 0x140001788
mov r8d, dword [rsp + 0x2f0]
xor edx, edx
mov ecx, 0x2a
call rbx
mov rdi, rax
test rax, rax
je 0x1400017b2
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [r8 + r13], 0
jne 0x140001551
inc r8
mov dword [rsp + 0x20], 1
xor edx, edx
mov r9d, 0x2000
mov rcx, rdi
call rsi
test rax, rax
je 0x140001687
mov r8, rbx
nop
inc r8
cmp byte [r8 + r13], 0
jne 0x140001580
inc r8
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov rdx, rax
mov rcx, rdi
call rsi
mov r14, rax
test rax, rax
je 0x140001687
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x140001672
lea rdx, str.NtWriteVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001672
cmp byte [rbx + r13 + 1], 0
lea rbx, [rbx + 1]
jne 0x1400015e1
lea rcx, [rsp + 0x300]
mov r8, r13
mov qword [rsp + 0x20], rcx
lea r9d, [rbx + 1]
mov rcx, rdi
mov rdx, r14
call rax
test eax, eax
jne 0x140001672
mov edx, dword [rsp + 0x2f0]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001672
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x140001669
lea rdx, str.kernel32.dll
lea rcx, [rsp + 0xa0]
call fcn.140004bd8
mov rcx, rbx
test eax, eax
je 0x140001695
lea rdx, [rsp + 0x70]
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x140001640
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400017b2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x88], 0
je 0x140001672
lea rdx, str.LoadLibraryA
mov rcx, r15
call qword [rsp + 0x58]
mov rbx, rax
test rax, rax
je 0x140001672
lea rdx, str.RtlCreateUserThread
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001672
xor edx, edx
lea rcx, [rsp + 0x308]
mov qword [rsp + 0x48], rdx
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov qword [rsp + 0x38], r14
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x308], rdx
call rax
test eax, eax
jne 0x140001672
mov rcx, qword [rsp + 0x308]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x308]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call fcn.140004ca8
mov rcx, qword [rsp + 0x60]
call fcn.140004ca8
mov rcx, qword [rsp + 0x68]
call fcn.140004ca8
mov rcx, r12
call fcn.140004ca8
mov rcx, rbp
call fcn.140004ca8
mov eax, 1
jmp 0x1400017b4
mov rcx, qword [rsp + 0x50]
call fcn.140004ca8
mov rcx, r14
call fcn.140004ca8
mov rcx, rdi
call fcn.140004ca8
mov rcx, r12
call fcn.140004ca8
mov rcx, rbp
call fcn.140004ca8
xor eax, eax
mov rsi, qword [rsp + 0x2f8]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret