joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800e0f80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x40
call fcn.180188f30
sub rsp, rax
mov rdi, qword [rcx + 0x70]
movsxd rcx, dword [rdi + 0x70]
mov rsi, r9
lea r12, [rdi + 0x70]
mov rbx, r8
mov rbp, rdx
mov qword [rsp + 0x30], r12
test ecx, ecx
je 0x1800e1001
mov rdx, rcx
test r9, r9
je 0x1800e0fdf
nop word [rax + rax]
cmp ecx, 0x40
jae 0x1800e0fdf
movzx eax, byte [rdx + rdi + 0x30]
inc rbp
inc ecx
xor al, byte [rbx]
inc rdx
inc rbx
dec rsi
mov byte [rbp - 1], al
jne 0x1800e0fc0
mov dword [r12], ecx
test rsi, rsi
je 0x1800e1125
cmp ecx, 0x40
jne 0x1800e1001
inc dword [rdi + 0x20]
mov dword [r12], 0
jne 0x1800e1001
inc dword [rdi + 0x24]
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r14
mov r14d, dword [rdi + 0x20]
mov qword [rsp + 0x88], r15
mov r15d, esi
lea rax, [rdi + 0x20]
and r15d, 0x3f
mov r13d, r15d
mov dword [rsp + 0x70], r15d
sub rsi, r13
cmp rsi, 0x40
jb 0x1800e10a5
mov r15d, 0x10000000
lea r13, [rdi + 0x20]
mov r12, rsi
shr r12, 6
cmp r12, r15
cmova r12, r15
add r14d, r12d
mov eax, r14d
cmp rax, r12
jae 0x1800e105f
sub r12, rax
xor r14d, r14d
shl r12, 6
mov r9, rdi
mov rdx, rbx
mov rcx, rbp
mov r8, r12
mov qword [rsp + 0x20], r13
call fcn.1801208f0
sub rsi, r12
add rbx, r12
add rbp, r12
mov dword [r13], r14d
test r14d, r14d
jne 0x1800e108e
inc dword [rdi + 0x24]
cmp rsi, 0x40
jae 0x1800e1040
mov r15d, dword [rsp + 0x70]
mov r12, qword [rsp + 0x30]
lea rax, [rdi + 0x20]
mov r13d, r15d
mov r14, qword [rsp + 0x80]
test r15d, r15d
je 0x1800e1118
xor edx, edx
lea rcx, [rdi + 0x30]
mov r9, rdi
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rdx
mov qword [rcx + 0x20], rdx
mov qword [rcx + 0x28], rdx
mov qword [rcx + 0x30], rdx
lea r8d, [rdx + 0x40]
mov qword [rcx + 0x38], rdx
mov rdx, rcx
mov qword [rsp + 0x20], rax
call fcn.1801208f0
test r15d, r15d
je 0x1800e1114
sub rdi, rbx
sub rbp, rbx
nop word [rax + rax]
movzx eax, byte [rdi + rbx + 0x30]
inc rbx
xor al, byte [rbx - 1]
dec r13
mov byte [rbx + rbp - 1], al
jne 0x1800e1100
mov dword [r12], r15d
mov r15, qword [rsp + 0x88]
mov r13, qword [rsp + 0x78]
mov eax, 1
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800e9940
Capabilities:
Hash data using sha1

