Function at 0x140001230
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 - 0x100]
sub rsp, 0x200
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov qword [rsp + 0x50], rdx
mov r12, rcx
mov qword [rsp + 0x60], rcx
mov rsi, qword [rdx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 2
jb 0x1400018e7
mov r15, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140001298
mov r15, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r14, [rsi + 2]
mov ebx, 0xf
lea rdi, [rsp + 0x30]
movabs rax, 0x8000000000000000
lea edx, [rbx + 7]
cmp r14, rbx
jbe 0x140001334
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400012fb
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.140002800
test rax, rax
je 0x1400013a9
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000132f
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000131e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400018db
jmp 0x1400012dc
test rcx, rcx
je 0x14000132d
call fcn.140002800
mov rdi, rax
jmp 0x14000132f
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rbx
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rsi], 0x2a5c
mov byte [rdi + r14], 0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r15, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400013b5
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002844
movdqa xmm0, xmmword [0x140004590]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
cmp r15, 0xffffffffffffffff
jne 0x1400013d9
mov byte [r12 + 0x20], 0
jmp 0x14000186c
xor edx, edx
mov qword [rsp + 0x60], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdx
mov r13d, 0xf
mov qword [rbp - 0x60], r13
mov byte [rbp - 0x78], dl
nop dword [rax + rax]
test byte [rbp - 0x50], 0x10
je 0x14000160e
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rdx
lea rax, [rbp - 0x24]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x140001426
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1400018f3
cmp rdi, 0xf
ja 0x14000147e
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 0xf
mov r8, rdi
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x68], 0
mov r14, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
jmp 0x140001516
mov r14, rdi
or r14, 0xf
cmp r14, rax
jbe 0x14000149d
mov r14, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400014c4
cmp r14, 0x16
mov eax, 0x16
cmovb r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x1400014e3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400018ed
mov rcx, rax
call fcn.140002800
test rax, rax
je 0x140001626
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400014f5
test rcx, rcx
je 0x1400014f2
call fcn.140002800
mov rsi, rax
jmp 0x1400014f5
mov rsi, rdx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], r14
mov r8, rdi
lea rdx, [rbp - 0x24]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rdi], 0
lea rax, [rsp + 0x68]
cmp r14, 0xf
seta bl
cmova rax, rsi
cmp rdi, 1
jne 0x14000153e
cmp byte [rax], 0x2e
jne 0x140001535
xor eax, eax
jmp 0x14000153a
sbb eax, eax
or eax, 1
test eax, eax
je 0x140001567
lea rax, [rsp + 0x68]
test bl, bl
cmovne rax, rsi
cmp rdi, 2
jne 0x140001571
cmp byte [rax], 0x2e
jne 0x14000155e
cmp byte [rax + 1], 0x2e
jne 0x14000155e
xor eax, eax
jmp 0x140001563
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140001571
test bl, bl
je 0x14000160e
jmp 0x1400015e1
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x3c]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x1400015db
mov rax, qword [rbp - 0x3c]
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x68]
test bl, bl
cmovne r9, rsi
cmp rdi, r13
ja 0x1400015c2
lea rbx, [rbp - 0x78]
cmp r13, 0xf
cmova rbx, qword [rbp - 0x78]
mov qword [rbp - 0x68], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400015d7
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.140002490
mov r14, qword [rbp - 0x80]
mov rsi, qword [rsp + 0x68]
mov r13, qword [rbp - 0x60]
cmp r14, 0xf
jbe 0x14000160e
lea rdx, [r14 + 1]
cmp rdx, 0x1000
mov rax, rsi
jb 0x140001606
mov rsi, qword [rsi - 8]
sub rax, rsi
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001626
mov rcx, rsi
call fcn.140002844
lea rdx, [rbp - 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14000162d
xor edx, edx
jmp 0x140001400
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rbp - 0x68]
test rsi, rsi
je 0x140001899
mov rdx, qword [rsp + 0x50]
mov r15, qword [rdx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 1
jb 0x1400018d5
cmp qword [rdx + 0x18], 0xf
jbe 0x140001675
mov rdx, qword [rdx]
mov qword [rsp + 0x50], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r14, [r15 + 1]
mov ebx, 0xf
lea rdi, [rsp + 0x30]
cmp r14, rbx
jbe 0x140001722
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400016de
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002800
test rax, rax
je 0x140001813
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rdx, qword [rsp + 0x50]
jmp 0x14000171d
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140001707
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400018e1
jmp 0x1400016ba
test rcx, rcx
je 0x14000171b
call fcn.140002800
mov rdi, rax
mov rdx, qword [rsp + 0x50]
jmp 0x14000171d
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rbx
mov r8, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0x5c
mov byte [rdi + r14], 0
lea r9, [rbp - 0x78]
mov rdi, qword [rbp - 0x78]
cmp r13, 0xf
cmova r9, rdi
mov r14, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x14000179d
lea rax, [rsi + r14]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + r14]
mov r8, rsi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov byte [rax + r14], 0
lea rax, [rsp + 0x30]
jmp 0x1400017b7
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400025d0
mov r13, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x78]
movups xmm1, xmmword [rax]
movups xmm2, xmmword [rax + 0x10]
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
movups xmmword [r12], xmm1
movups xmmword [r12 + 0x10], xmm2
mov byte [r12 + 0x20], 1
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000181f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000181a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000181a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002844
movdqa xmm0, xmmword [0x140004590]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
cmp r13, 0xf
jbe 0x14000186c
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001864
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001864
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140002844
mov rax, r12
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400027e0
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [r12 + 0x20], 0
cmp r13, 0xf
jbe 0x14000186c
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001867
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001867
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011a0
nop
call fcn.140001100
nop
call fcn.140001100
nop
call fcn.1400011a0
nop
call fcn.140001100
int3
call fcn.1400011a0
int3