Function at 0x1800089d0
Capabilities:
Enumerate process modules
Get file size

Disassembly:
push rsi
push r13
sub rsp, 0xa98
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0xa70], rax
mov r8d, ecx
xor edx, edx
mov ecx, 0x410
xor esi, esi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
je 0x180008d0e
lea rcx, [rsp + 0x58]
xor edx, edx
mov r8d, 0x7f8
mov qword [rsp + 0x50], rsi
call fcn.180055310
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x800
mov rcx, r13
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x20], 1
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x180008d03
lea rcx, [rsp + 0x851]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0xac0], rbp
mov byte [rsp + 0x850], sil
call fcn.180055310
mov eax, dword [rsp + 0x40]
mov ebp, esi
test rax, 0xfffffffffffffff8
jbe 0x180008cfb
mov qword [rsp + 0xab8], rbx
mov qword [rsp + 0xac8], rdi
mov qword [rsp + 0xa90], r12
mov qword [rsp + 0xa88], r14
mov qword [rsp + 0xa80], r15
lea r12, [rsp + 0x50]
lea r15, [0x18009f4f4]
lea r14, [0x18009f50c]
mov rdx, qword [r12]
lea r8, [rsp + 0x850]
mov r9d, 0x104
mov rcx, r13
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x180008cb2
xor r9d, r9d
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x850]
lea edx, [r9 + 8]
lea r8d, [r9 + 1]
mov dword [rsp + 0x28], esi
mov edi, esi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180008b2d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x180008c46
lea rdx, str.C:windows_system32_
lea rcx, [rsp + 0x850]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov rbx, rax
test rax, rax
je 0x180008cb2
lea rcx, [rsp + 0x961]
xor edx, edx
mov r8d, 0x103
call fcn.180055310
mov rax, qword [str.C:windows_syswow64_]
lea rdx, [rsp + 0x960]
mov qword [rdx], rax
mov rax, qword [0x180080728]
or rcx, 0xffffffffffffffff
mov qword [rdx + 8], rax
mov eax, dword [0x180080730]
lea rdi, [rsp + 0x960]
mov dword [rdx + 0x10], eax
movzx eax, byte [0x180080734]
mov byte [rdx + 0x14], al
xor eax, eax
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx + 0x14]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x180008bb0
xor r9d, r9d
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x960]
lea edx, [r9 + 8]
lea r8d, [r9 + 1]
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180008cb2
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x180008cb2
lea rcx, [rsp + 0x850]
xor edx, edx
mov r8d, 0x104
call fcn.180055310
mov rdx, rsi
nop dword [rax]
movzx eax, byte [rsp + rdx + 0x960]
inc rdx
mov byte [rsp + rdx + 0x84f], al
test al, al
jne 0x180008c30
cmp edi, 0x1b898
je 0x180008c5e
cmp edi, 0x1bc98
je 0x180008c5e
cmp edi, 0x1c298
jne 0x180008cb2
xor eax, eax
lea rcx, [rsp + 0x850]
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x4c], eax
call fcn.180004800
test eax, eax
je 0x180008cb2
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x850]
call fcn.180007840
test eax, eax
je 0x180008cb2
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x48]
mov rax, r15
nop word [rax + rax]
cmp edx, dword [rax - 4]
jne 0x180008ca9
cmp ecx, dword [rax]
je 0x180008cce
add rax, 8
cmp rax, r14
jl 0x180008ca0
mov ecx, dword [rsp + 0x40]
inc ebp
add r12, 8
shr rcx, 3
movsxd rax, ebp
cmp rax, rcx
jb 0x180008ac0
jmp 0x180008cd3
mov esi, 1
mov r14, qword [rsp + 0xa88]
mov r12, qword [rsp + 0xa90]
mov rdi, qword [rsp + 0xac8]
mov rbx, qword [rsp + 0xab8]
mov r15, qword [rsp + 0xa80]
mov rbp, qword [rsp + 0xac0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0xa70]
xor rcx, rsp
call fcn.180050540
add rsp, 0xa98
pop r13
pop rsi
ret