Function at 0x18014f5e0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
xor r12d, r12d
lea rcx, [rbp - 0x38]
call fcn.1801cfc80
nop
mov qword [rbp - 0x80], r12
lea rax, [rbp - 0x78]
mov qword [rbp + 0x1d0], rax
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x68]
call fcn.1800a7bf0
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x68]
call fcn.1800a4a20
mov qword [rbp - 0x70], rax
mov r9d, 1
lea r8, [0x180256125]
lea rdx, str.bot_d_.txt
lea rcx, [rbp - 0x80]
call fcn.1800a6390
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x28]
sub rax, rcx
cmp rax, 6
jb 0x18014fae2
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r9, qword [rbp - 0x38]
mov qword [rsp + 0x30], 6
lea rax, str..txt
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x58]
call fcn.1800bc960
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rcx, qword [rbp - 0x58]
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.1800a3670
mov rsi, 0xffffffffffffffff
cmp rbx, rsi
je 0x18014f855
movabs r13, 0x2aaaaaaaaaaaaaab
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea rax, [rbp + 0x8c]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18014f710
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x40]
call fcn.1800a56c0
nop
mov qword [rbp - 0x10], r12
mov byte [rbp - 8], 0
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x20], r12
mov byte [rbp + 0x28], 0
movdqa xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x40], 0
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
mov byte [rbp + 0x58], 0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x10]
call fcn.1801526c0
test al, al
jne 0x18014f8f5
mov r8, qword [rbp]
test r8, r8
je 0x18014f7fa
mov rcx, qword [rbp + 0x10]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x18014f7f1
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18014f8e7
mov rcx, r8
call fcn.1801d1c00
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18014f837
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014f832
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18014f8ee
call fcn.1801d1c00
lea rdx, [rbp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18014f6f1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r15d, esi
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x18014f890
lock xadd dword [rax + 0x2c], esi
cmp esi, 1
jne 0x18014f890
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x18014f890
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r12
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x18014f874
mov qword [rbp - 0x80], r12
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x18014f8ba
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x18014f8ba
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp - 0x38]
call fcn.1800a3670
mov eax, r15d
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 8]
mov rdi, qword [rbp]
sub rcx, rdi
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
ja 0x18014f92d
lea rcx, [rbp + 0x48]
lea rax, [rbp + 0x58]
jmp 0x18014f935
lea rcx, [rdi + 0x18]
lea rax, [rdi + 0x28]
cmp byte [rax], 0
je 0x18014f943
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x58], xmm0
jmp 0x18014f94b
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x50]
cmp rdx, r8
jne 0x18014f97e
movdqa xmm0, xmmword [0x18025e3a0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
jmp 0x18014f98c
sub r8, rdx
lea rcx, [rsp + 0x60]
call fcn.1800a56c0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rbx, qword [rsp + 0x60]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rbp + 0x1d0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r15d, eax
cmp rbx, qword [rbp + 0x1d0]
jne 0x18014f9d9
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [r14], 0x22
jne 0x18014f9ed
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18014fa2d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014fa28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014fa28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801d1c00
movdqa xmm0, xmmword [0x18025e3a0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
test rdi, rdi
je 0x18014fa99
mov rcx, qword [rbp + 0x10]
sub rcx, rdi
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, rdi
cmp rdx, 0x1000
jb 0x18014fa90
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014fa90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1801d1c00
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18014f858
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014fad8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014fad8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801d1c00
jmp 0x18014f858
call fcn.18007e560
int3