Function at 0x670f4420
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x3d8], rbx
mov rax, qword [0x672bfab0]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rdi, r8
mov r13, rdx
mov qword [rsp + 0x40], rdx
mov r12, rcx
xor r14d, r14d
mov r15d, r14d
mov dword [rsp + 0x60], r14d
xor al, al
or esi, 0xffffffff
lea ebx, [rsi + 2]
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x670f469a
cmp byte [rcx + 0x20], r14b
jne 0x670f469a
mov byte [rsp + 0x30], bl
mov r13d, r14d
call sym.QtCoreVBox4.dll_public:_static_enum_QSysInfo::WinVersion___cdecl_QSysInfo::windowsVersion_void_
cmp eax, 0x90
jl 0x670f44ac
lea r14d, [rsi + 3]
mov r13d, ebx
xor ebx, ebx
cmp byte [r12 + 0x28], bl
mov eax, 1
cmovne ebx, eax
mov rcx, r12
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dword [rsp + 0x28], r14d
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9d, ebx
lea r8, [rbp + 0x20]
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [r12 + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x670f4690
lea rax, str._UNC_
mov qword [rsp + 0x70], rax
mov ebx, 1
mov r8d, ebx
lea rdx, [rsp + 0x70]
mov rcx, r12
call sym.QtCoreVBox4.dll_public:_bool___cdecl_QString::startsWith_class_QLatin1String_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64
test al, al
je 0x670f468b
mov eax, 0x5c
mov word [rsp + 0x32], ax
mov dword [rsp + 0x20], ebx
mov r9d, ebx
lea r8, [rsp + 0x32]
lea rdx, [rsp + 0x38]
mov rcx, r12
call sym.QtCoreVBox4.dll_public:_class_QStringList___cdecl_QString::split_class_QChar_const____ptr64__enum_QString::SplitBehavior__enum_Qt::CaseSensitivity____ptr64
nop
mov rax, qword [rsp + 0x38]
movsxd rdx, dword [rax + 8]
mov ecx, dword [rax + 0xc]
sub ecx, edx
cmp ecx, 4
jne 0x670f45a2
lea rdx, [rax + rdx*8 + 0x28]
lea rax, [0x671c7bb8]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.67033190
nop
mov r15d, ebx
mov dword [rsp + 0x60], ebx
lea rdx, [r12 + 0x18]
lea rcx, [rsp + 0x50]
call fcn.670f2140
test al, al
mov rax, qword [rsp + 0x38]
je 0x670f45a2
movzx ebx, r15b
jmp 0x670f45a4
xor bl, bl
test r15b, 1
je 0x670f45c3
mov rax, qword [rsp + 0x50]
lock dec dword [rax]
jne 0x670f45be
mov rcx, qword [rsp + 0x50]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, qword [rsp + 0x38]
test bl, bl
je 0x670f4633
mov rdx, qword [r12 + 0x18]
mov ecx, dword [rdx + 8]
cmp dword [rdx + 0xc], ecx
jne 0x670f462d
lock dec dword [rax]
jne 0x670f4626
mov r12, qword [rsp + 0x38]
movsxd rax, dword [r12 + 0xc]
lea rbx, [r12 + rax*8 + 0x18]
movsxd rax, dword [r12 + 8]
lea rdi, [r12 + rax*8 + 0x18]
cmp rdi, rbx
je 0x670f461e
nop word [rax + rax]
sub rbx, 8
mov rdx, qword [rbx]
mov eax, esi
lock xadd dword [rdx], eax
dec eax
jne 0x670f4619
mov rcx, qword [rbx]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rbx, rdi
jne 0x670f4600
mov rcx, r12
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
xor al, al
jmp 0x670f4977
mov byte [r12 + 0x20], 1
lock dec dword [rax]
jne 0x670f4690
mov r14, qword [rsp + 0x38]
movsxd rax, dword [r14 + 0xc]
lea rbx, [r14 + rax*8 + 0x18]
movsxd rax, dword [r14 + 8]
lea r13, [r14 + rax*8 + 0x18]
cmp r13, rbx
je 0x670f467e
nop word [rax + rax]
sub rbx, 8
mov rdx, qword [rbx]
mov eax, esi
lock xadd dword [rdx], eax
dec eax
jne 0x670f4679
mov rcx, qword [rbx]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rbx, r13
jne 0x670f4660
mov rcx, r14
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
xor r14d, r14d
jmp 0x670f4690
movzx eax, bl
jmp 0x670f4695
movzx eax, byte [rsp + 0x30]
mov r13, qword [rsp + 0x40]
mov rcx, qword [r12 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x670f46b1
cmp byte [r12 + 0x20], 0
je 0x670f4626
test al, al
jne 0x670f46ec
cmp byte [r12 + 0x20], al
je 0x670f46da
inc dword [r12 + 0x24]
mov rax, qword [r12 + 0x18]
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp dword [r12 + 0x24], ecx
jl 0x670f46ec
xor al, al
jmp 0x670f4977
lea rdx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x670f4626
cmp byte [r12 + 0x20], 0
je 0x670f47ca
mov rdx, qword [r12 + 0x18]
movsxd rcx, dword [r12 + 0x24]
movsxd rax, dword [rdx + 8]
add rcx, rax
lea rdx, [rdx + rcx*8 + 0x18]
lea rax, [r12 + 8]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rdx
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.6701b250
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.670e1c90
mov rbx, rax
mov rdx, rax
mov rcx, r13
call fcn.67063f70
lea rdx, [rbx + 8]
lea rcx, [r13 + 8]
call fcn.67063f70
movzx r11d, word [rbx + 0x10]
mov word [r13 + 0x10], r11w
movzx ecx, word [rbx + 0x12]
mov word [r13 + 0x12], cx
movzx eax, word [rbx + 0x14]
mov word [r13 + 0x14], ax
mov rax, qword [rbp - 0x58]
lock dec dword [rax]
jne 0x670f4782
mov rcx, qword [rbp - 0x58]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x60]
lock dec dword [rax]
jne 0x670f4795
mov rcx, qword [rbp - 0x60]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rsp + 0x58]
lock dec dword [rax]
jne 0x670f47a9
mov rcx, qword [rsp + 0x58]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov dword [rdi + 0x10], 0x10
mov ecx, 0x40000
or dword [rdi + 4], ecx
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
jmp 0x670f4975
mov r8d, esi
lea rdx, [rbp + 0x4c]
lea rcx, [rsp + 0x48]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
nop
lea rax, [r12 + 8]
mov qword [rbp - 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x30], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.6701b250
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.670e1c90
mov rbx, rax
mov rdx, rax
mov rcx, r13
call fcn.67063f70
lea rdx, [rbx + 8]
lea rcx, [r13 + 8]
call fcn.67063f70
movzx r11d, word [rbx + 0x10]
mov word [r13 + 0x10], r11w
movzx ecx, word [rbx + 0x12]
mov word [r13 + 0x12], cx
movzx eax, word [rbx + 0x14]
mov word [r13 + 0x14], ax
mov rax, qword [rbp - 0x70]
lock dec dword [rax]
jne 0x670f4855
mov rcx, qword [rbp - 0x70]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x78]
lock dec dword [rax]
jne 0x670f4868
mov rcx, qword [rbp - 0x78]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rsp + 0x68]
lock dec dword [rax]
jne 0x670f487c
mov rcx, qword [rsp + 0x68]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov qword [rdi], 0
mov rax, qword [rbp - 8]
mov qword [rdi + 8], rax
mov eax, dword [rbp]
mov dword [rdi + 0x10], eax
mov rax, qword [rbp + 4]
mov qword [rdi + 0x14], rax
mov rax, qword [rbp + 0xc]
mov qword [rdi + 0x1c], rax
mov rax, qword [rbp + 0x14]
mov qword [rdi + 0x24], rax
lea rax, str..lnk
mov qword [rsp + 0x78], rax
mov r8d, 1
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call sym.QtCoreVBox4.dll_public:_bool___cdecl_QString::endsWith_class_QLatin1String_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64
test al, al
jne 0x670f4961
mov eax, dword [rbp + 0x20]
mov dword [rdi + 0x10], eax
test al, 2
je 0x670f48e3
or dword [rdi + 4], 0x100000
test al, 0x10
mov eax, 0x20000
mov ecx, 0x40000
cmovne eax, ecx
or dword [rdi + 4], eax
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
mov edx, dword [rdi]
mov rax, qword [rbp + 0x24]
mov qword [rdi + 0x14], rax
mov rax, qword [rbp + 0x2c]
mov qword [rdi + 0x1c], rax
mov rax, qword [rbp + 0x34]
mov qword [rdi + 0x24], rax
test byte [rdi + 0x10], 0x10
je 0x670f4928
mov qword [rdi + 8], r14
jmp 0x670f4939
mov ecx, dword [rbp + 0x3c]
shl rcx, 0x20
mov eax, dword [rbp + 0x40]
add rcx, rax
mov qword [rdi + 8], rcx
or edx, 0x7210000
mov dword [rdi], edx
and dword [rdi + 4], 0xfffeffff
test dword [rdi + 0x10], 0x400
je 0x670f4961
cmp dword [rbp + 0x44], 0xa000000c
jne 0x670f4961
or dword [rdi + 4], 0x10000
mov rax, qword [rsp + 0x48]
lock dec dword [rax]
jne 0x670f4975
mov rcx, qword [rsp + 0x48]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov al, 1
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.671623b0
mov rbx, qword [rsp + 0x3d8]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret