Function at 0x14002cb80
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10750]
mov eax, 0x10850
call fcn.14007c170
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x10890], rbx
mov r13, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x14002cf1d
xor esi, esi
mov dword [rbp + 0x107a0], esi
lea r9, [rbp + 0x107a0]
mov r8d, 0x10000
lea rdx, [rbp + 0x750]
mov rcx, r12
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x14002cf12
mov r15d, esi
test dword [rbp + 0x107a0], 0xfffffff8
jbe 0x14002cf12
movabs r14, 0x555555555555554
nop word [rax + rax]
mov edx, r15d
mov r9d, 0x800
lea r8, [rsp + 0x50]
mov rdx, qword [rbp + rdx*8 + 0x750]
mov rcx, r12
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x14002ce8a
call fcn.14000bcc0
test rax, rax
je 0x14002cf07
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x107a8], rbx
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x50]
test rax, 0xffffffffffff0000
jne 0x14002cca6
movzx ebx, cx
xor edx, edx
mov ecx, ebx
call fcn.14000b6e0
test rax, rax
je 0x14002cd98
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x107a8]
call fcn.14000bdc0
jmp 0x14002cd98
lea rax, [rsp + 0x50]
or rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x14002ccb0
test edi, edi
jne 0x14002cd18
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14002cd98
cmp dword [rdx + 0x10], 0
jge 0x14002cce9
cmp dword [rbx - 0xc], 0
jl 0x14002cec1
mov dword [rbx - 0x10], esi
mov byte [rbx], 0
jmp 0x14002cd98
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002ccff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbp + 0x107a8], rax
jmp 0x14002cd98
mov r14d, dword [rbx - 0x10]
lea rsi, [rsp + 0x50]
sub rsi, rbx
test edi, edi
js 0x14002cefc
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002cd52
mov edx, edi
lea rcx, [rbp + 0x107a8]
call fcn.14000bfd0
mov rbx, qword [rbp + 0x107a8]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp rsi, r14
ja 0x14002cd6c
lea r8, [rsi + rbx]
mov r9d, edi
call fcn.14000b8d0
jmp 0x14002cd79
movsxd r9, edi
lea r8, [rsp + 0x50]
call fcn.140032900
cmp edi, dword [rbx - 0xc]
jg 0x14002cef1
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
xor esi, esi
movabs r14, 0x555555555555554
lea rcx, [rbp + 0x107a8]
call fcn.140022f00
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x20], 0
mov rbx, qword [rbp + 0x107a8]
cmp byte [rbx], 0
jne 0x14002cdc8
mov r8, rsi
jmp 0x14002cdda
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x14002cdd0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400080d0
nop
mov rdi, qword [r13]
lea r9, [rsp + 0x20]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r13
call fcn.14000b0e0
mov rdx, qword [r13 + 8]
mov rcx, r14
sub rcx, rdx
cmp rcx, 1
jb 0x14002cee4
lea rcx, [rdx + 1]
mov qword [r13 + 8], rcx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x14002ce70
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x14002ce6a
test cl, 0x1f
jne 0x14002cede
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14002ced8
sub rcx, rax
cmp rcx, 8
jb 0x14002ced2
cmp rcx, 0x27
ja 0x14002cecc
mov rcx, rax
call fcn.14007b810
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002ce8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xcccccccd
mul r15d
shr edx, 4
lea ecx, [rdx + rdx*4]
shl ecx, 2
cmp r15d, ecx
jne 0x14002ceab
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r15d
mov eax, dword [rbp + 0x107a0]
shr eax, 3
cmp r15d, eax
jae 0x14002cf12
jmp 0x14002cc20
mov ecx, 0x80070057
call fcn.14000b790
nop
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
nop
lea rcx, str.list_T__too_long
call fcn.14007e084
nop
mov ecx, 0x80070057
call fcn.14000b790
int3
mov ecx, 0x80070057
call fcn.14000b790
nop
mov ecx, 0x80004005
call fcn.14000b790
int3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rbx, qword [rsp + 0x10890]
add rsp, 0x10850
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret