joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001160
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r9, [0x140001100]
mov rbx, rcx
lea r8, str.help
call fcn.140002970
mov edi, eax
test eax, eax
je 0x140001196
xor ecx, ecx
call fcn.140001970
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp dword [rbx], 0
jne 0x1400011b9
cmp byte [0x140358601], 0
jne 0x1400011b9
call fcn.140001630
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140001ac0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x14035860c], 0
jne 0x140001bf3
inc dword [0x140358608]
lea rcx, str.UMASK
mov byte [0x14035860c], 1
mov dword [0x1401a48a4], 0x1b0
mov dword [0x1401a48b0], 0x1c0
mov dword [0x14035886c], 0
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001b21
mov rcx, rax
call fcn.140001900
or eax, 0x180
mov dword [0x1401a48a4], eax
lea rcx, str.UMASK_DIR
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001b46
mov rcx, rax
call fcn.140001900
or eax, 0x1c0
mov dword [0x1401a48b0], eax
call fcn.140004310
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [0x140358648]
mov qword [0x140358618], rax
lea rax, [0x140358618]
mov qword [0x140358610], rax
lea rax, str.unknown
mov qword [0x140358650], rax
mov qword [0x140358620], 0
test rcx, rcx
je 0x140001ba0
call fcn.140005120
add rax, qword [0x140358648]
mov qword [0x140358650], rax
call fcn.140004310
call fcn.140004a90
test al, al
je 0x140001bb5
mov al, 1
add rsp, 0x28
ret
lea rcx, str.HOME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [0x140358640], rax
test rax, rax
je 0x140001be4
mov rdx, rax
lea rcx, [0x140358880]
call fcn.1400051e0
mov qword [0x140358640], rax
call fcn.1400052c0
call fcn.140001c10
call fcn.140001cf0
xor al, al
add rsp, 0x28
ret
Function at 0x140001c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
lea rcx, [0x140001c00]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__tzset]
add rsp, 0x28
jmp 0x140001da0
push rbp
lea rbp, [rsp - 0x980]
sub rsp, 0xa80
mov rax, qword [0x1403585a0]
xor rax, rsp
mov qword [rbp + 0x970], rax
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMySQL
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001f1e
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x60]
mov qword [rsp + 0xa90], rbx
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x48]
mov qword [rsp + 0xa98], rdi
xor edi, edi
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ebx, edi
mov dword [rsp + 0x44], 0xff
mov dword [rsp + 0x40], 0x3ff
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x140001f03
nop dword [rax]
inc ebx
cmp eax, 0xea
je 0x140001eaf
test eax, eax
jne 0x140001f03
cmp dword [rsp + 0x48], 1
jne 0x140001eaf
lea r9, [rbp + 0x60]
mov qword [rsp + 0x20], rdi
lea r8, [0x140055990]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x460]
call fcn.14000c170
lea rcx, [rbp + 0x460]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x60]
mov dword [rsp + 0x44], 0xff
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x3ff
mov qword [rsp + 0x28], rax
mov edx, ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x140001e60
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0xa98]
mov rbx, qword [rsp + 0xa90]
mov rcx, qword [rbp + 0x970]
xor rcx, rsp
call fcn.140036e50
add rsp, 0xa80
pop rbp
ret
Function at 0x140001c30
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesTcpipParameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140001cd7
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesWinsock2Parameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140001cd7
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesWinsockParameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140001cd7
lea rcx, str.HAVE_TCPIP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001cd0
cmp byte [0x14035860d], 0
je 0x140001cd7
xor al, al
add rsp, 0x38
ret
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x38
ret

Function at 0x140001cf0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1403585a0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
call fcn.140001c30
test al, al
je 0x140001d77
mov qword [rsp + 0x1d0], rbx
lea rdx, [rsp + 0x20]
mov ebx, 0x202
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140001d37
cmp word [rsp + 0x20], bx
je 0x140001d4e
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, ebx
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140001d55
mov byte [0x14035860d], 1
mov rbx, qword [rsp + 0x1d0]
xor al, al
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140036e50
add rsp, 0x1d8
ret
xor al, al
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140036e50
add rsp, 0x1d8
ret
Function at 0x140001da0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
lea rcx, [0x140001c00]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__tzset]
add rsp, 0x28
jmp 0x140001da0
push rbp
lea rbp, [rsp - 0x980]
sub rsp, 0xa80
mov rax, qword [0x1403585a0]
xor rax, rsp
mov qword [rbp + 0x970], rax
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMySQL
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001f1e
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x60]
mov qword [rsp + 0xa90], rbx
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x48]
mov qword [rsp + 0xa98], rdi
xor edi, edi
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ebx, edi
mov dword [rsp + 0x44], 0xff
mov dword [rsp + 0x40], 0x3ff
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x140001f03
nop dword [rax]
inc ebx
cmp eax, 0xea
je 0x140001eaf
test eax, eax
jne 0x140001f03
cmp dword [rsp + 0x48], 1
jne 0x140001eaf
lea r9, [rbp + 0x60]
mov qword [rsp + 0x20], rdi
lea r8, [0x140055990]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x460]
call fcn.14000c170
lea rcx, [rbp + 0x460]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x60]
mov dword [rsp + 0x44], 0xff
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x3ff
mov qword [rsp + 0x28], rax
mov edx, ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x140001e60
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0xa98]
mov rbx, qword [rsp + 0xa90]
mov rcx, qword [rbp + 0x970]
xor rcx, rsp
call fcn.140036e50
add rsp, 0xa80
pop rbp
ret

Function at 0x140004a90
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
cmp byte [0x140358b38], 0
je 0x140004aa4
xor al, al
add rsp, 0x28
ret
cmp byte [0x140358b30], 0
mov qword [rsp + 0x20], rbx
mov byte [0x140358b38], 1
jne 0x140004af8
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
xor ebx, ebx
mov dword [0x1403616d0], eax
cmp eax, 0xffffffff
sete bl
jne 0x140004af8
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Cant_initialize_threads:_error__d_n
mov rcx, rax
call fcn.140001010
mov rbx, qword [rsp + 0x20]
mov al, 1
add rsp, 0x28
ret
mov byte [0x140358b30], 1
call fcn.140004dd0
call fcn.140004b30
test al, al
jne 0x140004aec
call fcn.1400044e0
mov dword [0x140360fb8], eax
call fcn.140004c90
mov rbx, qword [rsp + 0x20]
xor al, al
add rsp, 0x28
ret
Function at 0x140004ec0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov rdx, rcx
mov ecx, dword [0x1403616d0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140005340
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1403585a0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x14035cb78]
test rax, rax
jne 0x1400053f7
movzx eax, word [0x140057028]
lea r8, [rsp + 0x22]
mov word [rsp + 0x20], ax
mov edx, 0x1004
movzx eax, byte [0x14005702a]
mov ecx, 0x800
mov byte [rsp + 0x22], al
xor eax, eax
mov dword [rsp + 0x23], eax
mov word [rsp + 0x27], ax
mov byte [rsp + 0x29], al
lea r9d, [rax + 7]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor edx, edx
lea r8, [rsp + 0x20]
mov eax, edx
lea r9, str.cp932
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
inc rax
cmp cl, byte [r9 + rax - 1]
jne 0x1400053d7
cmp rax, 6
jne 0x1400053c0
jmp 0x1400053dc
sbb edx, edx
or edx, 1
test edx, edx
lea rcx, [0x1401d14c0]
lea rax, [0x1401cb6a0]
cmove rax, rcx
mov qword [0x14035cb78], rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140036e50
add rsp, 0x48
ret

Function at 0x140037500
Capabilities:
Parse pe header

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

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.00b37180
sub rsp, rax
movaps xmmword [rsp + 0x1490], xmm15
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm12
movaps xmmword [rsp + 0x1450], xmm11
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1430], xmm9
movdqa xmmword [rsp + 0x1420], xmm8
movaps xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
movdqa xmm9, xmmword [0x00b3f5e0]
xor eax, eax
movdqa xmm12, xmmword [0x00b3f5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x00b3f610]
movdqa xmm6, xmmword [0x00b3f630]
movdqa xmm13, xmmword [0x00b3f670]
movdqa xmm14, xmmword [0x00b3f680]
movdqa xmm15, xmmword [0x00b3f690]
movdqa xmm7, xmmword [0x00b3f6a0]
movdqa xmm10, xmmword [0x00b3f6b0]
movdqa xmm11, xmmword [0x00b3f6c0]
nop dword [rax + rax]
Function at 0xb10140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x191985c
test byte [rsi + 0xf000002], dh
test dword [rax + 2], esi
add byte [rax], al
add byte [rax - 0x3f7bc3fc], cl
mov rax, qword [rcx + 0x10]
mov edx, dword [rcx + 0x3c]
jmp 0xb1020a
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 8], 0x5b41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xa], 0x5a41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xc], 0x5941
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xe], 0x5841
je 0xb102b4
jne 0xb102b4
jmp 0x21feb52
ret
mov qword [rcx + 0x10], rdx
jmp 0xb10385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0xb1014e
cmp edx, 0x8664
je 0xb102d1
cmp edx, 0x14c
jne 0xb1018b
je 0xb1026b
jne 0xb1026b
jmp 0xb18bbe
jne 0xb102c6
add byte [rax], al
add byte [rax], al
jmp 0xb10193
jne 0xb10342
je 0x10fa8d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0xb10303
jne 0xb10303
jmp 0xb102f4
je 0xb10285
jne 0xb10285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0xb1018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0xb1028c
jne 0xb1028c
je 0x2c14706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0xb10342
jmp 0xb101e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0xb102c6
jmp 0xb101d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0xb1024b
mov rdx, qword [rcx + 8]
mov byte [rdx + rax], 0x5f
mov rdx, qword [rcx + 8]
mov byte [rax + rdx + 1], 0x5e
mov rdx, qword [rcx + 8]
je 0xb1023c
jne 0xb1023c
jmp 0xb02972
jmp 0xb101b0
jne 0xb102f4
mov byte [r9 + rdx + 0x12], 0x5d
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x13], 0x5b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x14], 0x5a
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x15], 0x59
jmp 0xb102dd
je 0x9028e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0xb10228
jne 0xb10317
jmp 0x5c14790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0xb102e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0xb10339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0xb10212
jne 0xb10212
jmp 0xb102b2
jmp 0xb101a0
je 0xb10317
jmp 0xb102c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0xb10383
jne 0xb10383
jmp 0xb10317
mov qword [rcx + 0x10], rdx
mov byte [r8 + r9], 0xe5
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
jmp 0xb1035d
lea rdx, [r9 + 1]
jmp 0xb102f9
mov qword [rcx + 0x10], rdx
je 0xb1036d
jne 0xb1036d
jmp 0x9028e8e
mov rdx, qword [rcx + 8]
je 0xb1025f
jne 0xb1025f
je 0xb01641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0xb101e1
jne 0xb101e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0xb101ed
jne 0xb101ed
jmp 0xffffffffc6f4ae72
jmp 0xb1032f
mov byte [r8 + r9], 0x5d
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov word [r8 + r9], 0x5f41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 2], 0x5e41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 4], 0x5d41
je 0xb102f4
jmp 0xb1028a
invalid
Function at 0xb1a860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0xb1aab8
mov edi, edx
jmp 0xb1ab91
je 0xb1aabe
jne 0xb1aabe
je 0x54070218
push rsi
push rdi
push rbp
push rbx
jmp 0xb1abba
sub rsp, 0xa8
jmp 0xb1a9b8

Function at 0xb28c50
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x00b3fbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret

Function at 0xb28d90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x50], rcx
mov eax, dword [rdx]
mov dword [rsp + 0xc], eax
mov eax, dword [rdx + 4]
mov dword [rsp + 0x10], eax
mov eax, dword [rdx + 8]
mov dword [rsp + 0x14], eax
mov r12d, dword [rdx + 0xc]
mov r13d, dword [rdx + 0x10]
mov r14d, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x18]
mov r10d, dword [rdx + 0x1c]
mov edi, dword [rdx + 0x20]
mov r11d, dword [rdx + 0x24]
mov ebx, dword [rdx + 0x28]
mov ebp, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x30]
mov eax, dword [rdx + 0x34]
mov r9d, dword [rdx + 0x38]
mov r8d, dword [rdx + 0x3c]
mov dword [rsp + 0x4c], 0xfffffff8
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], ecx
mov edx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 8], ebp
mov dword [rsp + 0x34], ebx
mov dword [rsp], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x2c], edi
mov ebp, edi
mov dword [rsp + 0x28], r10d
mov edi, r10d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
mov dword [rsp + 0x1c], r13d
mov dword [rsp + 0x18], r12d
mov r14d, r12d
mov r12d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov ecx, dword [rsp + 0xc]
nop

Function at 0xb2ed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0xb2ed8b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x40], rax
xor eax, eax
ret
mov eax, 1
ret
Function at 0xb2f7b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.00b2f520
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.00b2c170
mov rcx, rdi
mov rdx, rbx
call fcn.00b2c0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0xb2f810
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0xb2f830
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.00b29570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.00b29200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.00b29220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.00b2b4a0
mov rcx, rbx
mov rdx, rbx
call fcn.00b29800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.00b29fa0
lea rcx, [rsp + 0x80]
call fcn.00b29200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.00b291e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.00b29550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.00b29200
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.00b293b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.00b293b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.00b2b4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.00b2b4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00b29220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.00b29220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.00b29fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.00b29fa0
mov rcx, rbp
mov rdx, rbx
call fcn.00b29a90
mov rcx, rbx
mov rdx, rsi
call fcn.00b29a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.00b29220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.00b2b4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.00b29fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.00b2b4a0
mov rcx, rdi
mov rdx, rdi
call fcn.00b29a90
mov rcx, r14
mov rdx, rbx
call fcn.00b2aae0
mov rcx, r12
mov rdx, r12
call fcn.00b29a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.00b29220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.00b29fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.00b29fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0xb2f900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.00b293b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.00b293b0
mov rcx, rdi
mov rdx, rdi
call fcn.00b29800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00b29fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.00b2a810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000b300
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400157e0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400157e0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000b370
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140b620a4]
mov rbx, rcx
test esi, esi
jle 0x14000b4a0
mov rax, qword [0x140b620a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b3bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b445
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b3a0
mov rcx, rbx
call fcn.14000bdc0
mov rdi, rax
test rax, rax
je 0x14000b4c2
mov rax, qword [0x140b620a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000bf00
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140b620a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b4a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000b43e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000b450
add dword [0x140b620a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140b620a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b43e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b300
nop dword [rax]
xor esi, esi
jmp 0x14000b3c8
mov rax, qword [0x140b620a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b300
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b300
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000ba30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140b62100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140b620e0]
test rbx, rbx
je 0x14000ba8c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000ba83
test rsi, rsi
je 0x14000ba83
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000ba68
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]