Disassembly:
push rbx
mov eax, 0x20
call fcn.180188f30
sub rsp, rax
lea r8d, [rax + 0x40]
xor edx, edx
mov rbx, rcx
call fcn.180189610
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1800f9330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
mov rdi, r9
mov r9d, r8d
xor r10d, r10d
xor r8b, r8b
mov r11, rdx
test rcx, rcx
je 0x1800f93b8
test rdx, rdx
je 0x1800f93b8
movzx eax, byte [rcx]
test r9d, r9d
jne 0x1800f9367
cmp rax, 0x7f
jbe 0x1800f93b0
mov r10d, 1
mov edx, r10d
add rdx, r11
jmp 0x1800f93c0
mov r8b, 0xff
cmp rax, 0x80
jbe 0x1800f9380
mov r10d, 1
mov edx, r10d
add rdx, r11
jmp 0x1800f93c0
jne 0x1800f93b0
mov edx, 1
cmp rdx, r11
jae 0x1800f939f
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rdx
or r10d, eax
cmp rdx, r11
jb 0x1800f9390
neg r10d
sbb r8b, r8b
movzx r8d, r8b
mov r10d, r8d
and r10d, 1
mov edx, r10d
add rdx, r11
jmp 0x1800f93c0
mov edx, 1
mov r11, r10
mov qword [rsp + 0x18], rsi
test rdi, rdi
je 0x1800f9423
mov rsi, qword [rdi]
test rsi, rsi
je 0x1800f9423
mov qword [rsp + 0x10], rbx
movzx ebx, r8b
mov byte [rsi], r8b
mov eax, ebx
mov r10d, r10d
lea r9, [rcx + r11]
and eax, 1
test r11, r11
je 0x1800f941b
mov r8, r9
sub r8, rcx
add r10, rsi
nop dword [rax + rax]
movzx ecx, byte [r9 - 1]
dec r9
dec r8
xor ecx, ebx
add eax, ecx
mov byte [r10 + r8], al
shr eax, 8
test r8, r8
jne 0x1800f9400
add qword [rdi], rdx
mov rbx, qword [rsp + 0x10]
mov rax, rdx
mov rsi, qword [rsp + 0x18]
pop rdi
ret
Function at 0x1800f9430
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x38
call fcn.180188f30
sub rsp, rax
mov r10, r8
mov r11, rcx
test r9, r9
jne 0x1800f946f
mov edx, 0xe2
lea r9, str.crypto_asn1_a_int.c
lea ecx, [rax - 0x2b]
lea r8d, [rdx - 4]
mov dword [rsp + 0x20], 0x9a
call fcn.1800b8900
xor eax, eax
add rsp, 0x38
ret
movzx r8d, byte [r8]
and r8d, 0x80
test rdx, rdx
je 0x1800f9482
mov dword [rdx], r8d
cmp r9, 1
jne 0x1800f94a6
test rcx, rcx
je 0x1800f949c
movzx eax, byte [r10]
test r8d, r8d
je 0x1800f949a
not al
inc al
mov byte [rcx], al
mov eax, 1
add rsp, 0x38
ret
movzx eax, byte [r10]
mov qword [rsp + 0x40], rbx
xor ebx, ebx
test al, al
jne 0x1800f94bc
mov ebx, 1
jmp 0x1800f94e8
cmp al, 0xff
jne 0x1800f9525
mov ecx, 1
mov edx, ebx
cmp rcx, r9
jae 0x1800f94df
nop dword [rax]
movzx eax, byte [rcx + r10]
inc rcx
or edx, eax
cmp rcx, r9
jb 0x1800f94d0
test edx, edx
setne bl
test ebx, ebx
je 0x1800f9525
movzx eax, byte [r10 + 1]
and eax, 0x80
cmp r8d, eax
jne 0x1800f9525
mov edx, 0xe2
lea r9, str.crypto_asn1_a_int.c
mov ecx, ntohs
lea r8d, [rdx - 5]
mov dword [rsp + 0x20], 0xbb
call fcn.1800b8900
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x38
ret
mov qword [rsp + 0x30], rdi
movsxd rdi, ebx
sub r9, rdi
test r11, r11
je 0x1800f957b
neg r8d
lea r8, [rdi + r10]
sbb al, al
add r8, r9
movzx eax, al
mov ecx, eax
mov ebx, eax
and ecx, 1
test r9, r9
je 0x1800f957b
mov rdx, r8
sub rdx, rdi
sub rdx, r10
nop dword [rax]
movzx eax, byte [r8 - 1]
dec r8
dec rdx
xor eax, ebx
add ecx, eax
mov byte [rdx + r11], cl
shr ecx, 8
test rdx, rdx
jne 0x1800f9560
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rax, r9
add rsp, 0x38
ret

Function at 0x1800f9590
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.180188f30
sub rsp, rax
mov r8d, dword [rcx + 4]
mov r9, rdx
movsxd rdx, dword [rcx]
mov rcx, qword [rcx + 8]
and r8d, 0x100
add rsp, 0x28
jmp fcn.1800f9330
Function at 0x18010d180
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x1f8]
mov eax, 0x2f8
call fcn.180188f30
sub rsp, rax
mov rax, qword [0x180237160]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, qword [rbp + 0x250]
mov r13, rcx
lea rcx, [rbp - 0x60]
mov rdi, r9
mov r12, r8
mov rsi, rdx
call fcn.18013afb0
lea rcx, [rbp - 0x60]
mov r8d, 0x20
mov rdx, rbx
call fcn.18013d490
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x120]
call fcn.18013cc50
movzx eax, byte [rbp + 0x13f]
and byte [rbp + 0x120], 0xf8
and al, 0x3f
lea rcx, [rbp - 0x60]
or al, 0x40
mov byte [rbp + 0x13f], al
call fcn.18013afb0
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x60]
mov r8d, 0x20
call fcn.18013d490
lea rcx, [rbp - 0x60]
mov r8, r12
mov rdx, rsi
call fcn.18013d490
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x160]
call fcn.18013cc50
lea rcx, [rbp + 0x160]
call fcn.18010a290
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x80]
call fcn.180108d60
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.180106a20
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.180105b10
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x70]
call fcn.180105b10
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.180105870
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.180105870
movzx eax, byte [rsp + 0x20]
lea rcx, [rbp - 0x60]
shl al, 7
xor byte [r13 + 0x1f], al
call fcn.18013afb0
lea rcx, [rbp - 0x60]
mov r8d, 0x20
mov rdx, r13
call fcn.18013d490
lea rcx, [rbp - 0x60]
mov r8d, 0x20
mov rdx, rdi
call fcn.18013d490
lea rcx, [rbp - 0x60]
mov r8, r12
mov rdx, rsi
call fcn.18013d490
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1a0]
call fcn.18013cc50
lea rcx, [rbp + 0x1a0]
call fcn.18010a290
lea rcx, [r13 + 0x20]
lea r9, [rbp + 0x160]
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x1a0]
call fcn.18010b2d0
lea rcx, [rbp - 0x60]
mov edx, 0xd8
call fcn.1800b6ec0
lea rcx, [rbp + 0x160]
mov edx, 0x40
call fcn.1800b6ec0
lea rcx, [rbp + 0x120]
mov edx, 0x40
call fcn.1800b6ec0
mov eax, 1
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.180183a50
add rsp, 0x2f8
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18010d600
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
mov eax, 0x190
call fcn.180188f30
sub rsp, rax
mov rax, qword [0x180237160]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rax, rdx
mov rbx, rcx
lea r8, [rsp + 0x140]
mov rcx, rax
mov edx, 0x20
call fcn.18013d5c0
movzx eax, byte [rsp + 0x15f]
and byte [rsp + 0x140], 0xf8
and al, 0x3f
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xa0]
or al, 0x40
mov byte [rsp + 0x15f], al
call fcn.180108d60
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x20]
call fcn.180106a20
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.180105b10
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x70]
call fcn.180105b10
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180105870
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.180105870
movzx eax, byte [rsp + 0x20]
lea rcx, [rsp + 0x140]
shl al, 7
mov edx, 0x40
xor byte [rbx + 0x1f], al
call fcn.1800b6ec0
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.180183a50
add rsp, 0x190
pop rbx
ret
Function at 0x18010d740
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
mov eax, 0x170
call fcn.180188f30
sub rsp, rax
mov rax, qword [0x180237160]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rax, qword [rdx]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
mov qword [rbp + 0x40], rax
mov rax, qword [rdx + 8]
and byte [rbp + 0x40], 0xf8
mov qword [rbp + 0x48], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp + 0x50], rax
mov rax, qword [rdx + 0x18]
lea rdx, [rbp + 0x40]
mov qword [rbp + 0x58], rax
shr rax, 0x38
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x5f], al
call fcn.180108d60
mov r15d, dword [rbp - 0x80]
mov eax, dword [rsp + 0x78]
mov r13d, dword [rbp - 0x7c]
mov edx, dword [rbp - 0x64]
add eax, dword [rbp - 0x60]
mov esi, dword [rbp - 0x78]
mov r14d, dword [rbp - 0x4c]
mov ebx, dword [rbp - 0x74]
mov r12d, dword [rbp - 0x48]
mov r10d, dword [rbp - 0x70]
mov edi, dword [rbp - 0x44]
mov ecx, dword [rbp - 0x6c]
mov r11d, dword [rbp - 0x40]
mov r8d, dword [rbp - 0x68]
mov r9d, dword [rbp - 0x3c]
mov dword [rbp - 0x10], eax
mov eax, dword [rsp + 0x7c]
add eax, dword [rbp - 0x5c]
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0x58]
add eax, r15d
mov dword [rbp - 8], eax
mov eax, dword [rbp - 0x54]
add eax, r13d
mov dword [rbp - 4], eax
mov eax, dword [rbp - 0x50]
add eax, esi
mov dword [rbp], eax
lea eax, [r14 + rbx]
sub r14d, ebx
mov dword [rbp + 4], eax
lea eax, [r12 + r10]
sub r12d, r10d
mov dword [rbp + 8], eax
lea eax, [rdi + rcx]
sub edi, ecx
mov dword [rbp + 0xc], eax
lea eax, [r11 + r8]
sub r11d, r8d
mov dword [rbp + 0x10], eax
lea eax, [r9 + rdx]
mov dword [rbp + 0x2c], r14d
mov dword [rbp + 0x14], eax
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0x30], r12d
sub eax, dword [rsp + 0x78]
mov dword [rbp + 0x34], edi
mov dword [rbp + 0x38], r11d
mov dword [rbp + 0x18], eax
mov eax, dword [rbp - 0x5c]
sub eax, dword [rsp + 0x7c]
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp - 0x58]
sub eax, r15d
mov dword [rbp + 0x20], eax
mov eax, dword [rbp - 0x54]
sub eax, r13d
mov dword [rbp + 0x24], eax
mov eax, dword [rbp - 0x50]
sub eax, esi
sub r9d, edx
lea rdx, [rbp + 0x18]
mov dword [rbp + 0x3c], r9d
mov dword [rbp + 0x28], eax
lea rcx, [rsp + 0x28]
call fcn.180106a20
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.180105b10
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x10]
call fcn.180105870
lea rcx, [rbp + 0x40]
mov edx, 0x20
call fcn.1800b6ec0
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.180183a50
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180112210
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x20
call fcn.180188f30
sub rsp, rax
add qword [rcx], r8
mov rsi, qword [rcx + 8]
mov rdi, qword [rcx + 0x10]
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov r12, rcx
mov ecx, dword [rcx + 0x28]
mov r13, r8
mov r14, rdx
test ecx, ecx
je 0x180112338
mov r15d, 8
sub r15d, ecx
lea rcx, [rcx + r12 + 0x38]
cmp r8, r15
jae 0x18011227e
call fcn.180183a80
add dword [r12 + 0x28], r13d
jmp 0x180112441
mov r8, r15
call fcn.180183a80
movzx eax, byte [r12 + 0x3e]
movzx ecx, byte [r12 + 0x3f]
shl rcx, 8
sub r13, r15
add r14, r15
or rcx, rax
movzx eax, byte [r12 + 0x3d]
shl rcx, 8
or rcx, rax
movzx eax, byte [r12 + 0x3c]
shl rcx, 8
or rcx, rax
movzx eax, byte [r12 + 0x3b]
shl rcx, 8
or rcx, rax
movzx eax, byte [r12 + 0x3a]
shl rcx, 8
or rcx, rax
movzx eax, byte [r12 + 0x39]
shl rcx, 8
or rcx, rax
movzx eax, byte [r12 + 0x38]
shl rcx, 8
or rcx, rax
xor rbx, rcx
cmp dword [r12 + 0x30], 0
jle 0x180112335
mov eax, dword [r12 + 0x30]
nop dword [rax]
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rbx, 0x15
xor rbx, rsi
rol rdi, 0x11
xor rdi, rbp
rol rbp, 0x20
dec rax
jne 0x180112300
xor rsi, rcx
mov r15d, r13d
mov rdx, r14
and r15d, 7
movsxd r8, r15d
sub rdx, r8
add rdx, r13
cmp r14, rdx
je 0x180112419
mov r10d, dword [r12 + 0x30]
lea r9, [r14 + 6]
nop dword [rax]
movzx eax, byte [r9]
movzx ecx, byte [r9 + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [r9 - 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [r9 - 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [r9 - 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [r9 - 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [r9 - 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [r9 - 6]
shl rcx, 8
or rcx, rax
xor rbx, rcx
test r10d, r10d
jle 0x180112405
mov eax, dword [r12 + 0x30]
nop word [rax + rax]
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rbx, 0x15
xor rbx, rsi
rol rdi, 0x11
xor rdi, rbp
rol rbp, 0x20
dec rax
jne 0x1801123d0
add r9, 8
xor rsi, rcx
lea rax, [r9 - 6]
cmp rax, rdx
jne 0x180112360
test r15d, r15d
je 0x180112428
lea rcx, [r12 + 0x38]
call fcn.180183a80
mov dword [r12 + 0x28], r15d
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], rbp
mov qword [r12 + 0x20], rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180112e60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x170
call fcn.180188f30
sub rsp, rax
mov rax, qword [0x180237160]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r13, qword [rsp + 0x1d0]
xor ebp, ebp
mov rdi, r9
movsxd rbx, r8d
mov r12, rdx
mov rsi, rcx
mov r14d, ebp
test r9, r9
je 0x180112ec3
cmp r9, qword [rcx]
je 0x180112ebe
test rdx, rdx
je 0x180112eb7
test r8d, r8d
jns 0x180112ebe
xor eax, eax
jmp 0x1801130a2
mov qword [rcx], r9
jmp 0x180112ecb
mov rdi, qword [rcx]
test rdi, rdi
je 0x180112eb7
mov rcx, rdi
call fcn.1800b95f0
test al, 2
jne 0x180112eb7
mov qword [rsp + 0x168], r15
mov r15d, 1
test r12, r12
je 0x18011305f
mov rcx, rdi
mov r14d, r15d
call fcn.1800b94d0
cmp eax, 0x90
jg 0x1801130c4
cmp eax, ebx
jge 0x180112f57
mov rcx, qword [rsi + 8]
mov r8, r13
mov rdx, rdi
call fcn.180104e40
test eax, eax
je 0x1801130c4
mov rcx, qword [rsi + 8]
mov r8, rbx
mov rdx, r12
call fcn.1801050b0
test eax, eax
je 0x1801130c4
mov rcx, qword [rsi + 8]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call fcn.1801050e0
test eax, eax
je 0x1801130c4
mov ebx, dword [rsp + 0x20]
jmp 0x180112f77
cmp ebx, 0x90
ja 0x1801130c4
lea rcx, [rsp + 0x30]
mov r8, rbx
mov rdx, r12
call fcn.180183a80
mov dword [rsp + 0x20], ebx
cmp ebx, 0x90
je 0x180112f96
mov eax, ebx
mov r8d, 0x90
xor edx, edx
lea rcx, [rsp + rax + 0x30]
sub r8d, ebx
call fcn.180189610
mov rcx, rbp
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 2
xor al, 0x36
mov byte [rsp + rcx + 0xbe], al
movzx eax, byte [rsp + rcx + 0x2f]
xor al, 0x36
mov byte [rsp + rcx + 0xbf], al
cmp rcx, 0x90
jl 0x180112fa0
mov rcx, qword [rsi + 0x10]
mov r8, r13
mov rdx, rdi
call fcn.180104e40
test eax, eax
je 0x180113077
mov rcx, rdi
call fcn.1800b94d0
mov rcx, qword [rsi + 0x10]
lea rdx, [rsp + 0xc0]
movsxd r8, eax
call fcn.1801050b0
test eax, eax
je 0x180113077
mov rcx, rbp
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 2
xor al, 0x5c
mov byte [rsp + rcx + 0xbe], al
movzx eax, byte [rsp + rcx + 0x2f]
xor al, 0x5c
mov byte [rsp + rcx + 0xbf], al
cmp rcx, 0x90
jl 0x180113003
mov rcx, qword [rsi + 0x18]
mov r8, r13
mov rdx, rdi
call fcn.180104e40
test eax, eax
je 0x180113077
mov rcx, rdi
call fcn.1800b94d0
mov rcx, qword [rsi + 0x18]
lea rdx, [rsp + 0xc0]
movsxd r8, eax
call fcn.1801050b0
test eax, eax
je 0x180113077
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rsi + 8]
call fcn.180105240
test eax, eax
cmovne ebp, r15d
test r14d, r14d
je 0x180113098
lea rcx, [rsp + 0x30]
mov edx, 0x90
call fcn.1800b6ec0
lea rcx, [rsp + 0xc0]
mov edx, 0x90
call fcn.1800b6ec0
mov eax, ebp
mov r15, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180183a50
add rsp, 0x170
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x18011309a
Function at 0x180113980
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push r12
push r13
mov eax, gethostbyname
call fcn.180188f30
sub rsp, rax
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x28], r14
mov r12, rdx
mov qword [rsp + 0x20], r15
mov r13, r9
shl r12, 5
mov r14, rdx
mov rbx, rcx
mov r15, r8
test r12, r12
je 0x1801139f3
mov r10, r12
movzx eax, byte [rcx]
add rdi, 4
add rcx, 4
mov dword [rdi - 4], eax
movzx eax, byte [rcx - 3]
shl eax, 8
or dword [rdi - 4], eax
movzx eax, byte [rcx - 2]
shl eax, 0x10
or dword [rdi - 4], eax
movzx eax, byte [rcx - 1]
shl eax, 0x18
or dword [rdi - 4], eax
dec r10
jne 0x1801139c2
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
cmp r8, 1
jbe 0x180113a29
mov rsi, rdx
lea rbp, [r8 - 1]
shl rsi, 7
nop
mov rdx, rdi
mov r8, r14
mov rcx, rdi
sub rdx, rsi
call fcn.180113570
add rdi, rsi
dec rbp
jne 0x180113a10
lea rdx, [r15 - 1]
mov r8, r14
mov rcx, r13
imul rdx, r14
shl rdx, 7
add rdx, qword [rsp + 0x78]
call fcn.180113570
test r15, r15
je 0x180113abb
mov rdi, qword [rsp + 0x70]
mov rbp, r14
mov rsi, r15
shl rbp, 7
nop dword [rax]
mov eax, dword [r13 + rbp - 0x40]
xor edx, edx
div r15
mov r8d, edx
imul r8, r14
shl r8, 7
add r8, qword [rsp + 0x78]
test r12, r12
je 0x180113aa8
mov r9, r13
mov rcx, rdi
mov rdx, r12
sub r9, rdi
nop dword [rax + rax]
mov eax, dword [r9 + rcx]
add rcx, 4
add r8, 4
xor eax, dword [r8 - 4]
dec rdx
mov dword [rcx - 4], eax
jne 0x180113a90
mov r8, r14
mov rdx, rdi
mov rcx, r13
call fcn.180113570
dec rsi
jne 0x180113a60
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
xor edx, edx
test r12, r12
je 0x180113b0a
nop dword [rax + rax]
mov ecx, dword [r13 + rdx*4]
inc rdx
add rbx, 4
mov byte [rbx - 4], cl
mov eax, ecx
shr eax, 8
mov byte [rbx - 3], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [rbx - 2], al
mov byte [rbx - 1], cl
cmp rdx, r12
jb 0x180113ae0
add rsp, 0x30
pop r13
pop r12
pop rbx
ret
Function at 0x180116d70
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x38
call fcn.180188f30
sub rsp, rax
mov r10, rcx
cmp dword [rsp + 0x60], r9d
jne 0x180116e56
movzx eax, byte [r8]
cmp al, 0x6a
je 0x180116d9b
cmp al, 0x6b
jne 0x180116e56
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 1]
cmp al, 0x6b
jne 0x180116e05
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x180116dc8
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x180116dc8
cmp cl, 0xbb
jne 0x180116dfb
inc eax
cmp eax, ebx
jl 0x180116db2
sub ebx, eax
test eax, eax
jne 0x180116e09
mov dword [rsp + 0x20], 0x50
mov edx, 0x80
lea r9, str.crypto_rsa_rsa_x931.c
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.1800b8900
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x48
jmp 0x180116dd6
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x180116e3f
mov edx, 0x80
lea r9, str.crypto_rsa_rsa_x931.c
mov dword [rsp + 0x20], 0x59
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.1800b8900
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r10
call fcn.180183a80
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], 0x3d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.1800b8900
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x18011a830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx r9d, byte [rdx]
lea eax, [r8 - 1]
xor edi, edi
movzx r11d, r9b
mov esi, r8d
mov rbx, rcx
shr r11b, 7
test eax, eax
jle 0x18011a892
mov r10, rcx
sub rdx, rcx
mov edi, eax
mov r8d, eax
nop word [rax + rax]
movzx ecx, byte [rdx + r10 + 1]
add r9b, r9b
inc r10
movzx eax, cl
shr al, 7
or al, r9b
dec r8
movzx r9d, cl
mov byte [r10 - 1], al
jne 0x18011a870
mov eax, 0x87
cmp esi, 0x10
mov rsi, qword [rsp + 0x10]
mov ecx, 0x1b
cmove ecx, eax
movsxd rax, edi
mov rdi, qword [rsp + 0x18]
neg r11b
add r9b, r9b
and cl, r11b
xor cl, r9b
mov byte [rax + rbx], cl
mov rbx, qword [rsp + 8]
ret
Function at 0x180123810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.180188f30
sub rsp, rax
mov rax, qword [0x180237160]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov r12d, r8d
movzx r10d, byte [rax]
movzx r8d, byte [rax + 4]
mov ebx, dword [r15]
lea rdi, [rax + 1]
mov qword [rbp - 0x18], rax
shl r10d, 0x18
movzx eax, byte [rdi]
mov rsi, rcx
movzx ecx, byte [rdi + 5]
shl eax, 0x10
shl r8d, 0x18
shl ecx, 8
or r10d, eax
movzx eax, byte [rdi + 1]
mov r14, rdx
shl eax, 8
lea rdx, [rdi + 5]
xor r13d, r13d
or r10d, eax
movzx eax, byte [rdi + 2]
mov qword [rbp - 0x28], r9
or r10d, eax
movzx eax, byte [rdi + 4]
mov qword [rbp - 0x20], r15
shl eax, 0x10
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0xd], r10b
or r8d, eax
movzx eax, byte [rdx + 1]
or ecx, eax
mov eax, r10d
shr eax, 0x18
or r8d, ecx
mov byte [rbp - 0x10], al
mov eax, r10d
mov dword [rbp - 0x2c], r8d
shr eax, 0x10
mov byte [rbp - 9], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
mov byte [rbp - 0xa], al
test r12d, r12d
je 0x1801239d6
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx edx, r8b
movzx r9d, r10b
nop dword [rax]
dec r12d
test ebx, ebx
jne 0x180123973
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.1801225b0
mov r10d, dword [rbp - 0x30]
mov r8d, dword [rbp - 0x2c]
mov eax, r10d
movzx edx, r8b
movzx r9d, r10b
shr eax, 0x18
mov byte [rbp - 0xd], r10b
mov byte [rbp - 9], dl
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
inc r13d
mov byte [rbp - 0xa], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x180123910
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x1801239d6
mov rcx, qword [rbp - 0x18]
mov eax, r10d
shr eax, 0x18
mov byte [rcx], al
mov eax, r10d
shr r10d, 8
shr eax, 0x10
mov byte [rdi], al
mov byte [rdi + 1], r10b
mov byte [rdi + 2], r9b
mov eax, r8d
shr eax, 0x18
mov byte [rdi + 3], al
mov eax, r8d
shr eax, 0x10
shr r8d, 8
mov byte [rdi + 4], al
mov byte [rdi + 5], r8b
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180183a50
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret