Function at 0x1800053dc
Capabilities:
Enumerate files on windows

Disassembly:
mov r9, r8
xor r8d, r8d
jmp 0x180005428
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x610]
sub rsp, 0x710
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov byte [rsp + 0x30], r8b
mov rdi, rdx
mov qword [rsp + 0x50], rdx
mov ebx, 0x104
mov qword [rsp + 0x48], rcx
mov r8d, ebx
xor edx, edx
mov qword [rsp + 0x38], r9
lea rcx, [rbp + 0x2e0]
call sub.msvcrt.dll_memset
test rdi, rdi
jne 0x18000548a
or eax, 0xffffffff
jmp 0x180005685
mov r8, rbx
lea rcx, [rbp + 0x1d0]
xor edx, edx
call sub.msvcrt.dll_memset
call fcn.18000541c
lea rcx, [rbp + 0x2e0]
mov byte [rbp + 0x1d0], al
lea r8, [rbp + 0x1d0]
mov rdx, rdi
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
test rax, rax
jne 0x1800054ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180005482
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800054c2
xor edx, edx
lea rcx, [rbp + 0x3f0]
mov r8d, 0x208
call sub.msvcrt.dll_memset
call fcn.180005414
mov byte [rbp + 0x3f0], al
call fcn.180005414
mov byte [rbp + 0x4f4], al
call fcn.180005414
lea rcx, [rbp + 0xc0]
mov byte [rbp + 0x4f5], al
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
xor ebx, ebx
movsxd rax, ebx
lea rdx, [rbp + 0x3f0]
imul rcx, rax, 0x104
add rdx, rcx
lea rcx, [rbp - 0x54]
call qword [sym.imp.msvcrt.dll_strcmp]
test eax, eax
je 0x180005664
inc ebx
cmp ebx, 2
jl 0x18000552c
xor edx, edx
lea rcx, [rbp + 0xc0]
mov r8d, 0x104
call qword [sym.imp.msvcrt.dll_memset]
lea r8, [rbp - 0x54]
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
test rax, rax
je 0x180005664
mov edi, dword [rbp - 0x80]
mov rbx, qword [rsp + 0x38]
shr edi, 4
and dil, 1
je 0x1800055ba
cmp byte [rsp + 0x30], 0
je 0x1800055ba
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0xc0]
mov r9, rbx
mov r8b, 1
call 0x180005428
xor edx, edx
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x10]
call qword [sym.imp.msvcrt.dll_memset]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x6c]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, 1
jne 0x180005683
xor edx, edx
lea r8d, [rax + 0xf]
lea rcx, [rsp + 0x68]
call qword [sym.imp.msvcrt.dll_memset]
lea r8, [rsp + 0x68]
xor ecx, ecx
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
cmp eax, 1
jne 0x180005683
xor edx, edx
lea r8d, [rax + 7]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_memset]
mov eax, dword [rbp - 0x60]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x64]
mov dword [rsp + 0x44], eax
mov rax, qword [rbx]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [0x180012468]
mov rax, qword [rsp + 0x40]
lea r8, [rbp - 0x54]
mov rcx, qword [rsp + 0x38]
mov r9b, dil
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rdx, rdi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x18000552a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.180010e20
mov rbx, qword [rsp + 0x740]
add rsp, 0x710
pop rdi
pop rsi
pop rbp
ret