joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e73c0
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 [0x14011f0d0]
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 [0x14011f0c0]
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 0x1400e7460
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 0x1400e75a0
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 0x1400e7620
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 0x1400e76e3
xorps xmm2, xmm9
xorps xmm3, xmm5
xorps xmm2, xmm8
xorps xmm4, xmm0
xorps xmm2, xmm3
xorps xmm2, xmm4
movdqu xmmword [rcx], xmm2
jmp 0x1400e771c
cmp rdx, 0x20
jne 0x1400e7712
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 0x1400e771c
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 0x1400e9450
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140142f00]
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.1400fee90
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400e95f0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
sub rsp, 0x88
movdqa xmm3, xmmword [0x14011f100]
movdqa xmm4, xmmword [0x14011f110]
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 0x1400e9670
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 0x1400e97c0
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 0x1400e9820
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 0x1400e98ac
xorps xmm2, xmm6
xorps xmm4, xmm7
xorps xmm2, xmm4
xorps xmm3, xmm0
xorps xmm2, xmm3
movdqu xmmword [rcx], xmm2
jmp 0x1400e98da
cmp rdx, 0x20
jne 0x1400e98d0
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 0x1400e98da
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 0x1400fd210
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 [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400fd255
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 0x1400fd2a0
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 0x1400fd302
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 0x1400fd2c0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1400fd343
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140123c40]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140123c41]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400fd310
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 0x1400fd360
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.14007cbb0
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 [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400fd506
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 0x1400fd3f0
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 0x1400fd452
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 0x1400fd410
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1400fd493
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140123c40]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140123c41]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400fd460
mov rcx, qword [rsp + 0x70]
call fcn.14007cbb0
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 0x1400fd4c2
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 [fcn.140100346]
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 0x1400fd630
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 [0x140142f00]
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 0x1400fd67c
mov eax, 0x1b
jmp 0x1400fd74e
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 0x1400fd6c0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1400fd74e
mov rcx, rbp
call fcn.14007cbb0
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 0x1400fd72a
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 0x1400fd73a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400fd74c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400fee90
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400fe500
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1400fe565
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 0x1400fe510
ret

Function at 0x1400fe69c
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 0x1400fe6d6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400fe6db
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 0x1400fe724
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 0x1400fe724
dec r8
sub rdx, 1
jne 0x1400fe70a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400fff40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fff8a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400fff8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400fff8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fff8a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400fff8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400fff8c
xor al, al
add rsp, 0x28
ret
Function at 0x14000aa90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14000ab02
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x14000aac0
mov ecx, dword [r10]
jmp 0x14000ac03
cmp ecx, 0x270
jb 0x14000ac03
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x14000ab30
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov rax, qword [rbx]
nop dword [rax]
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x14000ab80
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x14002e150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r12, r9
movzx r15d, r8b
mov r14, rdx
mov r10, rcx
mov r13, qword [rcx]
mov rsi, r13
mov rbx, qword [r13 + 8]
mov dil, 1
cmp byte [rbx + 0x19], 0
jne 0x14002e1de
mov rsi, rbx
test r15b, r15b
je 0x14002e1b3
lea rcx, [rbx + 0x20]
mov rdx, r12
call fcn.14000fc10
mov edi, eax
shr edi, 0x1f
xor dil, 1
jmp 0x14002e1c5
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.14000fc10
shr eax, 0x1f
movzx edi, al
test dil, dil
je 0x14002e1cf
mov rbx, qword [rbx]
jmp 0x14002e1d3
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x19], 0
je 0x14002e194
mov r10, qword [rsp + 0x70]
mov rbx, rsi
mov rcx, rsi
test dil, dil
je 0x14002e2a0
cmp rsi, qword [r13]
jne 0x14002e22a
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r12
mov r9, rsi
mov r8b, 1
lea rdx, [rsp + 0x70]
mov rcx, r10
call fcn.14002dec0
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x14002e2f5
cmp byte [rsi + 0x19], 0
je 0x14002e236
mov rbx, qword [rsi + 0x10]
jmp 0x14002e29d
mov rax, qword [rsi]
cmp byte [rax + 0x19], 0
je 0x14002e27f
mov rax, qword [rsi + 8]
cmp byte [rax + 0x19], 0
jne 0x14002e271
mov rdx, rsi
nop dword [rax]
mov r8, rax
mov r9, rax
mov rcx, rdx
cmp rdx, qword [rax]
jne 0x14002e271
mov rbx, rax
mov rax, qword [rax + 8]
mov rdx, rbx
mov rcx, rbx
cmp byte [rax + 0x19], 0
je 0x14002e250
cmp byte [rbx + 0x19], 0
jne 0x14002e2a0
mov rbx, rax
mov rcx, rax
jmp 0x14002e2a0
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14002e29d
nop dword [rax]
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x14002e290
mov rcx, rbx
add rcx, 0x20
mov rdx, r12
call fcn.14000fc10
shr eax, 0x1f
test al, al
je 0x14002e2ea
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r12
mov r9, rsi
movzx r8d, dil
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14002dec0
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x14002e2f5
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14007e318
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14007e32b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14007e938
lea rdx, [0x140112220]
lea rcx, [rsp + 0x20]
call fcn.1400981cc
int3

Function at 0x140088b74
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14011cb38]
xor edx, edx
jmp fcn.14007e318

Function at 0x14008950c
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14011cb38]
jmp fcn.14007e318

Function at 0x140094c68
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140094d24]
mov r9, qword [r9 + 8]
jmp fcn.14008652c

Function at 0x140094cfc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140094d34]
mov r9, qword [r9 + 8]
jmp fcn.14008652c

Function at 0x1400aa49c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400aa298