joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401eb2c0
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1401eb36e
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
cmp r8, 0x10
jb 0x1401eb419
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x1401eb36e
cmp r8, 0
je 0x1401eb4df
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x1401eb42f
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
Function at 0x1401fa630
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.1401fb3d0
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.1401fb3d0
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 0x1401fa6a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14031a254]
mov rbx, rcx
test esi, esi
jle 0x1401fa7d0
mov rax, qword [0x14031a258]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1401fa6eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1401fa775
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1401fa6d0
mov rcx, rbx
call fcn.1401fb0f0
mov rdi, rax
test rax, rax
je 0x1401fa7f2
mov rax, qword [0x14031a258]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1401fb230
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14031a258]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1401fa7d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1401fa76e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1401fa780
add dword [0x14031a254], 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 [0x14031a258]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1401fa76e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1401fa630
nop dword [rax]
xor esi, esi
jmp 0x1401fa6f8
mov rax, qword [0x14031a258]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1401fa630
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1401fa630
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1401fad60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14031a2c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14031a2a0]
test rbx, rbx
je 0x1401fadbc
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 0x1401fadb3
test rsi, rsi
je 0x1401fadb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401fad98
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1401fb0f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402c3030]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401fb110
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401fb118
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401fb110
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401fb16d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401fb164
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401fb110
add rax, 0x28
cmp rax, r9
jne 0x1401fb150
xor eax, eax
ret

Function at 0x1401fb170
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402c3030]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401fb18f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401fb198
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401fb18f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1401fb230
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402c3030]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401fb24f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401fb258
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140206840
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
pxor xmm2, xmm2
xor r9d, r9d
xor r10d, r10d
movdqa xmm1, xmm2
xor r11d, r11d
xor ebx, ebx
xor esi, esi
xor edi, edi
xor ebp, ebp
xor r12d, r12d
xor r13d, r13d
xor r14d, r14d
mov rax, rcx
xor ecx, ecx
mov qword [rsp + 8], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x110], r8
xor r8d, r8d
nop dword [rax + rax]
mov r15, qword [rsp + 0x110]
add rcx, 1
movdqu xmm0, xmmword [rdx]
xor r15, rcx
pxor xmm0, xmm1
mov rax, r15
sub r15, 1
not rax
and rax, r15
mov r15, qword [rsp + 0x10]
xor r15, qword [rdx + 0x30]
sar rax, 0x3f
and r15, rax
xor qword [rsp + 0x10], r15
mov r15, qword [rsp + 0x18]
movq xmm3, rax
xor r15, qword [rdx + 0x60]
punpcklqdq xmm3, xmm3
and r15, rax
xor qword [rsp + 0x18], r15
mov r15, qword [rdx + 0x38]
pand xmm0, xmm3
pxor xmm1, xmm0
movdqu xmm0, xmmword [rdx + 0x18]
xor r15, r14
and r15, rax
pxor xmm0, xmm2
xor r14, r15
mov r15, qword [rdx + 0x68]
pand xmm0, xmm3
pxor xmm2, xmm0
xor r15, r13
and r15, rax
xor r13, r15
mov r15, qword [rsp + 8]
xor r15, qword [rdx + 0x10]
and r15, rax
xor qword [rsp + 8], r15
mov r15, qword [rdx + 0x40]
xor r15, r12
and r15, rax
xor r12, r15
mov r15, qword [rdx + 0x70]
xor r15, rbp
and r15, rax
xor rbp, r15
mov r15, qword [rdx + 0x48]
xor r15, rdi
and r15, rax
xor rdi, r15
mov r15, qword [rdx + 0x78]
xor r15, rsi
and r15, rax
xor rsi, r15
mov r15, qword [rdx + 0x50]
add rdx, 0x90
xor r15, rbx
and r15, rax
xor rbx, r15
mov r15, qword [rdx - 0x10]
xor r15, r11
and r15, rax
xor r11, r15
mov r15, qword [rdx - 0x68]
xor r15, r10
and r15, rax
xor r10, r15
mov r15, qword [rdx - 0x38]
xor r15, r9
and r15, rax
xor r9, r15
mov r15, qword [rdx - 8]
xor r15, r8
and r15, rax
xor r8, r15
cmp rcx, 0x10
jne 0x1402068b0
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x100]
movups xmmword [rsp + 0x38], xmm2
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x80], rcx
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x30], rcx
movdqu xmm5, xmmword [rsp + 0x30]
mov qword [rsp + 0x68], rdi
movups xmmword [rax + 0x10], xmm5
movdqu xmm5, xmmword [rsp + 0x40]
mov qword [rsp + 0x70], rbx
movups xmmword [rax + 0x20], xmm5
movdqu xmm5, xmmword [rsp + 0x50]
mov qword [rsp + 0x78], r9
movups xmmword [rax + 0x30], xmm5
movdqu xmm5, xmmword [rsp + 0x60]
mov qword [rsp + 0x88], r13
movups xmmword [rax + 0x40], xmm5
movdqu xmm5, xmmword [rsp + 0x70]
mov qword [rsp + 0x90], rbp
movups xmmword [rax + 0x50], xmm5
movdqu xmm5, xmmword [rsp + 0x80]
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], r11
mov qword [rsp + 0xa8], r8
movups xmmword [rax], xmm1
movups xmmword [rax + 0x60], xmm5
movdqu xmm5, xmmword [rsp + 0x90]
movups xmmword [rax + 0x70], xmm5
movdqu xmm5, xmmword [rsp + 0xa0]
movups xmmword [rax + 0x80], xmm5
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140206f40
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9, rdx
test r8, r8
je 0x1402070f0
lea rax, [r8 - 1]
cmp rax, 0xe
jbe 0x1402070f4
mov rdx, r8
xor eax, eax
pxor xmm1, xmm1
and rdx, 0xfffffffffffffff0
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx + rax]
movdqu xmm3, xmmword [r9 + rax]
add rax, 0x10
pxor xmm0, xmm3
por xmm1, xmm0
cmp rdx, rax
jne 0x140206f70
movdqa xmm0, xmm1
mov r10, r8
psrldq xmm0, 8
and r10, 0xfffffffffffffff0
por xmm0, xmm1
movdqa xmm2, xmm0
psrldq xmm2, 4
por xmm0, xmm2
movdqa xmm2, xmm0
psrldq xmm2, 2
por xmm0, xmm2
movdqa xmm2, xmm0
psrldq xmm2, 1
por xmm0, xmm2
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm1, 8
por xmm1, xmm0
test r8b, 0xf
je 0x1402070e6
mov r11, r8
sub r11, r10
lea rdx, [r11 - 1]
cmp rdx, 6
jbe 0x140207057
movq xmm0, qword [rcx + r10]
movq xmm2, qword [r9 + r10]
pxor xmm0, xmm2
por xmm0, xmm1
movq rdx, xmm0
mov rbx, rdx
movzx eax, dh
or eax, edx
shr rbx, 0x10
or eax, ebx
mov rbx, rdx
shr rbx, 0x18
or eax, ebx
mov rbx, rdx
shr rbx, 0x20
or eax, ebx
mov rbx, rdx
shr rbx, 0x28
or eax, ebx
mov rbx, rdx
shr rdx, 0x38
shr rbx, 0x30
or eax, ebx
or eax, edx
mov rdx, r11
and rdx, 0xfffffffffffffff8
add r10, rdx
and r11d, 7
je 0x1402070e6
movzx edx, byte [rcx + r10]
xor dl, byte [r9 + r10]
or eax, edx
lea rdx, [r10 + 1]
cmp rdx, r8
jae 0x1402070e6
movzx edx, byte [r9 + r10 + 1]
xor dl, byte [rcx + r10 + 1]
or eax, edx
lea rdx, [r10 + 2]
cmp rdx, r8
jae 0x1402070e6
movzx edx, byte [rcx + r10 + 2]
xor dl, byte [r9 + r10 + 2]
or eax, edx
lea rdx, [r10 + 3]
cmp rdx, r8
jae 0x1402070e6
movzx edx, byte [rcx + r10 + 3]
xor dl, byte [r9 + r10 + 3]
or eax, edx
lea rdx, [r10 + 4]
cmp rdx, r8
jae 0x1402070e6
movzx edx, byte [rcx + r10 + 4]
xor dl, byte [r9 + r10 + 4]
or eax, edx
lea rdx, [r10 + 5]
cmp rdx, r8
jae 0x1402070e6
movzx edx, byte [rcx + r10 + 5]
xor dl, byte [r9 + r10 + 5]
or eax, edx
lea rdx, [r10 + 6]
cmp rdx, r8
jae 0x1402070e6
movzx edx, byte [rcx + r10 + 6]
xor dl, byte [r9 + r10 + 6]
or eax, edx
movzx eax, al
pop rbx
ret
xor eax, eax
pop rbx
ret
pxor xmm1, xmm1
xor r10d, r10d
xor eax, eax
jmp 0x140206fe2

Function at 0x140209540
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
test rdx, rdx
je 0x140209580
lea r10, [rcx + rdx*8]
mov r8, 0xffffffffffffffff
mov rdx, qword [rcx]
mov r9, r8
add rcx, 8
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
xor rax, r8
and rax, r9
xor r8, rax
cmp r10, rcx
jne 0x140209550
mov rax, r8
ret
mov r8, 0xffffffffffffffff
mov rax, r8
ret

Function at 0x140209590
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
mov r11, rcx
mov rbx, rdx
test r8, r8
je 0x1402095e0
xor ecx, ecx
mov r9, 0xffffffffffffffff
nop dword [rax]
mov rdx, qword [rbx + rcx*8]
xor rdx, qword [r11 + rcx*8]
mov r10, r9
add rcx, 1
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
xor rax, r9
and rax, r10
xor r9, rax
cmp r8, rcx
jne 0x1402095a8
mov rax, r9
pop rbx
ret
mov r9, 0xffffffffffffffff
mov rax, r9
pop rbx
ret
Function at 0x1402095f0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140209650
xor rdx, qword [rcx]
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
cmp r8, 1
je 0x140209660
lea r11, [rcx + r8*8]
lea r9, [rcx + 8]
mov r8, 0xffffffffffffffff
nop
mov rcx, qword [r9]
mov r10, r8
add r9, 8
mov rdx, rcx
sub rcx, 1
not rdx
and rdx, rcx
sar rdx, 0x3f
xor rdx, r8
and rdx, r10
xor r8, rdx
cmp r11, r9
jne 0x140209620
and rax, r8
ret
lea rax, [rdx - 1]
not rdx
and rax, rdx
sar rax, 0x3f
ret
mov r8, 0xffffffffffffffff
jmp 0x140209649

Function at 0x1402096f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor r11d, r11d
mov rax, qword [rcx]
mov r9, rdx
xor edx, edx
cmp rax, r9
sbb rdx, r11
mov r10, rdx
and r10d, 1
sub r10, 1
mov rax, r10
not r10
sar rax, 0x3f
cmp r8, 1
je 0x14020975c
lea r9, [rcx + 8]
lea r11, [rcx + r8*8]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
mov rcx, qword [r9]
mov r8, rax
add r9, 8
mov rdx, rcx
sub rcx, 1
not rdx
and rdx, rcx
sar rdx, 0x3f
xor rdx, rax
and rdx, r8
xor rax, rdx
cmp r11, r9
jne 0x140209730
xor rax, r10
mov rdx, r10
and rax, rdx
xor rax, r10
ret
Function at 0x14020bb50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rsi, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0xd0]
mov rdi, rcx
test rsi, rsi
je 0x14020bce0
cmp rsi, rdx
jne 0x14020bce0
lea rdx, [rsi + rsi]
xor eax, eax
cmp rdx, r9
jne 0x14020bccb
mov qword [rsp + 0x30], r10
xor r15d, r15d
mov r14, r8
xor ebx, ebx
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r11
mov r11, r15
mov rax, qword [rax]
mov qword [rsp + 0x48], r13
mov r13, rsi
mov rsi, r8
mov r15, rax
nop word [rax + rax]
mov r8, qword [r14]
mov rcx, r14
mov rdx, rbp
mov r9, r13
mov qword [rsp + 0x28], r11
imul r8, r15
call fcn.14020bd40
mov rcx, qword [r14 + r13*8]
xor edx, edx
mov r11, qword [rsp + 0x28]
add rax, rbx
add rax, rcx
cmp rcx, rax
mov qword [r14 + r13*8], rax
setne dl
or rdx, rbx
xor ebx, ebx
cmp rcx, rax
setae bl
add r11, 1
add r14, 8
and rbx, rdx
cmp r11, r13
jb 0x14020bbd0
mov r8, rsi
mov r14, qword [rbp]
xor r9d, r9d
xor edx, edx
lea rcx, [r8 + r13*8]
mov rsi, r13
mov r8, qword [rcx]
mov rax, r8
sub rax, r14
cmp r8, r14
sbb rdx, r9
mov qword [rdi], rax
mov r9, rdx
and r9d, 1
cmp r13, 1
je 0x14020bc98
mov r8d, 1
nop dword [rax + rax]
mov r14, qword [rcx + r8*8]
mov r10, qword [rbp + r8*8]
xor r15d, r15d
xor r11d, r11d
mov rdx, r15
mov rax, r14
sub rax, r10
sbb rdx, r11
xor r13d, r13d
sub rax, r9
sbb rdx, r13
mov qword [rdi + r8*8], rax
add r8, 1
mov r9, rdx
and r9d, 1
cmp rsi, r8
jne 0x14020bc60
xor eax, eax
sub rbx, r9
nop dword [rax]
mov r8, qword [rdi + rax*8]
mov rdx, qword [rcx + rax*8]
xor rdx, r8
and rdx, rbx
xor rdx, r8
mov qword [rdi + rax*8], rdx
mov qword [rcx + rax*8], 0
add rax, 1
cmp rax, rsi
jb 0x14020bca0
mov eax, 1
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14020bccb

Function at 0x14020bcf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r10d, 0x40
xor eax, eax
mov r8d, 1
movabs rbx, 0x8000000000000000
nop dword [rax]
mov rdx, r8
mov r11, rcx
shr rax, 1
and edx, 1
neg rdx
and r11, rdx
and rdx, rbx
mov r9, r11
add rax, rdx
xor r9, r8
and r8, r11
shr r9, 1
add r8, r9
sub r10, 1
jne 0x14020bd10
pop rbx
ret
Function at 0x140216140
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x14005fe6c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14005feb4
lea ebx, [rsi + 0xd]
jmp 0x14005ff1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x14005ff1f
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003cffc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14005ff11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14005ff1f
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.1400033fc
mov ebx, esi
lea rcx, [rbp - 0x20]
call fcn.1400174fc
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140060a48
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400bd0c0], eax
call fcn.140060cf8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400bd0c0], 0
jne case.default.0x140060a9e
mov ecx, 1
call fcn.140060cf8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
xchg bx, ax
mov esp, 0xde121714
invalid
Function at 0x2fc4daba0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4db5a2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4db63a
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4db61e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4db612
cmp qword [rbp - 0x10], 0
je 0x2fc4db612
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4db5d8
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4db63b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4db740
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4db768
mov eax, 0
jmp 0x2fc4db7b6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4db791
mov eax, 0
jmp 0x2fc4db7b6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4db7b1
mov eax, 0
jmp 0x2fc4db7b6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4db7bc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4db83a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4db831
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4db831
mov rax, qword [rbp - 8]
jmp 0x2fc4db84f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4db804
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001cbd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x14001cc04
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x14001cbf0
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14001cc31
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14001cc50
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001cc5e
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140028bf0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14001ccd5
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ccd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ccd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d7cc
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret