joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e12c81c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], 0xf
lea edi, [ebp - 0x3a]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x29
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
jne 0x6e12c87c
and dword [ebx + 8], 0xc0000000
mov al, byte [ebx + 0xb]
and eax, 0xffffffbf
or eax, 0xffffff80
mov byte [ebx + 0xb], al
mov dword [ebx], 0
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
lea esi, [ebp - 0x1c]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], esi
call method.QString.fromWCharArray_wchar_t_const__int_
push edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call method.QVariant.QVariant_QString_const_
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e12c86d
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4

Function at 0x6e12c8d8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], 0xf
lea edi, [ebp - 0x3a]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x28
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
jne 0x6e12c938
and dword [ebx + 8], 0xc0000000
mov al, byte [ebx + 0xb]
and eax, 0xffffffbf
or eax, 0xffffff80
mov byte [ebx + 0xb], al
mov dword [ebx], 0
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
lea esi, [ebp - 0x1c]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], esi
call method.QString.fromWCharArray_wchar_t_const__int_
push eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call method.QVariant.QVariant_QString_const_
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e12c929
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
Function at 0x6e12c994
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], 2
lea edi, [ebp - 0x1c]
mov dword [esp + 8], edi
mov dword [esp + 4], 0xd
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
je 0x6e12ca40
lea ebx, [ebp - 0x20]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], ebx
call method.QString.fromWCharArray_wchar_t_const__int_
push edx
mov dword [ebp - 0x24], 0x6e2db25d
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], ebx
call method.QString.operator_QLatin1String_const__const
test al, al
je 0x6e12ca28
mov dword [esp + 4], 1
mov dword [esp], esi
call method.QVariant.QVariant_int_
mov eax, dword [ebp - 0x20]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e12ca50
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call method.QString.free_QString::Data_
jmp 0x6e12ca50
mov eax, dword [ebp - 0x20]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e12ca40
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov dword [esp + 4], 0
mov dword [esp], esi
call method.QVariant.QVariant_int_
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
Function at 0x6e12f63c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
leave
jmp fcn.6e12f3f4

Function at 0x6e12f650
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
leave
jmp fcn.6e12f3f4

Function at 0x6e12fd00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test edx, edx
jne 0x6e12fd24
mov eax, 0xfffffffe
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
mov ebx, dword [edx + 0x1c]
test ebx, ebx
je 0x6e12fd16
test esi, esi
je 0x6e12fd16
mov eax, dword [ebx + 0x18]
cmp eax, 2
je 0x6e12fd16
cmp eax, 1
je 0x6e12fdff
test eax, eax
jne 0x6e12fe09
cmp edi, 2
jbe 0x6e12fdee
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x1c], eax
cmp edi, eax
ja 0x6e12fdf5
mov dword [ebp - 0x1c], edi
mov eax, dword [ebx + 0x38]
mov edi, eax
mov ecx, dword [ebp - 0x1c]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x5c], edx
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x20], ecx
movzx eax, byte [ecx]
mov dword [ebx + 0x48], eax
movzx edx, byte [ecx + 1]
mov edi, dword [ebx + 0x58]
mov dword [ebp - 0x24], edi
mov cl, byte [ebp - 0x24]
shl eax, cl
xor edx, eax
and edx, dword [ebx + 0x54]
mov dword [ebx + 0x48], edx
mov edi, dword [ebp - 0x1c]
sub edi, 3
mov dword [ebp - 0x28], edi
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 0x30], ecx
mov edi, dword [ebx + 0x34]
mov dword [ebp - 0x2c], edi
mov esi, dword [ebx + 0x44]
xor eax, eax
mov dword [ebp - 0x3c], ebx
nop
mov cl, byte [ebp - 0x24]
shl edx, cl
mov ebx, dword [ebp - 0x20]
movzx ecx, byte [ebx + eax + 2]
xor edx, ecx
and edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
mov dword [edi + 0x48], edx
mov ecx, dword [ebp - 0x2c]
and ecx, eax
mov di, word [esi + edx*2]
mov ebx, dword [ebp - 0x30]
mov word [ebx + ecx*2], di
mov word [esi + edx*2], ax
inc eax
cmp dword [ebp - 0x28], eax
jae 0x6e12fdbc
xor eax, eax
jmp 0x6e12fd1b
sub edi, dword [ebp - 0x1c]
add esi, edi
jmp 0x6e12fd62
cmp dword [ebx + 4], 0x2a
jne 0x6e12fd16
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [edx + 0x30]
mov dword [esp], eax
mov dword [ebp - 0x34], edx
call sym.QtCore4.dll_adler32
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x30], eax
jmp 0x6e12fd48
Function at 0x6e1317f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
test esi, esi
jne 0x6e131810
mov eax, 0xfffffffe
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6e131800
mov edi, dword [esi + 0x20]
test edi, edi
je 0x6e131800
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x6e131800
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ebx, dword [esi + 0x1c]
mov dword [ebx + 0x14], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x18]
cmp eax, 0
jl 0x6e131937
jne 0x6e13193c
mov eax, 0x71
mov dword [ebx + 4], eax
cmp dword [ebx + 0x18], 2
je 0x6e131946
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.QtCore4.dll_adler32
mov dword [esi + 0x30], eax
mov dword [ebx + 0x28], 0
mov dword [esp], ebx
call fcn.6e137bf8
mov eax, dword [ebx + 0x2c]
shl eax, 1
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x4c]
mov edx, dword [ebx + 0x44]
mov word [edx + eax*2 - 2], 0
lea ecx, [eax + eax - 2]
xor eax, eax
mov edi, edx
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x84]
lea eax, [eax + eax*2]
shl eax, 2
movzx edx, word [eax + 0x6e2dd802]
mov dword [ebx + 0x80], edx
movzx edx, word [eax + 0x6e2dd800]
mov dword [ebx + 0x8c], edx
movzx edx, word [eax + 0x6e2dd804]
mov dword [ebx + 0x90], edx
movzx eax, word [eax + 0x6e2dd806]
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 2
mov dword [ebx + 0x60], 2
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x48], 0
xor eax, eax
jmp 0x6e131805
neg eax
mov dword [ebx + 0x18], eax
mov eax, 0x2a
jmp 0x6e131868
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.QtCore4.dll_crc32
jmp 0x6e131891
Function at 0x6e132428
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, eax
mov esi, edx
mov edi, dword [ebp + 8]
mov dword [edi], 0
xor eax, eax
mov edx, ecx
sub edx, eax
mov dword [esp + 8], edx
lea eax, [esi + eax]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
mov dword [ebp - 0x1c], ecx
call sub.msvcrt.dll__read
cmp eax, 0
mov ecx, dword [ebp - 0x1c]
jle 0x6e132478
add eax, dword [edi]
mov dword [edi], eax
cmp ecx, eax
ja 0x6e132440
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
jne 0x6e13248b
mov dword [ebx + 0x28], 1
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 8], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call fcn.6e131d3c
mov eax, 0xffffffff
jmp 0x6e13246f
Function at 0x6e167770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
je 0x6e16778c
mov eax, dword [eax]
dec eax
je 0x6e16778c
leave
jmp fcn.6e2372a8
leave
ret

Function at 0x6e16d440
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
leave
jmp fcn.6e1a9b04

Function at 0x6e172210
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne case.default.0x6e172234
cmp eax, 0xe
jbe switch.0x6e172234
add esp, 0x14
pop ebx
leave
ret
jmp dword [eax*4 + 0x6e2f09b8]
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.6e1720b4
mov edx, dword [ebx]
test edx, edx
je case.default.0x6e172234
mov byte [edx], al
add esp, 0x14
pop ebx
leave
ret
mov eax, dword [edx + 4]
mov dword [ebp + 8], eax
add esp, 0x14
pop ebx
leave
jmp fcn.6e1a9f10
mov dword [ebp + 8], edx
add esp, 0x14
pop ebx
leave
jmp fcn.6e16d374
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
add esp, 0x14
pop ebx
leave
jmp fcn.6e16d33c
mov eax, dword [ebx + 8]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
add esp, 0x14
pop ebx
leave
jmp fcn.6e16d2f4
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
add esp, 0x14
pop ebx
leave
jmp fcn.6e16d2bc
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
add esp, 0x14
pop ebx
leave
jmp method.QProcess.stateChanged_QProcess::ProcessState_
mov dword [ebp + 8], edx
add esp, 0x14
pop ebx
leave
jmp fcn.6e16d230
mov dword [ebp + 8], edx
add esp, 0x14
pop ebx
leave
jmp fcn.6e16d204
mov eax, dword [edx + 4]
mov dword [ebp + 8], eax
add esp, 0x14
pop ebx
leave
jmp fcn.6e1a9b04
mov eax, dword [edx + 4]
mov dword [ebp + 8], eax
add esp, 0x14
pop ebx
leave
jmp fcn.6e1a9ad8
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.6e171d88
mov edx, dword [ebx]
test edx, edx
je case.default.0x6e172234
mov byte [edx], al
jmp 0x6e17224f
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.6e171a5c
mov edx, dword [ebx]
test edx, edx
je case.default.0x6e172234
mov byte [edx], al
jmp 0x6e17224f
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.6e1704fc
mov edx, dword [ebx]
test edx, edx
je case.default.0x6e172234
mov byte [edx], al
jmp 0x6e17224f
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.6e16dba4
mov edx, dword [ebx]
test edx, edx
je case.default.0x6e172234
mov byte [edx], al
jmp 0x6e17224f
Function at 0x6e174884
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebx]
test eax, eax
je 0x6e174954
mov edx, dword [ebx + 0x6c]
mov edx, dword [edx + 8]
test edx, edx
je 0x6e174940
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x30]
test al, al
je 0x6e174967
xor eax, eax
xor edx, edx
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
lea eax, [ebx + 0x6c]
mov dword [esp], eax
call method.QString.clear__
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x6e1749ac
mov edx, dword [eax]
mov dword [ebx + 0x24], edx
mov edx, dword [eax + 8]
mov dword [ebx + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x30], edx
mov edx, dword [eax + 0x10]
mov dword [ebx + 0x34], edx
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x7c]
or eax, dword [ebx + 0x78]
jne 0x6e174906
mov byte [ebx + 0x60], 1
mov esi, dword [ebx + 0x74]
add esi, dword [ebx + 0x70]
jmp 0x6e17492c
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.6e1743d8
test al, al
je 0x6e174987
mov eax, dword [ebx + 0x6c]
cmp esi, dword [eax + 8]
jg 0x6e174910
mov dword [ebx + 0x70], esi
mov dword [ebx + 0x74], 0
mov eax, dword [ebx]
mov edx, dword [eax]
mov dword [ebp + 8], eax
mov eax, dword [edx + 0x3c]
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
jmp eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6e174996
mov eax, dword [ebx + 0x18]
cdq
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebx]
mov edx, dword [eax]
mov esi, dword [ebx + 0x78]
mov edi, dword [ebx + 0x7c]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [edx + 0x44]
test al, al
jne 0x6e1748c7
mov eax, 0xffffffff
mov edx, 0xffffffff
jmp 0x6e1748bf
mov dword [esp], str.QTextStream::pos:_no_device
call sym.QtCore4.dll_qWarning_char_const__::_
or eax, 0xffffffff
mov edx, eax
jmp 0x6e1748bf
lea eax, [ebx + 0x24]
call fcn.6e173314
jmp 0x6e1748fa
Function at 0x6e19cd34
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [eax + 4]
cmp dword [ebx + 0x74], 2
je 0x6e19cd6d
mov edi, dword [eax]
mov dword [esp], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
call dword [edi + 0x10]
mov dword [ebx + 0x74], 2
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
jmp fcn.6e1acdb0

Function at 0x6e19cf70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [eax + 4]
cmp dword [ebx + 0x74], 1
je 0x6e19cfa9
mov edi, dword [eax]
mov dword [esp], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
call dword [edi + 0x10]
mov dword [ebx + 0x74], 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
jmp fcn.6e1ad488
Function at 0x6e19d7cc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x14], 0
jl 0x6e19d7ec
je 0x6e19d860
lea ebx, [ebp - 0x1c]
mov dword [esp + 4], 0x16
mov dword [esp], ebx
call sym.QtCore4.dll_qt_error_string_int_
push edx
mov dword [esp + 8], ebx
mov dword [esp + 4], 2
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e19d83c
mov ebx, 0xffffffff
mov esi, 0xffffffff
mov eax, ebx
mov edx, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov ebx, 0xffffffff
mov esi, 0xffffffff
mov eax, ebx
mov edx, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [edi + 0x58]
test eax, eax
je 0x6e19d928
xor ebx, ebx
xor esi, esi
nop
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
add eax, ebx
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
xor ecx, ecx
add ebx, eax
adc esi, ecx
test eax, eax
je 0x6e19d914
xor eax, eax
cmp eax, esi
jg 0x6e19d8a9
jl 0x6e19d8b4
cmp dword [ebp - 0x2c], ebx
jbe 0x6e19d8b4
mov eax, dword [edi + 0x58]
jmp 0x6e19d870
xor ebx, ebx
xor esi, esi
nop
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x6e19d82e
mov eax, esi
or eax, ebx
jne 0x6e19d82e
call sub.msvcrt.dll__errno
lea ebx, [ebp - 0x20]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.QtCore4.dll_qt_error_string_int_
push edi
call sub.msvcrt.dll__errno
cmp dword [eax], 0x1c
sete al
movzx eax, al
lea eax, [eax + eax + 2]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
mov dword [esp], ebx
call method.QString.QString__
jmp 0x6e19d824
call sub.msvcrt.dll__errno
cmp dword [eax], 4
jne 0x6e19d8b4
mov eax, dword [edi + 0x58]
jmp 0x6e19d870
mov edx, dword [edi + 0x70]
cmp edx, 0xffffffff
je 0x6e19d8ae
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x34], edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esp + 8], eax
lea eax, [edi + ebx]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll__write_1
cmp eax, 0xffffffff
je 0x6e19d988
test eax, eax
jle 0x6e19d8b4
cdq
add ebx, eax
adc esi, edx
xor eax, eax
cmp eax, esi
jl 0x6e19d8b4
jg 0x6e19d97d
cmp dword [ebp - 0x2c], ebx
jbe 0x6e19d8b4
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x70]
jmp 0x6e19d93e
call sub.msvcrt.dll__errno
cmp dword [eax], 4
jne 0x6e19d8b4
jmp 0x6e19d97d
Function at 0x6e1a9bd0
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xec]
cmp eax, 0xffffffff
je 0x6e1a9d00
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x14], 0
lea edx, [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.dll_PeekNamedPipe
sub esp, 0x18
cmp dword [ebx + 0x94], 2
je 0x6e1a9c3c
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6e1a9c30
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea esi, [ebp - 0x20]
mov dword [esp], esi
call method.QByteArray.QByteArray_int__char_
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 8]
mov dword [esp], esi
call method.QByteArray.data__
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xec]
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
je 0x6e1a9ce9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x6e1a9ce9
mov dword [esp], 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
push ecx
mov ebx, eax
test eax, eax
je 0x6e1a9ce9
mov dword [ebp - 0x28], 0
mov edi, dword [ebp - 0x24]
mov dword [esp], esi
call method.QByteArray.data__
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov dword [ebp - 0x1c], 0
mov dword [esp], esi
call method.QByteArray.QByteArray__
mov eax, dword [ebp - 0x1c]
jmp 0x6e1a9c30
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret

Function at 0x6e1a9d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [esp], ebx
call fcn.6e1a9bd0
cmp edx, esi
jl 0x6e1a9d42
jle 0x6e1a9d5c
mov eax, edi
mov dword [ebp - 0x1c], 0
test eax, eax
jne 0x6e1a9d6c
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
cmp eax, edi
ja 0x6e1a9d40
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x6e1a9d4d
nop
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xec]
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
jne 0x6e1a9db0
mov eax, 0xffffffff
mov edx, 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
Function at 0x6e1a9dc0
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xd4]
cmp eax, 0xffffffff
je 0x6e1a9ef0
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x14], 0
lea edx, [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.dll_PeekNamedPipe
sub esp, 0x18
cmp dword [ebx + 0x94], 2
je 0x6e1a9e2c
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6e1a9e20
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea esi, [ebp - 0x20]
mov dword [esp], esi
call method.QByteArray.QByteArray_int__char_
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 8]
mov dword [esp], esi
call method.QByteArray.data__
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xd4]
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
je 0x6e1a9ed9
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x6e1a9ed9
mov dword [esp], 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
push edi
mov ebx, eax
test eax, eax
je 0x6e1a9ed9
mov dword [ebp - 0x28], 0
mov edi, dword [ebp - 0x24]
mov dword [esp], esi
call method.QByteArray.data__
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov dword [ebp - 0x1c], 0
mov dword [esp], esi
call method.QByteArray.QByteArray__
mov eax, dword [ebp - 0x1c]
jmp 0x6e1a9e20
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret

Function at 0x6e1a9fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [esp], ebx
call fcn.6e1a9dc0
cmp edx, esi
jl 0x6e1a9ff2
jle 0x6e1aa00c
mov eax, edi
mov dword [ebp - 0x1c], 0
test eax, eax
jne 0x6e1aa01c
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
cmp eax, edi
ja 0x6e1a9ff0
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x6e1a9ffd
nop
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xd4]
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
jne 0x6e1aa060
mov eax, 0xffffffff
mov edx, 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret