Function at 0x10001f4cc
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x538
mov rax, qword [0x10002e110]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov r15, r9
mov r14, r8
mov r13, rdx
mov rdi, rcx
mov rcx, qword [0x10002e120]
lea rax, [0x10002e120]
cmp rcx, rax
je 0x10001f52d
bt dword [rcx + 0x1c], 0x1d
jae 0x10001f52d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100005f28]
mov edx, 0xd
call fcn.10001031c
lea rdx, [0x100007f20]
lea rcx, [rsp + 0x28]
mov r9d, 1
mov r8d, 0x8b
call fcn.10001ed8c
xor ecx, ecx
or rax, 0xffffffffffffffff
mov qword [rsp + 0x70], rax
mov r12, rax
lea rax, [0x100005e20]
mov qword [rsp + 0x60], rax
mov esi, ecx
mov dword [rsp + 0x20], ecx
mov eax, 0x9b
mov ebp, ecx
mov ebx, ecx
mov qword [rsp + 0x68], rcx
cmp rdi, rcx
jne 0x10001f58f
mov dword [rsp + 0x28], 0x80070057
mov word [rsp + 0x2e], ax
jmp 0x10001f73f
mov word [rsp + 0x2c], ax
mov eax, 0x9c
cmp r13, rcx
je 0x10001f57d
mov word [rsp + 0x2c], ax
mov eax, 0x9d
cmp r14, rcx
je 0x10001f57d
mov word [rsp + 0x2c], ax
mov eax, 0x9e
cmp r15, rcx
je 0x10001f57d
mov dword [r13], ecx
mov dword [r14], ecx
mov dword [rsp + 0x28], ecx
mov dword [r15], ecx
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x250
mov word [rsp + 0x2c], ax
call fcn.10002a670
lea rcx, [rsp + 0x2d0]
xor edx, edx
mov r8d, 0x250
call fcn.10002a670
lea r9, [0x100005f48]
lea rdx, [0x100007f38]
lea rcx, [rsp + 0x60]
mov r8, rdi
call fcn.1000284f0
mov dword [rsp + 0x28], eax
test eax, eax
mov eax, 0xaa
js 0x10001f585
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x2d0]
mov word [rsp + 0x2c], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
je 0x10001f650
mov dword [rsp + 0x20], 1
lea r9, [0x100005f48]
lea rdx, [0x100007f48]
lea rcx, [rsp + 0x60]
mov r8, rdi
call fcn.1000284f0
mov dword [rsp + 0x28], eax
test eax, eax
mov eax, 0xb5
js 0x10001f585
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x80]
mov word [rsp + 0x2c], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x10001f731
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xac]
repne scasw ax, word [rdi]
not rcx
dec rcx
movsxd rdi, ecx
movzx eax, word [rsp + rdi*2 + 0xa2]
sub eax, 0x30
cmp eax, ebx
cmova ebx, eax
inc ebp
cmp ebx, 7
ja 0x10001f72a
cmp ebp, 7
ja 0x10001f72a
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10001f708
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0x12
jne 0x10001f70f
and dword [rsp + 0x28], 0
mov eax, 0xd8
mov word [rsp + 0x2c], ax
cmp esi, 0x12
je 0x10001f731
jmp 0x10001f6bb
movzx eax, ax
or eax, 0x80070000
test esi, esi
cmovle eax, esi
mov dword [rsp + 0x28], eax
mov eax, 0xd8
jmp 0x10001f585
mov ebp, 7
mov ebx, ebp
mov eax, dword [rsp + 0x20]
mov dword [r13], eax
mov dword [r14], ebp
mov dword [r15], ebx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.100027da0
lea rcx, [rsp + 0x28]
call fcn.10001eea4
mov eax, edi
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.10002a0b0
add rsp, 0x538
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret