Function at 0x140029f30
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x550], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x50], 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
jne 0x14002a269
movups xmm0, xmmword [0x14005c198]
movups xmmword [rbp + 0x3b0], xmm0
movups xmm1, xmmword [0x14005c1a8]
movups xmmword [rbp + 0x3c0], xmm1
movups xmm0, xmmword [0x14005c1b8]
movups xmmword [rbp + 0x3d0], xmm0
movzx eax, byte [0x14005c1c8]
mov byte [rbp + 0x3e0], al
lea rdx, [rbp + 0x3b0]
mov rcx, rdi
call fcn.1400465d0
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov ecx, 0x1300
lea r8d, [r14 + 6]
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x450]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14005b758]
mov qword [rbp + 0x450], rax
lea rax, [0x14005bc60]
mov qword [rbp + 0x460], rax
lea rcx, [rbp + 0x4e8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 1
xor r8d, r8d
lea rdx, [rbp + 0x468]
lea rcx, [rbp + 0x450]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x450], rsi
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x44c], edx
lea rcx, [rbp + 0x468]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x468], rax
mov qword [rbp + 0x4d0], r14
mov dword [rbp + 0x4d8], r14d
lea rdx, str.Erreur_:
lea rcx, [rbp + 0x460]
call fcn.140044780
lea edx, [rbx + 6]
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140059ba0]
call fcn.140044780
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140044780
mov rcx, rax
lea rdx, [0x140056e18]
call fcn.140044780
lea rdx, [rbp + 0x390]
lea rcx, [rbp + 0x468]
call fcn.140042b60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x3f0], xmm0
movups xmmword [rbp + 0x400], xmm0
movups xmmword [rbp + 0x410], xmm0
movups xmmword [rbp + 0x420], xmm0
movups xmmword [rbp + 0x430], xmm0
mov qword [rbp + 0x440], rax
mov dword [rbp + 0x448], eax
mov dword [rbp + 0x3f0], 0x5c
mov dword [rbp + 0x3f4], 0x40000000
mov dword [rbp + 0x404], 0xff
lea r9, [rbp + 0x3f0]
mov edx, 0x444
lea r8d, [r14 + 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbp + 0x390]
cmp qword [rbp + 0x3a8], 7
cmova r9, qword [rbp + 0x390]
xor r8d, r8d
mov edx, 0xc2
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rbp + 0x3a8]
cmp rdx, 7
jbe 0x14002a1fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a1f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a1f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
movdqa xmm0, xmmword [0x14005ce50]
movdqu xmmword [rbp + 0x3a0], xmm0
mov word [rbp + 0x390], r14w
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x450], rsi
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x44c], edx
lea rcx, [rbp + 0x468]
call fcn.14003fa70
lea rcx, [rbp + 0x470]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x4e8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
jmp 0x14002a588
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x14002a560
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [0x14005c580]
movups xmmword [rbp + 0x3b0], xmm0
movups xmm1, xmmword [0x14005c590]
movups xmmword [rbp + 0x3c0], xmm1
movsd xmm0, qword [0x14005c5a0]
movsd qword [rbp + 0x3d0], xmm0
mov eax, dword [0x14005c5a8]
mov dword [rbp + 0x3d8], eax
movzx eax, word [0x14005c5ac]
mov word [rbp + 0x3dc], ax
movzx eax, byte [0x14005c5ae]
mov byte [rbp + 0x3de], al
lea rdx, [rbp + 0x3b0]
mov rcx, rdi
call fcn.1400468a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ebx
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x450]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14005b758]
mov qword [rbp + 0x450], rax
lea rax, [0x14005bc60]
mov qword [rbp + 0x460], rax
lea rcx, [rbp + 0x4e8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 4
xor r8d, r8d
lea rdx, [rbp + 0x468]
lea rcx, [rbp + 0x450]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x450], rsi
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x44c], edx
lea rcx, [rbp + 0x468]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x468], rax
mov qword [rbp + 0x4d0], r14
mov dword [rbp + 0x4d8], r14d
lea rdx, str.Erreur_:
lea rcx, [rbp + 0x460]
call fcn.140044780
mov edx, ebx
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140059ba0]
call fcn.140044780
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140044780
mov rcx, rax
lea rdx, [0x140056e18]
call fcn.140044780
lea rdx, [rbp + 0x390]
lea rcx, [rbp + 0x468]
call fcn.140042b60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x3f0], xmm0
movups xmmword [rbp + 0x400], xmm0
movups xmmword [rbp + 0x410], xmm0
movups xmmword [rbp + 0x420], xmm0
movups xmmword [rbp + 0x430], xmm0
mov qword [rbp + 0x440], rax
mov dword [rbp + 0x448], eax
mov dword [rbp + 0x3f0], 0x5c
mov dword [rbp + 0x3f4], 0x40000000
mov dword [rbp + 0x404], 0xff
lea r9, [rbp + 0x3f0]
mov edx, 0x444
lea r8d, [rax + 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbp + 0x390]
cmp qword [rbp + 0x3a8], 7
cmova r9, qword [rbp + 0x390]
xor r8d, r8d
mov edx, 0xc2
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rbp + 0x3a8]
cmp rdx, 7
jbe 0x14002a516
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a511
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a511
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
movdqa xmm0, xmmword [0x14005ce50]
movdqu xmmword [rbp + 0x3a0], xmm0
mov word [rbp + 0x390], r14w
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x450], rsi
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x44c], edx
jmp 0x14002a23e
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14000cb30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14002a560
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret