Function at 0x140052310
Capabilities:
Enumerate process modules
Enumerate processes
Enumerate threads
Get memory capacity
Get system information on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [r11 - 0x4b8]
sub rsp, 0x590
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
movaps xmmword [r11 - 0x58], xmm8
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x440], rax
movaps xmmword [r11 - 0x68], xmm9
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx]
mov edi, 4
lea rdx, [rsp + 0x20]
mov r8d, edi
mov rcx, rbx
call qword [rax + 8]
movsd xmm6, qword [0x14034cea0]
xorps xmm7, xmm7
cvtsi2sd xmm7, rdi
test rdi, rdi
jns 0x140052388
addsd xmm7, xmm6
xorps xmm9, xmm9
mulsd xmm7, xmm9
movaps xmm0, xmm7
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetMessagePos]
lea rdx, [rsp + 0x20]
mov r8, rdi
mov dword [rsp + 0x20], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
movaps xmm0, xmm7
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetMessageTime]
lea rdx, [rsp + 0x20]
mov r8, rdi
mov dword [rsp + 0x20], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
movaps xmm0, xmm7
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetInputState]
lea rdx, [rsp + 0x20]
mov r8, rdi
mov dword [rsp + 0x20], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
movaps xmm0, xmm7
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x20]
mov r8, rdi
mov dword [rsp + 0x20], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
movaps xmm0, xmm7
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x20]
mov r8, rdi
mov dword [rsp + 0x20], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea rcx, [rsp + 0x70]
addsd xmm7, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm7
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rbx]
mov edi, 0x30
lea rdx, [rsp + 0x70]
mov rcx, rbx
mov r8d, edi
call qword [rax + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
test rdi, rdi
jns 0x140052495
addsd xmm0, xmm6
addsd xmm0, qword [rbx + 0x30]
lea rcx, [rbp - 0x40]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rbx]
mov r15d, 0x38
lea rdx, [rbp - 0x40]
mov r8d, r15d
mov rcx, rbx
call qword [rax + 8]
xorps xmm7, xmm7
cvtsi2sd xmm7, r15
test r15, r15
jns 0x1400524d0
addsd xmm7, xmm6
movaps xmm0, xmm7
lea rcx, [rsp + 0x28]
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov edi, 8
lea rdx, [rsp + 0x28]
mov r8d, edi
mov rcx, rbx
call qword [rax + 8]
xorps xmm8, xmm8
cvtsi2sd xmm8, rdi
test rdi, rdi
jns 0x140052511
addsd xmm8, xmm6
movaps xmm0, xmm8
lea rcx, [rsp + 0x28]
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetCaretPos]
mov rax, qword [rbx]
lea rdx, [rsp + 0x28]
mov r8, rdi
mov rcx, rbx
call qword [rax + 8]
lea rcx, [rsp + 0x30]
movaps xmm0, xmm8
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov r8, rdi
mov rcx, rbx
call qword [rax + 8]
xor edx, edx
lea ecx, [rdx + 0xf]
mulsd xmm8, xmm9
addsd xmm8, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, qword [rbx + 0x28]
movaps xmm9, xmmword [rsp + 0x550]
xorps xmm1, xmm1
mov rsi, rax
cvtsi2sd xmm1, rcx
test rcx, rcx
jns 0x1400525a2
addsd xmm1, xmm6
movsd xmm0, qword [rbx + 0x30]
comisd xmm0, xmm1
jae 0x14005260f
lea rdx, [rbp]
mov edi, 0x438
mov rcx, rax
mov dword [rbp], edi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14005260f
xorps xmm8, xmm8
cvtsi2sd xmm8, rdi
test rdi, rdi
jns 0x1400525e0
addsd xmm8, xmm6
nop dword [rax]
mov rax, qword [rbx]
lea rdx, [rbp]
mov r8, rdi
mov rcx, rbx
call qword [rax + 8]
lea rdx, [rbp]
mov rcx, rsi
movaps xmm0, xmm8
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400525e0
mov rax, qword [rbx + 0x28]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x140052624
addsd xmm1, xmm6
movsd xmm0, qword [rbx + 0x30]
comisd xmm0, xmm1
jae 0x14005268f
lea rdx, [rbp]
mov edi, 0x238
mov rcx, rsi
mov dword [rbp], edi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005268f
xorps xmm8, xmm8
cvtsi2sd xmm8, rdi
test rdi, rdi
jns 0x140052660
addsd xmm8, xmm6
nop dword [rax + rax]
mov rax, qword [rbx]
lea rdx, [rbp]
mov r8, rdi
mov rcx, rbx
call qword [rax + 8]
lea rdx, [rbp]
mov rcx, rsi
movaps xmm0, xmm8
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140052660
mov rax, qword [rbx + 0x28]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x1400526a4
addsd xmm1, xmm6
movsd xmm0, qword [rbx + 0x30]
comisd xmm0, xmm1
jae 0x14005270f
lea rdx, [rbp - 0x60]
mov edi, 0x1c
mov rcx, rsi
mov dword [rbp - 0x60], edi
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14005270f
xorps xmm8, xmm8
cvtsi2sd xmm8, rdi
test rdi, rdi
jns 0x1400526e0
addsd xmm8, xmm6
nop dword [rax + rax]
mov rax, qword [rbx]
lea rdx, [rbp - 0x60]
mov r8, rdi
mov rcx, rbx
call qword [rax + 8]
lea rdx, [rbp - 0x60]
mov rcx, rsi
movaps xmm0, xmm8
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400526e0
mov rax, qword [rbx + 0x28]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x140052724
addsd xmm1, xmm6
movsd xmm0, qword [rbx + 0x30]
comisd xmm0, xmm1
jae 0x140052850
mov qword [rsp + 0x5c0], r12
lea rdx, [rbp - 0x60]
mov r12d, 0x20
mov rcx, rsi
mov qword [rsp + 0x5d0], r14
mov qword [rbp - 0x60], r12
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_Heap32ListFirst]
test eax, eax
je 0x140052840
xorps xmm8, xmm8
cvtsi2sd xmm8, r12
test r12, r12
jns 0x140052780
addsd xmm8, xmm6
nop dword [rax + rax]
mov rax, qword [rbx]
lea rdx, [rbp - 0x60]
mov r8, r12
mov rcx, rbx
call qword [rax + 8]
inc r14
movaps xmm0, xmm8
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
cmp r14, r12
ja 0x140052840
mov r8, qword [rbp - 0x50]
mov edx, dword [rbp - 0x58]
lea rcx, [rsp + 0x38]
xor edi, edi
mov qword [rsp + 0x38], r15
call qword [sym.imp.KERNEL32.dll_Heap32First]
test eax, eax
je 0x14005280b
nop word [rax + rax]
mov rax, rdi
inc rdi
cmp rax, 0x80
ja 0x14005280b
mov rax, qword [rbx]
lea rdx, [rsp + 0x38]
mov r8, r15
mov rcx, rbx
call qword [rax + 8]
lea rcx, [rsp + 0x38]
movaps xmm0, xmm7
addsd xmm0, qword [rbx + 0x30]
movsd qword [rbx + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_Heap32Next]
test eax, eax
jne 0x1400527d0
mov rax, qword [rbx + 0x28]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x140052820
addsd xmm1, xmm6
movsd xmm0, qword [rbx + 0x30]
comisd xmm0, xmm1
jae 0x140052840
lea rdx, [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Heap32ListNext]
test eax, eax
jne 0x140052780
mov r12, qword [rsp + 0x5c0]
mov r14, qword [rsp + 0x5d0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x590]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret