joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100688a9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.1001da50
mov esi, eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.CurrentConsoleProcessByExplorer_getActiveExplorerPid_
mov ecx, eax
mov dword [esp + 0x30], 0
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x1001eae0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10066999
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001eb1e
push eax
call edi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1001eb2f
push eax
call edi
mov dword [esi + 0x10], 0
mov ecx, esi
call fcn.1001d310
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp dword [esp + 0x60], 0
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
jne 0x1001eb6c
test eax, eax
jne 0x1001eb6c
test ecx, ecx
je 0x1001eb74
or dword [esp + 0x4c], 0x100
cmp byte [esi + 0x21], 0
jne 0x1001eb89
xor eax, eax
mov dword [esp + 0x4c], 1
mov word [esp + 0x50], ax
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.1001d5d0
lea eax, [esp + 0x10]
mov dword [esp + 0x6c], 0
push eax
lea eax, [esp + 0x24]
push eax
movzx eax, byte [esi + 0x20]
lea ecx, [esp + 0x14]
push 0
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esi + 0x14]
call edi
push dword [esi + 0x18]
mov dword [esi + 0x14], 0
call edi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], 0
mov dword [esi + 0xc], eax
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret
Function at 0x1001ef20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10066a6a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.SimpleHttpRequest_Svr.0
lea eax, [esp + 8]
mov dword [esp + 0x2c], 2
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push 0x100756ec
mov ecx, eax
mov byte [esp + 0x30], 3
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esi + 0x14]
mov byte [esp + 0x2c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esi + 8]
mov byte [esp + 0x2c], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QObject::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x1001f2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10066b12
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QIODevice::errorString_void_]
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push esi
push str.SimpleHttpRequest_Svr_onSocketError
mov ecx, eax
mov byte [esp + 0x38], 1
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QString_const__]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::deleteLater_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
Function at 0x1001f7d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
xor ebx, ebx
movdqu xmmword [edi], xmm0
mov eax, dword [edi + 0x10]
shl eax, 2
test eax, eax
jle 0x1001f81d
mov ebp, dword [esp + 0x14]
lea ecx, [ecx]
mov esi, ebx
and esi, reloc.WS2_32.dll_closesocket
jns 0x1001f7ff
dec esi
or esi, 0xfffffffc
inc esi
mov cl, byte [ebx + ebp]
mov eax, ebx
cdq
inc ebx
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
mov byte [eax + esi*4], cl
mov eax, dword [edi + 0x10]
shl eax, 2
cmp ebx, eax
jl 0x1001f7f0
mov eax, dword [edi + 0x18]
lea esi, [edi + 4]
shl eax, 4
lea edx, [edi + 0x3e]
mov ecx, esi
add edx, eax
mov ebx, 4
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
xor byte [ecx - 4], al
lea ecx, [ecx + 1]
movzx eax, byte [edx - 5]
xor byte [ecx - 1], al
movzx eax, byte [edx - 4]
xor byte [ecx + 3], al
movzx eax, byte [edx - 3]
xor byte [ecx + 7], al
dec ebx
jne 0x1001f832
mov ebp, dword [edi + 0x18]
dec ebp
cmp ebp, 1
jl 0x1001f8ca
mov eax, ebp
lea ebx, [edi + 0x3e]
shl eax, 4
add ebx, eax
mov dword [esp + 0x14], ebx
mov edi, edi
mov ecx, edi
call fcn.1001fde0
mov ecx, edi
call fcn.1001fec0
mov edx, ebx
mov eax, esi
mov ebx, 4
jmp 0x1001f890
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
xor byte [eax - 4], cl
lea eax, [eax + 1]
movzx ecx, byte [edx - 5]
xor byte [eax - 1], cl
movzx ecx, byte [edx - 4]
xor byte [eax + 3], cl
movzx ecx, byte [edx - 3]
xor byte [eax + 7], cl
dec ebx
jne 0x1001f890
mov ecx, edi
call fcn.1001f950
mov ebx, dword [esp + 0x14]
sub ebx, 0x10
mov dword [esp + 0x14], ebx
dec ebp
jne 0x1001f870
mov ecx, edi
call fcn.1001fde0
mov ecx, edi
call fcn.1001fec0
lea ecx, [edi + 0x3d]
mov edx, 4
movzx eax, byte [ecx - 1]
lea esi, [esi + 1]
xor byte [esi - 5], al
lea ecx, [ecx + 4]
movzx eax, byte [ecx - 4]
xor byte [esi - 1], al
movzx eax, byte [ecx - 3]
xor byte [esi + 3], al
movzx eax, byte [ecx - 2]
xor byte [esi + 7], al
dec edx
jne 0x1001f8e0
mov eax, dword [edi + 0x10]
xor esi, esi
shl eax, 2
test eax, eax
jle 0x1001f942
mov ebx, dword [esp + 0x18]
mov ecx, esi
and ecx, reloc.WS2_32.dll_closesocket
jns 0x1001f924
dec ecx
or ecx, 0xfffffffc
inc ecx
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
mov al, byte [eax + ecx*4]
mov byte [esi + ebx], al
inc esi
mov eax, dword [edi + 0x10]
shl eax, 2
cmp esi, eax
jl 0x1001f915
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1001fec0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea eax, [ecx + 4]
mov edx, 4
jmp 0x1001fed0
movzx ecx, byte [eax - 4]
lea eax, [eax + 1]
movzx ecx, byte [ecx + 0x1009a288]
mov byte [eax - 5], cl
movzx ecx, byte [eax - 1]
movzx ecx, byte [ecx + 0x1009a288]
mov byte [eax - 1], cl
movzx ecx, byte [eax + 3]
movzx ecx, byte [ecx + 0x1009a288]
mov byte [eax + 3], cl
movzx ecx, byte [eax + 7]
movzx ecx, byte [ecx + 0x1009a288]
mov byte [eax + 7], cl
dec edx
jne 0x1001fed0
ret
Function at 0x10020160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10066c7c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1009b004]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
lea ecx, [ebx + 8]
mov dword [esp + 0x3c], 0
mov dword [ebx], vtable.rpc::Reply.0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [ebx + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
push ebx
lea eax, [esp + 0x14]
mov byte [esp + 0x40], 2
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push 0x10075854
mov ecx, eax
mov byte [esp + 0x44], 3
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
push ecx
mov eax, esp
mov ecx, dword [ecx]
mov dword [eax], ecx
lea eax, [esp + 0x14]
push eax
inc dword [ecx + 0xc]
call dword [sym.imp.Qt5Core.dll_class_QDebug___cdecl_operator___class_QDebug__class_QObject_const__]
add esp, 0xc
lea ecx, [esp + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QUuid___cdecl_QUuid::createUuid_void_]
add esp, 4
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QUuid::toRfc4122_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 4
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::toHex_void_]
push eax
lea ecx, [ebx + 8]
mov byte [esp + 0x40], 5
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QByteArray_const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1006169e
add esp, 0x34
ret 4
Function at 0x100206c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10066e0b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
push ecx
mov esi, esp
lea eax, [esp + 0x18]
push dword [esp + 0x48]
lea ecx, [esp + 0x28]
push eax
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.Response::call_end
mov ecx, eax
mov dword [esp + 0x48], 0
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push ecx
mov ecx, esp
push esi
mov eax, dword [eax]
mov dword [ecx], eax
inc dword [eax + 0xc]
call dword [sym.imp.Qt5Core.dll_class_QDebug___cdecl_operator___class_QDebug__class_QJsonObject_const__]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.Qt5Core.dll_class_QDebug___cdecl_operator___class_QDebug__class_QObject_const__]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x18]
add esp, 0xc
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call esi
push dword [esp + 0x40]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::constructor_class_QJsonObject_const__]
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 1
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QJsonDocument::toJson_enum_QJsonDocument::JsonFormat_]
cmp byte [ebx + 8], 0
mov byte [esp + 0x38], 2
jne 0x100207a5
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray_const__]
push esi
mov ecx, ebx
mov byte [ebx + 8], 1
call fcn.10055f60
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::deleteLater_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::destructor_void_]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x10020ee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10066f80
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 8], edi
push dword [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
push dword [esp + 0x1c]
lea ecx, [edi + 8]
mov dword [esp + 0x18], 0
mov dword [edi], vtable.qa::PluginManager.0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
mov dword [edi + 0xc], eax
push 0
push 0x10021b80
push edi
push 0x10056470
lea eax, [esp + 0x30]
mov byte [esp + 0x24], 2
push edi
push eax
call fcn.10020c60
add esp, 0x18
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
push 0
push 0x10021120
push edi
push fcn.10056290
lea eax, [esp + 0x30]
push edi
push eax
call fcn.10020d40
add esp, 0x18
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 8
Function at 0x10024070
Capabilities:
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x10067865
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x44]
mov ecx, ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push 0x208
mov dword [esp + 0x40], 1
call fcn.10061588
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x48]
push dword [eax]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x10024158
push 0x104
push edi
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x100241a7
push edi
mov ecx, esi
call fcn.100241e0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0x1c]
push edi
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 2
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::trimmed_void_]
push eax
mov ecx, ebp
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x100241a7
lea eax, [esp + 0x48]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
mov esi, eax
mov byte [esp + 0x3c], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.openfail
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___unsigned_long_int_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, ebp
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
Function at 0x100241e0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x208
mov eax, dword [0x1009b004]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
mov ebx, dword [esp + 0x210]
xor eax, eax
push ebp
push esi
push edi
push 0x1fe
push eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e]
push eax
call sub.MSVCR120.dll_memset
push 6
call fcn.10061588
mov ebp, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov edi, eax
add esp, 0x10
mov esi, 0x43
mov dword [edi + 2], 0x3a
push 0x1e
lea eax, [esp + 0x18]
mov word [edi], si
push eax
push edi
call ebp
test eax, eax
je 0x10024250
mov ax, word [ebx + 0x2c]
cmp ax, word [esp + 0x40]
je 0x100242af
inc esi
cmp esi, 0x5a
jle 0x10024234
mov eax, dword [esp + 0x10]
mov word [ebx], ax
lea eax, [ebx + 0x2e]
push eax
lea eax, [esp + 0x18]
mov dword [ebx + 2], 0x3a
push 0x100
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
lea eax, [esp + 0x20]
push eax
push 0x100
push ebx
call dword [sym.imp.MSVCR120.dll_wcscat_s]
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x230]
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1006169e
add esp, 0x208
ret 4
movzx eax, si
jmp 0x1002425a
Function at 0x10024e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100679e2
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x38]
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
push dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 1
call fcn.10024860
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
add eax, 4
lea esi, [ecx + eax*4]
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 0xc]
lea ecx, [ecx + eax*4]
mov eax, 1
add ecx, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x40]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
mov dword [esp + 0x30], eax
lea ecx, [ecx]
cmp esi, ecx
je 0x10024f24
test eax, eax
je 0x10024f14
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x10024f05
push ebp
mov ecx, edi
call ebx
push esi
mov ecx, edi
call ebx
mov ecx, dword [esp + 0x20]
xor eax, eax
mov esi, dword [esp + 0x1c]
add esi, 4
xor eax, 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
jne 0x10024ef0
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x30], 0
mov eax, dword [ebx]
test eax, eax
je 0x10024f4a
cmp eax, 0xffffffff
je 0x10024f79
or eax, 0xffffffff
lock xadd dword [ebx], eax
setne al
test al, al
jne 0x10024f79
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx + 0xc]
mov ebp, dword [ebx + 8]
add esi, 4
add ebp, 4
lea esi, [ebx + esi*4]
lea ebp, [ebx + ebp*4]
cmp ebp, esi
je 0x10024f6f
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
cmp esi, ebp
jne 0x10024f60
push ebx
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
mov eax, edi
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 0x1002a4a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov ecx, dword [ecx + 8]
jmp 0x1002a4a0
push 0xffffffffffffffff
push 0x1006827d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, 0x1009c528
mov dword [esp + 0x10], 0x1009c528
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMutex::lock_void_]
or dword [esp + 0x10], 1
mov edi, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push 0x25
push str.replace_into_ini_values_:key__:value_
mov dword [esp + 0x38], 0
call edi
add esp, 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov byte [esp + 0x30], 1
add ebx, 0xc
push eax
mov ecx, ebx
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::prepare_class_QString_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push dword [esp + 0x38]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push 4
push str.:key
mov byte [esp + 0x38], 2
call edi
mov dword [esp + 0x40], eax
mov esi, dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::bindValue_class_QString_const___class_QVariant_const___class_QFlags_enum_QSql::ParamTypeFlag__]
add esp, 4
mov eax, esp
mov byte [esp + 0x34], 3
mov ecx, ebx
mov dword [eax], 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
call esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
push 6
push str.:value
call edi
mov dword [esp + 0x40], eax
add esp, 4
mov byte [esp + 0x34], 4
mov eax, esp
mov ecx, ebx
push dword [esp + 0x40]
mov dword [eax], 1
lea eax, [esp + 0x40]
push eax
call esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, ebx
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::exec_void_]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMutexLocker::unlock_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8