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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1400a6564
cmp r8d, 0xff
jne 0x1400a64a1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1400a648b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0xc6f90]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140087920
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140087920
cmp r8d, 0xfb
jne 0x1400a64b3
lea r9, str.WILL
jmp 0x1400a64f1
cmp r8d, 0xfc
jne 0x1400a64c5
lea r9, str.WONT
jmp 0x1400a64f1
cmp r8d, 0xfd
jne 0x1400a64d7
lea r9, [0x1400c79b4]
jmp 0x1400a64f1
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400a654d
cmp r10d, 0x27
jg 0x1400a6524
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0xc75b0]
test r8, r8
jne 0x1400a6534
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140087920
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400a650b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140087920
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140087920
add rsp, 0x38
ret

Function at 0x1400a68b0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400a690f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400877a0
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1400a6440
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a6ac0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400a6c68
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400a6b25
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400a6b25
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400a6b25
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400a6b5c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400a6bb2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400a6bb2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400a6bb2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400a6bb2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400a6bb2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400a6570
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400a6c14
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400877a0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400a6940
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400a6c60
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400877a0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400a83d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400a8465
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400a84c6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400877a0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400baee0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400a8581
sub ecx, 1
je 0x1400a85f4
sub ecx, 1
je 0x1400a8530
cmp ecx, 1
je 0x1400a8513
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400cbb68]
call fcn.1400877a0
jmp 0x1400a85f4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400a8100
test eax, eax
je 0x1400a85f4
jmp 0x1400a849a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400a85f4
sub rax, rsi
cmp rax, rbp
jae 0x1400a85f4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140087920
jmp 0x1400a85f4
cmp r8d, 4
jle 0x1400a85f4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400a85f4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400876c0
mov esi, eax
test eax, eax
je 0x1400a85d3
mov edx, 5
mov rcx, rbx
call fcn.1400a90c0
mov eax, esi
jmp 0x1400a849a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140091b70
mov rcx, r14
call fcn.140091e50
test eax, eax
je 0x1400a8498
mov edx, 5
mov rcx, rbx
call fcn.1400a90c0
mov eax, Ordinal_45
jmp 0x1400a849a
Function at 0x1400bad50
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400bad92
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400badd9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400bae32
mov rsi, rbp
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 [rdi + 8]
call qword [rbx + 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 [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400badf0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400bae73
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400caab2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400caab3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400bae40
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400bbdec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400bbe36
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bbe36
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400bbe36
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400bbe36
cmp dword [rcx + 0x84], 0xe
jbe 0x1400bbe36
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400bbe38
xor al, al
add rsp, 0x28
ret
Function at 0x4514b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x451612
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x14]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov rbx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 1
call fcn.00450b30
mov eax, dword [rsp + 0x30]
test eax, 7
jne 0x451532
mov dword [rsp + 0x90], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
call fcn.004510f0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov qword [rsp + 0x48], rbx
movsxd rdx, dword [rdx + 0x14]
mov qword [rsp + 0x40], rdx
call fcn.00437900
lea rax, [0x00aae2f7]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
call fcn.004382b0
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
call fcn.004382b0
call fcn.00437b50
mov rax, qword [rsp + 0x48]
mov qword [rsp], rax
call fcn.00438140
call fcn.00437b50
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
call fcn.00438140
call fcn.00437b50
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
call fcn.00438140
call fcn.00437b50
mov eax, dword [rsp + 0x3c]
movsxd rcx, eax
mov qword [rsp], rcx
call fcn.004380d0
call fcn.00437ba0
call fcn.00437990
mov eax, dword [rsp + 0x3c]
jmp 0x451521
call fcn.00461440
jmp fcn.004514b0
Function at 0x63de90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x63e001
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x63dff2
xor ecx, ecx
jmp 0x63ded4
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
jge 0x63dfe3
mov rdx, qword [rsp + 0x48]
movzx ebx, byte [rdx + rcx]
cmp ebx, 0x80
jge 0x63dfc2
inc rcx
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x30], rcx
lea rax, [0x00ab5393]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1b
mov dword [rsp + 0x10], ebx
call fcn.004fe340
cmp qword [rsp + 0x18], 0
jge 0x63deca
mov eax, dword [rsp + 0x2c]
cmp eax, 0xff
ja 0x63df9c
movzx ecx, al
lea rdx, [0x00f620a0]
movzx ecx, byte [rcx + rdx]
test cl, 0x60
setne cl
test cl, cl
je 0x63df5f
xor eax, eax
test al, al
je 0x63deca
mov byte [rsp + 0x58], 0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
cmp eax, 0xff
jg 0x63df7a
cmp eax, 0x30
jl 0x63df76
cmp eax, 0x39
setle al
xor eax, 1
jmp 0x63df48
xor eax, eax
jmp 0x63df71
mov rcx, qword [0x00fa0160]
mov qword [rsp], rcx
mov dword [rsp + 8], eax
call fcn.00475f60
movzx eax, byte [rsp + 0x10]
lea rdx, [0x00f620a0]
jmp 0x63df71
mov rcx, qword [0x00fa02d0]
mov qword [rsp], rcx
mov dword [rsp + 8], eax
call fcn.00475f60
movzx ecx, byte [rsp + 0x10]
mov eax, dword [rsp + 0x2c]
lea rdx, [0x00f620a0]
jmp 0x63df42
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
call fcn.0045d0e0
mov ebx, dword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
jmp 0x63def5
mov byte [rsp + 0x58], 1
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov byte [rsp + 0x58], 0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
call fcn.00461440
jmp fcn.0063de90
Function at 0x14000378a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rcx
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x14000d4b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14000d52a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14000d520
cmp r11, r10
ja 0x14000d5c3
cmp r10, rdx
ja 0x14000d5d7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14000d522
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14000d500
jmp 0x14000d597
ja 0x14000d52a
mov r11, r10
cmp rax, r8
jne 0x14000d4d2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14000d59b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14000d570
mov r8, r10
sub ecx, r9d
jns 0x14000d58e
jmp 0x14000d59d
cmp r10, rdx
je 0x14000d5a9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14000d59d
xor al, 1
cmp r8, rdx
jne 0x14000d550
jmp 0x14000d59d
xor eax, eax
jmp 0x14000d59d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__value.from_str_radix_int:_must_lie_in_the_range___2__36_____found_3
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140008d60
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14000bed0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14000be50
ud2
Function at 0x1400111c4
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
mov rax, rcx
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret

Function at 0x1400113cc
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9, qword [rcx]
mov r10, qword [rcx + 8]
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
cmp r9, r10
je 0x140011403
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rdx + 0x10]
sub r10, r9
xor r11d, r11d
mov bl, byte [rcx]
xor bl, byte [r9 + r11]
mov byte [rdx + r8], bl
inc r8
inc r11
cmp r10, r11
jne 0x1400113ee
mov qword [rax], r8
pop rbx
ret
Function at 0x1400121a3
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, r8
mov rdi, rcx
mov rax, qword [0x14015c068]
mov al, byte [rax]
cmp al, 1
jne 0x1400121d9
mov rcx, rdi
mov r8, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x140012924
xorps xmm0, xmm0
lea rbx, [rsp + 0x20]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.140013b2c
lea r14, [rsp + 0x68]
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call fcn.140001e7f
movups xmm0, xmmword [r14]
movups xmmword [rsi], xmm0
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
jmp fcn.140011d30
Function at 0x14002662b
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x668
movaps xmmword [rsp + 0x650], xmm6
mov rsi, rcx
mov rax, r8
shr rax, 0x3d
jne 0x1400266ba
movzx ebx, r9b
shl rbx, 7
sub rbx, 0xffffffffffffff80
shl r8, 3
cmp r8, rbx
jne 0x1400266ba
mov rdi, rdx
lea rcx, [rsp + 0x140]
mov r8d, 0xf4
xor edx, edx
call sub.msvcrt.dll_memset
call fcn.1400265d6
cmp eax, 3
je 0x14002669d
mov eax, eax
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
cmp eax, 2
jne 0x1400266b1
call fcn.1400c85c0
jmp 0x1400266b6
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
call fcn.1400e8370
jmp 0x1400266b6
call fcn.1400c7950
test eax, eax
je 0x1400266d8
mov dword [rsi], 2
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x650]
add rsp, 0x668
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x358]
lea rbx, [rsp + 0x140]
mov r8d, 0xf4
mov rcx, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcpy
xorps xmm6, xmm6
movaps xmmword [rbx], xmm6
lea rbx, [rsp + 0x30]
lea r8, [rsp + 0x140]
mov rcx, rbx
mov rdx, rdi
call fcn.140026570
mov r14, qword [rbx]
mov rdi, qword [rbx + 8]
bswap r14
bswap rdi
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], rdi
xor eax, eax
cmp rax, 0x100
je 0x140026746
movups xmmword [rsp + rax + 0x140], xmm6
add rax, 0x10
jmp 0x140026730
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x140]
mov r8d, 0x100
call sub.msvcrt.dll_memcpy
call fcn.14002753a
test al, al
je 0x140026794
mov rax, r14
shld rax, rdi, 1
shld rdi, r14, 1
sar r14, 0x3f
movabs rcx, 0xc200000000000000
and rcx, r14
xor rcx, rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
jmp 0x1400267bd
mov rax, qword [0x14015c030]
mov eax, dword [rax + 4]
not eax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
test eax, 0x10400000
jne 0x1400267b8
call fcn.1400d56a0
jmp 0x1400267bd
call fcn.1400d4c80
lea rdi, [rsp + 0x450]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
mov rcx, rdi
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x550]
lea rdx, [rsp + 0x358]
mov r8d, 0xf4
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x14c]
mov r8d, 0x200
mov rdx, rdi
call sub.msvcrt.dll_memcpy
and dword [rsi], 0
mov rcx, rsi
add rcx, 4
lea rdx, [rsp + 0x140]
mov r8d, 0x20c
call sub.msvcrt.dll_memcpy
jmp 0x1400266c0

Function at 0x14002864e
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov r15d, 0xffffffff
mov rbx, rsi
sub rbx, r14
jbe 0x1400286a5
lea rcx, [rdi + r14]
cmp rbx, r15
cmovae rbx, r15
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400286a5
add r14, rbx
jae 0x140028668
lea rcx, str.attempt_to_add_with_overflowRsaParameterspadding_alg
lea r8, [0x14010a428]
mov edx, 0x1c
call fcn.140008d60
ud2
cmp rsi, r14
seta al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14002a600
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x14000c755
cmp rdx, 4
jae 0x14000c758
xor eax, eax
xor r8d, r8d
jmp 0x14000c7f0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400f32e0]
movdqa xmm3, xmmword [0x1400f32f0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000c780
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000c807
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000c7f0
ret
sub rdx, rcx
cmp rdx, 0x20
jb 0x14000c740
jmp fcn.14000c250
Function at 0x14002e520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14002e57b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14002e57b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14002e596
cmp eax, 0x42
jne 0x14002e57b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14002e646
cmp byte [r9 + r11], 0x5f
jne 0x14002e646
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14002e6ae
mov rcx, rsi
xor edx, edx
call fcn.14002d240
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.14002d240
test al, al
jne 0x14002e741
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14002e5d2
lea rdx, [0x14010b64c]
mov r8d, 1
call fcn.14000a480
test al, al
jne 0x14002e741
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14002e58a
xor r14d, r14d
lea rbx, [0x14010ba30]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14002e604
cmp byte [rax + rcx], 0x45
je 0x14002e763
sub r14, 1
jb 0x14002e629
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14002e629
mov r8d, 2
mov rdx, rbx
call fcn.14000a480
test al, al
jne 0x14002e741
mov rcx, rsi
call fcn.14002d9a0
test al, al
jne 0x14002e741
mov rax, qword [rsi]
test rax, rax
jne 0x14002e5f0
jmp 0x14002e58a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14002e708
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14002e6a2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14002e68c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14002e67b
add dl, 0xa9
jmp 0x14002e68a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14002e708
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14002e708
movzx edx, bl
add rax, rdx
jae 0x14002e650
jmp 0x14002e708
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14002e708
cmp rax, rcx
jae 0x14002e705
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14002e75b
cmp qword [rsi + 0x20], 0
je 0x14002e754
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14002e520
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14002e58c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14002e749
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x14010b9f0]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.14000a480
test al, al
je 0x14002e749
mov dil, 2
jmp 0x14002e58a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14002e58a
mov dil, 1
xor r8d, r8d
jmp 0x14002e70a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14002e58a