joyce8/EMBER2024-capa huggingface dataset:
Function at 0x670c6710
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x6713dde8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x10]
call sym.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__
mov ecx, eax
mov dword [esp + 0x18], 0
call sym.QtCore4.dll_public:_bool___thiscall_QDir::exists_void_const
test al, al
lea ecx, [esp + 0xc]
sete bl
mov dword [esp + 0x18], 0xffffffff
call sym.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_
test bl, bl
je 0x670c677e
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
mov ecx, esi
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x670c71b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6713df60
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1c]
mov esi, dword [edi + 0xc]
or ebx, 0xffffffff
mov dword [esp + 0x1c], esi
test eax, eax
jne 0x670c72b0
cmp dword [edi + 0x34], ebx
jne 0x670c72ac
cmp dword [edi + 0x20], ebx
je 0x670c730f
mov ebp, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x14], ebp
xor ebx, ebx
lea esp, [esp]
lea eax, [esp + 0x14]
cmp ebp, 0x2000000
jb 0x670c7221
mov eax, 0x671a64b0
mov eax, dword [eax]
mov edx, dword [esp + 0x30]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x20]
push eax
lea eax, [esi + edx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x670c726b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x670c7262
add esi, eax
adc ebx, 0
sub ebp, eax
cmp ebx, dword [esp + 0x38]
mov dword [esp + 0x14], ebp
jg 0x670c7262
jl 0x670c7210
cmp esi, dword [esp + 0x34]
jb 0x670c7210
mov eax, esi
mov edx, ebx
jmp 0x670c732b
mov edx, esi
or edx, ebx
jne 0x670c7262
lea eax, [esp + 0x34]
push 0xffffffffffffffff
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov ecx, dword [esp + 0x1c]
push eax
push 1
mov dword [esp + 0x30], 1
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
or eax, 0xffffffff
or edx, eax
jmp 0x670c732b
test eax, eax
je 0x670c7315
call fcn.670c66c0
test al, al
je 0x670c7315
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
je 0x670c7315
call dword [sym.imp.MSVCR90.dll__errno]
mov edx, dword [eax]
push edx
lea eax, [esp + 0x34]
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 1
mov ecx, esi
mov dword [esp + 0x30], 0
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov edx, ebx
lock xadd dword [ecx], edx
jne 0x670c730f
mov eax, dword [esp + 0x30]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, ebx
mov edx, ebx
jmp 0x670c732b
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, edi
call fcn.670bbf90
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x670c7350
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6713dbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x1c], edi
jne 0x670c744e
or eax, 0xffffffff
cmp dword [ebp + 0x34], eax
jne 0x670c744e
cmp dword [ebp + 0x20], eax
jne 0x670c73a3
mov edx, eax
jmp 0x670c7464
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x24], edi
xor esi, esi
lea ecx, [ecx]
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
cmp ebx, 0x2000000
jb 0x670c73c5
mov eax, 0x671a64b0
mov eax, dword [eax]
mov edx, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x20]
push eax
lea eax, [esi + edx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x670c740d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x670c7407
xor eax, eax
add esi, ecx
adc edi, eax
sub ebx, ecx
sbb dword [esp + 0x24], eax
cmp edi, dword [esp + 0x40]
jg 0x670c7407
jl 0x670c73b0
cmp esi, dword [esp + 0x3c]
jb 0x670c73b0
mov eax, esi
mov edx, edi
jmp 0x670c7464
mov edx, esi
or edx, edi
jne 0x670c7407
lea eax, [esp + 0x38]
push 0xffffffffffffffff
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov ecx, dword [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x38], 0
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
or eax, 0xffffffff
or edx, eax
jmp 0x670c7464
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.670bc320
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
Function at 0x670c83f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x6713e1c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
add eax, 0x10
push eax
lea eax, [esp + 0x14]
push eax
call fcn.670c80f0
add esp, 8
mov ecx, eax
mov dword [esp + 0x20], 0
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x10]
test eax, eax
setne bl
or edi, 0xffffffff
mov dword [esp + 0x20], edi
mov edx, edi
lock xadd dword [ecx], edx
jne 0x670c8467
mov eax, dword [esp + 0x10]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test bl, bl
jne 0x670c84a6
lea ecx, [esp + 0x14]
push edi
push ecx
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 9
mov ecx, esi
mov dword [esp + 0x28], 1
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], edi
lock xadd dword [edx], edi
jne 0x670c84a6
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x670c84c0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x6713e1f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
mov edi, dword [esi + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.670c80f0
mov ebp, eax
add edi, 0x10
lea edx, [esp + 0x34]
push edi
push edx
mov dword [esp + 0x34], 0
call fcn.670c80f0
add esp, 0x10
mov edi, eax
push 1
mov ecx, ebp
mov byte [esp + 0x28], 1
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
mov ecx, edi
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov eax, dword [esp + 0x2c]
setne bl
or edi, 0xffffffff
mov byte [esp + 0x24], 0
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x670c855b
mov edx, dword [esp + 0x2c]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], edi
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x670c8578
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test bl, bl
jne 0x670c85b7
lea eax, [esp + 0x18]
push edi
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 0xe
mov ecx, esi
mov dword [esp + 0x2c], 2
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edi
lock xadd dword [ecx], edi
jne 0x670c85b7
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x670c85d0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x6713e1f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
mov edi, dword [esi + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.670c80f0
mov ebp, eax
add edi, 0x10
lea edx, [esp + 0x34]
push edi
push edx
mov dword [esp + 0x34], 0
call fcn.670c80f0
add esp, 0x10
mov edi, eax
mov ecx, ebp
mov byte [esp + 0x24], 1
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
mov ecx, edi
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov eax, dword [esp + 0x2c]
setne bl
or edi, 0xffffffff
mov byte [esp + 0x24], 0
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x670c8669
mov edx, dword [esp + 0x2c]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], edi
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x670c8686
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test bl, bl
jne 0x670c86c5
lea eax, [esp + 0x18]
push edi
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 0xa
mov ecx, esi
mov dword [esp + 0x2c], 2
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edi
lock xadd dword [ecx], edi
jne 0x670c86c5
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x670c86e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x67132728
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.670c80f0
add esp, 8
push 0
mov ecx, eax
mov dword [esp + 0x18], 0
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [esp + 8]
test eax, eax
setne bl
mov dword [esp + 0x14], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c8753
mov ecx, dword [esp + 8]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret
Function at 0x670c8770
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x67132728
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.670c80f0
add esp, 8
mov ecx, eax
mov dword [esp + 0x14], 0
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [esp + 8]
test eax, eax
setne bl
mov dword [esp + 0x14], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c87e1
mov ecx, dword [esp + 8]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret
Function at 0x670c8f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6713e2d1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 8]
push str.SystemDrive
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
call sym.QtCore4.dll_class_QByteArray___cdecl_qgetenv_char_const__
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
push eax
push esi
mov dword [esp + 0x30], 1
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_
add esp, 0x14
mov edx, dword [esp + 8]
mov dword [esp + 0xc], 1
mov byte [esp + 0x1c], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c9007
mov ecx, dword [esp + 8]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esi]
cmp dword [edx + 8], 0
jne 0x670c9023
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0x671a65c8
call fcn.670199a0
push ecx
mov eax, esp
mov ecx, 0x2f
mov word [eax], cx
mov ecx, esi
mov dword [esp + 0x14], esp
call sym.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QChar_
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
Function at 0x670c9050
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6713e328
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x67221378]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, dword [esp + 0x234]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esi], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x18]
push edx
push 0x104
mov dword [esp + 0x234], ebx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x670c9119
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x230], 1
call fcn.6705a9c0
mov edx, dword [esp + 0xc]
mov byte [esp + 0x22c], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c9119
mov ecx, dword [esp + 0xc]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esi]
cmp dword [edx + 8], ebx
je 0x670c91a7
push 1
lea ecx, [esp + 0x10]
mov eax, 0x5c
push ecx
mov ecx, esi
mov word [esp + 0x14], ax
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670c9165
push 1
mov ecx, esi
call sym.QtCore4.dll_public:_void___thiscall_QString::chop_int_
push 1
lea eax, [esp + 0x10]
mov edx, 0x5c
push eax
mov ecx, esi
mov word [esp + 0x14], dx
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
jne 0x670c9140
lea ecx, [esp + 0xc]
push esi
push ecx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const__
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x230], 2
call fcn.6705a9c0
mov edx, dword [esp + 0xc]
mov byte [esp + 0x22c], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c91a7
mov ecx, dword [esp + 0xc]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esi]
cmp dword [edx + 8], ebx
jne 0x670c91c2
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x10], str.c:_tmp
call fcn.670199a0
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.671300ac
add esp, 0x224
ret
Function at 0x670c9e00
Capabilities:
Clear file content

Disassembly:
push 0xffffffffffffffff
push 0x6713e4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x20]
or ebp, 0xffffffff
cmp edi, ebp
jne 0x670c9efb
cmp dword [eax + 0x34], ebp
jne 0x670c9ee4
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 8], 0
je 0x670c9f69
add eax, 0x10
push eax
lea ecx, [esp + 0x20]
call sym.QtCore4.dll_public:_void___thiscall_QFile::constructor_class_QString_const__
push ecx
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], esp
mov dword [eax], 3
call sym.QtCore4.dll_public_virtual:_bool___thiscall_QFile::open_class_QFlags_enum_QIODevice::OpenModeFlag__
lea ecx, [esp + 0x1c]
test al, al
je 0x670c9ed6
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call sym.QtCore4.dll_public:_bool___thiscall_QFile::resize_long_long___int64__
mov bl, al
test bl, bl
jne 0x670c9ec2
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
call sym.QtCore4.dll_public:_class_QString___thiscall_QIODevice::errorString_void_
push eax
push 0xc
mov ecx, esi
mov byte [esp + 0x34], 1
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebp
call sym.QtCore4.dll_public_virtual:_void___thiscall_QFile::destructor_void_
mov al, bl
jmp 0x670c9f6b
mov dword [esp + 0x2c], ebp
call sym.QtCore4.dll_public_virtual:_void___thiscall_QFile::destructor_void_
jmp 0x670c9f69
cmp edi, ebp
jne 0x670c9efb
mov edx, dword [eax + 0x34]
push edx
call dword [sym.imp.MSVCR90.dll__get_osfhandle]
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x670c9f69
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov ebp, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov ebx, edx
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
call eax
test al, al
je 0x670c9f5e
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x670c9f5e
cmp ebx, dword [esp + 0x38]
jg 0x670c9f46
jl 0x670c9f40
cmp ebp, dword [esp + 0x34]
jae 0x670c9f46
lea eax, [esp + 0x14]
jmp 0x670c9f4a
lea eax, [esp + 0x34]
mov ecx, dword [eax + 4]
mov edx, dword [esi]
mov eax, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
push eax
mov ecx, esi
call edx
mov al, 1
jmp 0x670c9f6b
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push ebx
push ebp
mov ecx, esi
call edx
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x670cbb30
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6713e849
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x2c]
mov dword [esi], sym.QtCore4.dll_struct_QListData::Data_QListData::shared_null
mov ecx, sym.QtCore4.dll_struct_QListData::Data_QListData::shared_null
mov edx, 1
lock xadd dword [ecx], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
and ebx, 0x3ffffff
mov dword [esp + 0x10], 0x2f3a41
je 0x670cbc07
test bl, 1
je 0x670cbbff
lea eax, [esp + 0x10]
push 0xffffffffffffffff
push eax
call sym.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_
add esp, 8
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 1
call sym.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QString_const__
push eax
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.670893a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call sym.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_
mov edx, dword [esp + 0xc]
mov byte [esp + 0x24], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670cbbff
mov ecx, dword [esp + 0xc]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
inc byte [esp + 0x10]
shr ebx, 1
jne 0x670cbb97
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret