joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011370
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400113cd
lea rbx, [0x140087210]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400113b4
cmp r10, 2
jb 0x1400113b4
cmp byte [r9], r8b
jne 0x1400113b4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140011390
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001140f
lea rbx, [0x140087210]
cmp r8b, 0x23
jne 0x1400113f3
cmp byte [r9], r8b
jne 0x1400113f3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400113e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140011550
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001156a
mov qword [r8], 0
lea rdx, [0x14008b6c0]
call fcn.140011420
mov rbx, rax
test rax, rax
jne 0x14001158a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140011661
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140011661
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140011661
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140011661
cmp rdi, 0xffffffffffffffff
je 0x140011661
mov rax, qword [0x140099548]
test rax, rax
je 0x1400115fe
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140011661
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14001164e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140099548]
test rax, rax
je 0x140011643
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001166a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001165c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001166c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14001fe20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140099548]
lea rdx, [0x140087210]
mov r8d, ecx
mov rbx, qword [rax + 0x1be8]
add rbx, 0x108
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x14001fed7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14001fec3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14001fec8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1400325c0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140020eb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140098180]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140099548]
mov edi, edx
cmp byte [rbx + 0x1f85], 0
jne 0x140020f10
cmp byte [rbx + 0x1f86], 0
jne 0x140020f10
mov r9d, dword [rbx + 0x3028]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400112f0
test dil, 1
je 0x140021036
jmp 0x140020f9f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3028]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14008d7b8]
mulss xmm1, dword [0x14008d7a8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1cb4], rax
mov dword [rbx + 0x1c9c], 1
movss dword [rbx + 0x1cac], xmm0
mov byte [rbx + 0x1cd4], 1
movss dword [rbx + 0x1cb0], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x14008d6f0]
or dword [rbx + 0x1c98], 0x41
movss dword [rbx + 0x1cf8], xmm0
call fcn.1400112f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140020ff0
lea r11, [0x140087210]
nop
cmp r9b, 0x23
jne 0x140020fd3
cmp byte [r8], r9b
jne 0x140020fd3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140020fc0
not ecx
call fcn.140019560
test rax, rax
je 0x140021036
cmp byte [rax + 0xcf], 0
je 0x140021036
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3028]
mov edx, 0x10
mov r9d, dword [rbx + 0x3028]
call fcn.1400112f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14001c1a0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14007b230
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140025af0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x140099548]
cmp byte [rbx + 0x3104], 0
je 0x140025bdc
cmp qword [rbx + 0x3110], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3118]
je 0x140025bc4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x140025b6b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140032330
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140011bc0
mov eax, dword [rdi]
lea rcx, [0x140099540]
mov r9, qword [rbx + 0x3110]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x3120]
cmove edx, ebp
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140011bc0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret

Function at 0x140025fd0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140026022
lea r11, [0x140087210]
cmp r9b, 0x23
jne 0x140026005
cmp byte [r8], r9b
jne 0x140026005
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140025ff2
mov r11, qword [0x140099548]
xor r9d, r9d
mov r10, qword [r11 + 0x30d8]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14002606e
not eax
cmp dword [r9], eax
je 0x140026077
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x30d0]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140026045
mov rcx, rbx
pop rbx
jmp fcn.140025ee0
mov rax, r9
pop rbx
ret
Function at 0x1400294b0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x1400296ee
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140098180]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140087210]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x1400296b6
mov rcx, rbp
call fcn.140028b00
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140029581
movsxd rdx, dword [rbp + 0x3070]
mov r8, qword [rbp + 0x3078]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140029571
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140029569
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14002956c
mov rdx, rcx
test rdx, rdx
jne 0x140029540
cmp r8, r10
je 0x140029581
cmp dword [r8], r9d
jne 0x140029581
mov rcx, qword [r8 + 8]
jmp 0x140029583
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140029617
cmp qword [rcx + 0x18], 0
jne 0x14002960c
mov qword [rcx + 0x18], rbx
jmp 0x140029617
cmp qword [rcx + 0x20], 0
jne 0x140029617
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14002964c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140029640
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.1400112f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x1400296a8
cmp r9b, 0x23
jne 0x14002968b
cmp byte [r8], r9b
jne 0x14002968b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140029678
not ecx
call fcn.140019560
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140029500
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007b230
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140042a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x70
mov r8, rcx
movaps xmmword [rsp + 0x30], xmm9
movzx ecx, word [rsp + 0xa8]
movaps xmm9, xmm2
mov qword [rsp + 0x20], r9
mov rsi, rdx
mov r9d, dword [rsp + 0xa0]
movsxd rax, dword [r8 + 0x18]
cmp rcx, rax
jb 0x140042a3e
mov rbx, qword [r8 + 0x38]
jmp 0x140042a62
mov rax, qword [r8 + 0x20]
movzx ecx, word [rax + rcx*2]
mov eax, 0xffff
cmp cx, ax
jne 0x140042a56
mov rbx, qword [r8 + 0x38]
jmp 0x140042a62
mov rax, qword [r8 + 0x30]
lea rcx, [rcx + rcx*4]
lea rbx, [rax + rcx*8]
test rbx, rbx
je 0x140042c1a
mov eax, dword [rbx]
test al, 2
je 0x140042c1a
mov qword [rsp + 0x80], rdi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm6
mov edi, r9d
or edi, 0xffffff
movaps xmmword [rsp + 0x50], xmm7
test al, 1
movaps xmmword [rsp + 0x40], xmm8
cmove edi, r9d
comiss xmm9, xmm0
jb 0x140042aad
divss xmm9, dword [r8 + 0x14]
jmp 0x140042ab6
movss xmm9, dword [0x14008d728]
cvttss2si eax, dword [rsp + 0x20]
mov edx, 6
mov rcx, rsi
lea r8d, [rdx - 2]
movd xmm6, eax
cvttss2si eax, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.14003c370
movzx edx, word [rsi + 0x34]
mov rax, qword [rsi + 0x50]
movss xmm8, dword [rbx + 0x24]
movaps xmm1, xmm9
mulss xmm1, dword [rbx + 0x10]
lea ecx, [rdx + 1]
movss xmm4, dword [rbx + 0x20]
movaps xmm3, xmm9
mulss xmm3, dword [rbx + 0x14]
movaps xmm2, xmm9
mulss xmm2, dword [rbx + 8]
addss xmm1, xmm6
mulss xmm9, dword [rbx + 0xc]
addss xmm3, xmm7
movss xmm5, dword [rbx + 0x18]
addss xmm2, xmm6
movss xmm0, dword [rbx + 0x1c]
mov word [rax], dx
addss xmm9, xmm7
mov rax, qword [rsi + 0x50]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rsi + 0x50]
mov word [rax + 4], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rsi + 0x50]
mov word [rax + 8], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 0xa], dx
mov rax, qword [rsi + 0x48]
movss dword [rax], xmm2
movss dword [rax + 4], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x10], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x1c], xmm4
movss dword [rax + 0x20], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x24], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x28], xmm1
movss dword [rax + 0x2c], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x30], xmm4
movss dword [rax + 0x34], xmm8
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x38], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x3c], xmm2
movss dword [rax + 0x40], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm8
mov rax, qword [rsi + 0x48]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rax + 0x4c], edi
add qword [rsi + 0x48], 0x50
add dword [rsi + 0x34], 4
add qword [rsi + 0x50], 0xc
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x70
pop rsi
ret
Function at 0x1400493e0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x140099548]
mov rdx, qword [rax + 0x2028]
cmp ecx, 0xffffffff
jne 0x1400493fa
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140049477
mov r10d, dword [rdx]
lea r8, [0x14008d249]
movzx eax, word [rdx + 0x78]
lea r11, [0x140087210]
not r10d
mov byte [rdx + 0x23f], cl
mov ecx, r10d
mov byte [rdx + 0x24d], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140049453
cmp byte [r8], r9b
jne 0x140049453
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140049440
not ecx
jmp fcn.1400210b0
ret
Function at 0x14005db60
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea r10, [rdx*4]
mov rdi, rdx
movabs rax, 0xaaaaaaaaaaaaaaab
mov rsi, r8
mul r10
movabs rax, 0xe38e38e38e38e38f
mov r11, r9
mov r10, rdx
mov rbx, rcx
shr r10, 1
add r10, 4
mul r10
lea r8, [r10 + 1]
shr rdx, 6
add r8, rdx
cmp r8, rdi
jb 0x14005dd10
mov rax, qword [r9]
xor edx, edx
mov dword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, r11
mov qword [rsp + 0x20], 0
call qword [rax + 8]
mov r9, rax
test rax, rax
je 0x14005dd10
xor r8d, r8d
lea r10, [rbx + rdi]
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov rcx, rax
cmp rdi, 3
jl 0x14005dc7e
movzx eax, byte [rbx]
sub rdi, 3
shr rax, 2
add r8d, 4
movzx eax, byte [rax + r11]
mov byte [rcx], al
movzx edx, byte [rbx]
movzx eax, byte [rbx + 1]
and edx, 3
shr rax, 4
shl rdx, 4
or rdx, rax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
movzx edx, byte [rbx + 1]
movzx eax, byte [rbx + 2]
and edx, 0xf
shr rax, 6
shl rdx, 2
or rdx, rax
movzx eax, byte [rdx + r11]
mov byte [rcx + 2], al
movzx eax, byte [rbx + 2]
add rbx, 3
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [rcx + 3], al
add rcx, 4
cmp r8d, 0x48
jl 0x14005dc78
mov byte [rcx], 0xa
inc rcx
xor r8d, r8d
cmp rdi, 3
jge 0x14005dc01
sub r10, rbx
je 0x14005dce4
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
cmp r10, 1
jne 0x14005dcac
movzx eax, byte [rbx]
mov dl, 0x3d
and eax, 3
add rax, rax
movzx eax, byte [r11 + rax*8]
mov byte [rcx + 1], al
jmp 0x14005dcd5
movzx edx, byte [rbx]
movzx eax, byte [rbx + 1]
and edx, 3
shr rax, 4
shl rdx, 4
or rdx, rax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
movzx eax, byte [rbx + 1]
and eax, 0xf
movzx edx, byte [r11 + rax*4]
mov byte [rcx + 2], dl
mov byte [rcx + 3], 0x3d
add rcx, 4
add r8d, 4
test r8d, r8d
je 0x14005dcef
mov byte [rcx], 0xa
inc rcx
mov byte [rcx], 0
test rsi, rsi
je 0x14005dcfd
sub rcx, r9
mov qword [rsi], rcx
mov rax, r9
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14005f0f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x140098180]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, qword [rbp + 0x1c0]
mov r13, rdx
mov edx, dword [rbp + 0x1c8]
mov r14, rcx
lea rcx, [rsp + 0x20]
mov r12, r9
mov r15, r8
call fcn.14005f2a0
mov r8d, 0x20
lea rcx, [rbp + 0x90]
mov rdx, rbx
call fcn.140060d10
mov r8d, 0x20
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140060e40
mov r8, r12
lea rcx, [rsp + 0x20]
mov rdx, r15
call fcn.140060e40
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.140060d80
lea rdx, [rbx + 0x20]
mov r8d, 0x20
lea rcx, [r14 + 0x20]
call sub.VCRUNTIME140.dll_memmove
lea rcx, [rbp + 0xd0]
call fcn.140067170
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x10]
call fcn.140064910
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.140064850
mov edx, dword [rbp + 0x1c8]
lea rcx, [rsp + 0x20]
call fcn.14005f2a0
mov r8d, 0x40
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.140060e40
mov r8, r12
lea rcx, [rsp + 0x20]
mov rdx, r15
call fcn.140060e40
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x20]
call fcn.140060d80
lea rcx, [rbp + 0x110]
call fcn.140067170
movzx eax, byte [rbp + 0xaf]
lea r9, [rbp + 0xd0]
and byte [rbp + 0x90], 0xf8
lea r8, [rbp + 0x90]
and al, 0x3f
lea rdx, [rbp + 0x110]
or al, 0x40
lea rcx, [r14 + 0x20]
mov byte [rbp + 0xaf], al
call fcn.140065490
mov edx, 0x40
lea rcx, [rbp + 0x90]
call fcn.14005f940
mov edx, 0x40
lea rcx, [rbp + 0xd0]
call fcn.14005f940
xor eax, eax
test r13, r13
je 0x14005f27e
mov qword [r13], 0x40
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14007b230
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret

Function at 0x14005f860
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [section..data], rax
cmp rax, 0x10
jae 0x14005f885
call fcn.14005f0c0
mov edx, 0x10
lea rcx, [0x1400986b8]
call fcn.14005f5f0
xor eax, eax
add rsp, 0x58
ret

Function at 0x14005f8e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rcx
xor r9d, r9d
mov qword [rsp + 0x10], rdx
mov r10, r8
mov byte [rsp + 8], 0
test r8, r8
je 0x14005f92b
nop word [rax + rax]
mov rax, qword [rsp + 0x10]
movzx ecx, byte [rax + r9]
mov rax, qword [rsp + 0x18]
movzx r8d, byte [rax + r9]
inc r9
movzx eax, byte [rsp + 8]
xor r8d, ecx
or al, r8b
mov byte [rsp + 8], al
cmp r9, r10
jb 0x14005f900
movzx eax, byte [rsp + 8]
dec eax
sar eax, 8
and eax, 1
dec eax
ret
Function at 0x140063b60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x140098180]
xor rax, rsp
mov qword [rsp + 8], rax
xor r8d, r8d
lea r15, [0x140085900]
mov dword [rsp], r8d
mov r9, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, r8b
movzx ebp, byte [rsp + 1]
movzx r14d, r8b
mov word [rsp + 4], r8w
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx edx, byte [r9 + rax]
movzx ecx, byte [rax + r15]
movzx r10d, byte [rax + r15 + 0xc0]
xor cl, dl
or cl, r14b
xor r10b, dl
movzx r14d, cl
or r10b, r8b
movzx ecx, byte [rax + r15 + 0x20]
movzx r8d, r10b
xor cl, dl
or cl, bpl
movzx ebp, cl
movzx ecx, byte [rax + r15 + 0x40]
xor cl, dl
or cl, sil
movzx esi, cl
movzx ecx, byte [rax + r15 + 0x60]
xor cl, dl
or cl, dil
movzx edi, cl
movzx ecx, byte [rax + r15 + 0x80]
xor cl, dl
or cl, bl
movzx ebx, cl
movzx ecx, byte [rax + r15 + 0xa0]
inc rax
xor cl, dl
or cl, r11b
movzx r11d, cl
cmp rax, 0x1f
jb 0x140063bc0
movzx ecx, byte [rax + r9]
movzx r9d, byte [rax + r15 + 0xc0]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0xa0]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, r11d
xor r9d, r8d
dec edx
or r9d, ecx
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x80]
xor edx, r8d
or edx, ebx
dec edx
or r9d, edx
movzx edx, byte [rax + r15]
xor edx, r8d
or edx, r14d
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
movzx eax, byte [rax + r15 + 0x60]
xor edx, r8d
xor eax, r8d
or edx, esi
or eax, edi
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.14007b230
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x1400680d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, edx
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x10
jl 0x1400680e0
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret

Function at 0x140068120
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, edx
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x20
jl 0x140068130
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret

Function at 0x1400681b0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140068230
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x1400681d4
call fcn.14005f0c0
mov edx, ebx
mov rcx, rdi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x1400681e7
call fcn.14005f0c0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret