Function at 0x1400051ac
Capabilities:
Enumerate files on windows
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x130], rax
lea rcx, [0x140026ba0]
call fcn.140006eac
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
imul ecx, edx, 0x3e8
lea rdx, [rsp + 0x38]
sub r8d, ecx
lea rcx, [rsp + 0x40]
mov eax, r8d
mov qword [rsp + 0x38], rax
call fcn.140002618
mov rcx, rax
call fcn.1400027ac
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x14000544e
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], 8
call qword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x140005255
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x2c]
cmp eax, 0xea60
ja 0x14000544e
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rbp - 0x48], 0xffffffff80000000
jb 0x14000544e
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140005295
cmp dword [rsp + 0x30], 0
jne 0x140005295
cmp dword [rsp + 0x34], 0
je 0x14000544e
mov eax, dword [0x140019578]
mov rcx, qword [0x140026ad8]
vmovdqu xmm1, xmmword [0x140019aa0]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x50], eax
mov al, byte [0x140027f28]
mov byte [rsp + 0x20], al
mov byte [rsp + 0x54], 0
vmovsd xmm0, qword [str.C:Users.]
vmovdqu xmmword [rsp + 0x58], xmm1
vmovsd qword [rsp + 0x48], xmm0
test rcx, rcx
je 0x14000547a
mov rax, qword [rcx]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x78]
call qword [rax + 0x10]
mov rcx, qword [0x140026b98]
test rcx, rcx
je 0x140005480
mov rax, qword [rcx]
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x68]
call qword [rax + 0x10]
cmp qword [rbp - 0x80], 0xf
lea rcx, [rsp + 0x68]
lea rdx, [rbp - 0x10]
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdx, qword [rbp - 0x80]
mov ebx, 0x1000
mov rdi, rax
cmp rdx, 0xf
jbe 0x140005371
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x14000536c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005474
call fcn.140007bbc
mov rdx, qword [rbp - 0x60]
mov byte [rsp + 0x68], 0
vmovdqu xmm0, xmmword [0x140019a60]
vmovdqu xmmword [rsp + 0x78], xmm0
cmp rdx, 0xf
jbe 0x1400053c3
mov rcx, qword [rbp - 0x78]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x1400053b6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005474
call fcn.140007bbc
vmovdqu xmm0, xmmword [0x140019a60]
mov rdx, qword [rsp + 0x60]
mov byte [rbp - 0x78], 0
vmovdqu xmmword [rbp - 0x68], xmm0
cmp rdx, 0xf
jbe 0x140005409
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x1400053fc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005474
call fcn.140007bbc
vmovdqu xmm0, xmmword [0x140019a60]
mov byte [rsp + 0x48], 0
vmovdqu xmmword [rsp + 0x58], xmm0
cmp rdi, 0xffffffffffffffff
je 0x14000544a
xor ebx, ebx
test byte [rbp - 0x10], 0x10
lea eax, [rbx + 1]
lea rdx, [rbp - 0x10]
mov rcx, rdi
cmovne eax, ebx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14000541c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0xa
setl al
jmp 0x140005450
xor al, al
jmp 0x140005450
mov al, 1
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140007e90
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14000b77c
int3
call fcn.140007a20
int3
call fcn.140007a20
int3
add rcx, 8
jmp 0x1400051ac