joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400af0b0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x1a8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov rbx, r9
mov rbp, r8
mov r15, rdx
mov rdi, rcx
mov r14, qword [rsp + 0x208]
mov qword [r14], 0
test rdx, rdx
je 0x1400af276
test rbx, rbx
je 0x1400af276
test r8, r8
je 0x1400af276
mov r8, qword [rsp + 0x200]
test r8, r8
je 0x1400af276
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 0
jne 0x1400af149
lea rcx, [rdi + 0x38]
mov r8d, shutdown
lea rdx, str.Private_key_is_null
jmp 0x1400af287
mov rcx, rbp
call fcn.1400cb654
mov rsi, rax
mov r8, rbp
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rbp
mov rcx, rsi
call fcn.1400ae740
mov dword [rsp + 0x190], ebp
lea rax, [rsp + 0x190]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x1400af23d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x194], eax
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.1400ae650
mov rbx, rax
lea rdx, str.CryptDecrypt_failed:__1_x:__2_
lea rcx, [rsp + 0x80]
call fcn.14009f420
nop
lea rdx, [rsp + 0x194]
mov rcx, rax
call fcn.1400b1060
mov rcx, rax
mov rdx, rbx
call fcn.1400a0630
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400b1030
lea rcx, [rdi + 0x38]
mov rdx, rax
call fcn.1400a2db0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140022800
nop
lea rcx, [rsp + 0x80]
call fcn.14009caf0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.140022800
mov rcx, rsi
call fcn.1400cb664
jmp 0x1400af28c
mov r8d, dword [rsp + 0x190]
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call fcn.1400cb664
mov eax, dword [rsp + 0x190]
cmp qword [r14], rax
jbe 0x1400af26f
mov byte [rax + rbx], 0
mov eax, dword [rsp + 0x190]
mov qword [r14], rax
mov al, 1
jmp 0x1400af28e
add rcx, 0x38
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.Invalid_input_argument
call fcn.140022880
xor al, al
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400ca980
add rsp, 0x1a8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400af660
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x1c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov rsi, rcx
mov rbx, qword [rsp + 0x208]
mov qword [rbx], 0
mov dword [r11 - 0x24], r8d
movzx r8d, byte [rsp + 0x200]
mov dword [rsp + 0x30], 0x400
lea rax, [r11 - 0x24]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
setne dil
test dil, dil
je 0x1400af6ea
mov ecx, dword [rsp + 0x1b4]
mov qword [rbx], rcx
jmp 0x1400af7dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1b0], eax
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.1400ae650
mov rbx, rax
lea rdx, str.CryptCreateHash_failed:__1_x:__2_
lea rcx, [rsp + 0xa0]
call fcn.14009f420
nop
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0x40], rcx
lea rcx, [fcn.14000ff90]
mov qword [rsp + 0x48], rcx
lea rcx, [0x1400b1090]
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400a05a0
mov qword [rsp + 0x40], rbx
lea rcx, [fcn.14000ff90]
mov qword [rsp + 0x48], rcx
lea rcx, [0x1400a0620]
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400a05a0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400b1030
mov rbp, rax
lea rbx, [rsi + 0x38]
cmp rbx, rax
je 0x1400af7ac
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.140022800
mov rdx, rbp
mov rcx, rbx
call fcn.140022960
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.140022800
nop
lea rcx, [rsp + 0xa0]
call fcn.14009caf0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x80]
call fcn.140022800
movzx eax, dil
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1400ca980
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400af810
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x1b8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov rbp, rcx
mov rbx, qword [rsp + 0x200]
mov qword [rbx], 0
mov dword [r11 - 0x34], r8d
movzx r8d, r9b
lea rax, [r11 - 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
setne dil
test dil, dil
je 0x1400af88a
mov ecx, dword [rsp + 0x1a4]
mov qword [rbx], rcx
jmp 0x1400af976
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1a0], eax
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400ae650
mov rbx, rax
lea rdx, str.CryptCreateHash_failed:__1_x:__2_
lea rcx, [rsp + 0x90]
call fcn.14009f420
nop
lea rcx, [rsp + 0x1a0]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000ff90]
mov qword [rsp + 0x38], rcx
lea rcx, [0x1400b1090]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400a05a0
mov qword [rsp + 0x30], rbx
lea rcx, [fcn.14000ff90]
mov qword [rsp + 0x38], rcx
lea rcx, [0x1400a0620]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400a05a0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400b1030
mov rsi, rax
lea rbx, [rbp + 0x38]
cmp rbx, rax
je 0x1400af949
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.140022800
mov rdx, rsi
mov rcx, rbx
call fcn.140022960
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.140022800
nop
lea rcx, [rsp + 0x90]
call fcn.14009caf0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.140022800
movzx eax, dil
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1400ca980
add rsp, 0x1b8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b1760
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov qword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x5000
lea rcx, [0x1400f96f0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x1400b180f
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400b180f
lea rcx, [rsp + 0x30]
call fcn.14001ba10
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_static_class_QString___cdecl_QDir::cleanPath_class_QString_const____ptr64_]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ca980
add rsp, 0x60
pop rbx
ret

Function at 0x1400b2a20
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx ebx, r8b
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
movzx r9d, bl
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b2610
mov rbx, rax
test rax, rax
je 0x1400b2aa8
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14001b990
mov rdx, qword [rax]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x20]
call fcn.1400cb664
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ca980
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b2ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1088
call fcn.1400cfbe0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
movzx ebx, byte [rsp + 0x10e0]
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
movzx r9d, bl
xor r8d, r8d
mov dl, 1
mov rcx, rax
call fcn.1400b2610
mov r15, rax
test rax, rax
jne 0x1400b2b5e
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
jmp 0x1400b2bcb
mov dword [rsp + 0x68], 0x1000
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.14001b990
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call fcn.1400cb664
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
test ebx, ebx
je 0x1400b2bc0
mov rdx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
jmp 0x1400b2bcb
lea rdx, [rsp + 0x70]
call fcn.14001ba10
nop
mov rcx, r14
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rbp
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.1400ca980
add rsp, 0x1088
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b2ce0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1070
call fcn.1400cfbe0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
mov rdx, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
xor r9d, r9d
mov r8b, 1
xor edx, edx
mov rcx, rax
call fcn.1400b2610
mov r14, rax
test rax, rax
jne 0x1400b2d71
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rbp
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x1400b2dfb
mov r8d, 0x800
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400b3b40
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.14001b990
mov rdx, qword [rax]
mov rcx, qword [rsi]
mov eax, dword [rcx + 4]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call fcn.1400cb664
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete bl
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rbp
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.1400ca980
add rsp, 0x1070
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b2ee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x40], rcx
mov qword [r11 - 0x38], rdx
mov rdx, rcx
lea rcx, [r11 - 0x50]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov rcx, rax
call fcn.1400b2610
mov r14, rax
test rax, rax
jne 0x1400b2f57
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov eax, ebp
jmp 0x1400b2fc4
mov dword [rsp + 0x58], 4
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14001b990
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x5c]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call fcn.1400cb664
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400b2f40
mov ebx, dword [rsp + 0x5c]
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ca980
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400b3090
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebp, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [r11 - 0x40], rcx
mov qword [r11 - 0x38], rdx
mov rdx, rcx
lea rcx, [r11 - 0x50]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
xor r9d, r9d
mov r8b, 1
xor edx, edx
mov rcx, rax
call fcn.1400b2610
mov rsi, rax
test rax, rax
je 0x1400b3137
mov dword [rsp + 0x58], ebp
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001b990
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call fcn.1400cb664
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ca980
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b3200
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x40], rcx
mov qword [r11 - 0x38], rdx
mov rdx, rcx
lea rcx, [r11 - 0x58]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov rcx, rax
call fcn.1400b2610
mov rbp, rax
test rax, rax
jne 0x1400b326f
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor eax, eax
jmp 0x1400b32de
mov dword [rsp + 0x58], 8
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14001b990
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1400cb664
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400b3258
mov rbx, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ca980
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400b33a0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1401a3008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
mov qword [r11 - 0x40], rcx
mov qword [r11 - 0x38], rdx
mov rdx, rcx
lea rcx, [r11 - 0x50]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
xor r9d, r9d
mov r8b, 1
xor edx, edx
mov rcx, rax
call fcn.1400b2610
mov rsi, rax
test rax, rax
je 0x1400b3448
mov qword [rsp + 0x58], rbp
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001b990
mov dword [rsp + 0x28], 8
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, ntohl
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call fcn.1400cb664
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ca980
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400caf4c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400cafdd
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400cafdd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400cafdd
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400cafc1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400cafbb
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400cafc3
add rdx, 0x28
jmp 0x1400cafa0
xor edx, edx
test rdx, rdx
jne 0x1400cafcc
xor al, al
jmp 0x1400cafe3
test dword [rdx + 0x24], 0x80000000
je 0x1400cafd9
xor al, al
jmp 0x1400cafe3
mov al, 1
jmp 0x1400cafe3
xor al, al
jmp 0x1400cafe3
add rsp, 0x18
ret
Function at 0x1400cf510
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ecx, dword [0x1401a3040]
cmp ecx, 0xffffffff
jne 0x1400cf536
xor esi, esi
jmp 0x1400cf53f
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x50], rsi
test rsi, rsi
je 0x1400cf633
nop dword [rax]
mov rbx, qword [rsi + 0x18]
cmp qword [rsi + 0x30], 0
jne 0x1400cf566
test rbx, rbx
je 0x1400cf60c
jmp 0x1400cf570
test rbx, rbx
je 0x1400cf5c4
nop dword [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400cf5a7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsi + 0x18]
test rbx, rbx
jne 0x1400cf570
cmp qword [rsi + 0x30], 0
je 0x1400cf550
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400cf5ef
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x1400cf5ef
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rbx
lea rdx, [rsp + 0x58]
lea rcx, [rsi + 0x28]
call fcn.140096900
cmp qword [rsi + 0x30], 0
jne 0x1400cf5d0
jmp 0x1400cf550
lea rdx, [0x1400ce310]
lea rcx, [0x1401ab068]
call fcn.1400ce0e0
mov ecx, dword [0x1401a3040]
cmp ecx, 0xffffffff
je 0x1400cf633
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x1400cf664
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400cf664
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x1400cf680
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx]
lea r8, [0x1400cf710]
mov rdi, rcx
xor edx, edx
xor ecx, ecx
lea rax, [r9 + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rsi, rax
test rax, rax
jne 0x1400cf6c5
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
mov rax, qword [rdi]
lock inc dword [rax + 8]
mov rbx, qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400cf6e8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rdi]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x40]
mov al, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret