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

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x418]
sub rsp, 0x518
mov rax, qword [0x1400601c8]
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 sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x438
call fcn.14000dcf0
lea rdx, [rsp + 0x70]
mov qword [0x140060a80], rax
mov rcx, r15
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1400105e9
mov qword [rsp + 0x538], rsi
mov qword [rsp + 0x540], rdi
mov qword [rsp + 0x510], r12
mov r12d, 0x5a4d
mov qword [rsp + 0x508], r13
movabs r13, 0x2492492492492493
mov qword [rsp + 0x500], r14
mov qword [rsp + 0x530], rbx
nop dword [rax]
nop dword [rax + rax]
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 0x14001059b
mov rcx, qword [rbp - 0x78]
lea rdx, [rsp + 0x30]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jne 0x14001059b
cmp dword [rsp + 0x50], 0x1000
jne 0x14001059b
call fcn.14000dff0
lea rcx, [0x14004bedc]
mov rbx, rax
call fcn.14000e380
mov r8, rax
lea rdx, str.type
mov rcx, rbx
call fcn.14000e7e0
mov rcx, qword [rbp - 0x78]
call fcn.14000cb00
mov r8, rax
lea rdx, str.image_addr
mov rcx, rbx
call fcn.14000e7e0
mov ecx, dword [rbp - 0x70]
call fcn.14000dce0
mov r8, rax
lea rdx, str.image_size
mov rcx, rbx
call fcn.14000e7e0
lea rcx, [rbp + 0x1a0]
call fcn.14000cfa0
mov r8, rax
lea rdx, str.code_file
mov rcx, rbx
call fcn.14000e7e0
mov rsi, qword [rbp - 0x78]
test rsi, rsi
je 0x14001058c
cmp word [rsi], r12w
jne 0x14001058c
movsxd rdi, dword [rsi + 0x3c]
add rdi, rsi
cmp dword [rdi], 0x4550
jne 0x14001058c
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.140006a80
lea rcx, [rbp + 0x3c0]
call fcn.14000e380
mov r8, rax
lea rdx, str.code_id
mov rcx, rbx
call fcn.14000e7e0
mov r8, qword [rdi + 0xb8]
mov r9d, r8d
test r8d, r8d
je 0x14001058c
shr r8, 0x20
mov rax, r13
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rcx, rax, 0x1c
cmp r8, rcx
jne 0x14001058c
test r8, r8
je 0x14001058c
lea rax, [rsi + 0x14]
mov rdx, 0xffffffffffffffec
add rax, r9
sub rdx, r9
sub rdx, rsi
nop dword [rax]
cmp dword [rax - 8], 2
jne 0x1400104f3
mov edi, dword [rax]
add rdi, rsi
cmp dword [rdi], 0x53445352
je 0x140010505
add rax, 0x1c
lea rcx, [rdx + rax]
cmp rcx, r8
jb 0x1400104e0
jmp 0x14001058c
lea rcx, [rdi + 0x18]
call fcn.14000e380
mov r8, rax
lea rdx, str.debug_file
mov rcx, rbx
call fcn.14000e7e0
lea rdx, [rdi + 4]
lea rcx, [rsp + 0x60]
call fcn.14000eed0
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp + 0x3b0]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x3b0], xmm0
call fcn.14000ef70
mov byte [rbp + 0x3e4], 0x2d
lea r8, [0x14004becc]
mov r9d, dword [rdi + 0x14]
lea rcx, [rbp + 0x3e5]
mov edx, 0xa
call fcn.140006a80
lea rcx, [rbp + 0x3c0]
call fcn.14000e380
mov r8, rax
lea rdx, str.debug_id
mov rcx, rbx
call fcn.14000e7e0
mov rcx, qword [0x140060a80]
mov rdx, rbx
call fcn.14000d3e0
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 0x140010340
mov r14, qword [rsp + 0x500]
mov r13, qword [rsp + 0x508]
mov r12, qword [rsp + 0x510]
mov rdi, qword [rsp + 0x540]
mov rsi, qword [rsp + 0x538]
mov rbx, qword [rsp + 0x530]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140060a80]
call fcn.14000d5d0
mov rcx, qword [rbp + 0x3f8]
xor rcx, rsp
call fcn.140043bb0
add rsp, 0x518
pop r15
pop rbp
ret