joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400179c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14003a040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov eax, 1
xchg byte [0x14003b068], al
xor dil, dil
movzx eax, byte [0x14003b06c]
xor esi, esi
test al, al
jne 0x140017ade
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
mov ecx, WSACleanup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
and bl, 1
je 0x140017a57
test al, al
je 0x140017a57
test dil, dil
sete dil
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
test dil, dil
je 0x140017acf
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x44], 2
mov r8d, 0x28
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x44], 4
mov r8d, 0x28
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x14003b06c]
test al, al
je 0x140017a10
mov byte [rsp + 0x20], 1
xchg byte [0x14003b068], sil
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 8]
call fcn.14001eec0
nop
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140028320
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14001fcc0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14001fce1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001fd0e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001fd10
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001fd69
test ecx, ecx
jle 0x14001fd49
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14001fd69
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001fd69
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
or bh, bh
invalid
Function at 0x14001fd90
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14001fdb2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14001fdc1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14001fde4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001fde6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001fe22
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001febe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001fe5d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14001fe9e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14001febe
cmp rbx, rax
ja 0x14001fe70
test rbx, rbx
je 0x14001febe
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
invalid
Function at 0x140020320
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14003a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14002034d
xor eax, eax
jmp 0x1400204b9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140020387
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140020387
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400204b9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400204ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400203ca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400203f5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400204b1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140020464
sub eax, 1
je 0x140020464
cmp eax, 2
jne 0x1400204ac
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400204b1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140020492
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400204ac
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400204b1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140028320
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140021c60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14003a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140021d33
cmp byte [rcx + 0x71], 0
je 0x140021d33
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140021d2f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140021cf4
sub eax, 1
je 0x140021cf8
cmp eax, 2
jne 0x140021d2f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140028320
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140021d26
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140021d2f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140021cdc
xor al, al
jmp 0x140021cdc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140028320
add rsp, 0x60
pop rbx
ret
Function at 0x140027090
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400270f1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400270b0
mov ecx, dword [r9]
jmp 0x1400271db
cmp ecx, 0x4e0
jb 0x1400271db
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140027110
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140027160
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x1400273cc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140027406
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14002740b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140027454
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002dce0]
cmp byte [rcx + rax], 0
je 0x140027454
dec r8
sub rdx, 1
jne 0x14002743a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400290d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002911a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002911a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002911a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002911a
cmp dword [rcx + 0x84], 0xe
jbe 0x14002911a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002911c
xor al, al
add rsp, 0x28
ret
Function at 0x14000f660
Capabilities:
Resume thread

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x1400c2a18]
mov byte [rbp - 9], al
mov byte [0x1400c2a18], 1
mov edx, dword [rcx + 0x40]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r8, [0x14000f7a0]
xor ecx, ecx
mov r9, rsi
call fcn.1400682ac
mov qword [rsi + 0xc0], rax
test rax, rax
jne 0x14000f6c9
lea rdx, str.Error_creating_thread
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.140032570
call fcn.140031c80
mov rcx, rax
call fcn.140001e80
mov rcx, rsi
call fcn.140031d50
mov rcx, qword [rsi + 0xc0]
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
jne 0x14000f700
lea rdx, str.Error_resuming_thread
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.140032570
call fcn.140031c80
mov rcx, rax
call fcn.140001e70
mov rax, rsi
add rsp, 0x48
pop rsi
pop rbp
ret

Function at 0x14000fee0
Capabilities:
Suspend thread

Disassembly:
push rsi
sub rsp, 0x20
cmp byte [0x1400c2a18], 0
jne 0x14000ff1d
cmp qword [0x1400c2958], 0
je 0x14000ff1d
mov eax, dword [0x1400c2a1c]
lea ecx, [rax + 1]
mov dword [0x1400c2a1c], ecx
test eax, eax
jne 0x14000ff3d
call fcn.140031a50
mov rcx, rax
add rsp, 0x20
pop rsi
jmp fcn.14000fc50
call fcn.140031c80
mov rcx, rax
call fcn.140001e80
mov eax, dword [0x1400c2a1c]
inc eax
mov dword [0x1400c2a1c], eax
cmp eax, 1
jbe 0x14000ff43
add rsp, 0x20
pop rsi
ret
call fcn.140031c90
mov rcx, rax
call fcn.140001e80
mov rsi, qword [0x1400c2958]
nop word [rax + rax]
test rsi, rsi
je 0x14000ff7f
mov rcx, rsi
mov rsi, qword [rsi + 0xb8]
call fcn.14000fc50
test al, al
je 0x14000ff60
call fcn.140031a50
jmp 0x14000ff60
call fcn.140031c90
mov rcx, rax
add rsp, 0x20
pop rsi
jmp fcn.140001e70
Function at 0x140010290
Capabilities:
Resume thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, r9
mov edi, r8d
mov rbx, rdx
mov r14, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.14006f9ec
mov qword [rax], r14
mov qword [rax + 8], rbx
mov dword [rsp + 0x3c], 0
xor ebx, ebx
cmp byte [0x1400c2740], 0
jne 0x14001042f
lea rcx, [rsp + 0x3c]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
lea r8, [0x140010450]
xor ebx, ebx
xor ecx, ecx
mov edx, edi
mov r9, rax
call fcn.1400682ac
test rax, rax
je 0x14001042f
mov rdi, rax
mov rbx, qword [rsp + 0x90]
call fcn.140032610
mov rcx, rax
call fcn.140001e80
mov rax, qword [0x1400c2a20]
lea rcx, [rax + 1]
mov qword [0x1400c2a20], rcx
mov rcx, qword [0x1400c2a28]
lea rax, [rax*8 + 8]
lea rdx, [rax + rax*2]
call fcn.14006f9f4
mov qword [0x1400c2a28], rax
mov rcx, qword [0x1400c2a20]
lea rcx, [rcx + rcx*2]
mov edx, dword [rsp + 0x3c]
mov dword [rax + rcx*8 - 0x18], edx
mov qword [rax + rcx*8 - 0x10], rsi
mov qword [rax + rcx*8 - 8], rbx
mov rcx, rdi
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
jne 0x140010381
lea rdx, str.Error_resuming_thread
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.140032570
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
or rsi, rbx
je 0x14001041e
mov rcx, qword [0x1400c2748]
test rcx, rcx
jne 0x1400103c1
lea rdx, [0x140010240]
lea r8, [0x1400c2748]
mov ecx, 6
call sub.KERNEL32.dll_GetModuleHandleExW
test eax, eax
je 0x14001041e
mov rcx, qword [0x1400c2748]
call fcn.140032750
test eax, eax
js 0x14001041e
cmp dword [0x1400c2750], 0
jne 0x14001041e
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x1400103fb
mov qword [rsp + 0x40], 0
lea rdx, [0x140010240]
lea r8, [rsp + 0x40]
mov ecx, 4
call sub.KERNEL32.dll_GetModuleHandleExW
mov qword [rsp + 0x20], 0
lea rdx, [0x140010440]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call fcn.140010290
mov dword [0x1400c2750], eax
mov ebx, dword [rsp + 0x3c]
call fcn.140032610
mov rcx, rax
call fcn.140001e70
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140010480
Capabilities:
Terminate thread

Disassembly:
push rsi
sub rsp, 0x20
call fcn.140032740
test rax, rax
je 0x1400104af
mov rsi, rax
cmp byte [0x1400c2740], 0
je 0x1400104b5
mov rcx, rsi
mov edx, 1
call sub.KERNEL32.dll_TerminateThread
mov edx, 0xa
jmp 0x1400104ba
add rsp, 0x20
pop rsi
ret
mov edx, 0xffffffff
mov rcx, rsi
call sub.KERNEL32.dll_WaitForSingleObject
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp sub.KERNEL32.dll_CloseHandle
Function at 0x140015d80
Capabilities:
Hash data using murmur3

Disassembly:
movabs rax, 0x87c37b91114253d5
imul rax, rcx
movabs r8, 0x88a129ea80000000
imul r8, rcx
shr rax, 0x21
or rax, r8
movabs rcx, 0x4cf5ad432745937f
imul rcx, rax
xor rcx, rdx
rol rcx, 0x1b
lea rax, [rcx + rcx*4]
add rax, 0x52dce729
ret

Function at 0x140022c90
Capabilities:
Delete registry key

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd8], 0xfffffffffffffffe
mov edi, r9d
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0xc8], rdx
mov qword [rbp + 0xd0], r8
call fcn.140041e50
test al, al
je 0x140022d30
mov eax, edi
and eax, 0x300
je 0x140022d30
call fcn.140041ef0
mov eax, dword [0x1400c2dc8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r12, qword [rax + 0x1a8]
lea r15, [rbp - 0x48]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.140022090
mov rcx, r15
call fcn.140022330
mov rcx, rsi
mov rdx, rax
mov r8d, edi
xor r9d, r9d
call r12
mov esi, eax
lea rcx, [rbp - 0x48]
jmp 0x140022d5a
lea rdi, [rbp - 0x48]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140022090
mov rcx, rdi
call fcn.140022330
mov rcx, rsi
mov rdx, rax
call sub.ADVAPI32.dll_RegDeleteKeyW
mov esi, eax
mov rcx, rdi
call fcn.140022270
test esi, esi
jne 0x140022d75
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, [0x1400beb30]
call fcn.14002da30
mov rdi, rax
lea rax, [0x140094df0]
mov qword [rdi], rax
mov qword [rdi + 8], 0
movups xmm0, xmmword [0x140094e58]
movups xmmword [rdi + 0x10], xmm0
movups xmm0, xmmword [0x140094e68]
movups xmmword [rdi + 0x20], xmm0
movups xmm0, xmmword [0x140094e78]
movups xmmword [rdi + 0x30], xmm0
movups xmm0, xmmword [0x140094e88]
movups xmmword [rdi + 0x40], xmm0
mov rax, qword [0x140094e98]
mov qword [rdi + 0x50], rax
lea rcx, [rbp + 0xc8]
call fcn.140022e60
mov r9, rdx
lea rcx, str.stdwindows_registry.d
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0x163
mov qword [rsp + 0x20], reloc.WS2_32.dll_shutdown
mov rcx, rdi
mov edx, esi
mov r8, rax
call fcn.140022450
mov rcx, rdi
call fcn.140011610
int3
Function at 0x140023000
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x170
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe8], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp + 0xd0], rdx
mov qword [rbp + 0xd8], r8
mov dword [rbp + 0xe4], 0xffffffff
lea rdi, [rbp - 0x40]
mov rcx, rdi
call fcn.140022090
mov rcx, rdi
call fcn.140022330
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea r9, [rbp + 0xe4]
mov rcx, rsi
mov rdx, rax
xor r8d, r8d
call sub.ADVAPI32.dll_RegQueryValueExW
test eax, eax
jne 0x140023087
lea rcx, [rbp - 0x40]
call fcn.140022270
mov eax, dword [rbp + 0xe4]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
mov esi, eax
lea rcx, [0x1400beb30]
call fcn.14002da30
mov rdi, rax
lea rax, [0x140094df0]
mov qword [rdi], rax
mov qword [rdi + 8], 0
movups xmm0, xmmword [0x140094e58]
movups xmmword [rdi + 0x10], xmm0
movups xmm0, xmmword [0x140094e68]
movups xmmword [rdi + 0x20], xmm0
movups xmm0, xmmword [0x140094e78]
movups xmmword [rdi + 0x30], xmm0
movups xmm0, xmmword [0x140094e88]
movups xmmword [rdi + 0x40], xmm0
mov rax, qword [0x140094e98]
mov qword [rdi + 0x50], rax
lea rax, [0x140095022]
mov qword [rsp + 0x20], rax
lea rdx, str.Value_cannot_be_opened:__
lea r8, [rbp + 0xd0]
mov ecx, 0x19
mov r9d, 1
call fcn.1400158b0
mov r9, rdx
lea rcx, str.stdwindows_registry.d
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0x1ef
mov qword [rsp + 0x20], reloc.WS2_32.dll_shutdown
mov rcx, rdi
mov edx, esi
mov r8, rax
call fcn.140022450
mov rcx, rdi
call fcn.140011610
int3
Function at 0x140023700
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov rsi, r9
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [r9], xmm0
mov dword [rbp + 0xdc], 0xffffffff
lea rcx, [rbp - 0x48]
call fcn.140022090
lea rcx, [0x1400b7b88]
mov edx, 0x100
call fcn.14002eaa0
mov rbx, rdx
mov qword [rbp + 0xc8], 0x100
mov qword [rbp + 0xd0], rdx
mov ecx, 0x200
call fcn.140003aa0
mov dword [rbp + 0xd8], eax
lea rcx, [rbp - 0x48]
call fcn.140022330
lea r14, [rbp + 0xd8]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xdc]
mov rcx, rdi
mov rdx, rax
xor r8d, r8d
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
je 0x1400237cc
test eax, eax
jne 0x140023920
mov edx, dword [rbp + 0xd8]
shr edx, 1
lea rcx, [rbp + 0xc8]
call fcn.140015210
jmp 0x140023817
mov edx, dword [rbp + 0xd8]
shr edx, 1
lea rcx, [rbp + 0xc8]
call fcn.140015210
lea rcx, [rbp - 0x48]
call fcn.140022330
mov rcx, qword [rbp + 0xd0]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xdc]
mov rcx, rdi
mov rdx, rax
xor r8d, r8d
call sub.ADVAPI32.dll_RegQueryValueExW
test eax, eax
jne 0x140023920
cmp dword [rbp + 0xdc], 7
sete cl
lea r8, [0x140023a10]
xor edx, edx
call fcn.140057ee0
mov eax, dword [rbp + 0x140]
cmp dword [rbp + 0xdc], eax
sete cl
lea r8, [0x140023ab0]
xor edx, edx
call fcn.140057ee0
mov rdx, qword [rbp + 0xc8]
dec rdx
lea rcx, [rbp + 0xc8]
call fcn.140015210
mov rcx, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0xd0]
test rcx, rcx
je 0x1400238a2
cmp word [rdx + rcx*2 - 2], 0
jne 0x1400238a4
dec rcx
lea rax, [rbp + 0xc8]
mov rdx, rcx
mov rcx, rax
call fcn.140015210
mov rcx, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0xd0]
jmp 0x1400238a4
xor ecx, ecx
lea r9, [0x140095138]
mov r8d, 1
call fcn.1400212a0
mov rdi, rdx
mov rcx, rsi
mov rdx, rax
call fcn.140015240
mov rbx, qword [rsi]
mov rsi, qword [rsi + 8]
xor r14d, r14d
cmp r14, rbx
jae 0x140023906
nop word cs:[rax + rax]
mov r15, r14
shl r15, 4
mov rcx, qword [rdi + r15]
mov rdx, qword [rdi + r15 + 8]
call fcn.140003b50
mov qword [rsi + r15], rax
mov qword [rsi + r15 + 8], rdx
inc r14
cmp r14, rbx
jb 0x1400238e0
lea rcx, [rbp - 0x48]
call fcn.140022270
nop
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov esi, eax
lea rcx, [0x1400beb30]
call fcn.14002da30
mov rdi, rax
lea rax, [0x140094df0]
mov qword [rdi], rax
mov qword [rdi + 8], 0
movups xmm0, xmmword [0x140094e58]
movups xmmword [rdi + 0x10], xmm0
movups xmm0, xmmword [0x140094e68]
movups xmmword [rdi + 0x20], xmm0
movups xmm0, xmmword [0x140094e78]
movups xmmword [rdi + 0x30], xmm0
movups xmm0, xmmword [0x140094e88]
movups xmmword [rdi + 0x40], xmm0
mov rax, qword [0x140094e98]
mov qword [rdi + 0x50], rax
lea rax, str.stdwindows_registry.d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x261
mov qword [rsp + 0x20], reloc.WS2_32.dll_shutdown
lea r9, str.Cannot_read_the_requested_value
mov r8d, 0x1f
mov rcx, rdi
mov edx, esi
call fcn.140022450
mov rcx, rdi
call fcn.140011610
int3