Function at 0x140025870
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov qword [rsp + 0x48], rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x50], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov rcx, rdx
call fcn.140029d60
mov qword [rsp + 0x58], r12
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140019180
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
xor r14b, r14b
movsxd rdi, dword [rbx - 0x10]
mov eax, r12d
lea r15d, [r12 + 0x5c]
test edi, edi
jle 0x140025957
mov rcx, rbx
cdqe
lea rsi, [rax + rax]
cmp word [rcx + rsi], 0x2f
jne 0x140025931
test r14b, r14b
jne 0x14002592c
mov r14b, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140025929
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140018ea0
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
mov word [rsi + rcx], r15w
lea rax, [rsi + 2]
sar rax, 1
cmp eax, edi
jl 0x1400258f2
test r14b, r14b
je 0x140025952
cmp edi, dword [rbx - 0xc]
jg 0x140025c6d
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], r12w
mov rsi, qword [rsp + 0x38]
mov edx, r15d
mov rcx, rbx
call fcn.1401f96ec
mov r13, 0xffffffffffffffff
test rax, rax
jne 0x140025973
mov eax, r13d
jmp 0x140025979
sub rax, rbx
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140029210
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400259ed
cmp dword [rbx + 0x10], 0
jl 0x1400259de
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400259de
call fcn.140019180
mov rdi, rax
mov ecx, r13d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400259d3
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
mov rax, qword [r8 + 8]
call qword [case.0x140038ca6.0]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x1400259ed
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.140018f50
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025a13
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x140025be3
mov rbx, rax
test byte [rsp + 0x60], 0x10
jne 0x140025bbf
mov qword [rsp + 0x28], r12
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rdi - 0x18]
test rcx, rcx
je 0x140025a66
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140038ca6.0]
mov rcx, rax
test rax, rax
jne 0x140025a8a
call fcn.140019590
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038ca6.0]
mov rcx, rax
test rax, rax
je 0x140025c62
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
mov r12d, dword [rsp + 0x20]
or r12d, 1
mov dword [rsp + 0x20], r12d
lea rcx, [rbp - 0x74]
mov rsi, r13
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x140025ab5
movsxd r15, dword [rdi - 0x10]
lea r14d, [r15 + rsi]
test r14d, r14d
js 0x140025c57
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, r14d
or eax, ecx
jge 0x140025af4
mov edx, r14d
lea rcx, [rsp + 0x28]
call fcn.140018ea0
mov rbx, qword [rsp + 0x28]
add r15, r15
je 0x140025b1e
test rbx, rbx
jne 0x140025b10
call fcn.1401fed34
mov dword [rax], 0x16
call fcn.1401feb94
jmp 0x140025b1e
mov r8, r15
mov rdx, rdi
mov rcx, rbx
call fcn.14022e460
movsxd r8, esi
add r8, r8
lea rcx, [r15 + rbx]
je 0x140025b4a
test rcx, rcx
jne 0x140025b41
call fcn.1401fed34
mov dword [rax], 0x16
call fcn.1401feb94
jmp 0x140025b4a
lea rdx, [rbp - 0x74]
call fcn.14022e460
cmp r14d, dword [rbx - 0xc]
jg 0x140025c57
mov dword [rbx - 0x10], r14d
movsxd rax, r14d
xor ecx, ecx
mov word [rbx + rax*2], cx
xor r9d, r9d
mov rsi, qword [rsp + 0x48]
mov r8, qword [rsi + 8]
mov rdx, rbx
mov rcx, rsi
call fcn.140029e40
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140025b86
mov qword [rcx], rax
jmp 0x140025b89
mov qword [rsi], rax
mov qword [rsi + 8], rax
and r12d, 0xfffffffe
mov dword [rsp + 0x20], r12d
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025bb7
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
xor r12d, r12d
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140025a33
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025c0a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r13d
sub r13d, 1
jg 0x140025c2d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140019300
int3
mov ecx, 0x80004005
call fcn.140019300
nop
mov ecx, 0x80070057
call fcn.140019300
int3