joyce8/EMBER2024-capa huggingface dataset:
Function at 0x670d6150
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x67152890
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 4]
xor ebx, ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.670cd230
lea ecx, [esp + 0x10]
push ecx
push eax
add edi, 0x10
push edi
mov dword [esp + 0x3c], ebx
call fcn.670dbb40
or edi, 0xffffffff
add esp, 0xc
lea ecx, [esp + 0x18]
mov bl, al
mov dword [esp + 0x30], edi
call fcn.6708e840
test bl, bl
jne 0x670d61fa
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call sym.QtCore4.dll_public:_class_QString___thiscall_QSystemError::toString_void_
push eax
push 0xe
mov ecx, esi
mov dword [esp + 0x38], 1
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], edi
lock xadd dword [eax], edi
jne 0x670d61fa
mov ecx, dword [esp + 0x38]
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 + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4

Function at 0x670d6220
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x67152890
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 4]
xor ebx, ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.670cd230
lea ecx, [esp + 0x10]
push ecx
push eax
add edi, 0x10
push edi
mov dword [esp + 0x3c], ebx
call fcn.670dbc20
or edi, 0xffffffff
add esp, 0xc
lea ecx, [esp + 0x18]
mov bl, al
mov dword [esp + 0x30], edi
call fcn.6708e840
test bl, bl
jne 0x670d62ca
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call sym.QtCore4.dll_public:_class_QString___thiscall_QSystemError::toString_void_
push eax
push 0xa
mov ecx, esi
mov dword [esp + 0x38], 1
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], edi
lock xadd dword [eax], edi
jne 0x670d62ca
mov ecx, dword [esp + 0x38]
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 + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x670d70f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x67152ae9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x67256a20]
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 0x670d71c7
test bl, 1
je 0x670d71bf
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.67094db0
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 0x670d71bf
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 0x670d7157
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x670d7740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67152bd9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x14], ebx
call sym.QtCore4.dll_public:_unsigned_int___thiscall_QFileInfo::ownerId_void_const
cmp dword [esi + 0xc], eax
jne 0x670d77c9
mov ecx, edi
call sym.QtCore4.dll_public:_unsigned_int___thiscall_QFileInfo::groupId_void_const
cmp dword [esi + 0x10], eax
jne 0x670d77c9
mov ebp, dword [esi + 0x14]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call sym.QtCore4.dll_public:_class_QFlags_enum_QFile::Permission____thiscall_QFileInfo::permissions_void_
cmp ebp, dword [eax]
jne 0x670d77c9
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call sym.QtCore4.dll_public:_class_QDateTime___thiscall_QFileInfo::lastModified_void_
mov dword [esp + 0x28], ebx
mov ebx, 1
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], ebx
call sym.QtCore4.dll_public:_bool___thiscall_QDateTime::operator_class_QDateTime_const__const
mov byte [esp + 0x30], 0
test al, al
jne 0x670d77ce
mov byte [esp + 0x30], 1
mov dword [esp + 0x28], 0xffffffff
test bl, 1
je 0x670d77e4
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_void___thiscall_QDateTime::destructor_void_
mov al, byte [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x670d7f10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67152cdb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.QWindowsFileSystemWatcherEngine.0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xc]
lea ebx, [esi + 8]
mov dword [esp + 0x30], 1
cmp ecx, dword [eax + 8]
je 0x670d7ff5
lea edx, [esp + 0x18]
push ebx
push edx
call fcn.670d7da0
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x30], 2
mov ebp, 0x71
mov edx, eax
inc eax
mov dword [esp + 0x1c], eax
test edx, edx
jne 0x670d7fd6
cmp ecx, dword [esp + 0x24]
je 0x670d7fd6
mov esi, dword [ecx]
test eax, eax
je 0x670d7fc5
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], ebp
mov ecx, dword [eax + 0x10]
push ecx
call edi
push 0xffffffffffffffff
mov ecx, esi
call sym.QtCore4.dll_public:_bool___thiscall_QThread::wait_unsigned_long_int_
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 1
mov ecx, esi
call eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jmp 0x670d7f96
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
add ecx, 4
mov dword [esp + 0x20], ecx
jmp 0x670d7f83
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x30], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670d7ff5
mov eax, dword [esp + 0x18]
push eax
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov ecx, dword [ebx]
mov byte [esp + 0x30], 0
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670d8010
mov eax, dword [ebx]
push eax
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call sym.QtCore4.dll_public_virtual:_void___thiscall_QThread::destructor_void_
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x670d83c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67159851
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi]
push 4
call sym.QtCore4.dll_public:_void____thiscall_QHashData::allocateNode_int_
mov esi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
xor eax, eax
mov dword [esp + 0x1c], eax
cmp esi, eax
je 0x670d8433
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], ecx
mov eax, dword [edx]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
add eax, 8
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [ecx]
test byte [eax + 0x1c], 1
jne 0x670d8431
call fcn.670d8040
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [ecx], eax
mov ecx, dword [edi]
inc dword [ecx + 0xc]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x670db070
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x6715ad58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x67256a20]
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.670d4fb0
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 0x670db0e3
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 0x670db100
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x6715ad58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x67256a20]
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.670d4fb0
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 0x670db171
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 0x670db190
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x67153156
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x67256a20]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x27c]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp dword [eax + 8], 2
mov dword [esp + 0x274], ebx
jne 0x670db215
mov edx, dword [eax + 0xc]
cmp word [edx + 2], 0x3a
jne 0x670db215
push ecx
mov eax, esp
mov ecx, 0x5c
mov word [eax], cx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esp
call sym.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QChar_
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.670d4fb0
add esp, 8
mov ecx, eax
mov byte [esp + 0x274], 1
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x14]
or ebp, 0xffffffff
mov esi, eax
mov byte [esp + 0x274], bl
mov edx, ebp
lock xadd dword [ecx], edx
jne 0x670db262
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp esi, ebp
jne 0x670db2a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x670db276
cmp eax, 0x20
jne 0x670db2a0
lea ecx, [esp + 0x18]
push ecx
push ecx
mov edx, esp
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], esp
push eax
push edx
call fcn.670d4fb0
add esp, 8
call fcn.670dae30
add esp, 8
cmp al, bl
je 0x670db2a0
mov esi, dword [esp + 0x18]
cmp edi, ebx
je 0x670db2ab
cmp esi, ebp
setne cl
mov byte [edi], cl
mov dword [esp + 0x274], ebp
cmp esi, ebp
jne 0x670db2d1
mov edx, dword [esp + 0x10]
lock xadd dword [edx], ebp
jne 0x670db2cd
mov eax, dword [esp + 0x10]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
xor al, al
jmp 0x670db2f2
mov ecx, dword [esp + 0x10]
mov ebx, esi
shr ebx, 4
and bl, 1
lock xadd dword [ecx], ebp
jne 0x670db2f0
mov edx, dword [esp + 0x10]
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 + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.671438b2
add esp, 0x268
ret
Function at 0x670dbb40
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x6714e260
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
call fcn.670cded0
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.670cded0
mov edi, eax
push 1
mov ecx, esi
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_CopyFileW]
mov edx, dword [esp + 0x10]
test eax, eax
setne bl
mov byte [esp + 0x20], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dbbcf
mov ecx, dword [esp + 0x10]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dbbf1
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test bl, bl
jne 0x670dbc09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x30]
mov ecx, 2
mov dword [edx], eax
mov dword [edx + 4], ecx
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 0x670dbc20
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x6714e260
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
call fcn.670cded0
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.670cded0
mov edi, eax
mov ecx, esi
mov byte [esp + 0x20], 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]
mov edx, dword [esp + 0x10]
test eax, eax
setne bl
mov byte [esp + 0x20], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dbcad
mov ecx, dword [esp + 0x10]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dbccf
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test bl, bl
jne 0x670dbce7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x30]
mov ecx, 2
mov dword [edx], eax
mov dword [edx + 4], ecx
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 0x670dbd00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x6715ad58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
call fcn.670cded0
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_DeleteFileW]
mov ecx, dword [esp + 8]
test eax, eax
setne bl
mov dword [esp + 0x14], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670dbd6d
mov eax, dword [esp + 8]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test bl, bl
jne 0x670dbd85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x20]
mov ecx, 2
mov dword [edx], eax
mov dword [edx + 4], ecx
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret

Function at 0x670dc320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67153321
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x67256a20]
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 0x670dc3a7
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 0x670dc3c3
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0x671d5794
call fcn.6701a840
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 0x670ddf90
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x67153700
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov byte [esp + 0xd], 0
xor ebx, ebx
call fcn.670cd3f0
test al, al
je 0x670de041
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.670cd510
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov ax, word [edx]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x12]
mov dword [esp + 0x24], 0
mov word [esp + 0x12], ax
call sym.QtCore4.dll_public:_class_QChar___thiscall_QChar::toUpper_void_
movzx ecx, word [eax]
mov edx, dword [esp + 0x14]
sub ecx, 0x41
mov esi, 1
shl esi, cl
mov dword [esp + 0x20], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670de02d
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test ebx, esi
je 0x670de153
mov ebx, 0x14
mov al, 1
jmp 0x670de10c
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.670cded0
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
mov dword [esp + 0x1c], str._UNC
call sym.QtCore4.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670de0e2
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc]
mov ax, word [edx]
push 1
mov word [esp + 0x18], ax
mov ecx, dword [esp + 0x18]
push 7
push ecx
lea ecx, [esp + 0x1c]
call sym.QtCore4.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
test eax, eax
jle 0x670de0c7
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xc]
mov dx, word [ecx]
push 1
inc eax
push eax
mov word [esp + 0x1c], dx
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call sym.QtCore4.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
test eax, eax
jle 0x670de0c7
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
dec ecx
cmp eax, ecx
jne 0x670de0e2
lea edx, [esp + 0x10]
push edx
call fcn.670ddd50
add esp, 4
test al, al
je 0x670de0e2
mov ebx, 0x10
mov byte [esp + 0xd], 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670de104
mov edx, dword [esp + 0x10]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, byte [esp + 0xd]
test al, al
je 0x670de157
mov dword [edi + 0x10], ebx
test bl, 2
je 0x670de11b
or dword [edi + 4], 0x100000
and bl, 0x10
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 0x20000
add ecx, 0x20000
or dword [edi + 4], ecx
or dword [edi + 4], 0x400000
or dword [edi], 0x560000
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov al, byte [esp + 0xd]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x670de500
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x671537a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x5c]
push ecx
mov eax, esp
mov dword [eax], 0x440000
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], esp
push eax
xor ebx, ebx
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.670de170
mov eax, dword [esp + 0x2c]
mov ecx, eax
add esp, 0xc
and ecx, 0x400000
je 0x670de5f9
and eax, 0x40000
je 0x670de5f9
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.670cd510
push eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x5c], ebx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__
add esp, 8
mov ecx, eax
mov byte [esp + 0x54], 1
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esp + 0x10]
test eax, eax
setne byte [esp + 0xf]
mov byte [esp + 0x54], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670de5c1
mov eax, dword [esp + 0x10]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670de5e3
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, byte [esp + 0xf]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret