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

Disassembly:
push 0xffffffffffffffff
push 0x67151328
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
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 byte [esi + 0x78], bl
mov byte [esi + 0x79], bl
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x68], ebp
call fcn.670cd230
mov edi, eax
add esi, 0x10
push edi
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.6705f610
lea edx, [edi + 4]
push edx
lea ecx, [esi + 4]
call fcn.6705f610
mov ax, word [edi + 8]
mov word [esi + 8], ax
mov cx, word [edi + 0xa]
mov word [esi + 0xa], cx
mov dx, word [edi + 0xc]
lea ecx, [esp + 0x14]
mov word [esi + 0xc], dx
mov dword [esp + 0x2c], ebp
call fcn.6708e840
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 0x670c9c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x671513cb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x10], ebp
push 0x80
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 0
test eax, eax
je 0x670c9ce2
mov ecx, eax
call fcn.670c9b40
jmp 0x670c9ce4
xor eax, eax
push eax
mov ecx, ebp
mov dword [esp + 0x34], 0xffffffff
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::constructor_class_QAbstractFileEnginePrivate__
mov eax, dword [esp + 0x38]
mov edi, dword [ebp + 4]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 1
mov dword [ebp], vtable.QFSFileEngine.0
call fcn.670cd230
mov esi, eax
add edi, 0x10
push esi
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.6705f610
lea ecx, [esi + 4]
push ecx
lea ecx, [edi + 4]
call fcn.6705f610
mov dx, word [esi + 8]
mov word [edi + 8], dx
mov ax, word [esi + 0xa]
mov word [edi + 0xa], ax
mov cx, word [esi + 0xc]
mov word [edi + 0xc], cx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.6708e840
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 4
Function at 0x670ca2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x671514fb
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x67256a20]
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.670cd1f0
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.670deac0
test al, al
je 0x670ca3aa
push 0xa0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x60], 1
cmp eax, ebx
je 0x670ca37e
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.67099180
jmp 0x670ca380
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__
push eax
mov ecx, edi
mov byte [esp + 0x64], 2
call sym.QtCore4.dll_public:_class_QFileInfo____thiscall_QFileInfo::operator_class_QFileInfo_const__
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], bl
call sym.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_
jmp 0x670ca3c8
mov byte [esi + 0x14], 1
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x670ca3c8
mov ecx, edi
mov dword [esi + 8], ebx
call fcn.670dea00
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
call fcn.6708e840
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x54
ret
Function at 0x670ce3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67151b98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x67256a20]
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]
lea edi, [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.670cdfa0
add esp, 0x10
test al, al
je 0x670ce4b9
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.6705f610
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.6705f610
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 0x670ce4bf
mov dword [ebx], 0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.6708e840
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 0x670d2870
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 0x670d28c9
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x670d2909
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 0x670d28f1
lea ecx, [esi + 4]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x670d2909
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 0x670d2909
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret

Function at 0x670d2f00
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x671523e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x67256a20]
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 0x670d2f48
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 0x670d300d
mov eax, dword [esp + 0x10]
cmp eax, edi
jbe 0x670d300d
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 0x670d2fe7
cmp dword [esp + 0x14], edi
jbe 0x670d2fe7
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, edi
je 0x670d2fe7
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 0x670d300d
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 0x670d3030
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x671523e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x67256a20]
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 0x670d3078
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 0x670d313d
mov eax, dword [esp + 0x10]
cmp eax, edi
jbe 0x670d313d
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 0x670d3117
cmp dword [esp + 0x14], edi
jbe 0x670d3117
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, edi
je 0x670d3117
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 0x670d313d
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 0x670d3160
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.670d2f00
mov ecx, dword [esp + 0x18]
cmp ecx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
jg 0x670d318b
jl 0x670d3185
mov edx, dword [esp + 0x14]
cmp edx, eax
jae 0x670d318b
lea eax, [esp + 0x14]
jmp 0x670d318f
lea eax, [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], 0
test eax, eax
jbe 0x670d31c7
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 0x670d31c7
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 0x670d31e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.670d3030
mov ecx, dword [esp + 0x18]
cmp ecx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
jg 0x670d320b
jl 0x670d3205
mov edx, dword [esp + 0x14]
cmp edx, eax
jae 0x670d320b
lea eax, [esp + 0x14]
jmp 0x670d320f
lea eax, [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], 0
test eax, eax
jbe 0x670d3247
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 0x670d3247
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 0x670d4080
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x671524b8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
mov eax, dword [0x67256a20]
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.670d3c90
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 0x670d4128
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 0x670d4182
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 0x670d4182
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 0x670d41a4
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
Function at 0x670d4cc0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x67152601
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
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.QtCore4.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 0x670d4e3e
mov ebp, eax
cmp word [eax], di
je 0x670d4e37
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x670d4d30
sub eax, edx
sar eax, 1
push 0x3d
push ebp
mov ebx, eax
call dword [sym.imp.MSVCR90.dll_wcschr]
mov edi, eax
add esp, 8
test edi, edi
je 0x670d4e1f
mov esi, edi
sub esi, ebp
sar esi, 1
push esi
lea eax, [esp + 0x20]
push ebp
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_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.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_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.670a71c0
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.670a57b0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d4de1
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore4.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 0x670d4e00
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 + 0x1c]
mov byte [esp + 0x34], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d4e1f
mov edx, dword [esp + 0x1c]
push edx
call sym.QtCore4.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 0x670d4d25
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 0x670d55b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x67152740
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
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 0x670d56b0
cmp dword [edi + 0x70], ebx
jne 0x670d56ac
cmp dword [edi + 0x5c], ebx
je 0x670d570f
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 0x670d5621
mov eax, 0x671d5620
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 0x670d566b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x670d5662
add esi, eax
adc ebx, 0
sub ebp, eax
cmp ebx, dword [esp + 0x38]
mov dword [esp + 0x14], ebp
jg 0x670d5662
jl 0x670d5610
cmp esi, dword [esp + 0x34]
jb 0x670d5610
mov eax, esi
mov edx, ebx
jmp 0x670d572b
mov edx, esi
or edx, ebx
jne 0x670d5662
lea eax, [esp + 0x34]
push 0xffffffffffffffff
push eax
call sym.QtCore4.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.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
or eax, 0xffffffff
or edx, eax
jmp 0x670d572b
test eax, eax
je 0x670d5715
call fcn.670d4f20
test al, al
je 0x670d5715
mov ecx, dword [edi + 0x58]
push ecx
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
je 0x670d5715
call dword [sym.imp.MSVCR90.dll__errno]
mov edx, dword [eax]
push edx
lea eax, [esp + 0x34]
push eax
call sym.QtCore4.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.QtCore4.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 0x670d570f
mov eax, dword [esp + 0x30]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, ebx
mov edx, ebx
jmp 0x670d572b
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 fcn.670c9070
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
Function at 0x670d5750
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x67152418
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x58], edi
jne 0x670d584e
or eax, 0xffffffff
cmp dword [ebp + 0x70], eax
jne 0x670d584e
cmp dword [ebp + 0x5c], eax
jne 0x670d57a3
mov edx, eax
jmp 0x670d5864
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x24], edi
xor esi, esi
lea ecx, [ecx]
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
cmp ebx, 0x2000000
jb 0x670d57c5
mov eax, 0x671d5620
mov eax, dword [eax]
mov edx, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x5c]
push eax
lea eax, [esi + edx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x670d580d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x670d5807
xor eax, eax
add esi, ecx
adc edi, eax
sub ebx, ecx
sbb dword [esp + 0x24], eax
cmp edi, dword [esp + 0x40]
jg 0x670d5807
jl 0x670d57b0
cmp esi, dword [esp + 0x3c]
jb 0x670d57b0
mov eax, esi
mov edx, edi
jmp 0x670d5864
mov edx, esi
or edx, edi
jne 0x670d5807
lea eax, [esp + 0x38]
push 0xffffffffffffffff
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov ecx, dword [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x38], 0
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
or eax, 0xffffffff
or edx, eax
jmp 0x670d5864
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.670c9400
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc