joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140319b70
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
sub rsp, 0xc8
movdqu xmm0, xmmword [rdx]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movdqa xmm9, xmm0
movaps xmmword [rax - 0x58], xmm10
movdqa xmm10, xmmword [0x14035c710]
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
mov eax, 5
movdqu xmm12, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm13
movdqa xmm13, xmmword [0x14035c700]
xorps xmm9, xmm12
movaps xmmword [rsp + 0x30], xmm14
movdqa xmm8, xmm12
xorps xmm8, xmm13
movaps xmmword [rsp + 0x20], xmm15
movdqa xmm5, xmm9
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm11, xmm12
movdqa xmmword [rsp], xmm5
movdqa xmm14, xmm8
xorps xmm11, xmm10
movdqa xmm15, xmm10
nop dword [rax]
nop word [rax + rax]
movdqa xmm3, xmm9
movdqa xmm7, xmm11
movdqa xmm6, xmm13
movdqa xmm4, xmm15
movdqa xmm1, xmm14
aesenc xmm5, xmm15
aesenc xmm6, xmm10
aesenc xmm10, xmm9
xorps xmm10, xmm12
movdqa xmm9, xmm6
movdqa xmm2, xmm10
aesenc xmm7, xmm8
aesenc xmm8, xmmword [rsp]
xorps xmm0, xmm8
movdqa xmm15, xmm0
aesenc xmm4, xmm13
movdqa xmm13, xmm5
movdqa xmm10, xmm4
aesenc xmm15, xmm5
movdqa xmm5, xmm7
aesenc xmm1, xmm11
movdqa xmm8, xmm1
aesenc xmm3, xmm14
movdqa xmm11, xmm3
movdqa xmm14, xmm2
aesenc xmm5, xmm0
movdqa xmm0, xmmword [rsp + 0x10]
xorps xmm5, xmm0
movdqa xmmword [rsp], xmm5
movdqu xmmword [r8], xmm5
aesenc xmm9, xmm2
xorps xmm9, xmm12
aesenc xmm8, xmm7
aesenc xmm11, xmm1
aesenc xmm14, xmm3
aesenc xmm10, xmm6
aesenc xmm13, xmm4
sub rax, 1
jne 0x140319c10
lea r11, [rsp + 0xc8]
movdqu xmmword [r8 + 0x10], xmm15
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm15, xmmword [rsp + 0x20]
movdqu xmmword [r8 + 0x20], xmm13
movaps xmm13, xmmword [rsp + 0x40]
movdqu xmmword [r8 + 0x30], xmm10
movaps xmm10, xmmword [r11 - 0x58]
movdqu xmmword [r8 + 0x40], xmm9
movaps xmm9, xmmword [r11 - 0x48]
movdqu xmmword [r8 + 0x50], xmm14
movaps xmm14, xmmword [rsp + 0x30]
movdqu xmmword [r8 + 0x60], xmm11
movaps xmm11, xmmword [r11 - 0x68]
movdqu xmmword [r8 + 0x70], xmm8
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
ret
Function at 0x140319d50
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x78
mov rax, qword [rsp + 0xa0]
lea r8, [r8*8]
movaps xmmword [rsp + 0x60], xmm6
lea r9, [r9*8]
movaps xmmword [rsp + 0x50], xmm7
movq xmm6, r8
movaps xmmword [rsp + 0x40], xmm8
movq xmm0, r9
movdqu xmm5, xmmword [rax + 0x20]
mov r8d, 7
movdqu xmm8, xmmword [rax + 0x60]
movdqu xmm2, xmmword [rax + 0x40]
movdqu xmm3, xmmword [rax + 0x30]
movdqu xmm7, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x30], xmm9
movdqu xmm9, xmmword [rax + 0x50]
punpcklqdq xmm6, xmm0
movaps xmmword [rsp + 0x20], xmm10
xorps xmm6, xmm5
movdqu xmm10, xmmword [rax + 0x70]
nop word [rax + rax]
movdqa xmm0, xmm8
movdqa xmm4, xmm10
movdqa xmm1, xmm9
aesenc xmm4, xmmword [rax]
xorps xmm4, xmm6
aesenc xmm0, xmm10
movdqa xmm10, xmm0
movdqa xmm0, xmm2
aesenc xmm0, xmm9
movdqa xmm9, xmm0
movdqa xmm0, xmm3
aesenc xmm0, xmm2
movdqa xmm2, xmm0
movdqa xmm0, xmm7
xorps xmm2, xmm6
aesenc xmm1, xmm8
movdqa xmm8, xmm1
movdqa xmm1, xmm5
aesenc xmm0, xmm5
movdqa xmm5, xmm0
movdqu xmm0, xmmword [rax]
movdqu xmmword [rax], xmm4
aesenc xmm0, xmm7
movdqa xmm7, xmm0
aesenc xmm1, xmm3
movdqa xmm3, xmm1
sub r8, 1
jne 0x140319dd0
movdqu xmmword [rax + 0x20], xmm5
movdqu xmmword [rax + 0x70], xmm10
movdqu xmmword [rax + 0x60], xmm8
movdqu xmmword [rax + 0x50], xmm9
movdqu xmmword [rax + 0x40], xmm2
movdqu xmmword [rax + 0x30], xmm1
movdqu xmmword [rax + 0x10], xmm0
cmp rdx, 0x10
jne 0x140319e93
xorps xmm2, xmm9
xorps xmm3, xmm5
xorps xmm2, xmm8
xorps xmm4, xmm0
xorps xmm2, xmm3
xorps xmm2, xmm4
movdqu xmmword [rcx], xmm2
jmp 0x140319ecc
cmp rdx, 0x20
jne 0x140319ec2
xorps xmm4, xmm0
xorps xmm3, xmm5
xorps xmm3, xmm4
movdqu xmmword [rcx], xmm3
movdqu xmm1, xmmword [rax + 0x40]
movdqu xmm0, xmmword [rax + 0x70]
xorps xmm1, xmmword [rax + 0x50]
xorps xmm0, xmmword [rax + 0x60]
xorps xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
jmp 0x140319ecc
mov r8, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x20]
add rsp, 0x78
ret
Function at 0x14031bc00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1403c0f00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
mov rsi, r9
movups xmmword [rsp + 0x20], xmm0
mov rdi, r8
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm1, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
movdqu xmm0, xmmword [rsi + 0x20]
sub r8, rdi
xorps xmm1, xmmword [rsi + 0x50]
add rcx, rdi
xorps xmm1, xmmword [rsi + 0x40]
xor edx, edx
xorps xmm1, xmmword [rsi + 0x10]
andps xmm0, xmmword [rsi + 0x30]
xorps xmm1, xmm0
movdqu xmmword [rsp + 0x20], xmm1
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm4, xmmword [rsi + 0x50]
movdqu xmm0, xmmword [rsi + 0x40]
movdqu xmm1, xmmword [rsi + 0x30]
aesenc xmm1, xmmword [rsi + 0x40]
aesenc xmm0, xmm4
aesenc xmm4, xmmword [rsi]
movdqu xmmword [rsi + 0x50], xmm0
movdqu xmm0, xmmword [rsi + 0x20]
aesenc xmm0, xmmword [rsi + 0x30]
movdqu xmmword [rsi + 0x30], xmm0
movdqu xmm0, xmmword [rsi]
aesenc xmm0, xmmword [rsi + 0x10]
movdqu xmmword [rsi + 0x40], xmm1
movdqu xmm1, xmmword [rsi + 0x10]
aesenc xmm1, xmmword [rsi + 0x20]
movdqu xmmword [rsi + 0x10], xmm0
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rsi + 0x20], xmm1
xorps xmm4, xmm0
movdqu xmmword [rsi], xmm4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140331c20
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14031bda0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
sub rsp, 0x88
movdqa xmm3, xmmword [0x14035c740]
movdqa xmm4, xmmword [0x14035c750]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movdqu xmm8, xmmword [rdx]
movaps xmmword [rax - 0x48], xmm9
movdqu xmm9, xmmword [rdx + 0x10]
movaps xmmword [rax - 0x58], xmm10
movdqu xmm10, xmmword [rcx]
movaps xmmword [rax - 0x68], xmm11
movdqu xmm11, xmmword [rcx + 0x10]
movaps xmmword [rax - 0x78], xmm12
xorps xmm8, xmm10
xorps xmm9, xmm11
movaps xmmword [rsp], xmm13
movdqa xmm7, xmm11
movdqa xmm2, xmm10
xorps xmm7, xmm4
movdqa xmm12, xmm9
xorps xmm2, xmm3
movdqa xmm13, xmm8
mov eax, 4
nop dword [rax]
movdqa xmm0, xmm3
movdqa xmm5, xmm2
movdqa xmm1, xmm4
aesenc xmm0, xmm2
movdqa xmm6, xmm0
movdqa xmm2, xmm12
aesenc xmm1, xmm3
movdqa xmm3, xmm13
aesenc xmm2, xmm4
movdqa xmm4, xmm1
aesenc xmm4, xmm0
movdqa xmm0, xmm2
aesenc xmm3, xmm12
aesenc xmm0, xmm1
movdqa xmm1, xmm3
aesenc xmm1, xmm2
aesenc xmm5, xmm7
aesenc xmm7, xmm13
movdqa xmm13, xmm4
xorps xmm7, xmm10
movdqa xmm2, xmm7
aesenc xmm2, xmm3
movdqa xmm3, xmm0
aesenc xmm3, xmm4
movdqa xmm4, xmm1
aesenc xmm4, xmm0
movdqa xmm0, xmm2
aesenc xmm6, xmm5
aesenc xmm13, xmm6
aesenc xmm0, xmm1
aesenc xmm5, xmm7
movdqa xmm7, xmm3
xorps xmm5, xmm11
movdqa xmm1, xmm5
aesenc xmm1, xmm2
movdqa xmm2, xmm4
aesenc xmm2, xmm3
movdqa xmm3, xmm0
aesenc xmm7, xmm13
aesenc xmm3, xmm4
movdqa xmm4, xmm1
aesenc xmm6, xmm5
xorps xmm6, xmm8
movdqa xmm12, xmm6
aesenc xmm13, xmm6
xorps xmm13, xmm9
movdqu xmmword [r8], xmm13
aesenc xmm4, xmm0
aesenc xmm12, xmm1
sub rax, 1
jne 0x14031be20
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x30]
movaps xmm11, xmmword [rsp + 0x20]
movaps xmm13, xmmword [rsp]
movdqu xmmword [r8 + 0x10], xmm12
movaps xmm12, xmmword [rsp + 0x10]
movdqu xmmword [r8 + 0x50], xmm7
movaps xmm7, xmmword [rsp + 0x60]
movdqu xmmword [r8 + 0x20], xmm4
movdqu xmmword [r8 + 0x30], xmm3
movdqu xmmword [r8 + 0x40], xmm2
add rsp, 0x88
ret
Function at 0x14031bf70
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
mov rax, qword [rsp + 0x80]
lea r8, [r8*8]
movaps xmmword [rsp + 0x40], xmm6
lea r9, [r9*8]
movaps xmmword [rsp + 0x30], xmm7
movq xmm0, r9
movaps xmmword [rsp + 0x20], xmm8
movq xmm8, r8
movdqu xmm6, xmmword [rax + 0x30]
mov r8d, 7
movdqu xmm7, xmmword [rax + 0x50]
movdqu xmm4, xmmword [rax + 0x40]
movdqu xmm2, xmmword [rax + 0x20]
movdqu xmm5, xmmword [rax + 0x10]
punpcklqdq xmm8, xmm0
xorps xmm8, xmm6
nop
movdqa xmm0, xmm4
movdqa xmm3, xmm7
aesenc xmm3, xmmword [rax]
xorps xmm3, xmm8
aesenc xmm0, xmm7
movdqa xmm7, xmm0
movdqa xmm0, xmm6
aesenc xmm0, xmm4
movdqa xmm4, xmm0
movdqa xmm0, xmm2
aesenc xmm0, xmm6
movdqa xmm6, xmm0
movdqa xmm0, xmm5
aesenc xmm0, xmm2
movdqa xmm2, xmm0
movdqu xmm0, xmmword [rax]
movdqu xmmword [rax], xmm3
aesenc xmm0, xmm5
movdqa xmm5, xmm0
sub r8, 1
jne 0x14031bfd0
movdqu xmmword [rax + 0x30], xmm6
movdqu xmmword [rax + 0x50], xmm7
movdqu xmmword [rax + 0x40], xmm4
movdqu xmmword [rax + 0x20], xmm2
movdqu xmmword [rax + 0x10], xmm0
cmp rdx, 0x10
jne 0x14031c05c
xorps xmm2, xmm6
xorps xmm4, xmm7
xorps xmm2, xmm4
xorps xmm3, xmm0
xorps xmm2, xmm3
movdqu xmmword [rcx], xmm2
jmp 0x14031c08a
cmp rdx, 0x20
jne 0x14031c080
xorps xmm2, xmm0
xorps xmm2, xmm3
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rax + 0x40]
xorps xmm0, xmmword [rax + 0x50]
xorps xmm0, xmmword [rax + 0x30]
movdqu xmmword [rcx + 0x10], xmm0
jmp 0x14031c08a
mov r8, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x14031ff10
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x1403c0f00]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call fcn.1402e29b0
mov r13, rax
test rax, rax
jne 0x14031ff8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1402a9fc0
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1402c5c10
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [str.:03_]
jmp 0x140320148
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140320001
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1402a9fc0
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1402c5c10
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x140320132
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14032004a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1402a9fc0
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1402c5c10
mov ebx, 0x4d
jmp 0x140320126
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x14032007f
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.1402c5c10
mov ebx, 0x4d
jmp 0x14032011e
lea rcx, [rdi + 1]
call qword [str.403_]
mov rbp, rax
test rax, rax
jne 0x140320099
lea ebx, [rax + 0x1b]
jmp 0x14032011e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x1403200f8
nop word [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14032016a
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1403200ef
mov edi, esi
jmp 0x1403200f1
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x1403200b0
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.14031fc90
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [str.:03_]
mov rcx, r13
call fcn.14033303a
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140331c20
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1402a9fc0
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1402c5c10
mov ebx, 0x4d
jmp 0x140320116
Function at 0x14032f9c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [str.403_]
mov rbx, rax
test rax, rax
jne 0x14032fa05
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x14032fa50
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x14032fab2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x14032fa70
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x14032faf3
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140361280]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140361281]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14032fac0
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
Function at 0x14032fb10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.1402af370
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [str.403_]
mov rbx, rax
test rax, rax
je 0x14032fcb6
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x14032fba0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x14032fc02
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x14032fbc0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x14032fc43
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140361280]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140361281]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14032fc10
mov rcx, qword [rsp + 0x70]
call fcn.1402af370
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x14032fc72
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [str.:03_]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, 0x1b
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x14032fde0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1403c0f00]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14032fe2c
mov eax, 0x1b
jmp 0x14032fefe
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14032fe70
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x14032fefe
mov rcx, rbp
call fcn.1402af370
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x14032feda
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14032feea
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14032fefc
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140331c20
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140330cb0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x140330d15
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x140330cc0
ret

