joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009f50
Capabilities:
Get disk information

Disassembly:
sub esp, 0x4c0
mov eax, dword [0x100d4254]
xor eax, esp
mov dword [esp + 0x4bc], eax
mov eax, dword [esp + 0x4c8]
push ebp
mov ebp, dword [esp + 0x4c8]
mov dword [esp + 4], eax
test ebp, ebp
je 0x1000a098
test eax, eax
je 0x1000a098
push ebx
push esi
push edi
lea eax, [esp + 0xe4]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1000a04c
xor edi, edi
cmp word [esp + 0xe4], di
je 0x1000a04c
lea esi, [esp + 0xe4]
xor ebx, ebx
mov edi, edi
push 0x1009eeec
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1000a033
push 0x1009eef4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1000a033
movzx eax, word [esi]
mov word [esp + 0x14], ax
movzx eax, word [esp + ebx + 0xe6]
mov word [esp + 0x16], ax
xor eax, eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1c]
push 0x64
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1000a058
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
call dword [sym.imp.MSVCR120.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x1000a073
add edi, 4
lea esi, [esp + 0xe4]
lea ebx, [edi + edi]
add esi, ebx
cmp word [esi], 0
jne 0x10009fc0
mov edi, dword [esp + 0x10]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor al, al
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x4bc]
xor ecx, esp
call fcn.10086f4e
add esp, 0x4c0
ret
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi*2]
add eax, ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov al, 1
jmp 0x1000a05a
mov ecx, dword [esp + 0x4c0]
xor al, al
pop ebp
xor ecx, esp
call fcn.10086f4e
add esp, 0x4c0
ret
Function at 0x1000ae00
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x418
mov eax, dword [0x100d4254]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x420]
lea ecx, [esp + 4]
push esi
mov esi, dword [esp + 0x420]
push 0x104
push ecx
push eax
mov dword [esp + 0x10], 0
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x1000ae84
lea eax, [esp + 0x210]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.10009f50
add esp, 8
test al, al
je 0x1000ae84
push 0xffffffffffffffff
lea eax, [esp + 0x214]
push eax
push esi
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
mov eax, esi
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.10086f4e
add esp, 0x418
ret
push 0
push 0x1009e7f0
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov ecx, dword [esp + 0x420]
add esp, 8
mov dword [esi], eax
mov eax, esi
pop esi
xor ecx, esp
call fcn.10086f4e
add esp, 0x418
ret

Function at 0x1000bd20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10089452
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 1
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
push 5
push 0x1009f150
mov dword [esp + 0x2c], 0
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
mov byte [esp + 0x28], 1
push eax
lea eax, [esp + 0x10]
push eax
call fcn.1000b070
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x24
ret 8
Function at 0x1000dae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008995a
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
push dword [esp + 0x54]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
push ecx
mov eax, esp
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x18]
mov dword [eax], 2
call dword [sym.imp.Qt5Core.dll_public_virtual:_bool___thiscall_QFile::open_class_QFlags_enum_QIODevice::OpenModeFlag__]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::constructor_class_QIODevice__]
push dword [esi + 4]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___int_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call ebp
push esi
lea ecx, [esp + 0x20]
call fcn.1000bb20
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
lea esi, [ecx + ebx]
lea edi, [ecx + eax*4]
mov dword [esp + 0x20], esi
add edi, ebx
mov eax, 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov byte [esp + 0x4c], 2
cmp esi, edi
je 0x1000dba9
test eax, eax
je 0x1000db99
push dword [esi]
lea ecx, [esp + 0x30]
call ebp
xor eax, eax
add esi, 4
xor eax, 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
jne 0x1000db87
mov eax, dword [ebx]
test eax, eax
je 0x1000dbc2
cmp eax, 0xffffffff
je 0x1000dbd0
or eax, 0xffffffff
lock xadd dword [ebx], eax
setne al
test al, al
jne 0x1000dbd0
push 4
push 4
push ebx
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_]
add esp, 0xc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QFile::destructor_void_]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
Function at 0x10010b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008a2fa
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push dword [esp + 0x30]
lea ecx, [esp + 0x18]
call fcn.1000f1e0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x10010b94
mov eax, dword [esp + 0x28]
mov byte [eax], 1
jmp 0x10010c3a
sub eax, ecx
xor edi, edi
test eax, eax
jle 0x10010c3a
mov ebx, dword [esp + 0x2c]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::endsWith_class_QString_const___enum_Qt::CaseSensitivity_const]
lea ebx, [ebx]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x2c]
add eax, 4
add eax, edi
lea eax, [esi + eax*4]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 1
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::trimmed_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x30]
cmp dword [eax + 4], 0
je 0x10010c00
push 0
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call ebp
test al, al
jne 0x10010c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [esp + 0x14]
inc edi
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
cmp edi, eax
jl 0x10010bb0
jmp 0x10010c3a
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 0
mov byte [eax], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov dword [esp + 0x20], 0xffffffff
test eax, eax
je 0x10010c5f
cmp eax, 0xffffffff
je 0x10010c8e
or eax, 0xffffffff
lock xadd dword [esi], eax
setne al
test al, al
jne 0x10010c8e
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 8]
add edi, 4
add ebx, 4
lea edi, [esi + edi*4]
lea ebx, [esi + ebx*4]
cmp ebx, edi
je 0x10010c84
sub edi, 4
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x10010c75
push esi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x10011040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008a3a2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x34]
push esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QDir::mkpath_class_QString_const__const]
mov byte [esp + 8], al
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 esi
push dword [esp + 0xc]
mov ecx, eax
mov byte [esp + 0x34], 1
push str.createdir
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___bool_]
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 + 0x2c], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4
Function at 0x100124d0
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x450
mov eax, dword [0x100d4254]
xor eax, esp
mov dword [esp + 0x44c], eax
mov eax, dword [esp + 0x45c]
push ebx
push str.Floppy
push eax
call dword [sym.imp.MSVCR120.dll_strstr]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x45c]
setne cl
sub eax, 2
je 0x1001253c
dec eax
je 0x10012535
sub eax, 2
je 0x1001252e
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.10086f4e
add esp, 0x450
ret 0xc
mov ebx, 0x100b3b10
jmp 0x1001254b
mov ebx, 0x100b3b00
jmp 0x1001254b
test cl, cl
mov ebx, 0x100b3b20
mov eax, 0x100b3b00
cmove ebx, eax
push edi
push 0x12
push 0
push 0
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10012567
xor eax, eax
jmp 0x1001268b
push ebp
push esi
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0x1c
push eax
xor ebp, ebp
push ebp
push ebx
push ebp
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x10012680
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0
push 0
lea eax, [esp + 0x44]
push eax
push edi
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10012667
cmp eax, 0x400
ja 0x10012667
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 6
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0
push ecx
push eax
lea eax, [esp + 0x68]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x44]
movq qword [esp + 0x38], xmm0
push eax
movdqu xmmword [esp + 0x2c], xmm0
push edi
mov dword [esp + 0x30], 0x1c
call esi
test eax, eax
je 0x10012667
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10012661
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0xc
lea eax, [esp + 0x5c]
push eax
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1001265a
mov eax, dword [esp + 0x464]
cmp eax, dword [esp + 0x54]
je 0x100126a4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
lea eax, [esp + 0x34]
inc ebp
push eax
push ebp
push ebx
push 0
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x10012590
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xor eax, eax
pop esi
pop ebp
mov ecx, dword [esp + 0x454]
pop edi
pop ebx
xor ecx, esp
call fcn.10086f4e
add esp, 0x450
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [esp + 0x2c]
jmp 0x10012689
Function at 0x10015690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008aeae
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebp
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0
push 1
push dword [esp + 0x58]
lea ecx, [esp + 0x18]
call fcn.1002df90
push 0x1009e7f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push 7
push str.mac_mac
mov byte [esp + 0x48], 1
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x40], 2
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.10031310
lea ecx, [esp + 8]
mov byte [esp + 0x40], 3
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov ecx, dword [esp + 0x48]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 2
call ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0x40], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0
call ebp
push 0x1009e7f0
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push 0xb
push str.mac_realmac
mov byte [esp + 0x48], 4
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x40], 5
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.10031310
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 6
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov ecx, dword [esp + 0x4c]
push eax
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_]
mov byte [esp + 0x40], 5
lea ecx, [esp + 0x28]
call ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0x40], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0
call ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QObject::destructor_void_]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebp
add esp, 0x3c
ret 0xc
Function at 0x10015df0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x1008b01f
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x100d4254]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x260]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push 0
push 2
mov dword [esp + 0x260], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x10015e79
push 0
push 0x1009e7f0
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebx], eax
jmp 0x10015f05
push 0x22c
lea eax, [esp + 0x24]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x20], 0x22c
lea eax, [esp + 0x20]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10015ef1
mov edi, dword [esp + 0x264]
jmp 0x10015eb0
cmp dword [esp + 0x28], edi
je 0x10015ec7
lea eax, [esp + 0x20]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10015eb0
jmp 0x10015ef1
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
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 + 0x10]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString__]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 1
mov byte [esp + 0x258], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, ebx
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.10086f4e
add esp, 0x24c
ret 8
Function at 0x10016230
Capabilities:
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x1008b12a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push 0x208
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
call fcn.10086e38
add esp, 4
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
push ecx
push 0
push 0x410
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10016306
push 0x104
push esi
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x10016306
push esi
mov ecx, ebp
call fcn.100168c0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0x34]
push esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
mov ecx, ebx
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x10016330
Capabilities:
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x1008b185
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
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.10086e38
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 0x10016418
push 0x104
push edi
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x10016467
push edi
mov ecx, esi
call fcn.100168c0
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 0x10016467
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