Function at 0x18001bbc0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x490
mov rax, qword [0x180146030]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x434
call sub.ntdll.dll_memset
xor esi, esi
mov dword [rsp + 0x40], 0x438
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x30], sil
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x18001bc6f
mov rax, qword [0x180146040]
lea rdi, [0x180146040]
cmp rax, rdi
je 0x18001bc68
test byte [rax + 0x1c], 1
je 0x18001bc68
cmp byte [rax + 0x19], 2
jb 0x18001bc68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x180146040]
lea edx, [rsi + 0x65]
mov r9d, eax
lea r8, [0x180132130]
mov rcx, qword [rcx + 0x10]
call fcn.180011560
xor al, al
jmp 0x18001bfcb
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
nop dword [rax]
test eax, eax
jne 0x18001bcd8
mov rax, qword [0x180146040]
lea rdi, [0x180146040]
cmp rax, rdi
je 0x18001bcc8
test byte [rax + 0x1c], 1
je 0x18001bcc8
cmp byte [rax + 0x19], 2
jb 0x18001bcc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x180146040]
lea r8, [0x180132130]
mov r9d, eax
mov edx, 0x66
mov rcx, qword [rcx + 0x10]
call fcn.180011560
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x18001bfcb
lea rdi, [0x180146040]
mov qword [rsp + 0x4a0], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x58]
lea r9, [rsp + 0x38]
mov rcx, rax
lea r8, [0x18012b9e0]
call fcn.180088fa0
test eax, eax
jns 0x18001bd57
mov rcx, qword [0x180146040]
cmp rcx, rdi
je 0x18001bdf6
test byte ds:[rcx + 0x1c], 1
je 0x18001bdf6
cmp byte [rcx + 0x19], 2
jb 0x18001bdf6
lfence
mov rcx, qword [0x180146040]
lea r8, [0x180132130]
mov edx, 0x67
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.180012460
jmp 0x18001bdf6
mov rbx, qword ds:[rsp + 0x38]
test rbx, rbx
jne 0x18001bd97
mov rcx, qword [0x180146040]
cmp rcx, rdi
je 0x18001bdf6
test byte [rcx + 0x1c], 1
je 0x18001bdf6
cmp byte ds:[rcx + 0x19], 2
jb 0x18001bdf6
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x68]
lea r8, [0x180132130]
call fcn.180011520
jmp 0x18001bdf6
mov rdx, qword [0x1801526f8]
lea rax, [rsp + 0x31]
movzx ecx, word [0x1801526f0]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r8, rbx
lea rax, [rsp + 0x34]
mov word [rsp + 0x34], si
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x31], sil
call fcn.180069460
cmp byte [rsp + 0x30], sil
jne 0x18001be13
mov rcx, qword [0x180152670]
lea r8, [rbx - 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lock dec dword [0x180152678]
mov qword [rsp + 0x38], rsi
lea rdx, ds:[rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x18001bce7
jmp 0x18001bfb5
mov rax, qword [0x1801529f0]
mov qword [rsp + 0x4a8], rbp
movzx ebp, byte [rsp + 0x31]
mov byte [0x180157328], bpl
mov byte [0x180157329], 1
test rax, rax
je 0x18001bef0
cmp byte [0x1801527f2], sil
je 0x18001bef0
movzx edx, word [rsp + 0x34]
mov r8, rbx
mov rcx, qword [0x180152990]
or rdx, 0xa0000
call qword [case.0x180020d94.0]
mov esi, eax
test eax, eax
jns 0x18001bf5d
mov rcx, qword [0x180146040]
cmp rcx, rdi
je 0x18001beb7
test byte [rcx + 0x1c], 1
je 0x18001beb7
cmp byte [rcx + 0x19], 2
jb 0x18001beb7
lfence
mov rcx, qword [0x180146040]
lea r8, [0x180132248]
mov edx, 0x1b
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.180012460
mov rcx, qword [0x180146040]
mov rbx, qword [rsp + 0x38]
and esi, 0xbfff
or esi, 0xe8044000
cmp rcx, rdi
je 0x18001bf8d
test byte [rcx + 0x1c], 1
je 0x18001bf64
cmp byte ds:[rcx + 0x19], 1
jb 0x18001bf64
mov edx, 0xb
mov r9d, esi
jmp 0x18001bf3e
call fcn.18002fe00
xor ecx, ecx
call fcn.180020740
cmp byte [0x1801527f2], sil
movzx r9d, bpl
movzx ecx, word [rsp + 0x34]
cmovne rsi, rbx
xor edx, edx
mov r8, rsi
call fcn.18002fd00
test eax, eax
jns 0x18001bf5d
mov rcx, qword [0x180146040]
cmp rcx, rdi
je 0x18001bf8d
test byte [rcx + 0x1c], 1
je 0x18001bf64
cmp byte [rcx + 0x19], 2
jb 0x18001bf64
mov edx, 0xc
mov r9d, eax
lfence
mov rcx, qword [0x180146040]
lea r8, [0x1801322a0]
mov rcx, qword [rcx + 0x10]
call fcn.180012460
mov rbx, qword [rsp + 0x38]
mov rcx, qword [0x180146040]
cmp rcx, rdi
je 0x18001bf8d
test byte [rcx + 0x1c], 1
je 0x18001bf8d
cmp byte [rcx + 0x19], 2
jb 0x18001bf8d
mov rcx, qword [rcx + 0x10]
lea r8, [0x180132130]
mov edx, 0x69
mov r9, rbx
call fcn.1800124c0
mov rcx, qword [0x180152670]
lea r8, ds:[rbx - 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lock dec dword [0x180152678]
mov rbp, qword [rsp + 0x4a8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x30]
mov rbx, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18008e6f0
lea r11, [rsp + 0x490]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret