Function at 0x140140420
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1402ad418]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor r13d, r13d
mov qword [rsp + 0x50], rdx
xor al, al
mov dword [rsp + 0x58], r13d
cmp qword [rcx + 0x10], 0xffffffffffffffff
lea rbx, [0x1401fd088]
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov r12d, r13d
jne 0x1401407db
cmp byte [rcx + 0x20], al
jne 0x1401407db
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x378], r15
mov byte [rsp + 0x30], 1
call fcn.1401707b0
mov ecx, dword [0x140232998]
cmp dword [rax], ecx
jne 0x1401404b9
lea rdx, [0x140232998]
mov rcx, rax
call fcn.140170770
lea r15d, [r13 + 1]
test eax, eax
jns 0x1401404bc
mov r15d, r13d
cmp byte [rsi + 0x28], r13b
lea ebx, [r15 + r15]
mov edi, r13d
mov rcx, rsi
setne dil
call fcn.140190810
mov rcx, rax
mov dword [rsp + 0x28], ebx
mov r9d, edi
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x40]
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov r15, qword [rsp + 0x378]
mov qword [rsi + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1401407ca
lea rax, str._UNC_
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x60]
movaps xmm0, xmmword [rsp + 0x40]
mov r8d, 1
mov rcx, rsi
movdqa xmmword [rsp + 0x60], xmm0
call fcn.14018eef0
test al, al
je 0x1401407ca
mov r8d, 0x5c
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x40]
mov rcx, rsi
lea r9d, [r8 - 0x5b]
call fcn.14018edf0
mov rbx, qword [rsp + 0x40]
cmp dword [rbx + 4], 4
jne 0x140140656
lea rax, [0x1401eac88]
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x68], rax
mov rax, qword [rbx + 0x10]
mov rcx, rax
test rax, rax
js 0x1401405b0
cmp rax, 0x18
jae 0x1401405b0
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov rcx, qword [rbx + 0x10]
add rbx, rcx
lea rax, [0x1401fd088]
mov qword [rsp + 0x58], rax
mov edx, dword [rbx + 0x2c]
add edx, 2
cmp dword [0x1401fd088], 1
ja 0x1401405dc
mov ecx, dword [0x1401fd090]
btr ecx, 0x1f
cmp edx, ecx
jb 0x1401405fd
cmp edx, dword [0x1401fd08c]
lea rcx, [rsp + 0x58]
cmovl edx, dword [0x1401fd08c]
xor r8d, r8d
inc edx
call fcn.14018ae80
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 8]
test ecx, ecx
js 0x14014060b
bts ecx, 0x1f
mov dword [rax + 8], ecx
movaps xmm0, xmmword [rsp + 0x60]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.140183dd0
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140183be0
lea rdx, [rsi + 0x18]
mov r12d, 1
lea rcx, [rsp + 0x58]
call fcn.14013fb50
mov rbx, qword [rsp + 0x40]
test al, al
je 0x140140656
movzx edi, r12b
jmp 0x140140659
xor dil, dil
test r12b, 1
je 0x140140692
mov rcx, qword [rsp + 0x58]
and r12d, 0xfffffffe
mov eax, dword [rcx]
test eax, eax
je 0x14014067f
cmp eax, 0xffffffff
je 0x140140692
sub eax, 1
mov dword [rcx], eax
jne 0x14014068d
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rbx, qword [rsp + 0x40]
test dil, dil
je 0x140140744
mov rcx, qword [rsi + 0x18]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
jne 0x140140740
mov eax, dword [rbx]
test eax, eax
je 0x1401406ca
cmp eax, 0xffffffff
je 0x1401409a6
sub eax, 1
mov dword [rbx], eax
jne 0x1401409a6
mov rbx, qword [rsp + 0x40]
mov eax, dword [rbx + 4]
test eax, eax
je 0x140140728
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x140140700
cmp rax, 0x18
jae 0x140140700
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov eax, dword [rbx + 4]
test eax, eax
je 0x140140728
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x140140728
cmp rax, 0x18
jae 0x140140728
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov edx, 0x10
mov rcx, rbx
lea r8d, [rdx - 8]
call fcn.140143660
xor al, al
jmp 0x140140c7c
mov byte [rsi + 0x20], 1
mov eax, dword [rbx]
test eax, eax
je 0x14014075b
cmp eax, 0xffffffff
je 0x1401407ca
sub eax, 1
mov dword [rbx], eax
jne 0x1401407ca
mov rbx, qword [rsp + 0x40]
mov eax, dword [rbx + 4]
test eax, eax
je 0x1401407b9
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x140140791
cmp rax, 0x18
jae 0x140140791
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov eax, dword [rbx + 4]
test eax, eax
je 0x1401407b9
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x1401407b9
cmp rax, 0x18
jae 0x1401407b9
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov edx, 0x10
mov rcx, rbx
lea r8d, [rdx - 8]
call fcn.140143660
mov rdi, qword [rsp + 0x50]
lea rbx, [0x1401fd088]
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsi + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x1401407ef
cmp byte [rsi + 0x20], r13b
je 0x1401409a6
test al, al
jne 0x140140813
cmp byte [rsi + 0x20], r13b
je 0x140140994
inc dword [rsi + 0x24]
mov rax, qword [rsi + 0x18]
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp dword [rsi + 0x24], ecx
jge 0x1401409a6
cmp byte [rsi + 0x20], r13b
je 0x1401409ad
movsxd rbx, dword [rsi + 0x24]
test ebx, ebx
js 0x140140833
mov rdx, qword [rsi + 0x18]
mov eax, dword [rdx + 0xc]
sub eax, dword [rdx + 8]
cmp ebx, eax
jl 0x140140857
mov r9d, 0x23b
lea r8, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qlist.h
lea rdx, str.index_out_of_range
lea rcx, str.QList_T_::at
call fcn.140160ef0
mov rdx, qword [rsi + 0x18]
movsxd rcx, dword [rdx + 8]
mov rax, qword [rsi + 8]
add rcx, rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdx + rcx*8]
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x40]
cmp rcx, rdx
jne 0x140140897
mov r8d, 0x446
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.other___this
call fcn.140160ea0
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax]
lea ecx, [r8 + 1]
cmp ecx, 1
jbe 0x1401408a9
lea ecx, [r8 + 1]
mov dword [rax], ecx
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140183a60
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140138fc0
mov rdx, qword [rdi]
mov rcx, qword [rax]
mov qword [rdi], rcx
mov rcx, qword [rax + 8]
mov qword [rax], rdx
mov rdx, qword [rdi + 8]
mov qword [rdi + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [rdi + 0x10], cx
movzx ecx, word [rax + 0x12]
mov word [rdi + 0x12], cx
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
mov word [rdi + 0x14], ax
mov eax, dword [rcx]
test eax, eax
je 0x140140916
cmp eax, 0xffffffff
je 0x140140924
sub eax, 1
mov dword [rcx], eax
jne 0x140140924
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x140140940
cmp eax, 0xffffffff
je 0x14014094e
sub eax, 1
mov dword [rcx], eax
jne 0x14014094e
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14014096a
cmp eax, 0xffffffff
je 0x140140978
sub eax, 1
mov dword [rcx], eax
jne 0x140140978
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov dword [r14 + 0x10], 0x10
or dword [r14 + 4], 0x440000
or dword [r14], 0x560000
jmp 0x140140c7a
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140140813
xor al, al
jmp 0x140140c7c
mov r8d, 0xffffffff
lea rdx, [rbp - 0x14]
lea rcx, [rsp + 0x40]
or r12d, 2
call fcn.1401877c0
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov qword [rax], rbx
test r12b, 4
je 0x1401409fb
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1401409ed
cmp eax, 0xffffffff
je 0x1401409fb
sub eax, 1
mov dword [rcx], eax
jne 0x1401409fb
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140140a17
cmp eax, 0xffffffff
je 0x140140a25
sub eax, 1
mov dword [rcx], eax
jne 0x140140a25
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rax, qword [rsi + 8]
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
cmp rcx, rdx
jne 0x140140a5a
mov r8d, 0x446
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.other___this
call fcn.140160ea0
mov rax, qword [rsp + 0x40]
mov edx, dword [rax]
lea ecx, [rdx + 1]
cmp ecx, 1
jbe 0x140140a69
lea ecx, [rdx + 1]
mov dword [rax], ecx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140183a60
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140138fc0
mov rdx, qword [rdi]
mov rcx, qword [rax]
mov qword [rdi], rcx
mov rcx, qword [rax + 8]
mov qword [rax], rdx
mov rdx, qword [rdi + 8]
mov qword [rdi + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [rdi + 0x10], cx
movzx ecx, word [rax + 0x12]
mov word [rdi + 0x12], cx
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
mov word [rdi + 0x14], ax
mov eax, dword [rcx]
test eax, eax
je 0x140140ad7
cmp eax, 0xffffffff
je 0x140140ae5
sub eax, 1
mov dword [rcx], eax
jne 0x140140ae5
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x140140b01
cmp eax, 0xffffffff
je 0x140140b0f
sub eax, 1
mov dword [rcx], eax
jne 0x140140b0f
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140140b2b
cmp eax, 0xffffffff
je 0x140140b39
sub eax, 1
mov dword [rcx], eax
jne 0x140140b39
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
movups xmm1, xmmword [rbp - 0x70]
mov dword [rsp + 0x60], 4
lea rax, str..lnk
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov qword [rbp - 0x80], r13
lea rcx, [rsp + 0x50]
mov qword [rbp - 0x78], 0xffffffffffffffff
mov r8d, 1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [r14 + 0x10], xmm1
movsd xmm1, qword [rbp - 0x50]
movups xmmword [r14 + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movsd qword [r14 + 0x30], xmm1
call fcn.1401866e0
test al, al
jne 0x140140c50
mov eax, dword [rbp - 0x40]
mov dword [r14 + 0x10], eax
test al, 2
je 0x140140bb9
or dword [r14 + 4], 0x100000
mov edx, dword [r14]
test al, 0x10
mov r9d, dword [r14 + 0x10]
mov eax, 0x40000
mov ecx, 0x20000
mov r8d, r9d
cmovne ecx, eax
mov rax, qword [rbp - 0x3c]
or ecx, dword [r14 + 4]
or edx, 0x560000
mov qword [r14 + 0x14], rax
bts ecx, 0x16
mov rax, qword [rbp - 0x34]
mov qword [r14 + 0x24], rax
mov rax, qword [rbp - 0x2c]
mov qword [r14 + 0x2c], rax
mov qword [r14 + 0x1c], rax
and r8d, 0x10
jne 0x140140c10
mov r13d, dword [rbp - 0x24]
mov eax, dword [rbp - 0x20]
shl r13, 0x20
add r13, rax
or edx, 0x2210000
mov qword [r14 + 8], r13
btr ecx, 0x10
mov dword [r14], edx
mov dword [r14 + 4], ecx
bt r9d, 0xa
jae 0x140140c50
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa000000c
jne 0x140140c3c
bts ecx, 0x10
jmp 0x140140c4c
test r8d, r8d
je 0x140140c50
cmp eax, 0xa0000003
jne 0x140140c50
bts ecx, 0x1a
mov dword [r14 + 4], ecx
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x140140c6c
cmp eax, 0xffffffff
je 0x140140c7a
sub eax, 1
mov dword [rcx], eax
jne 0x140140c7a
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov al, 1
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1401bc2c0
add rsp, 0x320
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret