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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1404690c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14020073d
xor eax, eax
jmp 0x1402008a9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140200777
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140200777
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1402008a9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14020089c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1402007ba
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1402007e5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1402008a1
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140200854
sub eax, 1
je 0x140200854
cmp eax, 2
jne 0x14020089c
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1402008a1
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140200882
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14020089c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1402008a1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140284ef0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1402010c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1404690c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140201193
cmp byte [rcx + 0x71], 0
je 0x140201193
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14020118f
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 0x140201154
sub eax, 1
je 0x140201158
cmp eax, 2
jne 0x14020118f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140284ef0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140201186
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 0x14020118f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14020113c
xor al, al
jmp 0x14020113c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140284ef0
add rsp, 0x60
pop rbx
ret

Function at 0x140226f10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x370
mov rax, qword [0x1404690c0]
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
lea rax, [rsp + 0x150]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xe
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x150]
mov rdx, rbx
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140226f80
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 0x140226fc0
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400051a0
mov rax, rdi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.140284ef0
mov rbx, qword [rsp + 0x388]
add rsp, 0x370
pop rdi
ret
Function at 0x140251430
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.140251650
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x140251538
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x140251494
mov rax, qword [0x140469008]
cmp qword [rsp + 0x20], rax
ja 0x140251494
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140251456
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1402514c4
jmp 0x140251538
cmp dword [rsp + 0x50], 0x10000
jne 0x14025151b
cmp qword [rsp + 0x48], 0x10000
jb 0x14025151b
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 0x140251509
mov rax, qword [rsp + 0x28]
jmp 0x14025153a
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140251533
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.140251650
mov qword [rsp + 0x20], rax
jmp 0x140251456
xor eax, eax
add rsp, 0x68
ret

Function at 0x140251540
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.140251690
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x140251644
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x14025159b
mov rax, qword [0x140469008]
cmp qword [rsp + 0x20], rax
ja 0x14025159b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x14025155d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1402515cb
jmp 0x140251644
cmp dword [rsp + 0x50], 0x10000
jne 0x140251622
cmp qword [rsp + 0x48], 0x10000
jb 0x140251622
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 0x140251610
mov rax, qword [rsp + 0x28]
jmp 0x140251646
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x14025163f
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140251690
mov qword [rsp + 0x20], rax
jmp 0x14025155d
xor eax, eax
add rsp, 0x68
ret
Function at 0x140253100
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140476298], eax
je 0x14025311c
mov eax, 0x10dd
jmp 0x140253247
mov rax, qword [0x1404762b0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1402531c9
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]
nop
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x140253193
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x140253193
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.140251d80
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.14028525c
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x140253128
mov qword [0x1404762b0], 0
call fcn.1402527e0
nop
mov rax, qword [0x1404762a8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140253230
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, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.14028525c
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1402531e6
mov qword [0x1404762a8], 0
mov dword [0x140476298], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1402567f0
Capabilities:
Hash data with md5

Disassembly:
mov r8, rcx
test rcx, rcx
je case.default.0x14025681d
mov rax, qword [rcx]
test rax, rax
je case.default.0x14025681d
mov eax, dword [rax + 8]
dec eax
cmp eax, 6
ja case.default.0x14025681d
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x256874]
add rcx, rdx
jmp rcx
mov rcx, qword [r8 + 8]
jmp 0x1402582e0
mov rcx, qword [r8 + 8]
jmp 0x14025a4f0
mov rcx, qword [r8 + 8]
jmp 0x14025a4f0
mov rcx, qword [r8 + 8]
mov edx, 1
jmp fcn.14025cf90
mov rcx, qword [r8 + 8]
xor edx, edx
jmp fcn.14025cf90
mov rcx, qword [r8 + 8]
mov edx, 1
jmp fcn.14025dd10
mov rcx, qword [r8 + 8]
xor edx, edx
jmp fcn.14025dd10
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 0x140256910
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r9, r9
je 0x140256a74
cmp r9, 8
jb 0x140256a4d
lea rcx, [r9 - 1]
lea rax, [r8 - 1]
add rcx, r11
add rax, r9
cmp r11, rax
ja 0x140256949
cmp rcx, r8
jae 0x140256a4d
lea rax, [rdx - 1]
add rax, r9
cmp r11, rax
ja 0x14025695e
cmp rcx, rdx
jae 0x140256a4d
mov rcx, rdx
mov qword [rsp + 0x10], rbx
sub rcx, r8
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x140256a07
mov rbx, r9
mov qword [rsp + 0x18], rsi
and ebx, 0x3f
mov rdi, r9
sub rdi, rbx
mov rsi, r11
lea rax, [r8 + 0x10]
sub rsi, 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 [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r10, rdi
jb 0x1402569a0
mov rsi, qword [rsp + 0x18]
cmp rbx, 8
jb 0x140256a3f
mov rbx, r9
and rbx, 0xfffffffffffffff8
mov rdi, r11
lea rax, [r10 + r8]
sub rdi, r8
nop dword [rax + rax]
movq xmm1, qword [rax + rcx]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r10, rbx
jb 0x140256a20
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r10, r9
jae 0x140256a74
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 [r11 + rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x140256a60
add rsp, 8
ret
Function at 0x14025cf90
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
cmp edx, 1
jbe 0x14025cf9b
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 0x14025dd10
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
cmp edx, 1
jbe 0x14025dd1b
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 0x14025df20
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.140256530
test rax, rax
jne 0x14025df57
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.140255ea0
Function at 0x14025f900
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0xa8
mov rax, qword [0x1404690c0]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov edi, dword [rbp + 0x7f]
mov rbx, rcx
lea rcx, [rbp - 0x59]
mov r13, r9
mov r12, r8
mov r14, rdx
call fcn.1402565b0
mov ecx, edi
call fcn.140256530
mov rdi, rax
test rax, rax
jne 0x14025f955
mov eax, 0xffffbf80
jmp 0x14025faf7
lea rcx, [rbp - 0x59]
mov qword [rsp + 0xe8], rsi
call fcn.1402565b0
xor r8d, r8d
lea rcx, [rbp - 0x59]
mov rdx, rdi
call fcn.1402565c0
mov esi, eax
test eax, eax
jne 0x14025fad6
mov rcx, rdi
call fcn.1402560d0
mov dword [rbp - 0x61], 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 0x14025fad6
mov qword [rsp + 0xa0], r15
movzx r15d, al
cmp r14, r15
lea rcx, [rbp - 0x59]
mov rdi, r14
cmovae rdi, r15
call fcn.1402567f0
mov esi, eax
test eax, eax
jne 0x14025face
mov r8, r13
lea rcx, [rbp - 0x59]
mov rdx, r12
call fcn.140256890
mov esi, eax
test eax, eax
jne 0x14025face
mov r8d, 4
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x59]
call fcn.140256890
mov esi, eax
test eax, eax
jne 0x14025face
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x59]
call fcn.140255f80
mov esi, eax
test eax, eax
jne 0x14025face
xor ecx, ecx
test rdi, rdi
je 0x14025fac2
cmp rdi, 0x40
jb 0x14025fab0
lea rdx, [rdi - 1]
add rdx, rbx
lea rax, [rbp + rdi - 0x32]
cmp rbx, rax
ja 0x14025fa4b
lea rax, [rbp - 0x31]
cmp rdx, rax
jae 0x14025fab0
mov rax, rdi
and rax, 0xffffffffffffffc0
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbp + rcx - 0x31]
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 [rbp + rcx - 0x11]
xorps xmm1, xmm0
movdqu xmmword [rbx + 0x20], xmm1
movdqu xmm0, xmmword [rbx + 0x30]
movdqu xmm1, xmmword [rbp + rcx - 1]
add rcx, 0x40
xorps xmm1, xmm0
movdqu xmmword [rbx + 0x30], xmm1
add rbx, 0x40
cmp rcx, rax
jb 0x14025fa52
cmp rcx, rdi
jae 0x14025fac2
nop
movzx eax, byte [rbp + rcx - 0x31]
inc rcx
xor byte [rbx], al
inc rbx
cmp rcx, rdi
jb 0x14025fab0
inc byte [rbp - 0x5e]
sub r14, rdi
jne 0x14025f9b2
mov r15, qword [rsp + 0xa0]
mov edx, 0x40
lea rcx, [rbp - 0x31]
call fcn.140257760
lea rcx, [rbp - 0x59]
call fcn.140256000
mov eax, esi
mov rsi, qword [rsp + 0xe8]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140284ef0
add rsp, 0xa8
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
Function at 0x140266e60
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.140263c30
lea rcx, [rsp + 0x38]
call fcn.140263c30
xor edx, edx
lea rcx, [rsi + 0x98]
call fcn.140263b60
cmp eax, 1
je 0x140266eaf
mov eax, 0xffffb080
jmp 0x140266ff8
xor edx, edx
mov qword [rsp + 0x70], r12
mov rcx, rdi
call fcn.140263b60
mov rbx, qword [rsp + 0x98]
lea rcx, [rsp + 0x20]
test eax, eax
mov rdx, rdi
sete al
mov byte [rbx], al
call fcn.140261070
mov r12d, eax
test eax, eax
jne 0x140266fdc
mov r8, rdi
lea rdx, [rsi + 0x98]
lea rcx, [rsp + 0x38]
call fcn.140265960
mov r12d, eax
test eax, eax
jne 0x140266fdc
movzx r8d, byte [rbx]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14026fa40
mov r12d, eax
test eax, eax
jne 0x140266fdc
lea r8, [rbp + 1]
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
xor esi, esi
test rbp, rbp
je 0x140266f7e
mov qword [rsp + 0x78], r14
movzx r14d, byte [rsp + 0x90]
xor ebx, ebx
test r14, r14
je 0x140266f71
mov rdi, rsi
nop
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140263b60
mov rcx, rbx
add rdi, rbp
shl al, cl
inc rbx
or byte [rsi + r15], al
cmp rbx, r14
jb 0x140266f50
inc rsi
cmp rsi, rbp
jb 0x140266f45
mov r14, qword [rsp + 0x78]
xor bl, bl
cmp rbp, 1
jb 0x140266fdc
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 0x140266f90
lea rcx, [rsp + 0x38]
call fcn.140263510
lea rcx, [rsp + 0x20]
call fcn.140263510
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 0x14026df70
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, [0x1402b5e60]
mov r14, rdx
mov rcx, rbx
test rsi, rsi
je 0x14026dfce
cmp qword [0x1402b5e60], 0
je 0x14026dfce
mov rdi, qword [rsi + 8]
cmp qword [rcx + 8], rdi
jne 0x14026dfc1
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14026dfe9
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x14026dfa8
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 0x14026dfce
mov eax, dword [rbx + 0x20]
mov dword [r14], eax
xor eax, eax
jmp 0x14026dfd3
Function at 0x14026f4f0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r10, r8
mov r9, rdx
mov r11, rcx
test r8, r8
je 0x14026f529
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 0x14026f510
ret
Function at 0x14026f6c0
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, 0x30
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 0x14026f750
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r11 + rdx]
neg cl
or cl, byte [r11 + rdx]
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 0x14026f720
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, 0xb
and r13d, 0x4400
or r13d, r8d
neg r13d
movd xmm0, r9d
pshufd xmm0, xmm0, 0
cmp rbx, rdx
jbe 0x14026f890
cmp r14, 0x10
jb 0x14026f876
andps xmm0, xmmword [0x1402b7260]
lea rax, [r11 + 0x13]
packuswb xmm0, xmm0
and r14d, 0xf
packuswb xmm0, xmm0
mov r8, rbx
andnps xmm0, xmmword [0x1403fad90]
sub r8, r14
movdqa xmmword [rsp + 0x20], xmm0
mov ecx, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm0, dword [rax - 8]
lea rax, [rax + 0x10]
movd xmm1, ecx
add rdx, 0x10
movd xmm2, ecx
andps xmm1, xmm0
movd dword [rax - 0x18], xmm1
movd xmm0, dword [rax - 0x14]
movd xmm1, ecx
andps xmm2, xmm0
movd dword [rax - 0x14], xmm2
movd xmm0, dword [rax - 0x10]
movd xmm2, ecx
andps xmm1, xmm0
movd dword [rax - 0x10], xmm1
movd xmm0, dword [rax - 0xc]
andps xmm2, xmm0
movd dword [rax - 0xc], xmm2
cmp rdx, r8
jb 0x14026f820
cmp rdx, rbx
jae 0x14026f890
mov rcx, rbx
lea rax, [rdx + r11]
sub rcx, rdx
not r9b
and byte [rax], r9b
lea rax, [rax + 1]
sub rcx, 1
jne 0x14026f883
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 0x14026f91c
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 0x14026f905
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 0x14026f8e2
movzx ecx, byte [r12 + rbp - 1]
neg al
and al, cl
inc rsi
mov byte [r12 + rbp - 1], al
cmp rsi, rbp
jb 0x14026f8c0
cmp qword [rsp + 0x88], 0
je 0x14026f947
mov rcx, qword [rsp + 0x80]
mov r8, rbp
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x90]
mov qword [rcx], r14
jmp 0x14026f952
mov rax, qword [rsp + 0x90]
mov qword [rax], r14
mov rbx, qword [rsp + 0x70]
mov eax, r13d
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret