Function at 0x140100260
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x2a8
mov rax, qword [0x14041f010]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r12, qword [rsp + 0x300]
xor eax, eax
mov r14d, 1
mov qword [rcx + 0x10], rax
mov qword [rcx], rax
mov rbp, rdx
mov rsi, rcx
mov dword [rcx + 8], 8
mov dword [rcx + 0xc], socket
mov edx, r14d
mov ecx, 0x400
mov qword [rsp + 0x28], r9
mov r15d, r8d
mov dword [rsp + 0x20], eax
mov dword [0x14045fbb4], r14d
call fcn.140032b90
mov r13, rax
test rax, rax
je 0x1401005d3
mov r8d, 0x3fb
mov qword [rsp + 0x2f0], rbx
mov rdx, rbp
mov rcx, r13
call fcn.140013650
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rbx + r13], 0
jne 0x140100300
add rbx, r13
cmp dword [0x14045b514], 0
je 0x140100327
lea rdx, [rbx - 1]
mov rcx, r13
call qword [0x140421758]
inc eax
jmp 0x14010032a
mov eax, r14d
cdqe
sub rbx, rax
movzx eax, byte [rbx]
cmp al, 0x5c
je 0x14010033a
cmp al, 0x2f
jne 0x14010033d
mov byte [rbx], 0
dec rbx
cmp byte [rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140100340
movzx eax, word [0x1403bf2cc]
xor edx, edx
mov word [rbx], ax
mov rcx, r13
movzx eax, byte [0x1403bf2ce]
mov byte [rbx + 2], al
mov qword [rsp + 0x2a0], rdi
call fcn.140321ad0
mov qword [rsp + 0x30], rax
mov rbx, rax
test rax, rax
je 0x140100538
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140100538
nop dword [rax]
cmp word [rsp + 0x6c], 0x2e
jne 0x1401003c8
movzx eax, word [rsp + 0x6e]
test ax, ax
je 0x140100461
cmp ax, 0x2e
jne 0x1401003c8
cmp word [rsp + 0x70], 0
je 0x140100461
test r15d, r15d
je 0x1401003d9
lea rcx, [rsp + 0x40]
call fcn.140100790
jmp 0x1401003e5
xor edx, edx
lea rcx, [rsp + 0x6c]
call fcn.140321ea0
mov rbx, rax
test rax, rax
je 0x140100522
test r12, r12
je 0x140100436
mov rcx, qword [rsp + 0x28]
mov rdx, rax
call r12
test eax, eax
js 0x14010048f
jne 0x140100436
test r15d, r15d
je 0x140100423
dec dword [rbx + 4]
cmp dword [rbx + 4], 0
jg 0x140100461
mov rcx, rbx
call fcn.140078aa0
jmp 0x140100461
cmp dword [0x14045b3f8], 0
jne 0x140100461
mov rcx, rbx
call fcn.140005660
jmp 0x140100461
mov eax, dword [rsi + 4]
sub eax, dword [rsi]
cmp eax, r14d
jge 0x140100454
mov edx, r14d
mov rcx, rsi
call fcn.1400326e0
cmp eax, r14d
jne 0x1401004e3
movsxd rcx, dword [rsi]
mov rax, qword [rsi + 0x10]
mov qword [rax + rcx*8], rbx
inc dword [rsi]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401003a0
mov r12d, dword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x30]
jmp 0x140100556
test r15d, r15d
je 0x1401004bd
dec dword [rbx + 4]
cmp dword [rbx + 4], 0
jg 0x1401004ce
mov rcx, rbx
call fcn.140078aa0
mov r12d, dword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x30]
jmp 0x140100556
cmp dword [0x14045b3f8], 0
jne 0x1401004ce
mov rcx, rbx
call fcn.140005660
mov r12d, dword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x30]
jmp 0x140100556
mov r12d, r14d
test r15d, r15d
je 0x1401004fe
dec dword [rbx + 4]
cmp dword [rbx + 4], 0
jg 0x140100525
mov rcx, rbx
call fcn.140078aa0
jmp 0x140100525
xor r14d, r14d
cmp dword [0x14045b3f8], r14d
jne 0x140100528
mov rcx, rbx
call fcn.140005660
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x30]
jmp 0x140100556
mov r12d, r14d
xor r14d, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x30]
jmp 0x140100556
lea rcx, str.E484:_Cant_open_file__s
mov r12d, r14d
call qword [case.0x1400407ae.0]
mov rcx, rax
mov rdx, rbp
call fcn.1401860c0
xor r14d, r14d
mov eax, dword [0x14045b3f8]
mov rdi, qword [rsp + 0x2a0]
test eax, eax
jne 0x140100576
mov rcx, r13
call fcn.140005660
mov eax, dword [0x14045b3f8]
test rbx, rbx
je 0x140100587
test eax, eax
jne 0x140100587
mov rcx, rbx
call fcn.140005660
mov rbx, qword [rsp + 0x2f0]
test r12d, r12d
jne 0x1401005d0
movsxd rcx, dword [rsi]
test ecx, ecx
jle 0x1401005d0
mov eax, dword [rsp + 0x308]
test eax, eax
jle 0x1401005d0
mov dword [0x14045fbb4], eax
mov rdx, rcx
mov rcx, qword [rsi + 0x10]
lea r8d, [r12 + 8]
lea r9, [0x140100660]
test r15d, r15d
jne 0x1401005cb
lea r9, [0x140100600]
call fcn.140012c70
mov eax, r14d
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140001200
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret