Function at 0x518701
Capabilities:
Enumerate process modules

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x150
mov rax, qword [rbp + 0x18]
xor ebx, ebx
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov rax, qword [rbp + 0x10]
mov dword [rax], 0
push rax
lea rax, [rbp - 0x128]
push rax
call fcn.00401d25
pop rcx
push 0x104
lea rax, [rbp - 0x128]
push rax
call fcn.00401d50
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 4
jae 0x518759
leave
ret 0x18
mov eax, dword [rbp - 8]
sub eax, 4
cmp eax, 0x104
jae 0x5189fc
mov byte [rbp + rax - 0x128], 0
push 0x104
lea rax, [rbp - 0x128]
push rax
push 4
push 0x72e490
call fcn.0040adb1
push rax
push 0x104
lea rax, [rbp - 0x128]
push rax
push 1
push 1
push 0
call fcn.0040aa33
pop rcx
mov dword [0x02c51090], eax
cmp dword [0x02c51090], 0
jge 0x5187b9
leave
ret 0x18
call fcn.0058b5b1
cmp dword [0x02c51098], 0xf2761287
jne 0x5187d6
cmp dword [0x02c5109c], 0xd5016423
je 0x5187da
leave
ret 0x18
call fcn.0058b5b1
mov byte [rbp - 1], 0
mov dword [rbp - 0xc], 0
mov dword [rbp - 0x10], 0
mov dword [rbp - 0x14], 0
jmp 0x518852
test byte [rbp - 1], 0xff
jne 0x51884d
cmp dword [0x02c51098], 0
jne 0x518814
mov eax, dword [0x02c5109c]
mov dword [rbp - 0x14], eax
jmp 0x51884d
mov eax, dword [0x02c51098]
cmp rax, qword [rbp + 0x20]
jg 0x51884d
cmp dword [0x02c5109c], 0
je 0x51884d
mov eax, dword [rbp - 0x14]
mov dword [rbp - 0xc], eax
mov eax, dword [0x02c5109c]
mov dword [rbp - 0x10], eax
call fcn.0058b5b1
mov eax, dword [0x02c51098]
cmp rax, qword [rbp + 0x20]
jle 0x518852
mov byte [rbp - 1], 1
call fcn.0058b5b1
cmp dword [0x02c5109c], 0x80000000
jne 0x5187fa
test byte [rbp - 1], 0xff
jne 0x518875
push rax
push qword [0x02c51090]
call fcn.0040ab09
pop rcx
leave
ret 0x18
lea rcx, [rbp - 0x128]
mov edx, 0x104
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_RtlZeroMemory]
add rsp, 0x20
call fcn.0058b5da
jmp 0x518923
mov eax, dword [0x02c510a0]
mov dword [rbp - 0x14], eax
call fcn.0058b5da
mov eax, dword [0x02c510a0]
mov dword [rbp - 8], eax
mov dword [rbp - 0x18], 0
jmp 0x5188c1
call fcn.0058b603
inc dword [rbp - 0x18]
mov eax, dword [rbp - 0x18]
cmp eax, dword [rbp - 8]
jb 0x5188b9
call fcn.0058b5da
mov eax, dword [0x02c510a0]
mov dword [rbp - 8], eax
mov dword [rbp - 0x18], 0
jmp 0x518916
call fcn.0058b603
mov eax, dword [rbp - 0x14]
cmp eax, dword [rbp - 0xc]
jne 0x518913
cmp dword [rbp - 0x18], 0x104
jae 0x518913
mov eax, dword [rbp - 0x18]
cmp eax, 0x104
jae 0x5189fe
movzx ebx, byte [0x02c510a4]
mov byte [rbp + rax - 0x128], bl
inc dword [rbp - 0x18]
mov eax, dword [rbp - 0x18]
cmp eax, dword [rbp - 8]
jb 0x5188e0
call fcn.0058b5da
cmp dword [0x02c510a0], 0
jne 0x518899
push rax
push qword [0x02c51090]
call fcn.0040ab09
pop rcx
push 0x104
lea rax, [rbp - 0x128]
push rax
call fcn.00401d50
mov dword [rbp - 0x12c], eax
mov eax, dword [rbp - 0x12c]
sub eax, 0x20
mov dword [rbp - 0x130], eax
cmp dword [rbp - 0x130], 0
jge 0x518979
mov dword [rbp - 0x130], 0
jmp 0x518992
mov eax, dword [rbp - 0x12c]
sub eax, 0x20
mov dword [rbp - 0x130], eax
mov dword [rbp - 0x12c], 0x20
push 0x20
push qword [rbp + 0x18]
push 2
push 0x6eabd7
mov eax, dword [rbp - 0x12c]
mov dword [rbp - 0x14c], eax
mov eax, 0x104
sub eax, dword [rbp - 0x14c]
jb 0x518a00
cmp eax, dword [rbp - 0x130]
jb 0x518a00
mov eax, dword [rbp - 0x130]
mov ebx, dword [rbp - 0x14c]
mov dword [rbp - 0x140], ebx
lea rax, [rbp + rax - 0x128]
mov qword [rbp - 0x148], rax
push 1
lea rax, [rbp - 0x148]
push rax
call fcn.00402463
mov rax, qword [rbp + 0x10]
mov ebx, dword [rbp - 0x10]
mov dword [rax], ebx
leave
ret 0x18
int 5
int 5
int 5