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

Disassembly:
push 0xffffffffffffffff
push 0x6715c0b4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x672699e0]
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
mov dword [esi], ebx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], ebx
mov dword [esi + 8], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
movzx edx, byte [edi + 0x3c]
mov byte [esi + 0x3c], dl
movzx eax, byte [edi + 0x3d]
mov byte [esi + 0x3d], al
movzx ecx, byte [edi + 0x3e]
mov byte [esi + 0x3e], cl
movzx edx, byte [edi + 0x3f]
mov byte [esi + 0x3f], dl
movzx eax, byte [edi + 0x40]
mov byte [esi + 0x40], al
movzx ecx, byte [edi + 0x41]
mov byte [esp + 0x1c], 0xb
mov byte [esi + 0x41], cl
mov edx, dword [edi + 0x44]
push ebx
lea ecx, [esi + 0x48]
mov dword [esi + 0x44], edx
call sym.QtCore4.dll_public:_void___thiscall_QMutex::constructor_enum_QMutex::RecursionMode_
mov edi, dword [edi + 0x4c]
mov dword [esi + 0x4c], edi
mov eax, 1
lock xadd dword [edi], eax
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov word [esi + 0x58], bx
mov dword [esi], 1
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 0x670c1d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67163108
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 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 esi, dword [esp + 0x20]
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x20], 0
call sym.QtCore4.dll_class_QDataStream____cdecl_operator___class_QDataStream___class_QByteArray__
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
call sym.QtCore4.dll_public:_static_class_QUrl___cdecl_QUrl::fromEncoded_class_QByteArray_const__
mov ecx, dword [esp + 0x34]
mov edi, dword [eax]
mov edx, dword [ecx]
mov dword [ecx], edi
mov dword [eax], edx
mov eax, dword [esp + 0x30]
add esp, 0x10
test eax, eax
je 0x670c1e17
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x670c1e17
mov ecx, dword [esp + 0x20]
mov edi, ecx
test ecx, ecx
je 0x670c1e17
call fcn.670b9e70
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670c1e39
mov edx, dword [esp + 0xc]
push edx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
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 0x670c8090
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6715d731
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x672699e0]
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.670c7b40
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 0x670c8123
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 0x670d2220
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6715e750
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
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
mov dword [esp + 0x14], esi
cmp ecx, edi
jl 0x670d2382
mov ebx, dword [esp + 0x2c]
jg 0x670d226a
cmp ebx, edi
jb 0x670d2382
xor eax, eax
cmp ebx, ebx
jne 0x670d2382
cmp ecx, eax
jne 0x670d2382
xor esi, esi
cmp dword [ebp + 0x58], eax
je 0x670d22cc
mov eax, dword [ebp + 0x58]
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.MSVCR100.dll_fwrite]
add esp, 0x10
add esi, eax
adc edi, 0
test eax, eax
jne 0x670d22be
call dword [sym.imp.MSVCR100.dll__errno]
xor ecx, ecx
cmp dword [eax], 4
sete cl
mov eax, ecx
test eax, eax
jne 0x670d2283
jmp 0x670d2313
cmp edi, dword [esp + 0x30]
jg 0x670d2313
jl 0x670d2283
cmp esi, ebx
jae 0x670d2313
jmp 0x670d2283
cmp dword [ebp + 0x70], 0xffffffff
je 0x670d2313
mov eax, dword [esp + 0x28]
mov edx, ebx
sub edx, esi
push edx
mov edx, dword [ebp + 0x70]
lea ecx, [esi + eax]
push ecx
push edx
call dword [sym.imp.MSVCR100.dll__write]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x670d22fe
call dword [sym.imp.MSVCR100.dll__errno]
cmp dword [eax], 4
je 0x670d22d2
jmp 0x670d2313
test eax, eax
jle 0x670d2313
cdq
add esi, eax
adc edi, edx
cmp edi, dword [esp + 0x30]
jl 0x670d22d2
jg 0x670d2313
cmp esi, ebx
jb 0x670d22d2
or ebx, dword [esp + 0x30]
je 0x670d237c
mov eax, esi
or eax, edi
jne 0x670d237c
mov ebp, dword [sym.imp.MSVCR100.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 0x670d237c
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 0x670d23c6
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 0x670d23c1
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 0x670d2460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6715e7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [ecx + 4]
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x34]
and eax, 0xffffffd4
xor ebx, ebx
or eax, 0x10
or ebp, 0xffffffff
mov dword [esi + 0x7c], eax
mov dword [esi + 0x20], ebx
push ecx
lea ecx, [esp + 0x18]
mov dword [esi + 0x70], ebp
mov dword [esi + 0x58], ebx
mov dword [esi + 0x74], ebx
mov word [esi + 0x78], bx
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebp
call fcn.670d6160
mov edi, eax
push edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x30], ebx
call fcn.670630f0
lea edx, [edi + 4]
push edx
lea ecx, [esi + 0x14]
call fcn.670630f0
mov ax, word [edi + 8]
mov word [esi + 0x18], ax
mov cx, word [edi + 0xa]
mov word [esi + 0x1a], cx
mov dx, word [edi + 0xc]
mov word [esi + 0x1c], dx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], 1
mov ecx, ebp
lock xadd dword [eax], ecx
jne 0x670d2519
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
lock xadd dword [eax], ebp
jne 0x670d2534
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x670d3200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6715e98b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x10]
push edi
lea ecx, [esi + 0xc]
call sym.QtCore4.dll_public:_class_QFileInfo____thiscall_QFileInfo::operator_class_QFileInfo_const__
lea ecx, [esp + 0x18]
call fcn.670d6130
mov ecx, dword [esi + 8]
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.670e7e50
test al, al
je 0x670d32b1
push 0xa0
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x60], 1
cmp eax, ebx
je 0x670d328e
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.6709d870
jmp 0x670d3290
xor eax, eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call sym.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QFileInfoPrivate__
mov ecx, dword [edi]
mov edx, dword [eax]
mov dword [edi], edx
mov dword [eax], ecx
lea ecx, [esp + 0x10]
call sym.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_
jmp 0x670d32cf
mov byte [esi + 0x14], 1
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x670d32cf
mov ecx, edi
mov dword [esi + 8], ebx
call fcn.670e7da0
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], 2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d32f1
mov edx, dword [esp + 0x1c]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d3313
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x54
ret
Function at 0x670d5160
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x67160121
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 8]
cmp eax, 1
je 0x670d51c5
mov ecx, dword [esi]
push 4
push 0x20
push 0x670d4610
push 0x670d4830
call sym.QtCore4.dll_public:_struct_QHashData____thiscall_QHashData::detach_helper2_void____cdecl___struct_QHashData::Node___void____void____cdecl___struct_QHashData::Node____int__int_
mov edi, eax
mov eax, dword [esi]
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d51c3
mov ecx, dword [esi]
push 0x670d4610
call sym.QtCore4.dll_public:_void___thiscall_QHashData::free_helper_void____cdecl___struct_QHashData::Node___
mov dword [esi], edi
mov ebx, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
push ebx
mov ecx, esi
call fcn.67105300
mov ecx, dword [esi]
mov edi, eax
mov eax, dword [edi]
cmp eax, ecx
jne 0x670d525f
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x18]
jl 0x670d5202
movsx edx, word [ecx + 0x16]
inc edx
push edx
call sym.QtCore4.dll_public:_void___thiscall_QHashData::rehash_int_
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, esi
call fcn.67105300
mov edi, eax
mov ecx, dword [esi]
push 4
call sym.QtCore4.dll_public:_void____thiscall_QHashData::allocateNode_int_
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x670d522e
mov ecx, dword [esp + 0x30]
push ecx
push ebx
mov ecx, eax
call fcn.670d46f0
jmp 0x670d5230
xor eax, eax
mov edx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi], eax
mov esi, dword [esi]
inc dword [esi + 0xc]
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
mov edx, dword [esp + 0x30]
push edx
lea ecx, [eax + 0xc]
call fcn.670d3ba0
mov ecx, dword [edi]
mov eax, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x670d7490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6715f0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov edx, 1
lock xadd dword [eax], edx
mov ax, word [esi + 8]
mov cx, word [esi + 0xa]
mov dx, word [esi + 0xc]
mov word [esp + 0x18], ax
mov word [esp + 0x1a], cx
mov word [esp + 0x1c], dx
mov ebx, dword [esp + 0x34]
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push ebx
push ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
call fcn.670d7040
add esp, 0x10
test al, al
je 0x670d7557
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.670630f0
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 4]
call fcn.670630f0
mov cx, word [esp + 0x18]
mov dx, word [esp + 0x1a]
mov ax, word [esp + 0x1c]
mov word [esi + 8], cx
mov word [esi + 0xa], dx
mov word [esi + 0xc], ax
jmp 0x670d755d
mov dword [ebx], 0
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670d7583
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670d75a5
mov eax, dword [esp + 0x10]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x670db8d0
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 0x670db929
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x670db969
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 0x670db951
lea ecx, [esi + 4]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x670db969
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 0x670db969
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret
Function at 0x670dbf60
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6715f908
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xd8]
cmp eax, 0xffffffff
jne 0x670dbfaa
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
xor ebx, ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [esi + 0x94], 2
jne 0x670dc08f
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x670dc08f
push ebx
push eax
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_int__char_
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
mov edx, dword [ecx]
mov edi, dword [ecx + 8]
lea eax, [ecx + 8]
mov dword [esp + 0x28], ebx
cmp edx, 1
jne 0x670dc009
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 0x10]
cmp dword [ecx + 0xc], edx
je 0x670dc019
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
call sym.QtCore4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov edx, dword [esi + 0xd8]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x670dc069
cmp dword [esp + 0x18], ebx
jbe 0x670dc069
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, ebx
je 0x670dc069
mov ecx, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebx
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 + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dc08f
mov ecx, dword [esp + 0x10]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x670dc0b0
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6715f908
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xf4]
cmp eax, 0xffffffff
jne 0x670dc0fa
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
xor ebx, ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [esi + 0x94], 2
jne 0x670dc1df
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x670dc1df
push ebx
push eax
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_int__char_
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
mov edx, dword [ecx]
mov edi, dword [ecx + 8]
lea eax, [ecx + 8]
mov dword [esp + 0x28], ebx
cmp edx, 1
jne 0x670dc159
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 0x10]
cmp dword [ecx + 0xc], edx
je 0x670dc169
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
call sym.QtCore4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov edx, dword [esi + 0xf4]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x670dc1b9
cmp dword [esp + 0x18], ebx
jbe 0x670dc1b9
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, ebx
je 0x670dc1b9
mov ecx, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebx
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 + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dc1df
mov ecx, dword [esp + 0x10]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x670dc200
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.670dbf60
mov dword [esp + 4], eax
mov dword [esp + 8], edx
cmp dword [esp + 0x18], edx
jg 0x670dc227
jl 0x670dc221
cmp dword [esp + 0x14], eax
jae 0x670dc227
lea eax, [esp + 0x14]
jmp 0x670dc22b
lea eax, [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], 0
test eax, eax
je 0x670dc263
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 0x670dc263
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