Function at 0x140330ea0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140330eda
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140330edf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140330f28
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140330f28
dec r8
sub rdx, 1
jne 0x140330f0e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140003950
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x17], rax
movsxd rbx, r8d
mov r14, rdx
mov rdi, rcx
mov qword [rbp - 0x51], rcx
xor esi, esi
mov dword [rbp - 0x59], esi
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
test rdx, rdx
je 0x140003aac
test r8d, r8d
jle 0x140003aac
lfence
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movdqa xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rsi
lea r12, vtable.tinysha::IteratedHash_unsigned_int__struct_tinysha::EnumToType_enum_tinysha::ByteOrder__1___64__class_tinysha::HashTransformation_.0
mov qword [rbp - 0x49], r12
lea edx, [rsi + 0x10]
lea rcx, [rbp - 0x41]
call fcn.14000a5b0
nop
lea r15, [0x140000000]
lea rax, [r15 + 0x18fdb0]
mov qword [rbp - 0x49], rax
lea edx, [rsi + 8]
lea rcx, [rbp - 0x29]
call fcn.14000a5b0
mov rax, qword [rbp - 0x19]
mov dword [rax], 0x6a09e667
mov dword [rax + 4], 0xbb67ae85
mov dword [rax + 8], 0x3c6ef372
mov dword [rax + 0xc], 0xa54ff53a
mov dword [rax + 0x10], 0x510e527f
mov dword [rax + 0x14], 0x9b05688c
mov dword [rax + 0x18], 0x1f83d9ab
mov dword [rax + 0x1c], 0x5be0cd19
lea rax, [r15 + 0x18ff20]
mov qword [rbp - 0x49], rax
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.14000ade0
mov rax, qword [rbp - 0x49]
mov rbx, qword [rax + 0x68]
mov rax, qword [rax + 0x30]
lea rcx, [0x140008080]
cmp rax, rcx
jne 0x140003a6c
lea eax, [rsi + 0x20]
jmp 0x140003a76
lea rcx, [rbp - 0x49]
call qword [case.0x14000aed8.0]
mov r8d, eax
lea rax, [fcn.14000b030]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
cmp rbx, rax
jne 0x140003a94
call fcn.14000b030
jmp 0x140003a9e
mov rax, rbx
call qword [case.0x14000aed8.0]
nop
mov qword [rbp - 0x49], r12
lea rcx, [rbp - 0x49]
call fcn.1400080c0
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rbp - 0x59], 2
mov r14d, gethostname
nop
movzx ebx, byte [rbp + rsi - 9]
movzx eax, bl
shr al, 4
mov edx, 0x30
cmp al, 0xa
cmovae edx, r14d
add dl, al
mov rcx, rdi
call fcn.1400098e0
and bl, 0xf
mov edx, 0x30
cmp bl, 0xa
cmovae edx, r14d
add dl, bl
mov rcx, rdi
call fcn.1400098e0
inc rsi
cmp rsi, 0x20
jl 0x140003ad0
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401219d0
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret