joyce8/EMBER2024-capa huggingface dataset:
Function at 0x670ccee0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x671569c0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67258980]
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 0x670cd042
mov ebx, dword [esp + 0x2c]
jg 0x670ccf2a
cmp ebx, edi
jb 0x670cd042
xor eax, eax
cmp ebx, ebx
jne 0x670cd042
cmp ecx, eax
jne 0x670cd042
xor esi, esi
cmp dword [ebp + 0x58], eax
je 0x670ccf8c
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 0x670ccf7e
call dword [sym.imp.MSVCR100.dll__errno]
xor ecx, ecx
cmp dword [eax], 4
sete cl
mov eax, ecx
test eax, eax
jne 0x670ccf43
jmp 0x670ccfd3
cmp edi, dword [esp + 0x30]
jg 0x670ccfd3
jl 0x670ccf43
cmp esi, ebx
jae 0x670ccfd3
jmp 0x670ccf43
cmp dword [ebp + 0x70], 0xffffffff
je 0x670ccfd3
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 0x670ccfbe
call dword [sym.imp.MSVCR100.dll__errno]
cmp dword [eax], 4
je 0x670ccf92
jmp 0x670ccfd3
test eax, eax
jle 0x670ccfd3
cdq
add esi, eax
adc edi, edx
cmp edi, dword [esp + 0x30]
jl 0x670ccf92
jg 0x670ccfd3
cmp esi, ebx
jb 0x670ccf92
or ebx, dword [esp + 0x30]
je 0x670cd03c
mov eax, esi
or eax, edi
jne 0x670cd03c
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.QtCore_Ad_4.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.QtCore_Ad_4.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 0x670cd03c
mov ecx, dword [esp + 0x28]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, esi
mov edx, edi
jmp 0x670cd086
lea edx, [esp + 0x2c]
push 0x16
push edx
call sym.QtCore_Ad_4.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.QtCore_Ad_4.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 0x670cd081
mov edx, dword [esp + 0x2c]
push edx
call sym.QtCore_Ad_4.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 0x670cd120
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x671569f0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67258980]
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 ebp, 0xffffffff
or eax, 0x10
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], ebp
mov dword [esi + 0x68], ebp
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QFileSystemEntry::constructor_class_QString_const__
mov edi, eax
push edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x30], ebx
call fcn.6705d580
lea edx, [edi + 4]
push edx
lea ecx, [esi + 0x14]
call fcn.6705d580
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 0x670cd1d9
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore_Ad_4.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 0x670cd1f4
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore_Ad_4.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 0x670ce080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67156bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x67258980]
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.QtCore_Ad_4.dll_public:_class_QFileInfo____thiscall_QFileInfo::operator_class_QFileInfo_const__
lea ecx, [esp + 0x18]
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QFileSystemEntry::constructor_void_
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.670e2dc0
test al, al
je 0x670ce131
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 0x670ce10e
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.6709ae20
jmp 0x670ce110
xor eax, eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call sym.QtCore_Ad_4.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.QtCore_Ad_4.dll_public:_void___thiscall_QFileInfo::destructor_void_
jmp 0x670ce14f
mov byte [esi + 0x14], 1
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x670ce14f
mov ecx, edi
mov dword [esi + 8], ebx
call fcn.670e2d10
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 0x670ce171
mov edx, dword [esp + 0x1c]
push edx
call sym.QtCore_Ad_4.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 0x670ce193
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore_Ad_4.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 0x670d2330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x671572d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x67258980]
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.670d1ee0
add esp, 0x10
test al, al
je 0x670d23f7
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.6705d580
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 4]
call fcn.6705d580
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 0x670d23fd
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 0x670d2423
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore_Ad_4.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 0x670d2445
mov eax, dword [esp + 0x10]
push eax
call sym.QtCore_Ad_4.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 0x670d6770
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 0x670d67c9
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x670d6809
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 0x670d67f1
lea ecx, [esi + 4]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x670d6809
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 0x670d6809
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret
Function at 0x670d6e00
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x67157ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x67258980]
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 0x670d6e4a
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 0x670d6f2f
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x670d6f2f
push ebx
push eax
lea ecx, [esp + 0x18]
call sym.QtCore_Ad_4.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 0x670d6ea9
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 0x10]
cmp dword [ecx + 0xc], edx
je 0x670d6eb9
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
call sym.QtCore_Ad_4.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 0x670d6f09
cmp dword [esp + 0x18], ebx
jbe 0x670d6f09
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, ebx
je 0x670d6f09
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.QtCore_Ad_4.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 0x670d6f2f
mov ecx, dword [esp + 0x10]
push ecx
call sym.QtCore_Ad_4.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 0x670d6f50
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x67157ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x67258980]
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 0x670d6f9a
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 0x670d707f
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x670d707f
push ebx
push eax
lea ecx, [esp + 0x18]
call sym.QtCore_Ad_4.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 0x670d6ff9
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 0x10]
cmp dword [ecx + 0xc], edx
je 0x670d7009
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
call sym.QtCore_Ad_4.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 0x670d7059
cmp dword [esp + 0x18], ebx
jbe 0x670d7059
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, ebx
je 0x670d7059
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.QtCore_Ad_4.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 0x670d707f
mov ecx, dword [esp + 0x10]
push ecx
call sym.QtCore_Ad_4.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 0x670d70a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.670d6e00
mov dword [esp + 4], eax
mov dword [esp + 8], edx
cmp dword [esp + 0x18], edx
jg 0x670d70c7
jl 0x670d70c1
cmp dword [esp + 0x14], eax
jae 0x670d70c7
lea eax, [esp + 0x14]
jmp 0x670d70cb
lea eax, [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], 0
test eax, eax
je 0x670d7103
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 0x670d7103
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 0x670d7110
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.670d6f50
mov dword [esp + 4], eax
mov dword [esp + 8], edx
cmp dword [esp + 0x18], edx
jg 0x670d7137
jl 0x670d7131
cmp dword [esp + 0x14], eax
jae 0x670d7137
lea eax, [esp + 0x14]
jmp 0x670d713b
lea eax, [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], 0
test eax, eax
je 0x670d7173
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 0x670d7173
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 0x670d7f70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x67157b88
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
mov eax, dword [0x67258980]
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.670d7ba0
add esp, 8
mov ecx, dword [esp + 0x7c]
xor ebx, ebx
xor edx, edx
mov eax, 0x80000000
mov dword [esp + 0x50], edx
mov edx, dword [ecx]
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
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
jne 0x670d800f
xor eax, eax
jmp 0x670d8014
call sym.QtCore_Ad_4.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.QtCore_Ad_4.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 0x670d806e
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 0x670d806e
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 0x670d8090
mov edx, dword [esp + 0xc]
push edx
call sym.QtCore_Ad_4.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
Function at 0x670d8b50
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x67157cd1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67258980]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0x3c]
mov ecx, esi
mov dword [esp + 0x34], edi
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QBasicTimer::constructor_void_
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [esp + 0x24], eax
cmp eax, edi
je 0x670d8cce
mov ebp, eax
cmp word [eax], di
je 0x670d8cc7
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x670d8bc0
sub eax, edx
sar eax, 1
push 0x3d
push ebp
mov ebx, eax
call dword [sym.imp.MSVCR100.dll_wcschr]
mov edi, eax
add esp, 8
test edi, edi
je 0x670d8caf
mov esi, edi
sub esi, ebp
sar esi, 1
push esi
lea eax, [esp + 0x20]
push ebp
push eax
call sym.QtCore_Ad_4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, ebx
sub ecx, esi
dec ecx
push ecx
add edi, 2
lea edx, [esp + 0x28]
push edi
push edx
mov dword [esp + 0x4c], 1
call sym.QtCore_Ad_4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0x18
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [esp + 0x3c]
mov ecx, esi
mov byte [esp + 0x34], 3
call fcn.670a9440
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [eax + 4]
call fcn.670a7ab0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d8c71
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x34], 1
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d8c90
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x34], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d8caf
mov edx, dword [esp + 0x1c]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp word [ebp + ebx*2 + 2], 0
lea ebp, [ebp + ebx*2 + 2]
jne 0x670d8bb5
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x670d92f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x67157d80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67258980]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0xc]
or ebx, 0xffffffff
mov dword [esp + 0x1c], esi
test eax, eax
jne 0x670d93f0
cmp dword [edi + 0x70], ebx
jne 0x670d93ec
cmp dword [edi + 0x5c], ebx
je 0x670d944f
mov ebp, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x14], ebp
xor ebx, ebx
lea esp, [esp]
lea eax, [esp + 0x14]
cmp ebp, 0x2000000
jb 0x670d9361
mov eax, 0x671da8f8
mov eax, dword [eax]
mov edx, dword [esp + 0x30]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x5c]
push eax
lea eax, [esi + edx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x670d93ab
mov eax, dword [esp + 0x18]
test eax, eax
je 0x670d93a2
add esi, eax
adc ebx, 0
sub ebp, eax
mov dword [esp + 0x14], ebp
cmp ebx, dword [esp + 0x38]
jg 0x670d93a2
jl 0x670d9350
cmp esi, dword [esp + 0x34]
jb 0x670d9350
mov eax, esi
mov edx, ebx
jmp 0x670d946b
mov edx, esi
or edx, ebx
jne 0x670d93a2
lea eax, [esp + 0x34]
push 0xffffffffffffffff
push eax
call sym.QtCore_Ad_4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov ecx, dword [esp + 0x1c]
push eax
push 1
mov dword [esp + 0x30], 1
call sym.QtCore_Ad_4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QString::destructor_void_
or eax, 0xffffffff
or edx, eax
jmp 0x670d946b
test eax, eax
je 0x670d9455
call sym.QtCore_Ad_4.dll_public:_bool___thiscall_QFSFileEnginePrivate::nativeIsSequential_void_const
test al, al
je 0x670d9455
mov ecx, dword [edi + 0x58]
push ecx
call dword [sym.imp.MSVCR100.dll_feof]
add esp, 4
test eax, eax
je 0x670d9455
call dword [sym.imp.MSVCR100.dll__errno]
mov edx, dword [eax]
push edx
lea eax, [esp + 0x34]
push eax
call sym.QtCore_Ad_4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 1
mov ecx, esi
mov dword [esp + 0x30], 0
call sym.QtCore_Ad_4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov edx, ebx
lock xadd dword [ecx], edx
jne 0x670d944f
mov eax, dword [esp + 0x30]
push eax
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, ebx
mov edx, ebx
jmp 0x670d946b
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, edi
call sym.QtCore_Ad_4.dll_public:_long_long___int64____thiscall_QFSFileEnginePrivate::readFdFh_char___long_long___int64__
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc