Function at 0x140126520
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x730], rbx
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov r12, r9
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov r10, qword [rcx + 0x10]
mov rax, qword [rdx + 0x10]
inc r10
add r10, rax
cmp r10, 0x104
jbe 0x140126587
xor al, al
jmp 0x140126870
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x60]
call fcn.14018f1e0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3c0]
call fcn.14018f1e0
cmp qword [rsi + 0x18], 8
jb 0x1401265b9
mov rax, qword [rsi]
jmp 0x1401265bc
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x1401265c8
mov r9, qword [r14]
jmp 0x1401265cb
mov r9, r14
mov qword [rsp + 0x28], rax
lea rax, [0x140201560]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp + 0x3c0]
call fcn.14019ab20
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140126580
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rbp - 0x74]
movzx eax, word [rbp - 0x72]
cmp cx, word [0x1402032a0]
jne 0x14012663e
cmp ax, word [0x1402032a2]
je 0x14012684f
cmp cx, word [0x140211688]
jne 0x140126661
cmp ax, word [0x14021168a]
jne 0x140126661
movzx eax, word [rbp - 0x70]
cmp ax, word [0x14021168c]
je 0x14012684f
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call fcn.14018f1e0
test byte [rsp + 0x60], 0x10
jne 0x140126780
mov rbx, qword [r15 + 8]
mov rcx, qword [r15]
mov rax, rbx
sub rax, rcx
sar rax, 5
test rax, rax
je 0x1401266ab
lea r8, [rbp - 0x74]
mov rdx, rbx
call fcn.1401268a0
cmp rax, rbx
jne 0x14012684f
mov rcx, rsi
call fcn.140003700
mov rdx, rax
lea rcx, [rbp - 0x74]
call fcn.14018e738
test rax, rax
je 0x14012684f
mov rcx, r14
call fcn.140003700
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1b0]
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.14019ab20
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1b0]
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.14019ab20
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r13
mov word [rsp + 0x30], r13w
cmp word [rbp + 0x1b0], 0
jne 0x140126741
mov r8, r13
jmp 0x14012675b
lea rax, [rbp + 0x1b0]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140126750
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x30]
call fcn.140003290
nop
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14000ee70
nop
jmp 0x140126832
mov rcx, r14
call fcn.140003700
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1b0]
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.14019ab20
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1b0]
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.14019ab20
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r13
mov word [rsp + 0x30], r13w
cmp word [rbp + 0x1b0], 0
jne 0x1401267f9
mov r8, r13
jmp 0x14012680f
lea rax, [rbp + 0x1b0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140126804
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x30]
call fcn.140003290
nop
mov r8, r12
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140126490
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14012684f
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140003900
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140126620
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0x730]
add rsp, 0x6e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret