Function at 0x140041a60
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1608]
mov eax, 0x1708
call fcn.140056880
sub rsp, rax
mov rax, qword [0x140098020]
xor rax, rsp
mov qword [rbp + 0x15f0], rax
mov rax, qword gs:[0x58]
mov r14, rdx
mov ebx, 4
mov r12, rcx
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x1400d4e70], eax
jle 0x140041aeb
lea rcx, [0x1400d4e70]
call fcn.140056614
cmp dword [0x1400d4e70], 0xffffffff
jne 0x140041aeb
lea rax, [0x14007fde8]
mov dword [0x1400d4e68], 1
lea rcx, [0x1400d4e70]
mov qword [0x1400d4e60], rax
call fcn.1400565b4
mov eax, dword [rbx]
cmp dword [0x1400d4e4c], eax
jle 0x140041b2e
lea rcx, [0x1400d4e4c]
call fcn.140056614
cmp dword [0x1400d4e4c], 0xffffffff
jne 0x140041b2e
lea rax, [0x14007fde0]
mov dword [0x1400d4e58], 2
lea rcx, [0x1400d4e4c]
mov qword [0x1400d4e50], rax
call fcn.1400565b4
mov rdx, qword [r12]
lea rcx, [rsp + 0x28]
mov eax, 0x5c
xor r13d, r13d
mov word [rsp + 0x28], ax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x30], rax
mov dword [rbp + 0x3d0], r13d
call fcn.14000a2a0
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x200]
lea eax, [rcx + 1]
mov dword [rdx + 0x200], eax
mov eax, ecx
mov ecx, 0x2a
mov word [rdx + rax*2], cx
lea rdx, [rbp + 0x1d0]
mov ebx, dword [rbp + 0x3d0]
lea rcx, [rbp + 0x5f0]
lea r8d, [rbx + rbx]
call fcn.140057c70
lea eax, [rbx + 1]
mov word [rbp + rbx*2 + 0x5f0], r13w
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x5f0]
mov word [rbp + rax*2 + 0x5f0], r13w
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140041dc3
mov qword [rsp + 0x1750], rsi
mov qword [rsp + 0x1700], rdi
nop word [rax + rax]
mov esi, dword [rbp - 0x80]
lea rax, [rbp - 0x54]
shr esi, 4
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x60], rax
and esi, 1
lea rax, [rbp - 0x54]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x140041c00
mov r11d, dword [0x1400d4e68]
mov dword [rsp + 0x68], ebx
cmp ebx, r11d
jne 0x140041c6d
mov rdi, qword [0x1400d4e60]
lea r9, [rbp - 0x54]
mov eax, ebx
mov rdx, rdi
lea r9, [r9 + rax*2]
lea rax, [rbp - 0x54]
cmp rax, r9
je 0x140041c60
lea r8, [rbp - 0x54]
sub r8, rdi
lea r10, [rdi + r11*2]
cmp rdx, r10
je 0x140041c6d
movzx ecx, word [r8 + rdx]
movzx eax, word [rdx]
cmp ecx, eax
jne 0x140041c6d
add rdx, 2
lea rax, [r8 + rdx]
cmp rax, r9
jne 0x140041c42
lea rcx, [rdi + r11*2]
cmp rdx, rcx
je 0x140041d9e
mov r11d, dword [0x1400d4e58]
cmp ebx, r11d
jne 0x140041ccc
mov rdi, qword [0x1400d4e50]
lea r9, [rbp - 0x54]
mov ecx, ebx
mov rax, rdi
lea r9, [r9 + rcx*2]
lea rcx, [rbp - 0x54]
cmp rcx, r9
je 0x140041cbf
lea r8, [rbp - 0x54]
sub r8, rdi
lea r10, [rdi + r11*2]
cmp rax, r10
je 0x140041ccc
movzx edx, word [r8 + rax]
movzx ecx, word [rax]
cmp edx, ecx
jne 0x140041ccc
add rax, 2
lea rcx, [r8 + rax]
cmp rcx, r9
jne 0x140041ca1
lea rdx, [rdi + r11*2]
cmp rax, rdx
jne 0x140041ccc
mov al, 1
jmp 0x140041cce
xor al, al
test al, al
jne 0x140041d9e
mov rdx, qword [r12]
lea rcx, [rsp + 0x28]
mov eax, 0x5c
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], ax
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], r13d
mov dword [rbp + 0x5e0], r13d
call fcn.14000a2a0
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x200]
lea eax, [rbx + rcx]
mov dword [rdx + 0x200], eax
lea r8, [rdx + rcx*2]
mov eax, ebx
lea rdx, [rbp - 0x54]
lea rcx, [rbp - 0x54]
lea rdx, [rdx + rax*2]
lea rax, [rbp - 0x54]
cmp rax, rdx
je 0x140041d64
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [r8], ax
lea r8, [r8 + 2]
cmp rcx, rdx
jne 0x140041d50
movups xmm0, xmmword [rsp + 0x60]
lea rax, [rbp + 0x3e0]
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x38]
mov eax, dword [rbp + 0x5e0]
mov rcx, r14
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x78], eax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x48], xmm0
call qword [r14 + 0x28]
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140041be0
mov rdi, qword [rsp + 0x1700]
mov rsi, qword [rsp + 0x1750]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x15f0]
xor rcx, rsp
call fcn.140055f70
add rsp, 0x1708
pop r15
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret