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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rdi, rcx
mov rbx, rdx
mov ecx, 0x20
call fcn.14002fc3c
mov r15, rax
test rax, rax
je 0x14001cbce
mov rcx, rax
call fcn.1400046a0
test al, al
je 0x14001cbce
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x1fe
call fcn.14002ec20
lea r8, [rsp + 0x40]
mov dword [rbp + 0x1a0], 0xff
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14001cbce
mov rcx, qword [rsp + 0x40]
lea r9, [rbp + 0x1a0]
xor r13d, r13d
lea r8, [rsp + 0x50]
mov qword [rsp + 0x38], r13
xor edx, edx
mov qword [rsp + 0x30], r13
mov r12d, r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14001cbc3
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], r13
xor r8d, r8d
mov dword [rbp + 0x1a0], 0xff
inc r12d
mov dword [rbp + 0x1a8], 3
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001cbce
mov ecx, dword [rbp + 0x1a0]
call fcn.14002fc3c
mov rcx, qword [rsp + 0x40]
lea r9, [rbp + 0x1a8]
mov rsi, rax
lea rdx, [rsp + 0x50]
lea rax, [rbp + 0x1a0]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001cbec
lea ecx, [rax + 0x10]
call fcn.14002fc3c
mov r14, rax
test rax, rax
je 0x14001cb85
lea rax, [rsp + 0x50]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x14001cac0
inc rcx
mov edx, 2
call fcn.14002f9e8
mov qword [r14], rax
test rax, rax
je 0x14001cb03
lea rdx, [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
mov word [rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001caf0
mov ecx, dword [rbp + 0x1a0]
mov edx, 1
inc ecx
call fcn.14002f9e8
mov rbx, rax
test rax, rax
je 0x14001cb46
test rsi, rsi
je 0x14001cb46
mov ecx, r13d
cmp dword [rbp + 0x1a0], ecx
jbe 0x14001cb46
nop dword [rax]
mov r8d, ecx
inc ecx
movzx edx, byte [r8 + rsi]
mov byte [r8 + rax], dl
cmp ecx, dword [rbp + 0x1a0]
jb 0x14001cb30
mov ecx, recvfrom
call fcn.14002fc3c
mov rdi, rax
test rax, rax
je 0x14001cb76
mov ecx, 4
mov qword [rax], rbx
call fcn.14002fc3c
mov qword [rdi + 8], rax
test rax, rax
je 0x14001cb76
mov ecx, dword [rbp + 0x1a0]
mov dword [rax], ecx
mov rdx, r14
mov qword [r14 + 8], rdi
mov rcx, r15
call fcn.140004460
mov rcx, rsi
call fcn.14002fc28
mov rcx, qword [rsp + 0x40]
lea r9, [rbp + 0x1a0]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r13
mov edx, r12d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14001ca10
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x290]
mov rax, r15
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.14002fc28
jmp 0x14001cbce
Function at 0x14001ce00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
sub rsp, 0x68
mov rbp, rdx
call fcn.140008330
mov r15, rax
test rax, rax
jne 0x14001ce20
add rsp, 0x68
pop r15
pop rbp
ret
mov qword [rsp + 0x60], rsi
mov ecx, 0x20
mov qword [rsp + 0x48], r13
call fcn.14002fc3c
mov r13, rax
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x14001d022
mov rcx, rax
call fcn.1400046a0
test al, al
je 0x14001d022
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001d022
mov qword [rsp + 0x50], r12
mov rdx, rbp
mov rcx, r15
mov qword [rsp + 0x40], r14
call fcn.14001d140
mov r14d, 1
mov r12, rax
cmp r14, rax
ja 0x14001d00d
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x58], rdi
nop word [rax + rax]
mov ecx, r14d
mov dword [rsp + 0x98], 1
call fcn.14001b750
mov rbx, rax
mov rcx, rsi
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14001cee0
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rbp + rax*2], 0
jne 0x14001cef0
add rcx, rax
lea rcx, [rcx*2 + 2]
call fcn.14002fc3c
mov rdi, rax
test rax, rax
je 0x14001cff4
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 0x14001cf20
add rax, 0xfffffffffffffffe
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x14001cf35
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 0x14001cf50
mov rcx, rbx
call fcn.14002fc28
mov rcx, qword [rsp + 0x30]
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 0x14001cfec
mov ecx, dword [rsp + 0x90]
call fcn.14002fc3c
mov rcx, qword [rsp + 0x30]
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.140004460
mov rcx, rdi
call fcn.14002fc28
inc r14
cmp r14, r12
jbe 0x14001cec0
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
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 0x14001d022
lea r8, [rsi + rsi]
xor edx, edx
mov rcx, r15
call fcn.14002ec20
mov rcx, r15
call fcn.14002fc28
mov rsi, qword [rsp + 0x60]
mov rax, r13
mov r13, qword [rsp + 0x48]
add rsp, 0x68
pop r15
pop rbp
ret
Function at 0x14001d240
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 0x14001d2ed
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 0x14001d2e2
mov ecx, dword [rsp + 0x60]
call fcn.14002fc3c
mov rbx, rax
test rax, rax
je 0x14001d2e2
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 0x14001d2e2
mov rcx, rbx
call fcn.14002fc28
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 0x14001d390
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.14002ec20
xor r12d, r12d
mov dword [rsp + 0x70], 0x104
mov dword [rsp + 0x6c], r12d
test rbx, rbx
je 0x14001d5dd
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 0x14001d5dd
mov ecx, dword [rsp + 0x68]
inc ecx
add rcx, rcx
call fcn.14002fc3c
mov rdi, rax
test rax, rax
je 0x14001d5dd
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
movzx ecx, word [r14]
cmp cx, word [0x140067640]
je 0x14001d4a6
mov rcx, rdi
call fcn.14002fc28
mov al, 1
jmp 0x14001d5df
test eax, eax
je 0x14001d5d5
mov rsi, qword [rbp + 0xa08]
mov ebx, r12d
nop dword [rax + rax]
mov qword [rsp + 0x38], r12
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], 0x3fff
mov r8, rdi
mov word [rdi], r12w
mov edx, ebx
mov rcx, qword [rbp + 0x9e0]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov eax, dword [rsp + 0x64]
cmp ebx, eax
jae 0x14001d5cb
mov qword [rsp + 0x38], r12
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], 0x3fff
mov r8, rdi
mov word [rdi], r12w
xor edx, edx
mov rcx, qword [rbp + 0x9e0]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14001d5bd
xor edx, edx
mov dword [rsp + 0x78], 1
mov r8d, 0x800
lea rcx, [rbp + 0x1b0]
call fcn.14002ec20
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 0x14001d5bd
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 0x14001d497
mov eax, dword [rsp + 0x64]
inc ebx
cmp ebx, eax
jb 0x14001d503
inc ebx
cmp ebx, eax
jb 0x14001d4c0
mov rcx, rdi
call fcn.14002fc28
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 0x14001d600
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov dword [rsp + 0x34], 3
mov rdx, rcx
mov dword [rsp + 0x30], 0
mov rbx, r9
lea rax, [rsp + 0x38]
mov rdi, r8
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001d6b8
mov rcx, qword [rsp + 0x38]
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 0x14001d6b8
mov eax, dword [rsp + 0x30]
test rdi, rdi
je 0x14001d6cd
cmp dword [rbx], eax
jb 0x14001d6cd
mov rcx, qword [rsp + 0x38]
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 0x14001d6cf
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], eax
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14001d8c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rbx, r8
mov rsi, rdx
call fcn.140008330
mov rdi, rax
test rax, rax
je 0x14001d91b
mov rcx, rsi
call fcn.140008330
mov rsi, rax
test rax, rax
jne 0x14001d922
mov rbx, 0xffffffffffffffff
cmp word [rdi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x14001d901
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rdi
call fcn.14002ec20
xor eax, eax
jmp 0x14001db15
mov qword [rsp + 0x2d0], r14
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
xor r14d, r14d
call fcn.14002ec20
lea rax, [rsp + 0x68]
mov dword [rsp + 0x74], 0x104
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x70], r14d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001daac
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]
xor r8d, r8d
lea r9d, [r14 + 1]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001daa1
mov rcx, qword [rsp + 0x78]
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x60]
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rdi
call fcn.14001d390
mov rcx, qword [rsp + 0x78]
movzx ebx, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x14001daa1
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], r14
mov rdx, rdi
mov dword [rsp + 0x60], 1
mov dword [rbp + 0x1e8], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001daa1
mov ecx, dword [rbp + 0x1e8]
call fcn.14002fc3c
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov r14, rax
xor r8d, r8d
lea rax, [rbp + 0x1e8]
mov rdx, rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x14001dac0
add r8, r8
xor edx, edx
mov rcx, rdi
call fcn.14002ec20
nop dword [rax + rax]
cmp word [rsi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x14001dae0
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rsi
call fcn.14002ec20
mov rcx, rdi
call fcn.14002fc28
mov rcx, rsi
call fcn.14002fc28
mov rax, r14
mov r14, qword [rsp + 0x2d0]
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001dd50
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14001dde0
push rdi
sub rsp, 0x20
mov rdi, rdx
test rdx, rdx
je 0x14001dddb
lea rdx, [0x1400691e4]
mov qword [rsp + 0x38], rbx
call fcn.1400331d8
mov rbx, rax
test rax, rax
je 0x14001ddd6
mov rcx, rax
call fcn.140030254
test eax, eax
jne 0x14001ddab
mov r9, rbx
mov word [rsp + 0x30], 0xbbef
lea edx, [rax + 3]
mov byte [rsp + 0x32], 0xbf
lea r8d, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.140032fcc
mov rcx, rdi
call fcn.1400080d0
mov rdi, rax
test rax, rax
je 0x14001ddce
mov rdx, rbx
mov rcx, rax
call fcn.1400332f4
mov rcx, rdi
call fcn.14002fc28
mov rcx, rbx
call fcn.140030770
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e820
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
je 0x14001e8bb
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov qword [rsp + 0x30], rbp
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov r14, rcx
lea rdi, [rcx + 0xf0]
mov esi, r8d
sub rdi, rdx
dec rsi
shr rsi, 4
inc rsi
movups xmm0, xmmword [rbx]
mov rdx, r14
mov rcx, rbx
call fcn.14001eca0
mov ecx, recvfrom
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x14001e880
sub rdi, 0x10
movups xmmword [r14 + 0xf0], xmm0
sub rsi, 1
jne 0x14001e860
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14001e8c0
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 0x14001e939
dec rdi
shr rdi, 4
inc rdi
nop dword [rax]
nop word [rax + rax]
mov rax, rbx
sub r9, rbx
mov edx, recvfrom
nop dword [rax + rax]
movzx ecx, byte [r9 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14001e910
mov rdx, rsi
mov rcx, rbx
call fcn.14001e9a0
mov r9, rbx
add rbx, 0x10
sub rdi, 1
jne 0x14001e900
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 0x14001eca0
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 0x14001ece0
sub r9, 1
jne 0x14001ecd0
mov bpl, SafeArrayDestroy
lea rdi, [rsi + 0xd0]
lea r14, [0x140069450]
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 0x14001ed80
inc r8
sub r9, 1
jne 0x14001ed70
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 0x14001edc0
sub r8, 1
jne 0x14001edb0
mov rcx, rbx
call fcn.14001eec0
sub rdi, 0x10
add bpl, 0xff
jne 0x14001ed10
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 0x14001ee60
inc r8
sub r9, 1
jne 0x14001ee50
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 0x14001ee90
sub rdx, 1
jne 0x14001ee82
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 0x140020df0
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 0x140020384
lea ecx, [rax + 1]
add rcx, rcx
call fcn.14002fc3c
mov rbx, rax
test rax, rax
je 0x140020384
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 0x1400203d1
lea ecx, [rax + 1]
add rcx, rcx
call fcn.14002fc3c
mov rbx, rax
test rax, rax
je 0x1400203d1
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.140022a70
test al, al
je 0x1400204da
mov ecx, 0x1c0
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x58], 0x1c0
call fcn.14002fc3c
mov rbp, rax
test rax, rax
je 0x1400204d5
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 0x140020447
mov rcx, rbp
call fcn.14002fc28
mov ecx, dword [rsp + 0x58]
call fcn.14002fc3c
mov rbp, rax
test rax, rax
je 0x1400204d5
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 0x1400204c8
mov rbx, rbp
test rbp, rbp
je 0x1400204bd
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x1400204b4
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2 + 8], di
jne 0x140020490
test rcx, rcx
je 0x1400204b4
lea rcx, [rcx*2 + 2]
call fcn.14002fc3c
mov rsi, rax
test rax, rax
jne 0x1400204e4
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140020474
mov rcx, rbp
call fcn.14002fc28
mov rbp, rdi
mov rcx, rbp
call fcn.14002fc28
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
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x1400204f2
mov rcx, rbp
call fcn.14002fc28
mov rdi, rsi
jmp 0x1400204d0
jmp 0x140020330

Function at 0x140020e00
Capabilities:
Get mac address on windows

Disassembly:
mov ecx, 1
jmp fcn.140020520
Function at 0x140021f80
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x1400697f8]
call fcn.140008330
mov rbx, rax
test rax, rax
jne 0x140021fa0
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rbp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x38], rsi
mov rcx, rbx
xor bpl, bpl
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
je 0x140022019
mov ecx, esi
mov qword [rsp + 0x40], rdi
mov edx, 2
call fcn.14002f9e8
mov rdi, rax
test rax, rax
je 0x140022014
mov r8d, esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14002200c
lea rdx, [0x1400691e0]
mov rcx, rdi
call fcn.1400331d8
test rax, rax
je 0x14002200c
mov rcx, rax
mov bpl, 1
call fcn.140030770
mov rcx, rdi
call fcn.14002fc28
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140022025
xor edx, edx
mov rcx, rbx
call fcn.14002ec20
mov rcx, rbx
call fcn.14002fc28
movzx eax, bpl
mov rbp, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret