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

Disassembly:
push 0xffffffffffffffff
push 0x67139092
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push sym.QtCore4.dll_public:_void___thiscall_QDateTime::destructor_void_
push 3
push 4
lea eax, [esi + 0x50]
push eax
mov dword [esp + 0x24], 3
call fcn.67130042
push sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
push 2
push 4
lea ecx, [esi + 0x30]
push ecx
mov byte [esp + 0x24], 2
call fcn.67130042
push sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
push 9
push 4
lea edx, [esi + 0xc]
push edx
mov byte [esp + 0x24], 1
call fcn.67130042
mov eax, dword [esi + 8]
mov byte [esp + 0x14], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670920ad
mov edx, dword [esi + 8]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], 0xffffffff
test ecx, ecx
je 0x670920c4
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 4], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x67092190
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x671390f2
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi + 8], 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
push sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
push sym.QtCore4.dll_public:_void___thiscall_QString::constructor_void_
push 9
push 4
lea edx, [esi + 0xc]
push edx
mov byte [esp + 0x2c], 1
call fcn.6713049a
push sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
push sym.QtCore4.dll_public:_void___thiscall_QString::constructor_void_
push 2
push 4
lea eax, [esi + 0x30]
push eax
mov byte [esp + 0x2c], 2
call fcn.6713049a
and dword [esi + 0x38], 0xc0000000
push sym.QtCore4.dll_public:_void___thiscall_QDateTime::destructor_void_
mov eax, 3
or byte [esi + 0x3c], al
push sym.QtCore4.dll_public:_void___thiscall_QDateTime::constructor_void_
push eax
push 4
lea ecx, [esi + 0x50]
push ecx
mov byte [esp + 0x2c], al
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
call fcn.6713049a
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x67092260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67139152
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
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 dword [esp + 0x14], esi
mov ebx, dword [esp + 0x28]
lea edi, [ebx + 8]
xor ebp, ebp
push edi
mov dword [esi], ebp
call sym.QtCore4.dll_public:_static_class_QAbstractFileEngine____cdecl_QAbstractFileEngine::create_class_QString_const__
add esp, 4
mov dword [esi + 4], eax
mov edi, dword [edi]
mov dword [esp + 0x20], ebp
mov dword [esi + 8], edi
mov eax, 1
lock xadd dword [edi], eax
push sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
push sym.QtCore4.dll_public:_void___thiscall_QString::constructor_void_
push 9
push 4
lea ecx, [esi + 0xc]
push ecx
mov byte [esp + 0x34], 1
call fcn.6713049a
push sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
push sym.QtCore4.dll_public:_void___thiscall_QString::constructor_void_
push 2
push 4
lea edx, [esi + 0x30]
push edx
mov byte [esp + 0x34], 2
call fcn.6713049a
and byte [esi + 0x3c], 0xfe
mov al, byte [esi + 0x3c]
and dword [esi + 0x38], 0xc0000000
mov cl, byte [ebx + 0x3c]
push sym.QtCore4.dll_public:_void___thiscall_QDateTime::destructor_void_
push sym.QtCore4.dll_public:_void___thiscall_QDateTime::constructor_void_
xor cl, al
push 3
and cl, 2
push 4
lea edx, [esi + 0x50]
xor cl, al
push edx
mov byte [esp + 0x34], 3
mov byte [esi + 0x3c], cl
mov dword [esi + 0x40], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], ebp
call fcn.6713049a
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x67092350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x671391b2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
xor ebx, ebx
push edi
mov dword [esi], ebx
call sym.QtCore4.dll_public:_static_class_QAbstractFileEngine____cdecl_QAbstractFileEngine::create_class_QString_const__
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], ebx
mov dword [esi + 8], eax
mov ecx, 1
lock xadd dword [eax], ecx
push sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
push sym.QtCore4.dll_public:_void___thiscall_QString::constructor_void_
push 9
push 4
lea edx, [esi + 0xc]
push edx
mov byte [esp + 0x30], 1
call fcn.6713049a
push sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
push sym.QtCore4.dll_public:_void___thiscall_QString::constructor_void_
push 2
push 4
lea eax, [esi + 0x30]
push eax
mov byte [esp + 0x30], 2
call fcn.6713049a
mov cl, byte [esi + 0x3c]
and dword [esi + 0x38], 0xc0000000
push sym.QtCore4.dll_public:_void___thiscall_QDateTime::destructor_void_
push sym.QtCore4.dll_public:_void___thiscall_QDateTime::constructor_void_
push 3
and cl, 0xfe
push 4
lea edx, [esi + 0x50]
or cl, 2
push edx
mov byte [esp + 0x30], 3
mov byte [esi + 0x3c], cl
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
call fcn.6713049a
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x670959e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x67139528
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, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call sym.QtCore4.dll_public:_void___thiscall_QObject::constructor_class_QObject__
mov byte [esi + 8], bl
mov ecx, dword [esp + 0x20]
mov dword [esi], vtable.QNonContiguousByteDeviceIoDeviceImpl.0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0x4000
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0xc], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x18], ebx
call edx
push 2
push str.2readyRead__
push esi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0xc]
push str.2readyRead__
push eax
mov dword [esi + 0x44], edx
call sym.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_
mov ecx, dword [esi + 0xc]
push 2
push str.2readyRead__
push esi
push 0x671a0b84
push ecx
call sym.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_
add esp, 0x28
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x67095f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67139576
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 dword [esp + 0x18], esi
push 0
call sym.QtCore4.dll_public:_void___thiscall_QObject::constructor_class_QObject__
mov byte [esi + 8], 0
lea ebx, [esi + 0x10]
mov dword [esi], vtable.QNonContiguousByteDeviceBufferImpl.0
mov dword [esp + 0x24], 0
mov dword [ebx], sym.QtCore4.dll_struct_QByteArray::Data_QByteArray::shared_null
mov eax, sym.QtCore4.dll_struct_QByteArray::Data_QByteArray::shared_null
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x24], 1
mov dword [esi + 0xc], ecx
call sym.QtCore4.dll_public:_class_QByteArray____thiscall_QBuffer::buffer_void_
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x3c]
call eax
mov edi, dword [esi + 0xc]
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
mov edx, dword [edi]
sub ebp, eax
mov eax, dword [edx + 0x38]
push ebp
mov ecx, edi
call eax
add eax, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
push ecx
call sym.QtCore4.dll_public:_static_class_QByteArray___cdecl_QByteArray::fromRawData_char_const___int_
add esp, 0xc
push eax
mov ecx, ebx
mov byte [esp + 0x28], 2
call fcn.67025e20
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x24], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x67096009
mov ecx, dword [esp + 0x2c]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
push 0x18
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
xor ebp, ebp
mov byte [esp + 0x24], 3
cmp edi, ebp
je 0x67096043
push ebp
mov ecx, edi
call sym.QtCore4.dll_public:_void___thiscall_QObject::constructor_class_QObject__
mov byte [edi + 8], 0
mov dword [edi], vtable.QNonContiguousByteDeviceByteArrayImpl.0
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
mov dword [edi + 0xc], ebx
mov ecx, edi
jmp 0x67096045
xor ecx, ecx
push esi
mov byte [esp + 0x28], 1
mov dword [esi + 0x14], ecx
call sym.QtCore4.dll_public:_void___thiscall_QObject::setParent_class_QObject__
mov edx, dword [esi + 0x14]
push 3
push str.2readyRead__
push esi
push str.2readyRead__
push edx
call sym.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_
mov eax, dword [esi + 0x14]
push 3
push 0x671a0c68
push esi
push 0x671a0c68
push eax
call sym.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_
add esp, 0x28
mov eax, esi
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 0x670b3cf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6713c001
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x2c]
mov esi, dword [ecx + 4]
mov edi, dword [esp + 0x24]
push eax
mov ecx, edi
mov dword [esp + 0x20], ebx
call sym.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QVariant_const__
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], 1
call fcn.670b3200
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push edi
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 1
call edx
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1c], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670b3d83
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, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0xc
Function at 0x670bc320
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6713cd90
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [esp + 0x30]
mov esi, dword [ebp + 0xc]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x14], esi
jl 0x670bc482
mov ebx, dword [esp + 0x2c]
jg 0x670bc36a
cmp ebx, edi
jb 0x670bc482
xor eax, eax
cmp ebx, ebx
jne 0x670bc482
cmp ecx, eax
jne 0x670bc482
xor esi, esi
cmp dword [ebp + 0x1c], eax
je 0x670bc3cc
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x28]
push eax
mov ecx, ebx
sub ecx, esi
push ecx
lea eax, [esi + edx]
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
add esi, eax
adc edi, 0
test eax, eax
jne 0x670bc3be
call dword [sym.imp.MSVCR90.dll__errno]
xor ecx, ecx
cmp dword [eax], 4
sete cl
mov eax, ecx
test eax, eax
jne 0x670bc383
jmp 0x670bc413
cmp edi, dword [esp + 0x30]
jg 0x670bc413
jl 0x670bc383
cmp esi, ebx
jae 0x670bc413
jmp 0x670bc383
cmp dword [ebp + 0x34], 0xffffffff
je 0x670bc413
mov eax, dword [esp + 0x28]
mov edx, ebx
sub edx, esi
push edx
mov edx, dword [ebp + 0x34]
lea ecx, [esi + eax]
push ecx
push edx
call dword [sym.imp.MSVCR90.dll__write]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x670bc3fe
call dword [sym.imp.MSVCR90.dll__errno]
cmp dword [eax], 4
je 0x670bc3d2
jmp 0x670bc413
test eax, eax
jle 0x670bc413
cdq
add esi, eax
adc edi, edx
cmp edi, dword [esp + 0x30]
jl 0x670bc3d2
jg 0x670bc413
cmp esi, ebx
jb 0x670bc3d2
or ebx, dword [esp + 0x30]
je 0x670bc47c
mov eax, esi
or eax, edi
jne 0x670bc47c
mov ebp, dword [sym.imp.MSVCR90.dll__errno]
or esi, 0xffffffff
or edi, esi
call ebp
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x2c]
push edx
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov ebx, eax
mov dword [esp + 0x20], 1
call ebp
xor ecx, ecx
cmp dword [eax], 0x1c
push ebx
sete cl
lea ecx, [ecx + ecx + 2]
push ecx
mov ecx, dword [esp + 0x1c]
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], esi
or eax, esi
lock xadd dword [edx], eax
jne 0x670bc47c
mov ecx, dword [esp + 0x28]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, esi
mov edx, edi
jmp 0x670bc4c6
lea edx, [esp + 0x2c]
push 0x16
push edx
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 2
mov ecx, esi
mov dword [esp + 0x28], edi
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670bc4c1
mov edx, dword [esp + 0x2c]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
or eax, 0xffffffff
or edx, eax
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 0x670c40a0
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
sub esp, 0xc
cmp byte [esp + 0x10], 0
push esi
mov esi, eax
push 0x100000
lea eax, [esp + 8]
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 1
push eax
je 0x670c40f9
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x670c4139
push 2
push 0
add esi, 4
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov edx, dword [esp + 0x24]
push eax
push edx
jmp 0x670c4121
lea ecx, [esi + 4]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x670c4139
push 2
push 0
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
push eax
mov eax, dword [esp + 0x28]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x670c4139
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret

Function at 0x670c4200
Capabilities:
Enumerate gui resources

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x670c4232
mov eax, dword [eax + 8]
push eax
push 0x670c41c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx + 0xc]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pop esi
ret
Function at 0x670c4730
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6713dbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
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 [esi + 0xd8]
cmp eax, 0xffffffff
jne 0x670c4778
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
xor edi, edi
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
push edi
push edi
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [esi + 0x94], 2
jne 0x670c483d
mov eax, dword [esp + 0x10]
cmp eax, edi
jbe 0x670c483d
push edi
push eax
lea ecx, [esp + 0x14]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_int__char_
mov edx, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov eax, dword [edx + 8]
push ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], edi
call sym.QtCore4.dll_public:_char____thiscall_QByteArray::begin_void_
mov edx, dword [esi + 0xd8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x670c4817
cmp dword [esp + 0x14], edi
jbe 0x670c4817
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, edi
je 0x670c4817
mov ecx, dword [esp + 0x14]
push edi
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edi
call sym.QtCore4.dll_public:_char____thiscall_QByteArray::begin_void_
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c483d
mov ecx, dword [esp + 0xc]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x670c4860
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6713dbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
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 [esi + 0xf4]
cmp eax, 0xffffffff
jne 0x670c48a8
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
xor edi, edi
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
push edi
push edi
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [esi + 0x94], 2
jne 0x670c496d
mov eax, dword [esp + 0x10]
cmp eax, edi
jbe 0x670c496d
push edi
push eax
lea ecx, [esp + 0x14]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_int__char_
mov edx, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov eax, dword [edx + 8]
push ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], edi
call sym.QtCore4.dll_public:_char____thiscall_QByteArray::begin_void_
mov edx, dword [esi + 0xf4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x670c4947
cmp dword [esp + 0x14], edi
jbe 0x670c4947
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, edi
je 0x670c4947
mov ecx, dword [esp + 0x14]
push edi
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edi
call sym.QtCore4.dll_public:_char____thiscall_QByteArray::begin_void_
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c496d
mov ecx, dword [esp + 0xc]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x670c4990
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.670c4730
mov ecx, dword [esp + 0x18]
cmp ecx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
jg 0x670c49bb
jl 0x670c49b5
mov edx, dword [esp + 0x14]
cmp edx, eax
jae 0x670c49bb
lea eax, [esp + 0x14]
jmp 0x670c49bf
lea eax, [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], 0
test eax, eax
jbe 0x670c49f7
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 8]
push ecx
push eax
mov eax, dword [esi + 0xd8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x670c49f7
or eax, 0xffffffff
or edx, eax
pop esi
add esp, 8
ret 0xc
mov eax, dword [esp + 4]
xor edx, edx
pop esi
add esp, 8
ret 0xc
Function at 0x670c4a10
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.670c4860
mov ecx, dword [esp + 0x18]
cmp ecx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
jg 0x670c4a3b
jl 0x670c4a35
mov edx, dword [esp + 0x14]
cmp edx, eax
jae 0x670c4a3b
lea eax, [esp + 0x14]
jmp 0x670c4a3f
lea eax, [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], 0
test eax, eax
jbe 0x670c4a77
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 8]
push ecx
push eax
mov eax, dword [esi + 0xf4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x670c4a77
or eax, 0xffffffff
or edx, eax
pop esi
add esp, 8
ret 0xc
mov eax, dword [esp + 4]
xor edx, edx
pop esi
add esp, 8
ret 0xc
Function at 0x670c59d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6713dcb8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.670c54a0
add esp, 8
mov ecx, dword [esp + 0x7c]
xor ebx, ebx
mov eax, 0x80000000
xor edx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov word [esp + 0x50], dx
mov edx, dword [ecx]
xor eax, eax
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov word [esp + 0x52], ax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ebx
cmp dword [edx + 8], ebx
je 0x670c5a78
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push ebx
push 0x410
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne al
mov byte [esp + 0x7c], al
cmp al, bl
je 0x670c5ad2
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x670c5ad2
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670c5af4
mov edx, dword [esp + 0xc]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, byte [esp + 0x7c]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x64
ret