Function at 0x17aa990
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x17b16e0
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4e8
xor eax, eax
lea rbp, [rsp + 0x80]
mov r13, rcx
mov r12, r8
mov ebx, edx
mov ecx, 0xb
mov rdi, rbp
mov qword [rsp + 0x548], r9
rep stosq qword [rdi], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0xd0], 0x400
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
movsxd rdx, ebx
mov r9, r12
mov rcx, r13
mov r15, rax
mov rax, qword [rsp + 0x548]
lea r8, [0x0246a776]
mov qword [rax], 0
call fcn.017af170
mov r9, rbp
lea r8, [rsp + 0x48]
mov rdx, r12
mov rcx, r15
call qword [sym.imp.dbghelp.dll_SymFromAddr]
test eax, eax
jne 0x17b1a50
mov rax, qword [0x024722c0]
mov rdi, qword [rax]
test rdi, rdi
je 0x17b198d
mov edx, dword [rdi + 0x58]
test edx, edx
jle 0x17b1980
lea ecx, [rdx - 1]
mov rax, qword [rdi + 0x60]
lea rdx, [rcx*8]
sub rdx, rcx
lea rcx, [rax + rdx*8 + 0x38]
jmp 0x17b17bd
add rax, 0x38
cmp rcx, rax
je 0x17b1980
mov rbx, qword [rax]
mov rdx, qword [rax + 8]
add rdx, rbx
cmp r12, rdx
ja 0x17b17b0
cmp r12, rbx
jbe 0x17b17b0
lea rdx, [0x0246a784]
mov rcx, r13
call sub.msvcrt.dll_wcscat
mov rdx, qword [rdi + 0x28]
test rdx, rdx
je 0x17b1b70
mov rcx, r13
lea r14, [rsp + 0xe0]
call sub.msvcrt.dll_wcscat
mov r9, r12
mov edx, 0x32
mov rcx, r14
sub r9, rbx
lea r8, str.0x_llx
call fcn.017af170
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_wcscat
lea r9, [rsp + 0x50]
mov rdx, r12
mov rcx, r15
lea r8, [rsp + 0x44]
call qword [sym.imp.dbghelp.dll_SymGetLineFromAddr64]
mov ebx, eax
test eax, eax
jne 0x17b1b16
movsxd rdx, dword [rdi + 0x38]
mov ecx, 0x10
lea r8, str.resolveSymbolAddr
call fcn.0177b440
mov ecx, dword [rdi + 0x38]
mov qword [rsp + 0x38], rax
test ecx, ecx
jle 0x17b18d9
mov r15, rax
xor ebp, ebp
jmp 0x17b18b7
mov rax, qword [0x02472d70]
mov r8, r14
mov rdx, rsi
mov qword [rsp + 0xe0], 0
mov rcx, qword [rax]
call fcn.017aa640
mov rax, qword [rsp + 0xe0]
test rax, rax
je 0x17b18a8
mov rax, qword [rax]
mov qword [r15], rsi
mov qword [r15 + 8], rax
mov ecx, dword [rdi + 0x38]
add rbp, 1
add r15, 0x10
cmp ecx, ebp
jle 0x17b18d9
mov rax, rbp
shl rax, 4
add rax, qword [rdi + 0x30]
mov rsi, qword [rax]
test rsi, rsi
jne 0x17b1870
add rbp, 1
add ebx, 1
add r15, 0x10
cmp ecx, ebp
jg 0x17b18b7
mov rsi, qword [rsp + 0x38]
movsxd rdx, ecx
lea r9, [0x017af060]
mov r8d, 0x10
mov rcx, rsi
call fcn.017bb1a0
mov ecx, dword [rdi + 0x38]
cmp ecx, ebx
jle 0x17b1969
movsxd rax, ebx
lea r8d, [rcx - 1]
shl rax, 4
add rax, rsi
jmp 0x17b1926
cmp r12, rdx
ja 0x17b191b
cmp r12, qword [rax + 0x18]
jb 0x17b1934
add ebx, 1
add rax, 0x10
cmp ecx, ebx
je 0x17b1969
mov rdx, qword [rax + 8]
cmp ebx, r8d
jl 0x17b1910
cmp r12, rdx
ja 0x17b191b
mov rsi, qword [rsp + 0x548]
mov rcx, r14
lea r8, str._n_t_t___s0x_llx_
mov qword [rsi], rdx
sub rdx, r12
mov qword [rsp + 0x20], rdx
mov r9, qword [rax]
mov edx, 0x200
call fcn.017af170
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_wcscat
mov rcx, qword [rsp + 0x38]
call fcn.0177b4f0
jmp 0x17b1b57
mov rdi, qword [rdi + 0x78]
test rdi, rdi
jne 0x17b1788
lea rsi, [rsp + 0x44]
xor r8d, r8d
xor edx, edx
mov rcx, r15
mov r9, rsi
lea rbx, [rsp + 0x50]
call sub.KERNEL32.dll_K32EnumProcessModules
mov ecx, dword [rsp + 0x44]
lea rdx, str.resolveSymbolAddr_PEi386
call fcn.0177b3b0
mov r8d, dword [rsp + 0x44]
mov r9, rsi
mov rcx, r15
mov rdx, rax
mov rdi, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x17b1a3e
mov eax, dword [rsp + 0x44]
xor r14d, r14d
mov rbp, rdi
shr eax, 3
je 0x17b1a3e
mov rdx, qword [rbp]
mov r9d, 0x18
mov r8, rbx
mov rcx, r15
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x17b1a2a
mov r10, qword [rsp + 0x50]
mov eax, dword [rsp + 0x58]
add rax, r10
cmp r12, rax
jae 0x17b1a2a
cmp r12, r10
jae 0x17b1bcd
mov eax, dword [rsp + 0x44]
add r14d, 1
add rbp, 8
shr eax, 3
cmp eax, r14d
ja 0x17b19e0
mov rcx, rdi
call fcn.0177b4f0
jmp 0x17b1ac3
lea rdx, [0x0246a784]
mov rcx, r13
call sub.msvcrt.dll_wcscat
lea rcx, [rsp + 0xd4]
call fcn.017abd40
mov rcx, r13
mov r14, rax
mov rdx, rax
call sub.msvcrt.dll_wcscat
mov rcx, r14
call fcn.0177b4f0
mov r9, qword [rsp + 0x48]
test r9, r9
je 0x17b1ab9
lea r14, [rsp + 0xe0]
js 0x17b1bb1
lea r8, str._ld
mov edx, 0x32
mov rcx, r14
call fcn.017af170
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_wcscat
lea rbx, [rsp + 0x50]
lea rsi, [rsp + 0x44]
mov qword [rsp + 0x50], 0
mov r9, rbx
mov r8, rsi
mov rdx, r12
mov qword [rsp + 0x58], 0
mov rcx, r15
lea r14, [rsp + 0xe0]
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x44], 0
call qword [sym.imp.dbghelp.dll_SymGetLineFromAddr64]
test eax, eax
je 0x17b1b57
mov eax, dword [rsp + 0x60]
mov r9, qword [rsp + 0x68]
mov edx, 0x200
mov rcx, r14
lea r8, str.____ls___lu_
mov dword [rsp + 0x20], eax
call fcn.017af170
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_wcscat
mov r9d, dword [rsp + 0x44]
test r9d, r9d
jne 0x17b1b80
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_wcscat
mov rax, r13
add rsp, 0x4e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rdi + 8]
jmp 0x17b17ed
cmp r9d, 1
lea rdx, [0x0246a772]
mov rcx, r14
lea rax, [0x0246a36c]
lea r8, str.__lu_byte_s
cmovne rax, rdx
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.017af170
jmp 0x17b1b4c
neg r9
lea r8, [0x0246a788]
mov edx, 0x32
mov rcx, r14
call fcn.017af170
jmp 0x17b1aae
lea r14, [rsp + 0xe0]
mov rdx, qword [rbp]
mov r9d, 0x104
mov rcx, r15
mov r8, r14
mov qword [rsp + 0x38], r10
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x17b1a3e
mov rcx, r13
lea rdx, [0x0246a784]
call sub.msvcrt.dll_wcscat
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_wcscat
mov r10, qword [rsp + 0x38]
mov r9, r12
mov rcx, r14
lea r8, str.0x_llx
mov edx, 0x104
sub r9, r10
call fcn.017af170
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_wcscat
jmp 0x17b1a3e