Function at 0x14000afd8
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x448]
sub rsp, 0x548
mov rax, qword [0x140015048]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov qword [rsp + 0x78], r9
mov r13, rdx
mov qword [rsp + 0x70], r8
mov r15, rcx
mov rcx, qword [0x140015038]
lea rax, [0x140015038]
cmp rcx, rax
je 0x14000b046
test dword [rcx + 0x1c], 0x20000000
je 0x14000b046
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400120a0]
mov edx, 0xe
call fcn.140001800
mov r9d, 1
lea rdx, str.SxGet0XLogFileCount
mov r8d, 0xa4
lea rcx, [rsp + 0x28]
call fcn.14000ab2c
xor ebx, ebx
lea rax, [0x1400122e0]
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x80], rdi
mov eax, 0xb4
mov qword [rsp + 0x68], rbx
mov esi, ebx
mov r12, rdi
mov r14d, ebx
test r15, r15
jne 0x14000b0a2
mov dword [rsp + 0x28], 0x80070057
mov word [rsp + 0x2e], ax
jmp 0x14000b271
mov word [rsp + 0x2c], ax
mov eax, 0xb5
test r13, r13
je 0x14000b090
mov rcx, qword [rsp + 0x70]
mov word [rsp + 0x2c], ax
mov eax, 0xb6
test rcx, rcx
je 0x14000b090
mov rdx, qword [rsp + 0x78]
mov word [rsp + 0x2c], ax
mov eax, 0xb7
test rdx, rdx
je 0x14000b090
mov dword [r13], ebx
mov r8d, 0x250
mov dword [rcx], ebx
lea rcx, [rbp - 0x70]
mov dword [rdx], ebx
xor edx, edx
mov dword [rsp + 0x28], ebx
mov word [rsp + 0x2c], ax
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rbp + 0x1e0]
mov r8d, 0x250
call sub.msvcrt.dll_memset
lea r9, [0x140012098]
mov r8, r15
lea rdx, str._s.0._s
lea rcx, [rsp + 0x60]
call fcn.14000d9f8
mov dword [rsp + 0x28], eax
test eax, eax
mov eax, 0xc3
js 0x14000b098
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x1e0]
mov word [rsp + 0x2c], ax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov qword [rbp - 0x80], rax
lea r9, [0x140012098]
mov r8, r15
lea rdx, str._s.0._._s
mov rcx, rax
mov eax, ebx
cmp rcx, rdi
mov ecx, 1
cmovne eax, ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.14000d9f8
mov dword [rsp + 0x28], eax
test eax, eax
mov eax, 0xce
js 0x14000b098
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x70]
mov word [rsp + 0x2c], ax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov r12, rax
cmp rax, rdi
je 0x14000b25a
mov r15d, ebx
lea rax, [rbp - 0x44]
inc rdi
cmp word [rax + rdi*2], bx
jne 0x14000b1c9
sub edi, 5
movzx eax, word [rbp + rdi*2 - 0x44]
add eax, 0xffffffd0
cmp eax, r15d
cmovbe eax, r15d
inc r14d
mov r15d, eax
cmp eax, 7
ja 0x14000b252
cmp r14d, 7
ja 0x14000b252
lea rdx, [rbp - 0x70]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000b22d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0x12
jne 0x14000b237
mov eax, 0xf1
mov dword [rsp + 0x28], ebx
mov word [rsp + 0x2c], ax
cmp esi, 0x12
jne 0x14000b1d5
mov ebx, r15d
jmp 0x14000b25a
movzx eax, si
or eax, 0x80070000
test esi, esi
cmovle eax, esi
mov dword [rsp + 0x28], eax
mov eax, 0xf1
jmp 0x14000b098
mov ebx, 7
mov r14d, ebx
mov eax, dword [rsp + 0x20]
mov dword [r13], eax
mov rax, qword [rsp + 0x70]
mov dword [rax], r14d
mov rax, qword [rsp + 0x78]
mov dword [rax], ebx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
mov ebx, dword [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000d4e8
lea rcx, [rsp + 0x28]
call fcn.14000ac34
mov eax, ebx
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.14000e5c0
add rsp, 0x548
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret