Function at 0x140037870
Capabilities:
Enumerate process modules

Disassembly:
push rbx
push rsi
push rdi
push r12
mov eax, 0x11a8
call fcn.140061630
sub rsp, rax
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x1190], rax
mov qword [rsp + 0x60], rdx
mov rsi, rdx
mov qword [rsp + 0x68], rcx
mov rdi, rcx
test rdx, rdx
je 0x140037dc0
mov ecx, 0x20
call fcn.1400462e4
mov qword [rsi], rax
mov rbx, rax
test rax, rax
je 0x140037dc0
xor r12d, r12d
mov qword [rax + 8], r12
lea ecx, [r12 + 0x40]
call fcn.1400462e4
mov qword [rbx], rax
test rax, rax
je 0x140037dc0
lea r8, [rsp + 0x78]
mov qword [rbx + 0x10], 8
mov edx, 0x1000
mov dword [rbx + 0x18], 0x100
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140037dc0
mov qword [rsp + 0x11d0], rbp
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x11e8], r14
lea rcx, str.6VVYqCAosWjD4erSfQbAxxbXwXGQLhFu7ZYHi3X9Zgo
mov r14d, dword [rsp + 0x78]
shr r14, 2
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x11a0], r15
mov qword [rsp + 0x48], r12
call fcn.14003aa30
mov r15, qword [rsp + 0x48]
mov ebp, r12d
mov dword [rsp + 0x30], r12d
test r14, r14
je 0x140037d9c
lea rbx, [rsp + 0x80]
mov qword [rsp + 0x11e0], r13
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov r8d, dword [rbx]
test r8d, r8d
je 0x140037d79
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140037d79
lea r9, [rsp + 0x7c]
mov dword [rsp + 0x20], 3
mov r8d, 8
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x140037d66
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x1080]
mov rcx, qword [rsp + 0x58]
mov r9d, 0x104
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x140037d66
mov edx, 0x5c
lea rcx, [rsp + 0x1080]
call fcn.140044d2c
cmp qword [rdi + 8], 0
mov ebx, r12d
mov dword [rsp + 0x34], ebx
mov r13, r12
lea r14, [rax + 1]
jbe 0x140037d5c
test r14, r14
je 0x140037cf0
mov rax, qword [rdi]
mov rcx, qword [rax + r13*8]
mov r9, qword [rcx]
test r9, r9
je 0x140037cf0
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], 0
jne 0x140037a44
test rax, rax
je 0x140037cf0
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r9 + rax], 0
jne 0x140037a60
test rax, rax
je 0x140037cf0
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [r9 + rcx], 0
jne 0x140037a80
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], 0
jne 0x140037a91
cmp rax, rcx
jne 0x140037cf0
cmp byte [r14], 0
je 0x140037ae1
mov rcx, r14
sub r9, r14
movsx eax, byte [r9 + rcx]
test al, al
je 0x140037ae1
movsx edx, byte [rcx]
cmp dl, al
je 0x140037ad9
mov r8d, edx
mov edx, eax
lea eax, [r8 + 0x20]
cmp eax, edx
je 0x140037ad9
lea eax, [rdx + 0x20]
cmp r8d, eax
jne 0x140037cf0
inc rcx
cmp byte [rcx], 0
jne 0x140037ab0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x1080]
call fcn.14003d5b0
mov rbp, qword [rsp + 0x50]
mov rdx, r14
mov rcx, qword [rsi]
mov r8, rbp
call fcn.1400380c0
test eax, eax
jne 0x140037cc8
mov r9, rbp
mov qword [rsp + 0x50], r12
mov r8, r14
lea rcx, [rsp + 0x50]
mov rdx, r15
call fcn.14003b860
mov rcx, qword [0x140074f48]
xor r15d, r15d
mov r12d, eax
test rcx, rcx
je 0x140037cb8
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp byte [rcx + rdx], r15b
jne 0x140037b50
test rdx, rdx
je 0x140037cb8
lea rdx, [0x14006d404]
call fcn.140038290
mov rdi, rax
test rax, rax
je 0x140037cb3
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + rbp], r15b
jne 0x140037b81
mov rax, 0xffffffffffffffff
cmp byte [r14 + rax + 1], r15b
lea rax, [rax + 1]
jne 0x140037b91
lea rbx, [rax + 2]
add rbx, rcx
mov rcx, rbx
call fcn.1400462e4
mov rsi, rax
test rax, rax
je 0x140037c61
mov r8, r14
mov byte [rax], r15b
mov rdx, rbx
mov rcx, rax
call fcn.140046b08
lea r8, [0x14006d408]
mov rdx, rbx
mov rcx, rsi
call fcn.140046b08
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
call fcn.140046b08
mov r11, qword [rdi + 8]
xor r10d, r10d
test r11, r11
je 0x140037c3e
mov r9, qword [rdi]
mov rax, qword [r9]
test rax, rax
je 0x140037c27
mov r8, rsi
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140037c23
inc rax
test ecx, ecx
jne 0x140037c10
test edx, edx
je 0x140037c38
inc r10d
add r9, 8
movsxd rax, r10d
cmp rax, r11
jb 0x140037bf7
jmp 0x140037c3e
mov r15d, 1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], 0
jne 0x140037c45
xor edx, edx
mov rcx, rsi
call fcn.1400452a0
mov rcx, rsi
call fcn.1400462d0
xor esi, esi
mov ebx, esi
cmp qword [rdi + 8], rbx
jbe 0x140037c8c
nop dword [rax + rax]
mov rcx, qword [rdi]
mov rcx, qword [rcx + rbx*8]
call fcn.1400462d0
mov rax, qword [rdi]
mov qword [rax + rbx*8], rsi
inc rbx
cmp rbx, qword [rdi + 8]
jb 0x140037c70
mov rcx, qword [rdi]
call fcn.1400462d0
mov rcx, rdi
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov dword [rdi + 0x18], esi
call fcn.1400462d0
mov ebx, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
lea eax, [r15 + r12]
test eax, eax
je 0x140037d08
mov r15, qword [rsp + 0x48]
xor r12d, r12d
test rbp, rbp
je 0x140037cf0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + rbp], 0
jne 0x140037cd4
xor edx, edx
mov rcx, rbp
call fcn.1400452a0
mov rcx, rbp
call fcn.1400462d0
inc ebx
inc r13
movsxd rax, ebx
mov dword [rsp + 0x34], ebx
cmp rax, qword [rdi + 8]
jb 0x140037a21
jmp 0x140037d58
mov ecx, 0x20
call fcn.1400462e4
mov rbx, rax
test rax, rax
je 0x140037d58
mov rdx, qword [rdi]
lea rcx, [rsp + 0x1080]
mov r8, qword [rdx + r13*8]
mov qword [rax + 0x18], r8
call fcn.1400463c8
mov rcx, r14
mov qword [rbx + 8], rax
call fcn.1400463c8
mov rcx, rbp
mov qword [rbx], rax
call fcn.1400463c8
mov qword [rbx + 0x10], rax
mov rdx, rbx
mov rcx, qword [rsi]
call section..text
mov ebp, dword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x48]
xor r12d, r12d
inc ebp
add rbx, 4
movsxd rax, ebp
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x38], rbx
cmp rax, r14
jb 0x140037980
mov r13, qword [rsp + 0x11e0]
mov rcx, r15
call fcn.1400462d0
mov r15, qword [rsp + 0x11a0]
xor eax, eax
mov r14, qword [rsp + 0x11e8]
mov rbp, qword [rsp + 0x11d0]
jmp 0x140037dc5
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1190]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x11a8
pop r12
pop rdi
pop rsi
pop rbx
ret