joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009a714
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009a75e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009a75e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009a75e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009a75e
cmp dword [rcx + 0x84], 0xe
jbe 0x14009a75e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009a760
xor al, al
add rsp, 0x28
ret

Function at 0x140972058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409721df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140972089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14097206f
add dl, dl
jne 0x140972096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409720f6
xor eax, eax
add dl, dl
jne 0x1409720a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409721ad
add dl, dl
jne 0x1409720b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409720c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409720d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409720dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409720ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14097207e
mov eax, 1
add dl, dl
jne 0x140972106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140972113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409720fb
sub eax, ebx
mov ebx, 1
jne 0x14097214c
mov ecx, 1
add dl, dl
jne 0x14097212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14097213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140972123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140972168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140972175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14097215d
cmp eax, 0x7d00
jae 0x14097219b
cmp eax, 0x500
jb 0x140972196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097207e
cmp eax, 0x7f
ja 0x14097219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409721d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14097207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000d7c0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.140046610
sub rsp, rax
mov r9, r8
mov r8d, edx
mov rdx, rcx
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.14000d510
add rsp, 0x28
jmp fcn.14004e4c8

Function at 0x14001ae80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r13
push r14
push r15
mov eax, 0x70
call fcn.140046610
sub rsp, rax
mov rax, qword [0x14016c9d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0xc0]
lea ebp, [rdx - 1]
mov r13d, r9d
lea eax, [rbp - 0x29]
mov r14, r8
mov r12, rcx
cmp r9d, eax
jle 0x14001aee9
mov edx, 0x79
lea r9, str..crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0x2d
lea ecx, [rdx - 0x75]
lea r8d, [rdx - 0xb]
call fcn.140009e00
xor eax, eax
jmp 0x14001b0d1
cmp ebp, 0x29
jge 0x14001af15
mov edx, 0x79
lea r9, str..crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0x33
lea ecx, [rdx - 0x75]
lea r8d, [rdx - 1]
call fcn.140009e00
xor eax, eax
jmp 0x14001b0d1
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rdi
lea edi, [rbp - 0x14]
lea rdx, str..crypto_rsa_rsa_oaep.c
mov r8d, 0x37
mov ecx, edi
call fcn.140004d70
test rax, rax
mov rsi, rax
jne 0x14001af63
lea r9, str..crypto_rsa_rsa_oaep.c
lea edx, [rax + 0x79]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov dword [rsp + 0x20], 0x3a
call fcn.140009e00
xor eax, eax
jmp 0x14001b0c7
mov byte [r12], 0
mov qword [rsp + 0x68], rbx
lea rbx, [r12 + 1]
add r12, 0x15
call fcn.14001c900
movsxd rdx, dword [rsp + 0xc8]
xor r9d, r9d
mov r8, r12
mov rcx, r15
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.14001c730
mov r11d, ebp
lea rcx, [r12 + 0x14]
xor edx, edx
sub r11d, r13d
sub r11d, 0x29
movsxd r8, r11d
call fcn.140046350
movsxd r11, r13d
movsxd rax, ebp
sub rax, r11
mov r8, r13
mov rdx, r14
lea rcx, [rax + r12 - 0x14]
mov byte [rax + r12 - 0x15], 1
call fcn.140045dd0
mov edx, 0x14
mov rcx, rbx
call fcn.140004b50
test eax, eax
jg 0x14001afef
xor eax, eax
jmp 0x14001b0c2
call fcn.14001c900
mov r9d, 0x14
mov r8, rbx
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14001ad20
test edi, edi
jle 0x14001b032
mov r11, rsi
mov rcx, r12
mov r10d, edi
sub r11, r12
nop
movzx eax, byte [r11 + rcx]
add rcx, 1
xor byte [rcx - 1], al
sub r10, 1
jne 0x14001b020
call fcn.14001c900
lea rcx, [rsp + 0x30]
mov r9d, edi
mov r8, r12
mov edx, 0x14
mov qword [rsp + 0x20], rax
call fcn.14001ad20
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x31]
lea r9, [rsp + 0x32]
lea r10, [rsp + 0x33]
lea r11, [rsp + 0x34]
sub rdx, rbx
sub r8, rbx
sub r9, rbx
sub r10, rbx
mov ecx, 4
sub r11, rbx
nop
movzx eax, byte [rdx + rbx]
add rbx, 5
xor byte [rbx - 5], al
movzx eax, byte [r8 + rbx - 5]
xor byte [rbx - 4], al
movzx eax, byte [r9 + rbx - 5]
xor byte [rbx - 3], al
movzx eax, byte [r10 + rbx - 5]
xor byte [rbx - 2], al
movzx eax, byte [r11 + rbx - 5]
xor byte [rbx - 1], al
sub rcx, 1
jne 0x14001b080
mov rcx, rsi
call fcn.1400050f0
mov eax, 1
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140046670
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14001b0f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x80
call fcn.140046610
sub rsp, rax
mov rax, qword [0x14016c9d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, dword [rsp + 0xe0]
mov rax, qword [rsp + 0xe8]
xor r13d, r13d
sub esi, 1
mov r14, r8
mov dword [rsp + 0x30], edx
cmp esi, 0x29
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
mov rbp, r13
mov r15d, r13d
jl 0x14001b31a
mov eax, esi
sub eax, r9d
jns 0x14001b15f
lea r15d, [r13 + 1]
mov eax, r13d
mov r12, r8
movsxd rdi, eax
add esi, 0xffffffec
lea rdx, str..crypto_rsa_rsa_oaep.c
sub r12, rdi
mov r8d, 0x7a
mov ecx, esi
add r12, 0x14
call fcn.140004d70
test rax, rax
mov rbp, rax
jne 0x14001b1ae
lea r9, str..crypto_rsa_rsa_oaep.c
lea edx, [rax + 0x7a]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov dword [rsp + 0x20], 0x7d
call fcn.140009e00
jmp 0x14001b347
call fcn.14001c900
mov ebx, 0x14
lea rcx, [rsp + 0x48]
mov edx, ebx
mov r9d, esi
mov r8, r12
mov qword [rsp + 0x20], rax
call fcn.14001ad20
cmp rdi, rbx
jge 0x14001b1f4
mov rcx, rdi
sub rcx, rdi
add rcx, r14
nop
movzx eax, byte [rcx]
add rdi, 1
add rcx, 1
xor byte [rsp + rdi + 0x47], al
cmp rdi, rbx
jl 0x14001b1e0
call fcn.14001c900
lea r8, [rsp + 0x48]
mov r9d, ebx
mov edx, esi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.14001ad20
test esi, esi
movsxd rdi, esi
jle 0x14001b232
mov rcx, rbp
sub r12, rbp
mov rdx, rdi
movzx eax, byte [r12 + rcx]
add rcx, 1
xor byte [rcx - 1], al
sub rdx, 1
jne 0x14001b220
call fcn.14001c900
movsxd rdx, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.14001c730
mov rcx, qword [rbp]
lea rax, [rsp + 0x60]
cmp rcx, qword [rax]
jne 0x14001b27b
mov rcx, qword [rbp + 8]
cmp rcx, qword [rax + 8]
jne 0x14001b27b
mov ecx, dword [rbp + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14001b283
sbb eax, eax
sbb eax, 0xffffffff
mov r13d, eax
test r13d, r13d
jne 0x14001b31a
test r15d, r15d
jne 0x14001b31a
cmp rbx, rdi
mov rax, rbx
jge 0x14001b2b2
nop
cmp byte [rax + rbp], 0
jne 0x14001b2b2
add rax, 1
add ebx, 1
cmp rax, rdi
jl 0x14001b2a0
movsxd rax, ebx
cmp byte [rax + rbp], 1
jne 0x14001b31a
mov eax, ebx
add ebx, 1
cmp eax, esi
jge 0x14001b31a
sub esi, ebx
cmp dword [rsp + 0x30], esi
jge 0x14001b2fb
mov edx, 0x7a
lea r9, str..crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0x9b
lea ecx, [rdx - 0x76]
lea r8d, [rdx - 0xd]
call fcn.140009e00
mov rcx, rbp
or esi, 0xffffffff
call fcn.1400050f0
mov eax, esi
jmp 0x14001b34a
mov rcx, qword [rsp + 0x38]
movsxd rdx, ebx
movsxd r8, esi
add rdx, rbp
call fcn.140045dd0
mov rcx, rbp
call fcn.1400050f0
mov eax, esi
jmp 0x14001b34a
mov edx, 0x7a
lea r9, str..crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0xa8
lea ecx, [rdx - 0x76]
lea r8d, [rdx - 1]
call fcn.140009e00
test rbp, rbp
je 0x14001b347
mov rcx, rbp
call fcn.1400050f0
or eax, 0xffffffff
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140046670
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b440
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x38
call fcn.140046610
sub rsp, rax
cmp dword [rsp + 0x60], r9d
mov r10, rcx
jne 0x14001b528
movzx eax, byte [r8]
cmp al, 0x6a
je 0x14001b46b
cmp al, 0x6b
jne 0x14001b528
cmp al, 0x6b
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 1]
jne 0x14001b4d7
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x14001b49a
movzx ecx, byte [rdx]
add rdx, 1
cmp cl, 0xba
je 0x14001b49a
cmp cl, 0xbb
jne 0x14001b4cd
add eax, 1
cmp eax, ebx
jl 0x14001b482
sub ebx, eax
test eax, eax
jne 0x14001b4db
mov dword [rsp + 0x20], 0x8a
mov edx, 0x80
lea r9, str..crypto_rsa_rsa_x931.c
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.140009e00
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x81
jmp 0x14001b4a8
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x14001b511
mov edx, 0x80
lea r9, str..crypto_rsa_rsa_x931.c
mov dword [rsp + 0x20], 0x93
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.140009e00
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r10
call fcn.140045dd0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
lea r9, str..crypto_rsa_rsa_x931.c
mov dword [rsp + 0x20], 0x72
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.140009e00
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x14002a910
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x20
call fcn.140046610
sub rsp, rax
mov eax, dword [r8 + 8]
mov rsi, rdx
mov rbx, rcx
cmp dword [rdx + 8], eax
jge 0x14002a93c
mov rdi, r8
jmp 0x14002a942
mov rdi, rdx
mov rsi, r8
mov edx, dword [rdi + 8]
cmp edx, dword [rcx + 0xc]
jle 0x14002a94f
call fcn.140001b80
xor r8d, r8d
cmp dword [rsi + 8], r8d
jle 0x14002a985
mov r9, r8
nop
nop
mov rax, qword [rdi]
mov rcx, qword [rsi]
add r8d, 1
mov rdx, qword [rcx + r9]
add r9, 8
xor rdx, qword [rax + r9 - 8]
mov rax, qword [rbx]
mov qword [r9 + rax - 8], rdx
cmp r8d, dword [rsi + 8]
jl 0x14002a960
cmp r8d, dword [rdi + 8]
movsxd rdx, r8d
jge 0x14002a9af
shl rdx, 3
mov rax, qword [rdi]
mov rcx, qword [rbx]
add r8d, 1
mov rax, qword [rdx + rax]
add rdx, 8
mov qword [rdx + rcx - 8], rax
cmp r8d, dword [rdi + 8]
jl 0x14002a992
mov eax, dword [rdi + 8]
test eax, eax
mov dword [rbx + 8], eax
jle 0x14002a9e5
add eax, 0xffffffff
movsxd rcx, eax
mov rax, qword [rbx]
lea rdx, [rax + rcx*8]
nop
nop
nop
mov rax, qword [rdx]
sub rdx, 8
test rax, rax
jne 0x14002a9e5
add dword [rbx + 8], 0xffffffff
cmp dword [rbx + 8], eax
jg 0x14002a9d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14002d890
Capabilities:
Decrypt data using tea

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x24], 0x9e3779b9
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov dword [rsp + 8], 0xc6ef3720
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x14], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x1c], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x18], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0xc], 0x20
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0xc]
dec eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0x10], 0
jle 0x14002d9bd
mov eax, dword [rsp + 4]
shl eax, 4
add eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp + 4]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 4]
shr ecx, 5
add ecx, dword [rsp + 0x20]
xor eax, ecx
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
shl eax, 4
add eax, dword [rsp + 0x14]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp]
shr ecx, 5
add ecx, dword [rsp + 0x1c]
xor eax, ecx
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 8]
sub eax, 0x9e3779b9
mov dword [rsp + 8], eax
jmp 0x14002d933
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp]
mov dword [rcx + rax], edx
add rsp, 0x38
ret
Function at 0x14002da00
Capabilities:
Encrypt data using tea

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x24], 0x9e3779b9
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov dword [rsp + 8], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x18], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x20], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x14], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x1c], eax
mov dword [rsp + 0xc], 0x20
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0xc]
dec eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0x10], 0
jle 0x14002db2d
mov eax, dword [rsp + 8]
add eax, 0x9e3779b9
mov dword [rsp + 8], eax
mov eax, dword [rsp]
shl eax, 4
add eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp]
shr ecx, 5
add ecx, dword [rsp + 0x20]
xor eax, ecx
mov ecx, dword [rsp + 4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shl eax, 4
add eax, dword [rsp + 0x14]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp + 4]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 4]
shr ecx, 5
add ecx, dword [rsp + 0x1c]
xor eax, ecx
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
jmp 0x14002daa3
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp]
mov dword [rcx + rax], edx
add rsp, 0x38
ret
Function at 0x14002db70
Capabilities:
Encrypt data using tea

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x24], 0x9e3779b9
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov dword [rsp + 8], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x18], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x20], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x14], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x1c], eax
mov dword [rsp + 0xc], 0x20
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0xc]
dec eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0x10], 0
jle 0x14002dc9d
mov eax, dword [rsp + 8]
add eax, 0x9e3779b9
mov dword [rsp + 8], eax
mov eax, dword [rsp]
shl eax, 4
add eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp]
shr ecx, 5
add ecx, dword [rsp + 0x20]
xor eax, ecx
mov ecx, dword [rsp + 4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shl eax, 4
add eax, dword [rsp + 0x14]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp + 4]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 4]
shr ecx, 5
add ecx, dword [rsp + 0x1c]
xor eax, ecx
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
jmp 0x14002dc13
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp]
mov dword [rcx + rax], edx
add rsp, 0x38
ret
Function at 0x14002dce0
Capabilities:
Decrypt data using tea

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x24], 0x9e3779b9
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [rsp], eax
mov dword [rsp + 8], 0xc6ef3720
mov dword [rsp + 0xc], 0x20
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x14], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x1c], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x18], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0xc]
dec eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0x10], 0
jle 0x14002de0d
mov eax, dword [rsp + 4]
shl eax, 4
add eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp + 4]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 4]
shr ecx, 5
add ecx, dword [rsp + 0x20]
xor eax, ecx
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
shl eax, 4
add eax, dword [rsp + 0x14]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp]
shr ecx, 5
add ecx, dword [rsp + 0x1c]
xor eax, ecx
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 8]
sub eax, 0x9e3779b9
mov dword [rsp + 8], eax
jmp 0x14002dd83
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp]
mov dword [rcx + rax], edx
add rsp, 0x38
ret

Function at 0x14002f330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
lea rcx, [0x14017e830]
call fcn.14002f7a0
mov dword [rsp + 0x20], 0
jmp 0x14002f367
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x20], eax
jge 0x14002f3c2
movzx eax, byte [0x14017e820]
cmp eax, 0x20
jne 0x14002f382
call fcn.14002f0e0
movsxd rax, dword [rsp + 0x20]
movzx ecx, byte [0x14017e820]
lea rdx, [0x14017ea08]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx + rax]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
movzx eax, byte [0x14017e820]
inc al
mov byte [0x14017e820], al
jmp 0x14002f35d
add rsp, 0x38
ret
Function at 0x14002f530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
jmp 0x14002f551
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x20], eax
jge 0x14002f5ac
movzx eax, byte [0x14017e820]
cmp eax, 0x20
jne 0x14002f56c
call fcn.14002f0e0
movsxd rax, dword [rsp + 0x20]
movzx ecx, byte [0x14017e820]
lea rdx, [0x14017ea08]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx + rax]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
movzx eax, byte [0x14017e820]
inc al
mov byte [0x14017e820], al
jmp 0x14002f547
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
lea rcx, [0x14017e830]
call fcn.14002f7a0
add rsp, 0x38
ret

Function at 0x140030120
Capabilities:
Authenticate hmac

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14016c9d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x70], 0x40
jle 0x14003016e
lea r8, [rsp + 0x28]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.14002ff80
mov dword [rsp + 0x70], 0x20
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
add rax, 0x68
mov r8d, 0x40
mov edx, 0x36
mov rcx, rax
call fcn.140046350
mov rax, qword [rsp + 0x60]
add rax, 0xa8
mov r8d, 0x40
mov edx, 0x5c
mov rcx, rax
call fcn.140046350
mov dword [rsp + 0x20], 0
jmp 0x1400301bc
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x20], eax
jge 0x140030228
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax + 0x68]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rdx + rcx]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx + 0x68], al
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax + 0xa8]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rdx + rcx]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx + 0xa8], al
jmp 0x1400301b2
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14002f740
mov rax, qword [rsp + 0x60]
add rax, 0x68
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.14002f7a0
mov r8d, 0x20
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140046350
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140046670
add rsp, 0x58
ret
Function at 0x140034a80
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x55e]
test eax, eax
jne 0x140034ad2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret