Function at 0x14002cb70
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.14007c160
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 0x14002cf0d
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 0x14002cf02
mov r15d, esi
test dword [rbp + 0x107a0], 0xfffffff8
jbe 0x14002cf02
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 0x14002ce7a
call fcn.14000bcc0
test rax, rax
je 0x14002cef7
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 0x14002cc96
movzx ebx, cx
xor edx, edx
mov ecx, ebx
call fcn.14000b6e0
test rax, rax
je 0x14002cd88
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x107a8]
call fcn.14000bdc0
jmp 0x14002cd88
lea rax, [rsp + 0x50]
or rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x14002cca0
test edi, edi
jne 0x14002cd08
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14002cd88
cmp dword [rdx + 0x10], 0
jge 0x14002ccd9
cmp dword [rbx - 0xc], 0
jl 0x14002ceb1
mov dword [rbx - 0x10], esi
mov byte [rbx], 0
jmp 0x14002cd88
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002ccef
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 0x14002cd88
mov r14d, dword [rbx - 0x10]
lea rsi, [rsp + 0x50]
sub rsi, rbx
test edi, edi
js 0x14002ceec
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002cd42
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 0x14002cd5c
lea r8, [rsi + rbx]
mov r9d, edi
call fcn.14000b8d0
jmp 0x14002cd69
movsxd r9, edi
lea r8, [rsp + 0x50]
call fcn.1400328f0
cmp edi, dword [rbx - 0xc]
jg 0x14002cee1
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 0x14002cdb8
mov r8, rsi
jmp 0x14002cdca
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x14002cdc0
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 0x14002ced4
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 0x14002ce60
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x14002ce5a
test cl, 0x1f
jne 0x14002cece
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14002cec8
sub rcx, rax
cmp rcx, 8
jb 0x14002cec2
cmp rcx, 0x27
ja 0x14002cebc
mov rcx, rax
call fcn.14007b800
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002ce7a
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 0x14002ce9b
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r15d
mov eax, dword [rbp + 0x107a0]
shr eax, 3
cmp r15d, eax
jae 0x14002cf02
jmp 0x14002cc10
mov ecx, 0x80070057
call fcn.14000b790
nop
call fcn.1400e462c
int3
call fcn.1400e462c
int3
call fcn.1400e462c
int3
call fcn.1400e462c
nop
lea rcx, str.list_T__too_long
call fcn.14007e074
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