joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6713d100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67297837
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0
mov dword [ebx], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push 0x4000
push edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x6713d220
mov edx, dword [ebp - 0x14]
test edx, edx
jne 0x6713d179
mov esi, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x6713d19d
xor eax, eax
cmp word [edx], ax
je 0x6713d188
inc eax
cmp word [edx + eax*2], 0
jne 0x6713d180
push 0
add eax, eax
lea ecx, [ebp - 0x10]
push 0
push eax
call fcn.671e2a80
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov dword [ebp - 0x10], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 0x18], 0x19
test ecx, ecx
je 0x6713d1d3
cmp ecx, eax
je 0x6713d1ea
lock xadd dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null], eax
dec eax
setne al
test al, al
jne 0x6713d1e7
mov eax, dword [ebp - 0x10]
cmp eax, 0x674c7cb4
je 0x6713d1e7
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebx]
mov dword [ebx], esi
mov edx, dword [ecx]
test edx, edx
je 0x6713d205
cmp edx, 0xffffffff
je 0x6713d217
lock xadd dword [ecx], eax
dec eax
setne al
test al, al
jne 0x6713d217
cmp ecx, 0x674c7cb4
je 0x6713d217
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x6713d277
mov ecx, edi
mov edx, 0x672aa680
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x6713d24e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x6713d234
push str.C:_tempqt_common
push 0x11
jmp 0x6713d270
mov ecx, 0x672aa690
mov edx, 0xc
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x6713d277
add edi, 4
add ecx, 4
sub edx, 4
jae 0x6713d258
push str.C:_tempqt_user
push 0xf
mov ecx, ebx
call fcn.67093570
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6714b3e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x24], ebx
jne 0x6714b4bc
cmp dword [edi + 0x78], 0xffffffff
jne 0x6714b50b
cmp dword [edi + 0x64], 0xffffffff
je 0x6714b4fd
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0xc]
movlpd qword [esp + 0x18], xmm0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
test eax, eax
jg 0x6714b444
jl 0x6714b440
cmp ebx, 0x2000000
jae 0x6714b444
mov eax, ebx
jmp 0x6714b449
mov eax, 0x2000000
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x6714b49f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6714b492
add esi, eax
adc ecx, 0
sub ebx, eax
mov eax, dword [esp + 0x14]
sbb eax, 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [ebp + 0x10]
jg 0x6714b492
jl 0x6714b432
cmp esi, dword [ebp + 0xc]
jb 0x6714b432
mov eax, esi
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
or eax, ecx
jne 0x6714b492
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.671da600
mov ecx, dword [esp + 0x24]
jmp 0x6714b4e8
call sym.Qt5Core.dll_public:_bool___thiscall_QFSFileEnginePrivate::nativeIsSequential_void_const
test al, al
je 0x6714b50b
push dword [edi + 0x60]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
add esp, 4
test eax, eax
je 0x6714b50b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea ecx, [esp + 0x14]
mov edx, dword [eax]
call fcn.671da940
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
push 1
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [esp + 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.Qt5Core.dll_public:_long_long___int64____thiscall_QFSFileEnginePrivate::readFdFh_char___long_long___int64__
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6714b580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
jne 0x6714b698
cmp dword [edi + 0x78], 0xffffffff
jne 0x6714b698
cmp dword [edi + 0x64], 0xffffffff
je 0x6714b67b
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0xc]
mov edx, eax
movlpd qword [esp + 0x18], xmm0
mov ecx, ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, ebx
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
nop dword [eax]
test edx, edx
jg 0x6714b5ee
jl 0x6714b5f3
cmp ecx, 0x2000000
jb 0x6714b5f3
mov eax, 0x2000000
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6714b647
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6714b689
mov ecx, dword [esp + 0x10]
add esi, eax
adc dword [esp + 0xc], 0
sub ecx, eax
mov eax, dword [esp + 0x14]
sbb eax, 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov edx, eax
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0xc], eax
jg 0x6714b689
jl 0x6714b643
cmp esi, ebx
jae 0x6714b689
mov eax, ecx
jmp 0x6714b5e0
mov edx, dword [esp + 0xc]
mov eax, esi
or eax, edx
jne 0x6714b68d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.671da600
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push 2
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [esp + 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.Qt5Core.dll_public:_long_long___int64____thiscall_QFSFileEnginePrivate::writeFdFh_char_const___long_long___int64__
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x67150f60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6728695d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
test esi, esi
je 0x67150f93
mov dword [esi], 0
push ecx
lea eax, [ebp - 0x10]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QFSFileEnginePrivate::longFileName_class_QString_const__
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0x10
je 0x67150fc2
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
add ecx, eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test esi, esi
je 0x67150fe1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x67151001
cmp eax, 0xffffffff
je 0x67151015
mov ecx, dword [ebp - 0x10]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
setne cl
test cl, cl
jne 0x67151015
mov eax, dword [ebp - 0x10]
cmp eax, 0x674c7cb4
je 0x67151015
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x67151030
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6728695d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea eax, [ebp - 0x10]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QFSFileEnginePrivate::longFileName_class_QString_const__
add esp, 8
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, dword [esi]
cmp dword [ecx + 0xc], 0x10
je 0x67151083
mov ecx, dword [ecx + 4]
inc ecx
push 0
push ecx
mov ecx, esi
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov eax, dword [ebp - 0x10]
setne bl
mov eax, dword [eax]
test eax, eax
je 0x671510b6
cmp eax, 0xffffffff
je 0x671510ca
mov ecx, dword [ebp - 0x10]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
setne cl
test cl, cl
jne 0x671510ca
mov eax, dword [ebp - 0x10]
cmp eax, 0x674c7cb4
je 0x671510ca
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x671510e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6729921b
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x674c7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ecx]
mov dword [ebp - 0x268], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x67151125
cmp ecx, 0xffffffff
je 0x67151125
lock inc dword [eax]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x268]
cmp dword [eax + 4], 2
jne 0x67151159
mov ecx, dword [eax + 0xc]
cmp word [ecx + eax + 2], 0x3a
jne 0x67151159
push ecx
mov eax, esp
mov ecx, 0x5c
mov word [eax], cx
lea ecx, [ebp - 0x268]
call sym.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QChar_
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QFSFileEnginePrivate::longFileName_class_QString_const__
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x264]
cmp dword [eax + 0xc], 0x10
je 0x67151197
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x264]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0xc]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x671511ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x671511ba
cmp eax, 0x20
jne 0x671511ea
mov edx, dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [edx]
test eax, eax
je 0x671511d9
cmp eax, 0xffffffff
je 0x671511d9
lock inc dword [edx]
call fcn.6714e5b0
add esp, 4
test al, al
cmovne ebx, dword [ebp - 0x260]
test esi, esi
je 0x671511f6
cmp ebx, 0xffffffff
setne al
mov byte [esi], al
cmp ebx, 0xffffffff
jne 0x671511ff
xor bl, bl
jmp 0x67151205
shr ebx, 4
and bl, 1
mov eax, dword [ebp - 0x264]
or esi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x6715122c
cmp eax, esi
je 0x67151243
mov eax, dword [ebp - 0x264]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67151243
mov eax, dword [ebp - 0x264]
cmp eax, 0x674c7cb4
je 0x67151243
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x268]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x268]
test ecx, ecx
je 0x67151266
cmp ecx, 0xffffffff
je 0x67151277
lock xadd dword [eax], esi
dec esi
setne cl
test cl, cl
jne 0x67151277
cmp eax, 0x674c7cb4
je 0x67151277
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.67284a63
mov esp, ebp
pop ebp
ret
Function at 0x67152330
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67299465
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x50]
push 0x440000
push eax
push esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
call sym.Qt5Core.dll_public:_static_bool___cdecl_QFileSystemEngine::fillMetaData_class_QFileSystemEntry_const___class_QFileSystemMetaData___class_QFlags_enum_QFileSystemMetaData::MetaDataFlag__
mov eax, dword [ebp - 0x4c]
add esp, 0xc
test eax, 0x400000
je 0x67152478
test eax, 0x40000
je 0x67152478
mov ecx, esi
call fcn.67123ba0
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x671523bb
cmp ecx, 0xffffffff
je 0x671523bb
lock inc dword [eax]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, dword [esi]
cmp dword [ecx + 0xc], 0x10
je 0x671523ee
mov ecx, dword [ecx + 4]
inc ecx
push 0
push ecx
mov ecx, esi
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
mov eax, dword [ebp - 0x10]
setne bl
or esi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x67152422
cmp eax, esi
je 0x67152436
mov eax, dword [ebp - 0x10]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67152436
mov eax, dword [ebp - 0x10]
cmp eax, 0x674c7cb4
je 0x67152436
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x67152453
cmp eax, 0xffffffff
je 0x67152465
lock xadd dword [ecx], esi
dec esi
setne al
test al, al
jne 0x67152465
cmp ecx, 0x674c7cb4
je 0x67152465
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x67152730
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672994e5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.67123c70
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x67152774
cmp ecx, 0xffffffff
je 0x67152774
lock inc dword [eax]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 0x10
je 0x67152796
mov eax, dword [eax + 4]
lea ecx, [ebp + 0xc]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
mov esi, dword [ebp + 8]
add edi, eax
mov ecx, esi
call fcn.67123c70
mov eax, dword [esi + 4]
mov dword [ebp + 8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x671527b9
cmp ecx, 0xffffffff
je 0x671527b9
lock inc dword [eax]
mov byte [ebp - 4], 1
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0x10
je 0x671527d8
mov eax, dword [esi + 4]
lea ecx, [ebp + 8]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
push 1
add eax, esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esi]
test eax, eax
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp + 8]
setne bl
or esi, 0xffffffff
test ecx, ecx
je 0x67152810
cmp ecx, esi
je 0x6715281d
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x6715281d
cmp eax, 0x674c7cb4
je 0x6715281d
push eax
call edi
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
test ecx, ecx
je 0x6715283a
cmp ecx, 0xffffffff
je 0x67152847
lock xadd dword [eax], esi
dec esi
setne cl
test cl, cl
jne 0x67152847
cmp eax, 0x674c7cb4
je 0x67152847
push eax
call edi
add esp, 4
test bl, bl
jne 0x6715285d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], 2
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x67152d00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6728b02d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.670f1810
test al, al
je 0x67152d79
push str.Empty_filename_passed_to_function
movaps xmm0, xmmword [0x6741d630]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0x672aa80c
movups xmmword [ebp - 0x28], xmm0
call sym.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const__const
add esp, 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.67123c70
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x67152d92
cmp ecx, 0xffffffff
je 0x67152d92
lock inc dword [eax]
xor eax, eax
lea ecx, [ebp - 0x10]
push 1
mov word [ebp - 0x14], ax
push eax
push dword [ebp - 0x14]
call sym.Qt5Core.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x10]
setne bl
or edi, 0xffffffff
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x67152dcd
cmp ecx, edi
je 0x67152dde
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x67152dde
cmp eax, 0x674c7cb4
je 0x67152dde
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test bl, bl
je 0x67152dec
push str.Broken_filename_passed_to_function
jmp 0x67152d3b
mov ecx, esi
call fcn.67123c70
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x67152e07
cmp ecx, 0xffffffff
je 0x67152e07
lock inc dword [eax]
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x10]
cmp dword [esi + 0xc], 0x10
je 0x67152e29
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x10]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi]
test eax, eax
mov eax, dword [ebp - 0x10]
setne bl
test ecx, ecx
je 0x67152e54
cmp ecx, 0xffffffff
je 0x67152e65
lock xadd dword [eax], edi
dec edi
setne cl
test cl, cl
jne 0x67152e65
cmp eax, 0x674c7cb4
je 0x67152e65
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test bl, bl
jne 0x67152e7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], 2
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x671555f0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6728695d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov word [edi + 0x35], 0x101
call fcn.671550b0
cmp byte [edi + 0x36], 0
je 0x67155706
cmp byte [edi + 0x35], 0
je 0x67155706
mov ecx, edi
call fcn.67155720
cmp byte [edi + 0x36], 0
je 0x67155706
cmp byte [edi + 0x35], 0
je 0x67155706
lea esi, [edi + 4]
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.67155320
mov edx, dword [edi + 8]
mov ecx, dword [eax]
mov dword [edi + 8], ecx
lea ecx, [ebp - 0x10]
mov dword [eax], edx
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push esi
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__
add esp, 8
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x10]
cmp dword [esi + 0xc], 0x10
je 0x671556af
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x10]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0xc]
lea eax, [edi + 0x20]
push eax
lea eax, [edi + 0x18]
add ecx, esi
push eax
lea eax, [edi + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push dword [ebp - 0x14]
test eax, eax
setne al
mov byte [edi + 0x35], al
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x671556f5
cmp ecx, 0xffffffff
je 0x67155706
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x67155706
cmp eax, 0x674c7cb4
je 0x67155706
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret