Function at 0x140054f40
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rbx, rdx
mov r13, rcx
cmp qword [rdx + 0x18], 0xf
jbe 0x140054f7f
mov r15, qword [rdx]
mov r14, r15
add r15, qword [rdx + 0x10]
jmp 0x140054f89
mov r14, rbx
mov r15, qword [rdx + 0x10]
add r15, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor edi, edi
cmp r14, r15
jne 0x140054fb0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], di
jmp 0x1400550d8
mov rax, r15
sub rax, r14
mov rdx, rdi
mov qword [rsp + 0x30], rdx
mov esi, 7
mov qword [rsp + 0x38], rsi
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x14005532b
cmp rax, rsi
jbe 0x140055090
mov rsi, rax
or rsi, 7
cmp rsi, rcx
jbe 0x140055003
mov rsi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140055032
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140055325
add rcx, rcx
cmp rcx, 0x1000
jb 0x140055066
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140055325
mov rcx, rax
call fcn.140121c1c
mov rcx, rax
test rax, rax
je 0x140055251
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0x30]
jmp 0x14005507a
test rcx, rcx
je 0x140055077
call fcn.140121c1c
mov rdx, qword [rsp + 0x30]
jmp 0x14005507a
mov rax, rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rsi
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
cmp rsi, 7
cmova rcx, qword [rsp + 0x20]
movsx eax, byte [r14]
mov word [rcx + rdx*2], ax
mov rdx, qword [rsp + 0x30]
inc rdx
mov qword [rsp + 0x30], rdx
inc r14
cmp r14, r15
je 0x1400550c3
mov rsi, qword [rsp + 0x38]
jmp 0x140055090
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rax, qword [rsp + 0x20]
mov word [rax + rdx*2], di
mov edx, dword [r13 + 8]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400551b0
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140055136
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055251
call fcn.140121f70
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140055183
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005517e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005531e
mov rcx, r8
call fcn.140121f70
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], rdi
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov dword [rsp + 0x40], 0x438
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140055202
nop word [rax + rax]
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140055258
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400551d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140055136
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055131
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140055340
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.1400555b0
lea rdx, [0x140055790]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400552cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400552c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055251
call fcn.140121f70
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140055316
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140055311
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005531e
mov rcx, r8
call fcn.140121f70
mov rax, rsi
jmp 0x140055185
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140002e10
int3
call fcn.140040e30
int3