joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140053d10
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400c7008]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [rcx + 0xc], 0
mov rbx, rcx
jne 0x140053d57
mov ecx, dword [0x1400ccde8]
test ecx, ecx
jne 0x140053d47
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x48]
xor edx, edx
mov eax, 0x20
cmp ecx, 1
cmova eax, edx
mov dword [rbx + 0xc], eax
mov eax, dword [rbx + 0xc]
cmp eax, 8
jb 0x140053dc3
cmp eax, 0x20
jae 0x140053d68
pause
jmp 0x140053dc3
jne 0x140053d9e
call fcn.140053a50
mov ecx, 9
mov dword [rbx + 8], eax
call fcn.140053bb0
lea rcx, [rsp + 0x20]
call rax
test eax, eax
jne 0x140053d94
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
mov qword [rbx], rax
jmp 0x140053dc3
mov rax, qword [rsp + 0x20]
mov qword [rbx], rax
jmp 0x140053dc3
mov rcx, rbx
call fcn.140053c70
test al, al
je 0x140053db8
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x140053dc3
xor ecx, ecx
jmp 0x140053dbd
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc dword [rbx + 0xc]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140062f80
add rsp, 0x60
pop rbx
ret
Function at 0x14005a500
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1c8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400c7008]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rsi, r9
mov rbx, r8
mov r12, rdx
mov rdi, rcx
mov r14, qword [rsp + 0x228]
xor ecx, ecx
mov qword [r14], rcx
test rdx, rdx
je 0x14005a787
test r9, r9
je 0x14005a787
test rbx, rbx
je 0x14005a787
cmp qword [rsp + 0x220], rcx
jbe 0x14005a787
cmp qword [rdi + 0x10], rcx
jne 0x14005a584
lea r8d, [rcx + 0x12]
lea rdx, str.Public_key_is_null
jmp 0x14005a794
mov qword [r14], rcx
mov dword [rsp + 0x1a4], ebx
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x1a4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x14005a656
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1a0], eax
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140059d60
mov rbx, rax
lea rdx, str.CryptEncrypt_failed:__1_x:__2_
lea rcx, [rsp + 0x90]
call fcn.14004a840
nop
lea rdx, [rsp + 0x1a0]
mov rcx, rax
call fcn.14005c7b0
mov rcx, rax
mov rdx, rbx
call fcn.14004bab0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14005c780
lea rcx, [rdi + 0x38]
mov rdx, rax
call fcn.14004e170
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.140023400
nop
lea rcx, [rsp + 0x90]
call fcn.140047e70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.140023400
jmp 0x14005a79d
cmp qword [rsp + 0x220], rbx
jb 0x14005a778
mov r15d, dword [rsp + 0x1a4]
mov r8d, r15d
cmp qword [rsp + 0x220], r15
jb 0x14005a778
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x1a8], ebx
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x14005a762
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1a0], eax
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140059d60
mov rbx, rax
lea rdx, str.CryptEncrypt_failed:__1_x:__2_
lea rcx, [rsp + 0x90]
call fcn.14004a840
nop
lea rdx, [rsp + 0x1a0]
mov rcx, rax
call fcn.14005c7b0
mov rcx, rax
mov rdx, rbx
call fcn.14004bab0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14005c780
lea rcx, [rdi + 0x38]
mov rdx, rax
call fcn.14004e170
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.140023400
nop
lea rcx, [rsp + 0x90]
call fcn.140047e70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.140023400
jmp 0x14005a79d
mov edx, dword [rsp + 0x1a4]
mov qword [r14], rdx
mov rcx, rsi
call fcn.140059e50
mov al, 1
jmp 0x14005a79f
mov r8d, 0x18
lea rdx, str.Insufficient_buffer_size
jmp 0x14005a794
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.Invalid_input_argument
lea rcx, [rdi + 0x38]
call fcn.140023530
xor al, al
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140062f80
add rsp, 0x1c8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005a7c0
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 [0x1400c7008]
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 0x14005a986
test rbx, rbx
je 0x14005a986
test r8, r8
je 0x14005a986
mov r8, qword [rsp + 0x200]
test r8, r8
je 0x14005a986
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 0
jne 0x14005a859
lea rcx, [rdi + 0x38]
mov r8d, shutdown
lea rdx, str.Private_key_is_null
jmp 0x14005a997
mov rcx, rbp
call fcn.140063364
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.140059e50
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 0x14005a94d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x194], eax
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140059d60
mov rbx, rax
lea rdx, str.CryptDecrypt_failed:__1_x:__2_
lea rcx, [rsp + 0x80]
call fcn.14004a840
nop
lea rdx, [rsp + 0x194]
mov rcx, rax
call fcn.14005c7b0
mov rcx, rax
mov rdx, rbx
call fcn.14004bab0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14005c780
lea rcx, [rdi + 0x38]
mov rdx, rax
call fcn.14004e170
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140023400
nop
lea rcx, [rsp + 0x80]
call fcn.140047e70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.140023400
mov rcx, rsi
call fcn.14006335c
jmp 0x14005a99c
mov r8d, dword [rsp + 0x190]
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call fcn.14006335c
mov eax, dword [rsp + 0x190]
cmp qword [r14], rax
jbe 0x14005a97f
mov byte [rax + rbx], 0
mov eax, dword [rsp + 0x190]
mov qword [r14], rax
mov al, 1
jmp 0x14005a99e
add rcx, 0x38
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.Invalid_input_argument
call fcn.140023530
xor al, al
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140062f80
add rsp, 0x1a8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005ad70
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 [0x1400c7008]
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 0x14005adfa
mov ecx, dword [rsp + 0x1b4]
mov qword [rbx], rcx
jmp 0x14005aeec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1b0], eax
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.140059d60
mov rbx, rax
lea rdx, str.CryptCreateHash_failed:__1_x:__2_
lea rcx, [rsp + 0xa0]
call fcn.14004a840
nop
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0x40], rcx
lea rcx, [fcn.140005730]
mov qword [rsp + 0x48], rcx
lea rcx, [0x14005c7e0]
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004ba20
mov qword [rsp + 0x40], rbx
lea rcx, [fcn.140005730]
mov qword [rsp + 0x48], rcx
lea rcx, [0x14004baa0]
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004ba20
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14005c780
mov rbp, rax
lea rbx, [rsi + 0x38]
cmp rbx, rax
je 0x14005aebc
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.140023400
mov rdx, rbp
mov rcx, rbx
call fcn.140022fc0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.140023400
nop
lea rcx, [rsp + 0xa0]
call fcn.140047e70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x80]
call fcn.140023400
movzx eax, dil
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140062f80
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005af20
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 [0x1400c7008]
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 0x14005af9a
mov ecx, dword [rsp + 0x1a4]
mov qword [rbx], rcx
jmp 0x14005b086
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1a0], eax
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140059d60
mov rbx, rax
lea rdx, str.CryptCreateHash_failed:__1_x:__2_
lea rcx, [rsp + 0x90]
call fcn.14004a840
nop
lea rcx, [rsp + 0x1a0]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.140005730]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14005c7e0]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14004ba20
mov qword [rsp + 0x30], rbx
lea rcx, [fcn.140005730]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14004baa0]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14004ba20
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14005c780
mov rsi, rax
lea rbx, [rbp + 0x38]
cmp rbx, rax
je 0x14005b059
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.140023400
mov rdx, rsi
mov rcx, rbx
call fcn.140022fc0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.140023400
nop
lea rcx, [rsp + 0x90]
call fcn.140047e70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.140023400
movzx eax, dil
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140062f80
add rsp, 0x1b8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005dcd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1088
call fcn.1400681e0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400c7008]
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
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]
xor r8d, r8d
mov dl, 1
mov rcx, rax
call fcn.14005d8d0
mov r15, rax
test rax, rax
jne 0x14005dd52
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
jmp 0x14005ddbf
mov dword [rsp + 0x68], 0x1000
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140011360
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.14006335c
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
test ebx, ebx
je 0x14005ddb4
mov rdx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
jmp 0x14005ddbf
lea rdx, [rsp + 0x70]
call fcn.1400113e0
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.140062f80
add rsp, 0x1088
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005ded0
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 [0x1400c7008]
xor rax, rsp
mov qword [rsp + 0x60], rax
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 r8d, r8d
mov dl, 1
mov rcx, rax
call fcn.14005d8d0
mov rbp, rax
test rax, rax
jne 0x14005df3c
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 0x14005dfa9
mov dword [rsp + 0x58], 4
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140011360
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, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14006335c
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14005df25
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.140062f80
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005e070
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 [0x1400c7008]
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]
mov r8b, 1
xor edx, edx
mov rcx, rax
call fcn.14005d8d0
mov rsi, rax
test rax, rax
je 0x14005e114
mov dword [rsp + 0x58], ebp
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140011360
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.14006335c
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.140062f80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005e1e0
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 [0x1400c7008]
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 r8d, r8d
mov dl, 1
mov rcx, rax
call fcn.14005d8d0
mov rbp, rax
test rax, rax
jne 0x14005e24c
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 0x14005e2bb
mov dword [rsp + 0x58], 8
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140011360
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.14006335c
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14005e235
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.140062f80
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005e380
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 [0x1400c7008]
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]
mov r8b, 1
xor edx, edx
mov rcx, rax
call fcn.14005d8d0
mov rsi, rax
test rax, rax
je 0x14005e425
mov qword [rsp + 0x58], rbp
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140011360
mov dword [rsp + 0x28], 8
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, ntohs
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call fcn.14006335c
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.140062f80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006355c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400635ed
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400635ed
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400635ed
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 0x1400635d1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400635cb
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400635d3
add rdx, 0x28
jmp 0x1400635b0
xor edx, edx
test rdx, rdx
jne 0x1400635dc
xor al, al
jmp 0x1400635f3
test dword [rdx + 0x24], 0x80000000
je 0x1400635e9
xor al, al
jmp 0x1400635f3
mov al, 1
jmp 0x1400635f3
xor al, al
jmp 0x1400635f3
add rsp, 0x18
ret
Function at 0x140065a00
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 [0x1400c7030]
cmp ecx, 0xffffffff
jne 0x140065a26
xor esi, esi
jmp 0x140065a2f
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x50], rsi
test rsi, rsi
je 0x140065b23
nop dword [rax]
mov rbx, qword [rsi + 0x18]
cmp qword [rsi + 0x30], 0
jne 0x140065a56
test rbx, rbx
je 0x140065afc
jmp 0x140065a60
test rbx, rbx
je 0x140065ab4
nop dword [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x140065a97
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 0x140065a60
cmp qword [rsi + 0x30], 0
je 0x140065a40
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140065adf
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x140065adf
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.140041b00
cmp qword [rsi + 0x30], 0
jne 0x140065ac0
jmp 0x140065a40
lea rdx, [0x1400647f0]
lea rcx, [0x1400cbd00]
call fcn.1400645c0
mov ecx, dword [0x1400c7030]
cmp ecx, 0xffffffff
je 0x140065b23
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x140065b54
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140065b54
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 0x140065b70
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx]
lea r8, [0x140065c00]
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 0x140065bb5
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 0x140065bd8
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