joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18018a390
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rdx
mov r8, qword [rcx]
mov qword [rsp + 0x20], r8
mov eax, dword [r8]
inc eax
mov edi, 1
cmp eax, edi
jbe 0x18018a3de
mov eax, edi
lock xadd dword [r8], eax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 4], 2
jne 0x18018a462
mov rcx, qword [rax + 0x10]
cmp word [rcx + rax + 2], 0x3a
jne 0x18018a462
mov ecx, dword [rax]
mov r8d, dword [rax + 4]
cmp ecx, 1
ja 0x18018a414
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 8]
btr edx, 0x1f
lea ecx, [r8 + 2]
cmp ecx, edx
jbe 0x18018a42a
lea edx, [r8 + 2]
mov r8b, 1
lea rcx, [rsp + 0x20]
call sym.Qt5Core.dll_private:_void___cdecl_QString::reallocData_unsigned_int__bool____ptr64
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x10]
add rdx, rax
movsxd rcx, dword [rax + 4]
add rcx, rcx
mov eax, 0x5c
mov word [rdx + rcx], ax
mov rax, qword [rsp + 0x20]
inc dword [rax + 4]
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x10]
add rdx, rax
movsxd rcx, dword [rax + 4]
add rcx, rcx
xor eax, eax
mov word [rdx + rcx], ax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180184a20
nop
lea rcx, [rsp + 0x28]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18018a4ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x18018a49c
cmp eax, 0x20
jne 0x18018a4ce
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x18018a4b8
mov rax, qword [rsp + 0x28]
lock xadd dword [rax], edi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180189040
test al, al
cmovne ebx, dword [rsp + 0x40]
test rsi, rsi
je 0x18018a4db
cmp ebx, 0xffffffff
setne al
mov byte [rsi], al
cmp ebx, 0xffffffff
jne 0x18018a4e4
xor bl, bl
jmp 0x18018a4ea
shr ebx, 4
and bl, 1
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov edi, 0xffffffff
test ecx, ecx
je 0x18018a50e
cmp ecx, edi
je 0x18018a522
mov ecx, edi
mov rax, qword [rsp + 0x28]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018a522
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x28]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018a540
cmp ecx, 0xffffffff
je 0x18018a553
mov rax, qword [rsp + 0x20]
lock xadd dword [rax], edi
cmp edi, 1
jne 0x18018a553
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x20]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
movzx eax, bl
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1802e1ba0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18018bd80
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r14, rdx
mov rsi, rcx
call fcn.18018a580
test al, al
je 0x18018bdec
mov qword [rsp + 0x28], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea rax, [0x1802fa000]
mov qword [rsp + 0x40], rax
lea rdx, str.Empty_filename_passed_to_function
lea rcx, [rsp + 0x28]
call sym.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
xor al, al
jmp 0x18018bf18
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call fcn.180158900
nop
xor edi, edi
lea r9d, [rdi + 1]
xor r8d, r8d
movzx edx, di
mov rcx, rax
call sym.Qt5Core.dll_public:_int___cdecl_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
cmp eax, 0xffffffff
setne bpl
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax]
lea ebx, [rdi - 1]
test ecx, ecx
je 0x18018be40
cmp ecx, ebx
je 0x18018be56
mov ecx, ebx
mov rax, qword [rsp + 0xa0]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018be56
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0xa0]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test bpl, bpl
je 0x18018be8a
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lea rax, [0x1802fa000]
mov qword [rsp + 0x60], rax
lea rdx, str.Broken_filename_passed_to_function
lea rcx, [rsp + 0x48]
jmp 0x18018bdd4
lea rdx, [rsp + 0xa8]
mov rcx, rsi
call fcn.180158900
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne dil
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018bed6
cmp ecx, 0xffffffff
je 0x18018beec
mov rax, qword [rsp + 0xa8]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x18018beec
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0xa8]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test dil, dil
jne 0x18018bf14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0xa4], 2
mov rcx, qword [rsp + 0xa0]
mov qword [r14], rcx
movzx eax, dil
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18018c470
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.180184a20
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x18018c4c6
cmp eax, 0xffffffff
je 0x18018c4d9
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x48]
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x18018c4d9
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x48]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
movzx eax, bl
add rsp, 0x30
pop rbx
ret

Function at 0x18018c5c0
Capabilities:
Set current directory

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x28], rax
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x78], 0x440000
mov r8d, 0x440000
lea rdx, [rsp + 0x28]
call fcn.1801880c0
mov eax, dword [rsp + 0x2c]
bt eax, 0x16
jae 0x18018c6d8
bt eax, 0x12
jae 0x18018c6d8
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.180158200
nop
mov rdx, rax
lea rcx, [rsp + 0x80]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const____ptr64_
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne dil
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018c678
cmp ecx, ebx
je 0x18018c68f
mov ecx, ebx
mov rax, qword [rsp + 0x80]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018c68f
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x80]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018c6b3
cmp ecx, 0xffffffff
je 0x18018c6c9
mov rcx, qword [rsp + 0x88]
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x18018c6c9
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x88]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
movzx eax, dil
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x18018f5c0
Capabilities:
Get disk size

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov r14, rcx
mov word [rcx + 0x4d], 0x101
call fcn.18018fa30
cmp byte [r14 + 0x4e], 0
je 0x18018f6f7
cmp byte [r14 + 0x4d], 0
je 0x18018f6f7
mov rcx, r14
call fcn.18018ff80
cmp byte [r14 + 0x4e], 0
je 0x18018f6f7
cmp byte [r14 + 0x4d], 0
je 0x18018f6f7
lea rdx, [r14 + 8]
lea rcx, [rsp + 0x68]
call fcn.18018f710
mov rdx, qword [r14 + 0x10]
mov qword [rsp + 0x70], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x10], rcx
mov qword [rax], rdx
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax]
mov r15d, 0xffffffff
test ecx, ecx
je 0x18018f664
cmp ecx, r15d
je 0x18018f677
mov ecx, r15d
mov rax, qword [rsp + 0x68]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018f677
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rsp + 0x68]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebp, eax
lea rdx, [r14 + 8]
lea rcx, [rsp + 0x60]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const____ptr64_
nop
lea rcx, [rsp + 0x60]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
lea r9, [r14 + 0x38]
lea r8, [r14 + 0x30]
lea rdx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
setne al
mov byte [r14 + 0x4d], al
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
nop
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018f6e4
cmp ecx, 0xffffffff
je 0x18018f6f7
mov rax, qword [rsp + 0x60]
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x18018f6f7
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x60]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180190900
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x180190944
mov edi, dword [rsp + 0x50]
jmp 0x180190956
cmp byte [rbx + 0x6b], dil
jne 0x180190956
mov byte [rbx + 0x6b], 1
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QWindowsPipeReader::pipeClosed_void____ptr64
mov eax, 0x1000
cmp edi, eax
cmovb edi, eax
cmp byte [rbx + 0x6b], 0
jne 0x180190a5d
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x180190988
sub rax, qword [rbx + 0x50]
cmp rdi, rax
jle 0x180190988
mov rdi, rax
test rax, rax
jle 0x180190a5d
lea rcx, [rbx + 0x48]
mov rdx, rdi
call sym.Qt5Core.dll_public:_char____ptr64___cdecl_QRingBuffer::reserve_long_long___int64_____ptr64
mov word [rbx + 0x68], 0x100
lea r9, [rbx + 0x18]
xor ecx, ecx
mov qword [r9], rcx
mov qword [r9 + 8], rcx
mov qword [r9 + 0x10], rcx
mov qword [r9 + 0x18], rcx
lea rcx, [sym.Qt5Core.dll_private:_static_void___cdecl_QWindowsPipeReader::readFileCompleted_unsigned_long_int__unsigned_long_int__struct__OVERLAPPED____ptr64_]
mov qword [rsp + 0x20], rcx
mov r8d, edi
mov rdx, rax
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x180190a5d
mov byte [rbx + 0x69], al
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, eax
sub ecx, 0x6d
je 0x180190a51
cmp ecx, 0x7c
je 0x180190a51
mov edx, 0x22
lea rcx, str.QWindowsPipeReader::startAsyncRead
call sym.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromLatin1_helper_char_const____ptr64__int_
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
mov edx, edi
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QWindowsPipeReader::winError_unsigned_long_int__class_QString_const____ptr64____ptr64
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x180190a33
cmp ecx, 0xffffffff
je 0x180190a5d
mov ecx, 0xffffffff
mov rax, qword [rsp + 0x58]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180190a5d
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov byte [rbx + 0x6b], 1
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QWindowsPipeReader::pipeClosed_void____ptr64
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180191190
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x51], 0
mov rdi, rcx
jne 0x18019121f
xor eax, eax
mov qword [rsp + 0x40], rbx
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
add rcx, 0x40
call fcn.180096620
mov rdx, qword [rdi + 0x40]
lea rax, [sym.Qt5Core.dll_private:_static_void___cdecl_QWindowsPipeWriter::writeFileCompleted_unsigned_long_int__unsigned_long_int__struct__OVERLAPPED____ptr64_]
mov rcx, qword [rdi + 0x10]
lea r9, [rdi + 0x18]
mov word [rdi + 0x50], 0x100
mov qword [rsp + 0x20], rax
mov r8d, dword [rdx + 4]
add rdx, qword [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov rbx, qword [rsp + 0x40]
test eax, eax
jne 0x18019122c
lea rcx, [rdi + 0x40]
mov byte [rdi + 0x51], al
call sym.Qt5Core.dll_public:_void___cdecl_QByteArray::clear_void____ptr64
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
je 0x18019121f
lea rdx, str.QWindowsPipeWriter::write_failed.
mov ecx, eax
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_
xor al, al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x48]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1801f7e90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
mov r9, r8
mov r11, rdx
cmp rcx, rdx
je 0x1801f7f43
mov qword [rsp + 0x20], rbx
lea r8, [rcx + 0x10]
mov r10, r9
mov qword [rsp + 0x10], rdi
sub r10, rcx
lea rdi, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
xor ebx, ebx
mov rax, qword [r8 - 0x10]
lea r8, [r8 + 0x18]
mov qword [r9], rax
add r9, 0x18
mov qword [r8 - 0x28], rdi
mov rax, qword [r8 - 0x20]
mov qword [r10 + r8 - 0x20], rax
mov eax, dword [r8 - 0x18]
xor eax, dword [r10 + r8 - 0x18]
and eax, 0x3fffffff
mov dword [rsp + 8], 0x80000000
xor dword [r10 + r8 - 0x18], eax
mov edx, dword [r8 - 0x18]
xor edx, dword [r10 + r8 - 0x18]
and edx, 0x40000000
mov qword [rsp], rbx
xor edx, dword [r10 + r8 - 0x18]
movups xmm0, xmmword [rsp]
mov dword [r10 + r8 - 0x18], edx
mov ecx, dword [r8 - 0x18]
xor ecx, edx
btr ecx, 0x1f
xor ecx, dword [r8 - 0x18]
mov dword [r10 + r8 - 0x18], ecx
lea rcx, [r8 - 0x10]
movups xmmword [r8 - 0x20], xmm0
cmp rcx, r11
jne 0x1801f7ec0
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x20]
mov rax, r9
add rsp, 0x18
ret
Function at 0x18020e6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r15
xor r15d, r15d
mov ebp, r8d
mov rbx, rdx
mov esi, ecx
mov r9d, r15d
test r8d, r8d
jne 0x18020e700
xor eax, eax
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
pop r15
pop rsi
ret
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
nop word [rax + rax]
xor r14b, r14b
nop dword [rax]
nop word [rax + rax]
mov dil, 1
nop dword [rax]
nop word [rax + rax]
mov eax, r9d
mov r8b, 1
inc r9d
mov ecx, esi
movzx r11d, byte [rax + rbx]
test r11b, 0x10
je 0x18020e760
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
jmp 0x18020e7ab
test r11b, 0x20
je 0x18020e77e
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x64
sub ecx, eax
jmp 0x18020e7ab
test r11b, 0x40
je 0x18020e7ab
cmp esi, 0x3e8
jl 0x18020e7ab
nop dword [rax]
mov eax, 0x10624dd3
imul ecx
mov ecx, edx
sar ecx, 6
mov eax, ecx
shr eax, 0x1f
add ecx, eax
cmp ecx, 0x3e8
jge 0x18020e790
movzx r10d, byte [r9 + rbx]
mov edx, r11d
and edx, 7
inc r9d
sub edx, 1
je 0x18020e7fa
sub edx, 1
je 0x18020e7f1
sub edx, 1
je 0x18020e7e8
cmp edx, 1
jne 0x18020e801
movzx edx, byte [r9 + rbx]
inc r9d
cmp ecx, r10d
jl 0x18020e7e3
cmp ecx, edx
jg 0x18020e7e3
mov r8b, 1
jmp 0x18020e801
xor r8b, r8b
jmp 0x18020e801
cmp ecx, r10d
setle r8b
jmp 0x18020e801
cmp ecx, r10d
setl r8b
jmp 0x18020e801
cmp ecx, r10d
sete r8b
movzx ecx, r8b
movzx eax, cl
xor al, 1
and r11b, 8
movzx edx, al
cmove edx, ecx
test dil, dil
je 0x18020e822
test dl, dl
je 0x18020e822
mov dil, 1
jmp 0x18020e825
xor dil, dil
cmp r9d, ebp
je 0x18020e839
cmp byte [r9 + rbx], 0xfd
jne 0x18020e839
inc r9d
jmp 0x18020e730
test r14b, r14b
jne 0x18020e843
test dil, dil
je 0x18020e846
mov r14b, 1
cmp r9d, ebp
je 0x18020e85a
cmp byte [r9 + rbx], 0xfe
jne 0x18020e85a
inc r9d
jmp 0x18020e720
test r14b, r14b
jne 0x18020e86f
inc r15d
cmp r9d, ebp
je 0x18020e86f
inc r9d
jmp 0x18020e710
mov rdi, qword [rsp + 0x18]
mov eax, r15d
mov r14, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
pop r15
pop rsi
ret
Function at 0x180229790
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
xor ebp, ebp
mov rcx, qword [rcx]
mov rbx, rdx
test rcx, rcx
je 0x180229826
mov rsi, qword [r8 + 8]
lea r9, [rsp + 0x78]
mov rdx, rsi
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180229826
cmp dword [rsp + 0x78], 4
jne 0x180229826
mov rcx, qword [rdi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [rsp + 0x60]
mov dword [rbx], eax
mov rax, rbx
sete cl
mov byte [rbx + 4], cl
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov dword [rbx], ebp
mov rax, rbx
mov byte [rbx + 4], bpl
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x18024dab0
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov ebx, edx
mov rbp, rcx
mov rax, qword [rcx + 8]
xor edi, edi
test rax, rax
je 0x18024dae7
mov rax, qword [rax + 0x10]
mov esi, dword [rax + 4]
jmp 0x18024dae9
mov esi, edi
test esi, esi
je 0x18024db32
nop dword [rax]
mov r8d, edi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call sym.Qt5Core.dll_public:_class_QJsonValue___cdecl_QJsonArray::at_int____ptr64
nop
xor edx, edx
lea rcx, [rsp + 0x28]
call sym.Qt5Core.dll_unsigned_int___cdecl_qHash_class_QJsonValue_const____ptr64__unsigned_int_
mov edx, ebx
shl edx, 6
mov ecx, ebx
shr ecx, 2
add ecx, edx
add eax, 0x9e3779b9
add ecx, eax
xor ebx, ecx
lea rcx, [rsp + 0x28]
call sym.Qt5Core.dll_public:_void___cdecl_QJsonArray::destructor_void____ptr64
inc edi
cmp edi, esi
jne 0x18024daf0
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180261700
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
lea rax, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rbp - 0x50], rax
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x50]
call fcn.1800bdab0
mov eax, dword [rdi + 8]
mov dword [rbp - 0x48], eax
mov eax, dword [rdi + 0xc]
mov dword [rbp - 0x44], eax
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.1800bdab0
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x38], eax
mov eax, dword [rdi + 0x1c]
mov dword [rbp - 0x34], eax
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x30]
call fcn.1800bdab0
mov eax, dword [rdi + 0x28]
mov dword [rbp - 0x28], eax
mov eax, dword [rdi + 0x2c]
mov dword [rbp - 0x24], eax
lea rdx, [rdi + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1800bdab0
mov eax, dword [rdi + 0x38]
mov dword [rbp - 0x18], eax
mov eax, dword [rdi + 0x3c]
mov dword [rbp - 0x14], eax
mov ecx, dword [rdi + 0x48]
mov eax, dword [rbp - 8]
xor ecx, eax
and ecx, 1
xor eax, ecx
mov dword [rbp - 8], eax
test r14d, r14d
jns 0x1802617d4
mov rax, qword [rsi]
mov r14d, dword [rax + 4]
mov edx, r14d
mov rcx, rsi
call sym.Qt5Core.dll_public:_void___cdecl_QVector_class_QXmlStreamAttribute_::resize_int____ptr64
mov rdx, qword [rsi]
movsxd rax, dword [rdx + 4]
test eax, eax
je 0x18026188d
mov rcx, qword [rdx + 0x10]
lea r14, [rcx + rdx]
lea rdi, [rax + rax*4]
shl rdi, 4
add rdi, rcx
add rdi, rdx
cmp rdi, r14
je 0x18026188d
lea rbx, [rdi - 0x34]
lea rcx, [rbx - 0x1c]
lea rdx, [rbp - 0x50]
call fcn.1800bdab0
mov eax, dword [rbp - 0x48]
mov dword [rbx - 0x14], eax
mov eax, dword [rbp - 0x44]
mov dword [rbx - 0x10], eax
lea rcx, [rbx - 0xc]
lea rdx, [rbp - 0x40]
call fcn.1800bdab0
mov eax, dword [rbp - 0x38]
mov dword [rbx - 4], eax
mov eax, dword [rbp - 0x34]
mov dword [rbx], eax
lea rcx, [rbx + 4]
lea rdx, [rbp - 0x30]
call fcn.1800bdab0
mov eax, dword [rbp - 0x28]
mov dword [rbx + 0xc], eax
mov eax, dword [rbp - 0x24]
mov dword [rbx + 0x10], eax
lea rcx, [rbx + 0x14]
lea rdx, [rbp - 0x20]
call fcn.1800bdab0
mov eax, dword [rbp - 0x18]
mov dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x14]
mov dword [rbx + 0x20], eax
mov eax, dword [rbx + 0x2c]
xor eax, dword [rbp - 8]
and eax, 1
xor dword [rbx + 0x2c], eax
sub rdi, 0x50
lea rbx, [rbx - 0x50]
cmp rdi, r14
jne 0x180261811
lea rcx, [rbp - 0x50]
call sym.Qt5Core.dll_public:_void___cdecl_QXmlStreamAttribute::destructor_void____ptr64
mov rax, rsi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret