joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e990
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
sub rsp, 0x68
mov rbp, rdx
call fcn.140008e10
mov r15, rax
test rax, rax
jne 0x14001e9b0
add rsp, 0x68
pop r15
pop rbp
ret
mov qword [rsp + 0x60], rsi
mov ecx, 0x20
mov qword [rsp + 0x48], r13
call fcn.140038534
mov r13, rax
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x14001ebe2
mov rcx, rax
call fcn.140004b90
test al, al
je 0x14001ebe2
mov rdx, r15
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000c130
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001ea35
mov rcx, qword [rsp + 0x30]
call fcn.140038520
jmp 0x14001ebe2
mov qword [rsp + 0x50], r12
mov rdx, rbp
mov rcx, r15
mov qword [rsp + 0x40], r14
call fcn.14001ed60
mov rcx, qword [rsp + 0x30]
mov r12, rax
call fcn.140038520
mov r14d, 1
cmp r14, r12
ja 0x14001ebcd
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x58], rdi
nop dword [rax]
nop word [rax + rax]
mov ecx, r14d
mov dword [rsp + 0x98], 1
call fcn.14001d140
mov rbx, rax
mov rcx, rsi
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14001eaa0
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rbp + rax*2], 0
jne 0x14001eab0
add rcx, rax
lea rcx, [rcx*2 + 2]
call fcn.140038534
mov rdi, rax
test rax, rax
je 0x14001ebb4
mov r8, rax
mov rdx, rbp
sub r8, rbp
movzx ecx, word [rdx]
mov word [r8 + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x14001eae0
add rax, 0xfffffffffffffffe
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x14001eaf5
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rbx + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x14001eb10
mov rcx, rbx
call fcn.140038520
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x98]
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov dword [rsp + 0x90], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001ebac
mov ecx, dword [rsp + 0x90]
call fcn.140038534
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x98]
mov rbx, rax
xor r8d, r8d
lea rax, [rsp + 0x90]
mov rdx, rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, rbx
mov rcx, r13
call fcn.140004950
mov rcx, rdi
call fcn.140038520
inc r14
cmp r14, r12
jbe 0x14001ea80
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
cmp word [r15 + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x14001ebe2
lea r8, [rsi + rsi]
xor edx, edx
mov rcx, r15
call fcn.1400376d0
mov rcx, r15
call fcn.140038520
mov rsi, qword [rsp + 0x60]
mov rax, r13
mov r13, qword [rsp + 0x48]
add rsp, 0x68
pop r15
pop rbp
ret
Function at 0x14001ee80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
or r8d, 1
mov dword [rsp + 0x30], 1
mov rdi, r9
lea rax, [rsp + 0x38]
mov r9d, r8d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001ef2d
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001ef22
mov ecx, dword [rsp + 0x60]
call fcn.140038534
mov rbx, rax
test rax, rax
je 0x14001ef22
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14001ef22
mov rcx, rbx
call fcn.140038520
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001efd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x9b0]
sub rsp, 0xab0
mov r15, r8
mov r14, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
mov rsi, r9
call fcn.1400376d0
xor r12d, r12d
mov dword [rsp + 0x70], 0x104
mov dword [rsp + 0x6c], r12d
test rbx, rbx
je 0x14001f21a
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x70]
lea rax, [rsp + 0x7c]
mov rcx, rbx
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14001f21a
mov ecx, dword [rsp + 0x68]
lea rcx, [rcx*2 + 2]
call fcn.140038534
mov rdi, rax
test rax, rax
je 0x14001f21a
mov ecx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x60], ecx
mov ecx, dword [rsp + 0x6c]
mov dword [rsi], ecx
mov rcx, qword [rbp + 0xa00]
mov dword [rcx], eax
cmp word [r14], r12w
je 0x14001f0e2
mov rcx, rdi
call fcn.140038520
mov al, 1
jmp 0x14001f21c
test eax, eax
je 0x14001f212
mov rsi, qword [rbp + 0xa08]
mov ebx, r12d
mov rcx, qword [rbp + 0x9e0]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x38], r12
mov r8, rdi
mov qword [rsp + 0x30], r12
mov edx, ebx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x60], 0x3fff
mov word [rdi], r12w
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov eax, dword [rsp + 0x64]
cmp ebx, eax
jae 0x14001f208
nop word [rax + rax]
mov rcx, qword [rbp + 0x9e0]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x38], r12
mov r8, rdi
mov qword [rsp + 0x30], r12
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x60], 0x3fff
mov word [rdi], r12w
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14001f1fa
xor edx, edx
mov dword [rsp + 0x78], 1
mov r8d, 0x800
lea rcx, [rbp + 0x1b0]
call fcn.1400376d0
lea rax, [rbp + 0x9e0]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001f1fa
mov rcx, qword [rbp + 0x9e0]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
lea rax, [rbp + 0x1b0]
mov dword [rsp + 0x74], 0x400
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001f0d3
mov eax, dword [rsp + 0x64]
inc ebx
cmp ebx, eax
jb 0x14001f140
inc ebx
cmp ebx, eax
jb 0x14001f0f4
mov rcx, rdi
call fcn.140038520
xor al, al
lea r11, [rsp + 0xab0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14001f240
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov dword [rsp + 0x34], 3
mov rdx, rcx
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
mov rbx, r9
mov rdi, r8
call fcn.14000c130
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14001f2c6
call fcn.140038520
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.140038520
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001f2b1
mov eax, dword [rsp + 0x30]
test rdi, rdi
je 0x14001f349
cmp dword [rbx], eax
jb 0x14001f349
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001f34b
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov dword [rbx], eax
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14001f360
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rbx, r8
mov r14, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
xor edi, edi
call fcn.1400376d0
lea rax, [rsp + 0x68]
mov dword [rsp + 0x74], 0x104
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x70], edi
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001f3cf
xor eax, eax
jmp 0x14001f50e
mov rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x74]
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea rax, [rsp + 0x78]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001f500
mov rcx, qword [rsp + 0x78]
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x60]
mov r8, r14
mov qword [rsp + 0x20], rax
mov rdx, rsi
call fcn.14001efd0
mov rcx, qword [rsp + 0x78]
movzx ebx, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x14001f500
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov dword [rsp + 0x60], 1
mov dword [rbp + 0x1e8], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001f500
mov ecx, dword [rbp + 0x1e8]
call fcn.140038534
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov rdi, rax
xor r8d, r8d
lea rax, [rbp + 0x1e8]
mov rdx, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14001f8c0
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14001f953
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
je 0x14001f94e
mov rdx, rcx
lea r8, [0x14007422c]
lea rcx, [rsp + 0x40]
call fcn.14003f6cc
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001f94e
call fcn.14003a830
test eax, eax
jne 0x14001f91f
mov r9, qword [rsp + 0x40]
lea edx, [rax + 3]
lea r8d, [rax + 1]
mov word [rsp + 0x30], 0xbbef
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x32], 0xbf
call fcn.14003f4c0
mov rcx, rbx
call fcn.140008bb0
mov rbx, rax
test rax, rax
je 0x14001f944
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.14003f828
mov rcx, rbx
call fcn.140038520
mov rcx, qword [rsp + 0x40]
call fcn.14003ada4
add rsp, 0x20
pop rbx
ret
Function at 0x140020410
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
je 0x1400204a4
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov qword [rsp + 0x30], rdi
mov rbx, rdx
mov rdi, rcx
mov esi, r8d
sub rdi, rdx
mov rbp, rcx
add rdi, 0xf0
dec rsi
shr rsi, 4
inc rsi
nop dword [rax]
movups xmm0, xmmword [rbx]
mov rdx, rbp
mov rcx, rbx
call fcn.140020890
mov ecx, sendto
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140020470
sub rdi, 0x10
movups xmmword [rbp + 0xf0], xmm0
sub rsi, 1
jne 0x140020450
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret

Function at 0x1400204b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, rdx
lea r9, [rcx + 0xf0]
mov rsi, rcx
test r8d, r8d
je 0x140020529
dec rdi
shr rdi, 4
inc rdi
nop dword [rax]
nop word [rax + rax]
mov rax, rbx
sub r9, rbx
mov edx, sendto
nop dword [rax + rax]
movzx ecx, byte [r9 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140020500
mov rdx, rsi
mov rcx, rbx
call fcn.140020590
mov r9, rbx
add rbx, 0x10
sub rdi, 1
jne 0x1400204f0
movups xmm0, xmmword [r9]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
movups xmmword [rsi + 0xf0], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140020890
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
sub rsi, rcx
mov r9d, 4
nop dword [rax]
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [rsi + rcx + 0xe0]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1400208d0
sub r9, 1
jne 0x1400208c0
mov bpl, SafeArrayDestroy
lea rdi, [rsi + 0xd0]
lea r14, [0x1400744b0]
nop word [rax + rax]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140020970
inc r8
sub r9, 1
jne 0x140020960
mov rax, rbx
lea r8d, [rdx + 4]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rdi + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x1400209b0
sub r8, 1
jne 0x1400209a0
mov rcx, rbx
call fcn.140020ab0
sub rdi, 0x10
add bpl, 0xff
jne 0x140020900
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140020a50
inc r8
sub r9, 1
jne 0x140020a40
lea edx, [r9 + 4]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [rbx + rsi]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140020a80
sub rdx, 1
jne 0x140020a72
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140022f30
Capabilities:
Get hostname
Get local ipv4 addresses

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor edi, edi
lea r8, [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x50], edi
lea ecx, [rdi + 6]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [rsp + 0x50]
cmp eax, 1
jbe 0x140022386
lea rcx, [rax*2 + 2]
call fcn.140038534
mov rbx, rax
test rax, rax
je 0x140022386
lea r8, [rsp + 0x50]
mov rdx, rax
lea ecx, [rdi + 6]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov rax, rbx
add rsp, 0x38
pop rdi
pop rbx
ret
xor edx, edx
mov dword [rsp + 0x50], edi
lea r8, [rsp + 0x50]
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [rsp + 0x50]
cmp eax, 1
jbe 0x1400223d5
lea rcx, [rax*2 + 2]
call fcn.140038534
mov rbx, rax
test rax, rax
je 0x1400223d5
lea r8, [rsp + 0x50]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov rax, rbx
add rsp, 0x38
pop rdi
pop rbx
ret
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140024c50
test al, al
je 0x1400224dd
mov ecx, 0x1c0
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x58], 0x1c0
call fcn.140038534
mov rbp, rax
test rax, rax
je 0x1400224d8
xor r8d, r8d
lea rax, [rsp + 0x58]
mov r9, rbp
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x10]
lea ecx, [rdx - 0xe]
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x14002244b
mov rcx, rbp
call fcn.140038520
mov ecx, dword [rsp + 0x58]
call fcn.140038534
mov rbp, rax
test rax, rax
je 0x1400224d8
xor r8d, r8d
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x58]
mov r9, rbp
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x10]
lea ecx, [rdx - 0xe]
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x1400224cb
mov rbx, rbp
test rbp, rbp
je 0x1400224c0
nop dword [rax + rax]
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x1400224b7
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2 + 8], di
jne 0x140022493
test rcx, rcx
je 0x1400224b7
lea rcx, [rcx*2 + 2]
call fcn.140038534
mov rsi, rax
test rax, rax
jne 0x1400224e7
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140022480
mov rcx, rbp
call fcn.140038520
mov rbp, rdi
mov rcx, rbp
call fcn.140038520
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
mov rax, rdi
add rsp, 0x38
pop rdi
pop rbx
ret
mov rcx, qword [rbx + 0x1b8]
mov rdx, rsi
add rcx, 8
sub rdx, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140022500
mov rcx, rbp
call fcn.140038520
mov rdi, rsi
jmp 0x1400224d3
jmp 0x140022330

Function at 0x140022f40
Capabilities:
Get mac address on windows

Disassembly:
mov ecx, 1
jmp fcn.140022520
Function at 0x140027310
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002732a
test al, 0x10
je 0x14002732a
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x140027340
Capabilities:
Read file on windows

Disassembly:
push r14
push r15
sub rsp, 0x58
mov r15, rdx
lea r8, [0x14005e790]
mov rdx, rcx
xor r14d, r14d
lea rcx, [rsp + 0x80]
call fcn.14003f724
mov r9, qword [rsp + 0x80]
test r9, r9
jne 0x14002737f
lea eax, [r14 + 1]
add rsp, 0x58
pop r15
pop r14
ret
xor eax, eax
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
mov word [rsp + 0x30], ax
lea rcx, [rsp + 0x20]
mov rbx, r14
movups xmmword [rsp + 0x20], xmm0
lea edx, [rax + 0x12]
lea r8d, [rax + 1]
call fcn.1400427c8
test rax, rax
jne 0x1400273b5
lea r14d, [rax + 2]
jmp 0x1400274c3
lea rdx, [0x140074dd0]
lea rcx, [rsp + 0x20]
call fcn.1400090d0
test eax, eax
je 0x1400273d5
mov r14d, 3
jmp 0x1400274c3
movzx eax, byte [rsp + 0x31]
mov qword [rsp + 0x78], rbp
movzx ebp, byte [rsp + 0x30]
shl ebp, 8
add ebp, eax
mov qword [rsp + 0x40], r12
mov ecx, ebp
mov r12d, ebp
call fcn.140038534
mov rbx, rax
test rax, rax
jne 0x140027409
lea r14d, [rax + 4]
jmp 0x1400274b9
mov rcx, qword [rsp + 0x80]
xor r8d, r8d
mov edx, ebp
call fcn.14003b010
mov r9, qword [rsp + 0x80]
mov r8d, 1
mov rdx, r12
mov rcx, rbx
call fcn.1400427c8
test rax, rax
je 0x1400274b9
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
cmp byte [rbx], 0xa
jne 0x140027491
movzx esi, byte [rbx + 3]
mov edi, r14d
movzx eax, byte [rbx + 4]
shl esi, 8
add esi, eax
je 0x140027491
nop
lea eax, [rdi*2 + 8]
mov r8, r15
movzx edx, byte [rax + rbx]
lea eax, [rdi*2 + 9]
movzx ecx, byte [rax + rbx]
shl rdx, 8
lea rax, [rbx + rdx]
mov edx, ebp
add rcx, rax
call fcn.1400276e0
inc edi
cmp edi, esi
jb 0x140027460
mov r9, qword [rsp + 0x80]
mov r8d, 1
mov rdx, r12
mov rcx, rbx
call fcn.1400427c8
test rax, rax
jne 0x140027447
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x78]
mov r12, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.14003ada4
mov rcx, rbx
call fcn.140038520
mov rbx, qword [rsp + 0x70]
mov eax, r14d
add rsp, 0x58
pop r15
pop r14
ret
Function at 0x14002a0e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x140064018]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rsi, rdx
mov qword [rsp + 0x30], rdx
mov rbx, rcx
call fcn.14002a050
mov qword [rsp + 0x28], rax
mov rdi, rax
test rsi, rsi
je 0x14002a2cc
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], r14
mov qword [rsp + 0x150], r15
test rbx, rbx
je 0x14002a2a2
test rax, rax
je 0x14002a2a2
xor esi, esi
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.140029bf0
mov r14, qword [rsp + 0x20]
mov r13, rax
cmp r14, 0x10
jae 0x14002a17f
mov rcx, rax
call fcn.140038520
jmp 0x14002a2a4
test r14b, 0xf
jne 0x14002a2a4
cmp r14, 0x20
jb 0x14002a2a4
lea r12, [r14 - 0x10]
mov edx, 1
mov rcx, r12
call fcn.14003853c
mov r15, rax
test rax, rax
je 0x14002a293
lea rdx, [r13 + 0x10]
mov qword [rsp + 0x1a0], rbp
mov r8, r12
mov rcx, rax
call fcn.1400372c0
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140034420
movups xmm0, xmmword [r13]
lea eax, [r14 - 0x10]
mov rbx, r15
mov ebp, eax
movaps xmmword [rsp + 0x130], xmm0
test eax, eax
je 0x14002a256
lea rdi, [rsp + 0x130]
sub rdi, r15
dec rbp
shr rbp, 4
inc rbp
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140034ea0
mov ecx, sendto
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x14002a230
sub rdi, 0x10
movaps xmmword [rsp + 0x130], xmm0
sub rbp, 1
jne 0x14002a210
mov rdi, qword [rsp + 0x28]
mov rcx, r13
call fcn.140038520
movsx rcx, byte [r14 + r15 - 0x11]
mov rbp, qword [rsp + 0x1a0]
lea rax, [rcx - 1]
cmp rax, 0xf
ja 0x14002a298
sub r14, rcx
sub r14, 0x10
cmp r14, r12
jae 0x14002a293
sub r12, r14
lea rcx, [r14 + r15]
mov r8, r12
xor edx, edx
call fcn.1400376d0
mov rsi, r15
jmp 0x14002a2a4
mov rcx, r15
call fcn.140038520
jmp 0x14002a2a4
xor esi, esi
mov rax, qword [rsp + 0x30]
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov r13, qword [rsp + 0x160]
mov r12, qword [rsp + 0x168]
mov qword [rax], rsi
mov rcx, rdi
call fcn.140038520
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140036180
add rsp, 0x170
pop rdi
pop rsi
pop rbx
ret