Function at 0x18018d840
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3d0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r14, r8
mov rdi, rdx
mov qword [rsp + 0x60], rdx
mov r13, rcx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
xor al, al
lea rsi, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
lea ebx, [r15 + 1]
mov r12, 0xffffffffffffffff
cmp qword [rcx + 0x10], r12
jne 0x18018db3e
cmp byte [rcx + 0x20], r15b
jne 0x18018db3e
mov byte [rsp + 0x30], bl
lea rcx, [rbp + 0x50]
call sym.Qt5Core.dll_public:_static_class_QOperatingSystemVersion___cdecl_QOperatingSystemVersion::current_void_
mov ecx, dword [rax]
cmp ecx, dword [sym.Qt5Core.dll_class_QOperatingSystemVersion_const_QOperatingSystemVersion::Windows7]
jne 0x18018d8e9
lea rdx, sym.Qt5Core.dll_class_QOperatingSystemVersion_const_QOperatingSystemVersion::Windows7
mov rcx, rax
call sym.Qt5Core.dll_private:_static_int___cdecl_QOperatingSystemVersion::compare_class_QOperatingSystemVersion_const____ptr64__class_QOperatingSystemVersion_const____ptr64_
test eax, eax
js 0x18018d8e9
mov eax, ebx
jmp 0x18018d8eb
xor eax, eax
mov dword [rsp + 0x38], eax
lea edi, [rax + rax]
xor esi, esi
cmp byte [r13 + 0x28], sil
setne sil
mov rcx, r13
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r15
mov r9d, esi
lea r8, [rbp + 0x60]
mov edx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [r13 + 0x10], rax
cmp rax, r12
jne 0x18018db2f
mov dword [rbp - 0x60], 8
lea rax, str._UNC_
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x20], xmm0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, r13
call sym.Qt5Core.dll_public:_bool___cdecl_QString::startsWith_class_QLatin1String__enum_Qt::CaseSensitivity_const___ptr64
test al, al
je 0x18018db2f
mov r8d, 0x5c
mov dword [rsp + 0x20], ebx
mov r9d, ebx
lea rdx, [rsp + 0x38]
mov rcx, r13
call sym.Qt5Core.dll_public:_class_QVector_class_QStringRef____cdecl_QString::splitRef_class_QChar__class_QFlags_enum_Qt::SplitBehaviorFlags___enum_Qt::CaseSensitivity____ptr64
nop
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 4
jne 0x18018da52
lea rdi, [rax + 0x20]
add rdi, qword [rax + 0x10]
mov dword [rbp - 0x50], 2
lea rax, [0x18034af90]
mov qword [rbp - 0x48], rax
mov edx, dword [rdi + 0xc]
add edx, 2
xor r8d, r8d
lea rcx, [rsp + 0x40]
call sym.Qt5Core.dll_public:_void___cdecl_QString::constructor_int__enum_Qt::Initialization____ptr64
mov rax, qword [rsp + 0x40]
mov rsi, qword [rax + 0x10]
add rsi, rax
movaps xmm6, xmmword [rbp - 0x50]
mov r8, rsi
movd edx, xmm6
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rcx, xmm0
call sym.Qt5Core.dll_protected:_static_void___cdecl_QAbstractConcatenable::appendLatin1To_char_const____ptr64__int__class_QChar____ptr64_
movd eax, xmm6
movsxd rcx, eax
add rcx, rcx
add rsi, rcx
movsxd rcx, dword [rdi + 0xc]
mov r8, qword [rdi]
test r8, r8
jne 0x18018da0a
lea rdx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
add rdx, qword [0x180304438]
jmp 0x18018da1c
mov r8, qword [r8]
movsxd rdx, dword [rdi + 8]
mov rax, qword [r8 + 0x10]
lea rdx, [rax + rdx*2]
add rdx, r8
mov r8, rcx
add r8, r8
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
nop
mov r15d, 3
mov dword [rsp + 0x34], r15d
lea rdx, [r13 + 0x18]
lea rcx, [rsp + 0x40]
call fcn.18018d120
test al, al
mov rax, qword [rsp + 0x38]
je 0x18018da52
mov dil, 1
jmp 0x18018da55
xor dil, dil
test r15b, 1
je 0x18018da9d
and r15d, 0xfffffffe
mov dword [rsp + 0x34], r15d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018da85
cmp ecx, 0xffffffff
je 0x18018da98
mov ecx, r12d
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018da98
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x40]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rax, qword [rsp + 0x38]
test dil, dil
je 0x18018dae8
mov rdx, qword [r13 + 0x18]
mov ecx, dword [rdx + 8]
cmp dword [rdx + 0xc], ecx
jne 0x18018dae3
mov ecx, dword [rax]
test ecx, ecx
je 0x18018dac9
cmp ecx, 0xffffffff
je 0x18018dadc
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], r12d
cmp r12d, 1
jne 0x18018dadc
mov edx, 0x10
lea r8d, [rdx - 8]
mov rcx, qword [rsp + 0x38]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
xor al, al
jmp 0x18018df90
mov byte [r13 + 0x20], 1
mov ecx, dword [rax]
test ecx, ecx
je 0x18018db10
cmp ecx, 0xffffffff
je 0x18018db04
mov ecx, r12d
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
je 0x18018db10
mov r15d, dword [rsp + 0x34]
movzx eax, byte [rsp + 0x30]
jmp 0x18018db32
mov edx, 0x10
lea r8d, [rdx - 8]
mov rcx, qword [rsp + 0x38]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov r15d, dword [rsp + 0x34]
movzx eax, byte [rsp + 0x30]
jmp 0x18018db32
movzx eax, bl
lea rsi, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov rdi, qword [rsp + 0x60]
mov rcx, qword [r13 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x18018db4f
cmp byte [r13 + 0x20], 0
je 0x18018dadc
test al, al
jne 0x18018db86
cmp byte [r13 + 0x20], al
je 0x18018db74
inc dword [r13 + 0x24]
mov rax, qword [r13 + 0x18]
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp dword [r13 + 0x24], ecx
jl 0x18018db86
xor al, al
jmp 0x18018df90
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x18018dadc
cmp byte [r13 + 0x20], 0
je 0x18018dcd2
mov rdx, qword [r13 + 0x18]
movsxd rcx, dword [r13 + 0x24]
movsxd rax, dword [rdx + 8]
add rcx, rax
lea rdx, [rdx + rcx*8]
add rdx, 0x10
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x48], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x18018dbbe
lock xadd dword [rcx], ebx
or dword [rsp + 0x34], 8
lea rcx, [rsp + 0x48]
call sym.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.180157f00
mov r8, rax
mov rdx, qword [rdi]
mov qword [rbp - 0x38], rdx
mov rcx, qword [rax]
mov qword [rdi], rcx
mov qword [rax], rdx
mov rdx, qword [rdi + 8]
mov qword [rbp - 0x30], rdx
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [rdi + 0x10], cx
movzx eax, word [rax + 0x12]
mov word [rdi + 0x12], ax
movzx eax, word [r8 + 0x14]
mov word [rdi + 0x14], ax
mov rax, qword [rbp - 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018dc3a
cmp ecx, 0xffffffff
je 0x18018dc4c
mov ecx, r12d
mov rax, qword [rbp - 0x78]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018dc4c
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x78]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rax, qword [rbp - 0x80]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018dc6b
cmp ecx, 0xffffffff
je 0x18018dc7e
mov ecx, r12d
mov rax, qword [rbp - 0x80]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018dc7e
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x80]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018dc9e
cmp ecx, 0xffffffff
je 0x18018dcb1
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], r12d
cmp r12d, 1
jne 0x18018dcb1
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x48]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov dword [r14 + 0x10], 0x10
mov eax, dword [r14 + 4]
or eax, 0x440000
mov dword [r14 + 4], eax
or dword [r14], 0x560000
jmp 0x18018df8e
mov r8d, r12d
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x70]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_
nop
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov qword [rax], rsi
or r15d, 0x50
test r15b, 0x20
je 0x18018dd3e
and r15d, 0xffffffdf
mov dword [rsp + 0x34], r15d
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018dd26
cmp ecx, 0xffffffff
je 0x18018dd39
mov ecx, r12d
mov rax, qword [rsp + 0x78]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018dd39
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x78]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov r15d, dword [rsp + 0x34]
and r15d, 0xffffffef
mov dword [rsp + 0x34], r15d
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018dd68
cmp ecx, 0xffffffff
je 0x18018dd7c
mov ecx, r12d
mov rax, qword [rsp + 0x70]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018dd7c
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x70]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x50], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x18018dd94
mov eax, ebx
lock xadd dword [rcx], eax
or dword [rsp + 0x34], 0x80
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call sym.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x38]
call fcn.180157f00
mov r8, rax
mov rdx, qword [rdi]
mov qword [rbp - 0x28], rdx
mov rcx, qword [rax]
mov qword [rdi], rcx
mov qword [rax], rdx
mov rdx, qword [rdi + 8]
mov qword [rbp - 0x60], rdx
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [rdi + 0x10], cx
movzx eax, word [rax + 0x12]
mov word [rdi + 0x12], ax
movzx eax, word [r8 + 0x14]
mov word [rdi + 0x14], ax
lea rcx, [rbp + 0x38]
call fcn.18011ac80
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018de24
cmp ecx, 0xffffffff
je 0x18018de37
mov ecx, r12d
mov rax, qword [rsp + 0x50]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018de37
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov qword [rbp], 0
mov qword [rbp + 8], r12
movups xmm0, xmmword [rbp]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [r14 + 0x20], xmm0
movsd xmm1, qword [rbp + 0x30]
movsd qword [r14 + 0x30], xmm1
mov dword [rsp + 0x60], 4
lea rax, str..lnk
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
mov r8d, ebx
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x58]
call sym.Qt5Core.dll_public:_bool___cdecl_QString::endsWith_class_QLatin1String__enum_Qt::CaseSensitivity_const___ptr64
test al, al
jne 0x18018df5b
mov eax, dword [rbp + 0x60]
mov dword [r14 + 0x10], eax
test al, 2
je 0x18018deb2
or dword [r14 + 4], 0x100000
test al, 0x10
mov eax, 0x20000
mov ecx, 0x40000
cmovne eax, ecx
or eax, dword [r14 + 4]
bts eax, 0x16
mov dword [r14 + 4], eax
or dword [r14], 0x560000
mov rax, qword [rbp + 0x64]
mov qword [r14 + 0x14], rax
mov rax, qword [rbp + 0x6c]
mov qword [r14 + 0x24], rax
mov rax, qword [rbp + 0x74]
mov qword [r14 + 0x2c], rax
mov qword [r14 + 0x1c], rax
test byte [r14 + 0x10], 0x10
je 0x18018df01
mov qword [r14 + 8], 0
jmp 0x18018df15
mov ecx, dword [rbp + 0x7c]
shl rcx, 0x20
mov eax, dword [rbp + 0x80]
add rcx, rax
mov qword [r14 + 8], rcx
or dword [r14], 0x2210000
mov eax, dword [r14 + 4]
btr eax, 0x10
mov dword [r14 + 4], eax
mov edx, dword [r14 + 0x10]
bt edx, 0xa
jae 0x18018df5b
mov ecx, dword [rbp + 0x84]
cmp ecx, 0xa000000c
jne 0x18018df46
bts eax, 0x10
jmp 0x18018df57
test dl, 0x10
je 0x18018df5b
cmp ecx, 0xa0000003
jne 0x18018df5b
bts eax, 0x1a
mov dword [r14 + 4], eax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018df7b
cmp ecx, 0xffffffff
je 0x18018df8e
mov rax, qword [rsp + 0x58]
lock xadd dword [rax], r12d
cmp r12d, 1
jne 0x18018df8e
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov al, 1
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1802e1ba0
mov rbx, qword [rsp + 0x428]
movaps xmm6, xmmword [rsp + 0x3c0]
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret