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

Disassembly:
push 0xffffffffffffffff
push 0x67149dab
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 4], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov ecx, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 0
test eax, eax
je 0x67068d99
cmp dword [esp + 0x34], edi
jb 0x67068d99
and dword [esi + 0x14], 0xfffffffe
mov dword [esi + 0x18], eax
jmp 0x67068db3
push edi
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
jne 0x67068daf
call sym.QtCore4.dll_void___cdecl_qBadAlloc_void_
or dword [esi + 0x14], 1
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
push eax
push edi
push ebp
push ecx
call fcn.67068a40
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0x14

Function at 0x6706a040
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x2c
mov eax, dword [0x67256a20]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov esi, ecx
cmp dword [esi + 8], 0
push edi
jne 0x6706a12a
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 8
lea eax, [esp + 0xc]
push eax
push 0x1014
push ecx
call edi
test eax, eax
jne 0x6706a091
mov eax, 3
pop edi
mov dword [esi + 8], eax
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.671438b2
add esp, 0x2c
ret
mov ax, word [esp + 8]
cmp ax, 0x31
jne 0x6706a0b7
mov dword [esi + 8], 3
mov eax, dword [esi + 8]
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.671438b2
add esp, 0x2c
ret
cmp ax, 0x30
jne 0x6706a0d8
mov dword [esi + 8], 1
mov eax, dword [esi + 8]
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.671438b2
add esp, 0x2c
ret
cmp ax, 0x32
jne 0x6706a0f9
mov dword [esi + 8], 2
mov eax, dword [esi + 8]
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.671438b2
add esp, 0x2c
ret
mov eax, dword [esi + 4]
push 0xb
lea edx, [esp + 0x1c]
push edx
push 0x13
push eax
call edi
test eax, eax
je 0x6706a078
movzx ecx, word [esp + 0x18]
movzx edx, word [esp + 8]
add ecx, 2
xor eax, eax
cmp edx, ecx
setne al
add eax, 2
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.671438b2
add esp, 0x2c
ret
Function at 0x6706a210
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x6714b198
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 2
lea eax, [esp + 0x14]
push eax
xor esi, esi
mov dword [esp + 0x1c], esi
mov ecx, dword [ecx + 4]
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6706a2cb
or edi, 0xffffffff
push edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], str.11234567_abcdef__._0DEFGHIJKLMNO89:_____ABC
call sym.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const
test al, al
je 0x6706a2b0
mov esi, dword [esp + 0x28]
push 1
mov ecx, esi
call sym.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], edi
lock xadd dword [edx], edi
jne 0x6706a2d7
mov eax, dword [esp + 0xc]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x6706a2d7
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], edi
lock xadd dword [ecx], edi
jne 0x6706a2cb
mov edx, dword [esp + 0xc]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
push esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
call sym.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 4

Function at 0x6706a2f0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x6714b1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x67256a20]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
push 0xf
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], 0
mov ecx, dword [ecx + 4]
push 0x28
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6706a38a
push 0xffffffffffffffff
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call sym.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6706a397
mov eax, dword [esp + 8]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x6706a397
mov dword [esi + 8], 0x80000000
mov dword [esi], 0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.671438b2
add esp, 0x34
ret 4
Function at 0x6706a3c0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x6714b1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x67256a20]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
push 0xf
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], 0
mov ecx, dword [ecx + 4]
push 0x29
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6706a45a
push 0xffffffffffffffff
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call sym.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6706a467
mov eax, dword [esp + 8]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x6706a467
mov dword [esi + 8], 0x80000000
mov dword [esi], 0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.671438b2
add esp, 0x34
ret 4

Function at 0x6706a490
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x6714b1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x67256a20]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
push 4
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], 0
mov ecx, dword [ecx + 4]
push 0x100c
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6706a539
push 0xffffffffffffffff
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push 0xa
push 0
mov ecx, eax
mov dword [esp + 0x28], 0
call sym.QtCore4.dll_public:_unsigned_int___thiscall_QString::toUInt_bool___int_const
inc eax
push eax
mov ecx, esi
call sym.QtCore4.dll_public:_void___thiscall_QVariant::constructor_unsigned_int_
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6706a542
mov eax, dword [esp + 8]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x6706a542
push 1
mov ecx, esi
call sym.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.671438b2
add esp, 0x1c
ret 4
Function at 0x6706a570
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x6714b24d
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x67256a20]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x214]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], esi
mov dword [esi], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x224]
push 0xff
lea edx, [esp + 0x14]
push edx
push 0x5a
push eax
mov dword [esp + 0x22c], 0
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6706a641
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xc]
push edx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x220], 1
call fcn.6705f610
mov eax, dword [esp + 4]
mov byte [esp + 0x21c], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x6706a641
mov edx, dword [esp + 4]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.671438b2
add esp, 0x21c
ret
Function at 0x6706a690
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x6714b2aa
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x14], 0
test eax, eax
jne 0x6706a6d7
mov eax, 0x40
cmp eax, 0x40
mov ecx, eax
mov dword [esp + 0x20], ecx
jle 0x6706a708
add eax, eax
push eax
call sym.QtCore4.dll_void____cdecl_qMalloc_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jne 0x6706a6fe
call sym.QtCore4.dll_void___cdecl_qBadAlloc_void_
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
jmp 0x6706a718
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0x40
mov esi, dword [esp + 0xc8]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ecx
mov ecx, dword [ebp + 4]
push eax
push esi
mov ebx, 1
push ecx
mov dword [esp + 0xcc], ebx
call edi
test eax, eax
jne 0x6706a75b
mov esi, dword [esp + 0xc4]
mov dword [esi], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov edx, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, ebx
lock xadd dword [edx], eax
jmp 0x6706a802
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x6706a7eb
mov edx, dword [ebp + 4]
push 0
push 0
push esi
push edx
call edi
test eax, eax
jne 0x6706a79d
mov esi, dword [esp + 0xc4]
mov dword [esi], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov ecx, ebx
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
cmp eax, edx
jmp 0x6706a80c
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
jl 0x6706a7af
lea ecx, [esp + 0x18]
mov ecx, dword [ecx]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.670daa00
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 4]
push edx
push eax
push esi
push ecx
call edi
test eax, eax
jne 0x6706a7eb
mov esi, dword [esp + 0xc4]
mov dword [esi], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov edx, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, ebx
lock xadd dword [edx], eax
jmp 0x6706a802
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0xc4]
push 0xffffffffffffffff
push edx
push esi
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
cmp eax, ecx
mov byte [esp + 0xbc], 0
mov dword [esp + 0x14], ebx
je 0x6706a823
push eax
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0xc
Function at 0x6706e0a0
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x100
cmp dword [esp + 0x108], 0
push edi
mov edi, eax
jle 0x6706e1ce
mov ecx, 1
mov dword [esp + 4], 0xedb88320
mov eax, ecx
mov dword [esp + eax*4 + 4], ecx
inc eax
add ecx, ecx
cmp eax, 0x20
jl 0x6706e0c6
push ebx
push esi
lea ebx, [esp + 0xc]
lea eax, [esp + 0x8c]
call fcn.6706e060
lea ebx, [esp + 0x8c]
lea eax, [esp + 0xc]
call fcn.6706e060
xor esi, esi
mov eax, dword [esp + esi + 0xc]
xor edx, edx
lea ecx, [esp + 0xc]
test eax, eax
je 0x6706e113
test al, 1
je 0x6706e10a
xor edx, dword [ecx]
shr eax, 1
add ecx, 4
test eax, eax
jne 0x6706e104
mov dword [esp + esi + 0x8c], edx
add esi, 4
cmp esi, 0x80
jl 0x6706e0f6
mov ebx, dword [esp + 0x114]
test bl, 1
je 0x6706e151
xor edx, edx
mov eax, edi
lea ecx, [esp + 0x8c]
test edi, edi
je 0x6706e14f
test al, 1
je 0x6706e146
xor edx, dword [ecx]
shr eax, 1
add ecx, 4
test eax, eax
jne 0x6706e140
mov edi, edx
sar ebx, 1
je 0x6706e1c3
xor esi, esi
jmp 0x6706e160
mov eax, dword [esp + esi + 0x8c]
xor edx, edx
lea ecx, [esp + 0x8c]
test eax, eax
je 0x6706e183
test al, 1
je 0x6706e17a
xor edx, dword [ecx]
shr eax, 1
add ecx, 4
test eax, eax
jne 0x6706e174
mov dword [esp + esi + 0xc], edx
add esi, 4
cmp esi, 0x80
jl 0x6706e160
test bl, 1
je 0x6706e1b4
xor edx, edx
mov eax, edi
lea ecx, [esp + 0xc]
test edi, edi
je 0x6706e1b2
test al, 1
je 0x6706e1a9
xor edx, dword [ecx]
shr eax, 1
add ecx, 4
test eax, eax
jne 0x6706e1a3
mov edi, edx
sar ebx, 1
mov dword [esp + 0x114], ebx
jne 0x6706e0f4
mov eax, edi
xor eax, dword [esp + 0x110]
pop esi
pop ebx
pop edi
add esp, 0x100
ret
Function at 0x6706e220
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, ebx
test ecx, ecx
je 0x6706e308
mov esi, dword [ecx + 0x1c]
test esi, esi
je 0x6706e308
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x6706e308
mov eax, dword [esi + 0x18]
cmp eax, 2
je 0x6706e308
cmp eax, 1
jne 0x6706e268
cmp dword [esi + 4], 0x2a
jne 0x6706e308
test eax, eax
je 0x6706e281
mov eax, dword [ecx + 0x30]
push ebx
push ebp
push eax
call sym.QtCore4.dll_adler32
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [ecx + 0x30], eax
cmp ebx, 3
jb 0x6706e301
mov eax, dword [esi + 0x2c]
cmp ebx, eax
jbe 0x6706e293
mov edi, eax
sub ebx, edi
add ebp, ebx
mov edx, dword [esi + 0x38]
push edi
push ebp
push edx
call sub.MSVCR90.dll_memcpy
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x5c], edi
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
add esp, 0xc
xor edx, edx
mov dword [esi + 0x48], eax
add edi, 0xfffffffd
mov ebx, dword [esi + 0x48]
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x38]
movzx eax, byte [eax + edx + 2]
mov ebp, dword [esi + 0x40]
shl ebx, cl
mov ecx, dword [esi + 0x44]
xor eax, ebx
and eax, dword [esi + 0x54]
mov ebx, dword [esi + 0x34]
mov dword [esi + 0x48], eax
mov ax, word [ecx + eax*2]
and ebx, edx
mov word [ebp + ebx*2], ax
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2], dx
inc edx
cmp edx, edi
jbe 0x6706e2c6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x6706e990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
mov dword [esp + 0xc], edi
cmp eax, edx
jb 0x6706ea20
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call sub.MSVCR90.dll_memcpy
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x6706e9ef
sub eax, ebp
jmp 0x6706e9f1
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x6706e9e0
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x6706ea10
sub eax, ebp
jmp 0x6706ea12
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x6706ea01
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x6706eb4f
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [esp + 0xc]
mov ebx, ecx
mov dword [esp + 0x10], eax
cmp ebx, edx
jbe 0x6706ea48
mov ebx, edx
test ebx, ebx
je 0x6706ea99
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, 1
jne 0x6706ea6b
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
push eax
push ecx
call sym.QtCore4.dll_adler32
jmp 0x6706ea7d
cmp ecx, 2
jne 0x6706ea87
mov edx, dword [edi]
mov eax, dword [edi + 0x30]
push ebx
push edx
push eax
call sym.QtCore4.dll_crc32
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [edi]
push ebx
push ecx
push eax
call sub.MSVCR90.dll_memcpy
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x6706eac3
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x6706ead7
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x6706e9a0
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x6706eb4f
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x6706eb1e
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x6706eafe
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.6714399c
add esp, 0xc
add ebx, edi
pop edi
pop ebp
mov dword [esi + 0x16c0], ebx
pop ebx
add esp, 8
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x6706eb4f
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x6706eb38
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call fcn.6714399c
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x67070bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [sym.imp.MSVCR90.dll__read]
mov dword [esi], 0
lea ecx, [ecx]
mov eax, dword [esi]
mov edx, dword [esp + 8]
mov ecx, edi
sub ecx, eax
push ecx
add eax, edx
push eax
mov eax, dword [ebx + 4]
push eax
call ebp
add esp, 0xc
test eax, eax
jle 0x67070bf1
add dword [esi], eax
cmp dword [esi], edi
jb 0x67070bd0
pop ebp
test eax, eax
jge 0x67070c15
call dword [sym.imp.MSVCR90.dll__errno]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCR90.dll_strerror]
push eax
push 0xffffffffffffffff
push ebx
call fcn.67070640
add esp, 0x10
or eax, 0xffffffff
ret
jne 0x67070c1e
mov dword [ebx + 0x28], 1
xor eax, eax
ret
Function at 0x6708f300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6714bb71
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x30]
mov dword [esi], sym.QtCore4.dll_struct_QListData::Data_QListData::shared_null
mov eax, sym.QtCore4.dll_struct_QListData::Data_QListData::shared_null
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
push ebx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], 1
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [ecx], ebx
mov edx, dword [esp + 0x3c]
mov ecx, esp
mov dword [ecx], edx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], esp
push ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 1
call sym.QtCore4.dll_public:_void___thiscall_QDirIterator::constructor_class_QString_const___class_QStringList_const___class_QFlags_enum_QDir::Filter___class_QFlags_enum_QDirIterator::IteratorFlag__
mov edx, dword [esp + 0xc]
mov bl, 3
mov byte [esp + 0x28], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x6708f3a9
mov ecx, dword [esp + 0xc]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_bool___thiscall_QDirIterator::hasNext_void_const
test al, al
je 0x6708f424
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call sym.QtCore4.dll_public:_class_QString___thiscall_QDirIterator::next_void_
mov eax, dword [esp + 0x38]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x6708f3de
mov edx, dword [esp + 0x38]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call sym.QtCore4.dll_public:_class_QString___thiscall_QDirIterator::fileName_void_
push eax
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.67020af0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x28], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6708f417
mov eax, dword [esp + 0x10]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_bool___thiscall_QDirIterator::hasNext_void_const
test al, al
jne 0x6708f3b6
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call sym.QtCore4.dll_public_virtual:_void___thiscall_QDirIterator::destructor_void_
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 0xc