Function at 0x1401b42e0
Capabilities:
Enumerate process modules
Parse pe header

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x408]
sub rsp, 0x508
mov rax, qword [0x1405f98c0]
xor rax, rsp
mov qword [rbp + 0x3f8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor edx, edx
lea rcx, [rsp + 0x74]
mov r8d, 0x434
mov r15, rax
call fcn.14043d3a0
mov dword [rsp + 0x70], 0x438
call fcn.1401aa8f0
lea rdx, [rsp + 0x70]
mov qword [0x140600158], rax
mov rcx, r15
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1401b45d9
mov qword [rsp + 0x538], r12
mov r12d, 0x5a4d
mov qword [rsp + 0x500], r14
mov qword [rsp + 0x520], rbx
mov qword [rsp + 0x528], rsi
mov qword [rsp + 0x530], rdi
xor edx, edx
lea rcx, [rbp + 0x1a0]
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xorps xmm0, xmm0
mov r14, rax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
test rax, rax
je 0x1401b4593
mov rcx, qword [rbp - 0x78]
lea rdx, [rsp + 0x30]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jne 0x1401b4593
cmp dword [rsp + 0x50], 0x1000
jne 0x1401b4593
call fcn.1401aa9c0
mov rcx, qword [rbp - 0x78]
mov rbx, rax
call fcn.1401a9d20
mov r8, rax
lea rdx, str.image_addr
mov rcx, rbx
call fcn.1401aaab0
mov ecx, dword [rbp - 0x70]
call fcn.1401aa8e0
mov r8, rax
lea rdx, str.image_size
mov rcx, rbx
call fcn.1401aaab0
lea rcx, [rbp + 0x1a0]
call fcn.1401a9f10
mov r8, rax
lea rdx, str.code_file
mov rcx, rbx
call fcn.1401aaab0
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1401b4584
cmp word [rax], r12w
jne 0x1401b4584
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
cmp dword [rdi], 0x4550
jne 0x1401b4584
mov ecx, dword [rdi + 0xb8]
test ecx, ecx
je 0x1401b4584
add rcx, rax
je 0x1401b4584
cmp dword [rcx + 0xc], 2
jne 0x1401b4584
mov esi, dword [rcx + 0x14]
add rsi, rax
je 0x1401b4584
cmp dword [rsi], 0x53445352
jne 0x1401b4584
lea rcx, [rsi + 0x18]
call fcn.1401aaa80
mov r8, rax
lea rdx, str.debug_file
mov rcx, rbx
call fcn.1401aaab0
lea rdx, [rsi + 4]
lea rcx, [rsp + 0x60]
call fcn.1401b0400
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp + 0x3b0]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x3b0], xmm0
call fcn.1401b0490
mov byte [rbp + 0x3e4], 0x2d
lea r8, [0x1405773c4]
mov r9d, dword [rsi + 0x14]
lea rcx, [rbp + 0x3e5]
mov edx, 0xa
call fcn.1400d67a0
lea rcx, [rbp + 0x3c0]
call fcn.1401aaa80
mov r8, rax
lea rdx, str.debug_id
mov rcx, rbx
call fcn.1401aaab0
mov eax, dword [rdi + 0x50]
lea r8, str._08x_X
mov r9d, dword [rdi + 8]
lea rcx, [rbp + 0x3c0]
mov edx, 0x32
mov dword [rsp + 0x20], eax
call fcn.1400d67a0
lea rcx, [rbp + 0x3c0]
call fcn.1401aaa80
mov r8, rax
lea rdx, str.code_id
mov rcx, rbx
call fcn.1401aaab0
lea rcx, [0x1404ac138]
call fcn.1401aaa80
mov r8, rax
lea rdx, [0x14054347c]
mov rcx, rbx
call fcn.1401aaab0
mov rcx, qword [0x140600158]
mov rdx, rbx
call fcn.1401aa080
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, [rsp + 0x70]
mov rcx, r15
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1401b4382
mov r14, qword [rsp + 0x500]
mov r12, qword [rsp + 0x538]
mov rdi, qword [rsp + 0x530]
mov rsi, qword [rsp + 0x528]
mov rbx, qword [rsp + 0x520]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140600158]
call fcn.1401aa320
mov rcx, qword [rbp + 0x3f8]
xor rcx, rsp
call fcn.1403e3630
add rsp, 0x508
pop r15
pop rbp
ret