joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140228920
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1402289f3
cmp byte [rcx + 0x71], 0
je 0x1402289f3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1402289ef
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1402289b4
sub eax, 1
je 0x1402289b8
cmp eax, 2
jne 0x1402289ef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14028bc70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1402289e6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1402289ef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14022899c
xor al, al
jmp 0x14022899c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14028bc70
add rsp, 0x60
pop rbx
ret

Function at 0x14022cf30
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x370
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rax, [rsp + 0x150]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0xe]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x150]
mov rdx, rbx
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14022cfa0
mov r9d, 0x104
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x150]
call qword [sym.imp.obs.dll_os_wcs_to_utf8]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14022cfe0
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140009000
mov rax, rdi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14028bc70
mov rbx, qword [rsp + 0x388]
add rsp, 0x370
pop rdi
ret
Function at 0x14025edc0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.14025efe0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x14025eec7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x14025ee24
mov rax, qword [0x14048a008]
cmp qword [rsp + 0x20], rax
ja 0x14025ee24
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x14025ede6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x14025ee53
jmp 0x14025eec7
cmp dword [rsp + 0x50], 0x10000
jne 0x14025eeaa
cmp qword [rsp + 0x48], 0x10000
jb 0x14025eeaa
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14025ee98
mov rax, qword [rsp + 0x28]
jmp 0x14025eec9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x14025eec2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.14025efe0
mov qword [rsp + 0x20], rax
jmp 0x14025ede6
xor eax, eax
add rsp, 0x68
ret

Function at 0x14025eed0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.14025f020
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x14025efd3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x14025ef2b
mov rax, qword [0x14048a008]
cmp qword [rsp + 0x20], rax
ja 0x14025ef2b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x14025eeed
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x14025ef5a
jmp 0x14025efd3
cmp dword [rsp + 0x50], 0x10000
jne 0x14025efb1
cmp qword [rsp + 0x48], 0x10000
jb 0x14025efb1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14025ef9f
mov rax, qword [rsp + 0x28]
jmp 0x14025efd5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x14025efce
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14025f020
mov qword [rsp + 0x20], rax
jmp 0x14025eeed
xor eax, eax
add rsp, 0x68
ret
Function at 0x140260a90
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140800f38], eax
je 0x140260aac
mov eax, 0x10dd
jmp 0x140260bd3
mov rax, qword [0x140800f50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140260b57
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x140260b22
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x140260b22
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.14025f710
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.14028bc90
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x140260ab8
mov qword [0x140800f50], 0
call fcn.140260170
mov rax, qword [0x140800f48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140260bbc
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, select
mov rcx, qword [rsp + 0x48]
call fcn.14028bc90
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x140260b73
mov qword [0x140800f48], 0
mov dword [0x140800f38], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x140264120
Capabilities:
Hash data with md5

Disassembly:
mov r8, rcx
test rcx, rcx
je case.default.0x14026414d
mov rax, qword [rcx]
test rax, rax
je case.default.0x14026414d
mov eax, dword [rax + 8]
dec eax
cmp eax, 6
ja case.default.0x14026414d
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x2641a4]
add rcx, rdx
jmp rcx
mov rcx, qword [r8 + 8]
jmp 0x140265bb0
mov rcx, qword [r8 + 8]
jmp 0x140267dd0
mov rcx, qword [r8 + 8]
jmp 0x140267dd0
mov rcx, qword [r8 + 8]
mov edx, 1
jmp fcn.14026a7c0
mov rcx, qword [r8 + 8]
xor edx, edx
jmp fcn.14026a7c0
mov rcx, qword [r8 + 8]
mov edx, 1
jmp fcn.14026b540
mov rcx, qword [r8 + 8]
xor edx, edx
jmp fcn.14026b540
mov eax, 0xffffaf00
ret
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov qword [rcx], rax
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
ret
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov qword [rcx], rax
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0xc3d2e1f0
ret

Function at 0x140264240
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r9, r9
je 0x1402643a4
cmp r9, 8
jb 0x14026437d
lea rcx, [r9 - 1]
lea rax, [r8 - 1]
add rcx, r11
add rax, r9
cmp r11, rax
ja 0x140264279
cmp rcx, r8
jae 0x14026437d
lea rax, [rdx - 1]
add rax, r9
cmp r11, rax
ja 0x14026428e
cmp rcx, rdx
jae 0x14026437d
mov rcx, rdx
mov qword [rsp + 0x10], rbx
sub rcx, r8
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x140264337
mov rdi, r9
mov qword [rsp + 0x18], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
mov rbx, r11
lea rax, [r8 + 0x10]
sub rbx, r8
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r10, rsi
jb 0x1402642d0
mov rsi, qword [rsp + 0x18]
cmp rdi, 8
jb 0x14026436f
mov rbx, r9
and rbx, 0xfffffffffffffff8
mov rdi, r11
lea rax, [r10 + r8]
sub rdi, r8
nop dword [rax + rax]
movq xmm1, qword [rcx + rax]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax + rdi - 8], xmm1
cmp r10, rbx
jb 0x140264350
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r10, r9
jae 0x1402643a4
sub rdx, r8
lea rax, [r10 + r8]
sub r11, r8
sub r9, r10
nop word [rax + rax]
movzx ecx, byte [rax + rdx]
xor cl, byte [rax]
mov byte [rax + r11], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x140264390
add rsp, 8
ret
Function at 0x14026a7c0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
cmp edx, 1
jbe 0x14026a7cb
mov eax, 0xffffff8c
ret
xor eax, eax
mov r8d, 0xc1059ed8
mov qword [rcx], rax
test edx, edx
mov eax, 0x6a09e667
cmovne eax, r8d
mov r8d, 0x367cd507
mov dword [rcx + 8], eax
mov eax, 0xbb67ae85
cmovne eax, r8d
mov r8d, 0x3070dd17
mov dword [rcx + 0xc], eax
mov eax, 0x3c6ef372
cmovne eax, r8d
mov r8d, 0xf70e5939
mov dword [rcx + 0x10], eax
mov eax, 0xa54ff53a
cmovne eax, r8d
mov r8d, 0xffc00b31
mov dword [rcx + 0x14], eax
mov eax, 0x510e527f
cmovne eax, r8d
mov r8d, 0x68581511
mov dword [rcx + 0x18], eax
mov eax, 0x9b05688c
cmovne eax, r8d
mov r8d, 0x64f98fa7
mov dword [rcx + 0x1c], eax
mov eax, 0x1f83d9ab
cmovne eax, r8d
mov r8d, 0xbefa4fa4
mov dword [rcx + 0x20], eax
mov eax, 0x5be0cd19
cmovne eax, r8d
mov dword [rcx + 0x24], eax
xor eax, eax
mov dword [rcx + 0x68], edx
ret
Function at 0x14026b540
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
cmp edx, 1
jbe 0x14026b550
mov eax, 0xffffff8b
ret
xor eax, eax
movabs r8, 0xcbbb9d5dc1059ed8
mov qword [rcx], rax
test edx, edx
mov qword [rcx + 8], rax
movabs rax, 0x6a09e667f3bcc908
cmovne rax, r8
movabs r8, 0x629a292a367cd507
mov qword [rcx + 0x10], rax
movabs rax, 0xbb67ae8584caa73b
cmovne rax, r8
movabs r8, 0x9159015a3070dd17
mov qword [rcx + 0x18], rax
movabs rax, 0x3c6ef372fe94f82b
cmovne rax, r8
movabs r8, 0x152fecd8f70e5939
mov qword [rcx + 0x20], rax
movabs rax, 0xa54ff53a5f1d36f1
cmovne rax, r8
movabs r8, 0x67332667ffc00b31
mov qword [rcx + 0x28], rax
movabs rax, 0x510e527fade682d1
cmovne rax, r8
movabs r8, 0x8eb44a8768581511
mov qword [rcx + 0x30], rax
movabs rax, 0x9b05688c2b3e6c1f
cmovne rax, r8
movabs r8, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x38], rax
movabs rax, 0x1f83d9abfb41bd6b
cmovne rax, r8
movabs r8, 0x47b5481dbefa4fa4
mov qword [rcx + 0x40], rax
movabs rax, 0x5be0cd19137e2179
cmovne rax, r8
mov qword [rcx + 0x48], rax
xor eax, eax
mov dword [rcx + 0xd0], edx
ret

Function at 0x14026b760
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.140263e70
test rax, rax
jne 0x14026b797
mov eax, 0xffffbf80
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1402637e0
Function at 0x14026d110
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0x98
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov edi, dword [rbp + 0x7f]
mov rbx, rcx
lea rcx, [rbp - 0x49]
mov r13, r9
mov r12, r8
mov r14, rdx
call fcn.140263ef0
mov ecx, edi
call fcn.140263e70
mov rdi, rax
test rax, rax
jne 0x14026d165
mov eax, 0xffffbf80
jmp 0x14026d317
lea rcx, [rbp - 0x49]
mov qword [rsp + 0xd8], rsi
call fcn.140263ef0
xor r8d, r8d
lea rcx, [rbp - 0x49]
mov rdx, rdi
call fcn.140263f00
mov esi, eax
test eax, eax
jne 0x14026d2f6
mov rcx, rdi
call fcn.140263a10
mov dword [rbp - 0x51], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
test r14, r14
je 0x14026d2f6
mov qword [rsp + 0x90], r15
movzx r15d, al
cmp r14, r15
lea rcx, [rbp - 0x49]
mov rdi, r14
cmovae rdi, r15
call fcn.140264120
mov esi, eax
test eax, eax
jne 0x14026d2ee
mov r8, r13
lea rcx, [rbp - 0x49]
mov rdx, r12
call fcn.1402641c0
mov esi, eax
test eax, eax
jne 0x14026d2ee
lea r8d, [rax + 4]
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x49]
call fcn.1402641c0
mov esi, eax
test eax, eax
jne 0x14026d2ee
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x49]
call fcn.1402638c0
mov esi, eax
test eax, eax
jne 0x14026d2ee
xor ecx, ecx
test rdi, rdi
je 0x14026d2e2
cmp rdi, 0x40
jb 0x14026d2d0
lea rdx, [rdi - 1]
add rdx, rbx
lea rax, [rbp + rdi - 0x32]
cmp rbx, rax
ja 0x14026d25d
lea rax, [rbp - 0x31]
cmp rdx, rax
jae 0x14026d2d0
mov rax, rdi
and rax, 0xffffffffffffffc0
lea rdx, [rbp - 0x31]
lea r8, [rbp - 0x11]
lea r9, [rbp - 1]
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rdx + rcx]
xorps xmm1, xmm0
movdqu xmmword [rbx], xmm1
movdqu xmm0, xmmword [rbx + 0x10]
movdqu xmm1, xmmword [rbp + rcx - 0x21]
xorps xmm1, xmm0
movdqu xmmword [rbx + 0x10], xmm1
movdqu xmm0, xmmword [rbx + 0x20]
movdqu xmm1, xmmword [r8 + rcx]
xorps xmm1, xmm0
movdqu xmmword [rbx + 0x20], xmm1
movdqu xmm0, xmmword [rbx + 0x30]
movdqu xmm1, xmmword [r9 + rcx]
add rcx, 0x40
xorps xmm1, xmm0
movdqu xmmword [rbx + 0x30], xmm1
add rbx, 0x40
cmp rcx, rax
jb 0x14026d270
cmp rcx, rdi
jae 0x14026d2e2
nop dword [rax + rax]
movzx eax, byte [rbp + rcx - 0x31]
inc rcx
xor byte [rbx], al
inc rbx
cmp rcx, rdi
jb 0x14026d2d0
inc byte [rbp - 0x4e]
sub r14, rdi
jne 0x14026d1c2
mov r15, qword [rsp + 0x90]
mov edx, 0x40
lea rcx, [rbp - 0x31]
call fcn.140265090
lea rcx, [rbp - 0x49]
call fcn.140263940
mov eax, esi
mov rsi, qword [rsp + 0xd8]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14028bc70
add rsp, 0x98
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
Function at 0x1402741c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x50
mov rsi, rcx
mov rbp, r9
lea rcx, [rsp + 0x20]
mov r15, r8
mov rdi, rdx
call fcn.1402712b0
lea rcx, [rsp + 0x38]
call fcn.1402712b0
xor edx, edx
lea rcx, [rsi + 0x98]
call fcn.1402711e0
cmp eax, 1
je 0x14027420f
mov eax, 0xffffb080
jmp 0x140274358
xor edx, edx
mov qword [rsp + 0x70], r12
mov rcx, rdi
call fcn.1402711e0
mov rbx, qword [rsp + 0x98]
lea rcx, [rsp + 0x20]
test eax, eax
mov rdx, rdi
sete al
mov byte [rbx], al
call fcn.14026e870
mov r12d, eax
test eax, eax
jne 0x14027433c
mov r8, rdi
lea rdx, [rsi + 0x98]
lea rcx, [rsp + 0x38]
call fcn.140272f10
mov r12d, eax
test eax, eax
jne 0x14027433c
movzx r8d, byte [rbx]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14027cdb0
mov r12d, eax
test eax, eax
jne 0x14027433c
lea r8, [rbp + 1]
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
xor esi, esi
test rbp, rbp
je 0x1402742de
mov qword [rsp + 0x78], r14
movzx r14d, byte [rsp + 0x90]
xor ebx, ebx
test r14, r14
je 0x1402742d1
mov rdi, rsi
nop
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1402711e0
mov rcx, rbx
add rdi, rbp
shl al, cl
inc rbx
or byte [rsi + r15], al
cmp rbx, r14
jb 0x1402742b0
inc rsi
cmp rsi, rbp
jb 0x1402742a5
mov r14, qword [rsp + 0x78]
xor bl, bl
cmp rbp, 1
jb 0x14027433c
lea r11, [r15 + 1]
nop word [rax + rax]
movzx edx, byte [r11 - 1]
mov r10d, 1
movzx r9d, byte [r11]
lea r11, [r11 + 1]
xor r9b, bl
mov ecx, edx
and bl, byte [r11 - 1]
movzx eax, r9b
and al, 1
sub r10b, al
movzx eax, r10b
imul ecx, eax
shl r10b, 7
or r10b, dl
mov byte [r11 - 2], r10b
movzx eax, cl
xor cl, r9b
and al, r9b
mov byte [r11 - 1], cl
or bl, al
sub rbp, 1
jne 0x1402742f0
lea rcx, [rsp + 0x38]
call fcn.140270c60
lea rcx, [rsp + 0x20]
call fcn.140270c60
mov eax, r12d
mov r12, qword [rsp + 0x70]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret

Function at 0x14027b300
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
lea rbx, [0x1402bce30]
mov r14, rdx
mov rcx, rbx
test rsi, rsi
je 0x14027b35e
cmp qword [0x1402bce30], 0
je 0x14027b35e
mov rdi, qword [rsi + 8]
cmp qword [rcx + 8], rdi
jne 0x14027b351
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14027b379
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x14027b338
mov eax, 0xffffffd2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
test rbx, rbx
je 0x14027b35e
mov eax, dword [rbx + 0x20]
mov dword [r14], eax
xor eax, eax
jmp 0x14027b363

Function at 0x14027c860
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r10, r8
mov r9, rdx
mov r11, rcx
test r8, r8
je 0x14027c899
sub r11, rdx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r11 + r9]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
xor r8d, edx
or eax, r8d
sub r10, 1
jne 0x14027c880
ret
Function at 0x14027ca40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx r15d, byte [rcx + 1]
lea r14, [rdx - 0xb]
movzx eax, byte [rcx]
xor esi, esi
xor r10b, r10b
mov rbx, rdx
cmp r9, r14
mov rbp, r9
mov edx, 2
mov r11, rcx
cmova rbp, r14
mov edi, esi
xor r15d, 2
or r15d, eax
cmp rdx, rbx
jae 0x14027cad0
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + r11]
neg cl
or cl, byte [rdx + r11]
inc rdx
not cl
shr cl, 7
or r10b, cl
movzx eax, r10b
neg al
or al, r10b
not al
movzx eax, al
shr rax, 7
add rdi, rax
cmp rdx, rbx
jb 0x14027caa0
movzx ecx, r10b
lea rax, [rdi - 8]
neg ecx
shr rax, 0x3f
shr ecx, 0x1f
mov r9, rbp
dec ecx
and ecx, 1
or ecx, eax
mov eax, ebp
or r15d, ecx
mov ecx, ebx
sub ecx, edi
mov r8d, r15d
neg r8d
shr r8d, 0x1f
neg r8d
mov edx, r8d
lea edi, [rcx - 3]
not edx
and eax, r8d
and edi, edx
and r8d, 0x4100
or edi, eax
sub r9, rdi
shr r9, 0x3f
mov r10d, r9d
or r9d, r15d
neg r9d
neg r10d
shr r10d, 0x1f
shr r9d, 0x1f
mov r13d, r10d
neg r13d
neg r9d
and r13d, edx
mov edx, listen
and r13d, 0x4400
or r13d, r8d
neg r13d
cmp rdx, rbx
jae 0x14027cc00
cmp r14, 0x40
jb 0x14027cbe6
movsx eax, r9b
and r14d, 0x3f
mov rcx, rbx
sub rcx, r14
movd xmm2, eax
lea rax, [r11 + 0x2b]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
andnps xmm2, xmmword [0x140419690]
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add rdx, 0x40
movdqa xmm1, xmm2
andps xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
andps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
andps xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
andps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rdx, rcx
jb 0x14027cb90
cmp rdx, rbx
jae 0x14027cc00
mov rcx, rbx
lea rax, [rdx + r11]
sub rcx, rdx
not r9b
and byte [rax], r9b
lea rax, [rax + 1]
sub rcx, 1
jne 0x14027cbf3
neg r10d
mov eax, ebp
mov r14d, r10d
mov ecx, r10d
not r14d
and rax, rcx
and r14, rdi
sub r11, rbp
or r14, rax
lea r12, [r11 + rbx]
test rbp, rbp
je 0x14027cc8c
lea r15, [rbp - 1]
nop word [rax + rax]
mov rax, rsi
sub rax, r14
shr rax, 0x3f
neg eax
shr eax, 0x1f
test r15, r15
je 0x14027cc75
mov ebx, eax
mov r10, r12
neg ebx
mov r11, r15
mov edi, ebx
not edi
movzx r8d, byte [r10]
movzx edx, dil
movzx ecx, byte [r10 + 1]
lea r10, [r10 + 1]
and dl, cl
and r8b, bl
or dl, r8b
mov byte [r10 - 1], dl
sub r11, 1
jne 0x14027cc52
movzx ecx, byte [r12 + rbp - 1]
neg al
and al, cl
inc rsi
mov byte [r12 + rbp - 1], al
cmp rsi, rbp
jb 0x14027cc30
cmp qword [rsp + 0x78], 0
je 0x14027ccb1
mov rcx, qword [rsp + 0x70]
mov r8, rbp
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x80]
mov qword [rcx], r14
jmp 0x14027ccbc
mov rax, qword [rsp + 0x80]
mov qword [rax], r14
mov rbx, qword [rsp + 0x60]
mov eax, r13d
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14027cd00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
xor r11d, r11d
mov rdi, r8
mov rsi, rcx
mov ebx, r11d
test r8, r8
je 0x14027cd99
mov qword [rsp + 0x10], r14
sub rsi, rdx
lea r14, [rdx - 8]
lea r14, [r14 + r8*8]
nop dword [rax]
mov r9, qword [r14]
mov r10, qword [rsi + r14]
lea r14, [r14 - 8]
mov rax, r10
mov r8, r9
xor r8, r10
shr rax, 0x3f
mov rcx, r9
mov rdx, r8
sub rcx, r10
shr r8, 0x3f
shr rcx, 0x3f
sub r10, r9
shr r10, 0x3f
and eax, r8d
shr r9, 0x3f
not rdx
shr rdx, 0x3f
and r9d, r8d
and ecx, edx
and r10d, edx
or ecx, eax
or r10d, r9d
or r11d, ecx
mov ecx, 1
sub ecx, r11d
or r11d, r10d
and ecx, r10d
or ebx, ecx
sub rdi, 1
jne 0x14027cd30
mov r14, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x20]
mov eax, ebx
mov rbx, qword [rsp + 0x18]
pop rdi
ret