Function at 0x140001000
Capabilities:
Enumerate process modules

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r15, r8
mov qword [rsp + 0x40], rcx
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
mov dword [rsp + 0x50], 0x238
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400010af
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x140001275
nop word [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400010af
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
je 0x140001080
jmp 0x140001275
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
mov edi, eax
nop
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x1400010e9
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
mov edi, eax
test eax, eax
jne 0x1400010c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140001275
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x140001275
mov ecx, 0x1000
call fcn.1400028b8
mov rcx, qword [rsp + 0x40]
mov r9d, 0x1000
mov r8, rax
mov qword [rsp + 0x20], 0
mov rdx, r14
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000126d
movsxd rsi, dword [rbp + 0x3c]
add rsi, rbp
mov eax, dword [rsi + 0x8c]
test eax, eax
je 0x14000126d
mov ecx, eax
call fcn.1400028b8
mov edx, dword [rsi + 0x88]
mov r8, rax
mov r9d, dword [rsi + 0x8c]
add rdx, r14
mov rcx, qword [rsp + 0x40]
mov rdi, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001265
mov eax, dword [rsi + 0x88]
mov r11, rdi
sub r11, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rax, r15
and eax, 0xffffff
mov qword [rsp + 0x48], r11
cmp rax, 0xffff
ja 0x14000120e
sub r15w, word [rdi + 0x10]
mov ecx, dword [rdi + 0x1c]
inc r15w
add rcx, r11
movzx edx, r15w
mov ebx, dword [rcx + rdx*4]
mov rcx, rdi
call fcn.1400028b0
mov rcx, rbp
call fcn.1400028b0
mov ecx, dword [rsi + 0x88]
cmp ebx, ecx
jb 0x140001208
add ecx, dword [rsi + 0x8c]
cmp ebx, ecx
jae 0x140001208
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1400012d0
jmp 0x140001277
lea rax, [r14 + rbx]
jmp 0x140001277
mov r9d, dword [rdi + 0x18]
mov r12d, dword [rdi + 0x20]
dec r9d
xor r10d, r10d
nop dword [rax]
lea r8d, [r10 + r9]
mov rdx, r15
shr r8d, 1
lea rax, [r12 + r8*4]
mov ecx, dword [rax + r11]
add rcx, r11
sub rdx, rcx
movzx eax, byte [rcx]
cmp al, byte [rcx + rdx]
jne 0x14000124b
inc rcx
test al, al
jne 0x140001238
xor eax, eax
jmp 0x140001250
sbb eax, eax
or eax, 1
test eax, eax
jns 0x14000125a
lea r10d, [r8 + 1]
jmp 0x140001260
jle 0x140001299
lea r9d, [r8 - 1]
cmp r10d, r9d
jbe 0x140001220
mov rcx, rdi
call fcn.1400028b0
mov rcx, rbp
call fcn.1400028b0
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140002890
add rsp, 0x2a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, dword [rdi + 0x24]
add rcx, r11
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r11
mov ebx, dword [rcx + rdx*4]
mov rcx, rdi
call fcn.1400028b0
mov rcx, rbp
call fcn.1400028b0
test ebx, ebx
je 0x140001275
jmp 0x1400011e6