joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030f50
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 8], 0
jne 0x140030f90
mov al, 1
jmp 0x1400310d1
lea rdx, str.SELECT_name_FROM_sqlite_master_WHERE_type__table_AND_name__
lea rcx, [rsp + 0x48]
call fcn.140002e90
nop
mov rcx, rdi
call fcn.1400042c0
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140007160
lea rcx, [0x14013faf4]
call fcn.1400042c0
mov r8, rax
lea rdx, [0x14013faf4]
lea rcx, [rsp + 0x48]
call fcn.140007160
lea rcx, [rsp + 0x48]
call fcn.140002e40
mov rsi, rax
mov rbp, qword [rbx + 8]
mov ecx, 0x20
call fcn.1400dd794
mov rdi, rax
mov qword [rsp + 0x40], rax
lea rax, vtable.sqlite_db::SQLiteStatement.0
mov qword [rdi], rax
lea r14, [rdi + 8]
xor r15d, r15d
mov qword [r14], r15
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
call fcn.14001e030
mov qword [rbx], rax
mov rcx, rdi
call fcn.140031240
test rbp, rbp
je 0x14003107a
test rsi, rsi
je 0x14003107a
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rsi + rax*2], 0
jne 0x140031042
lea r8d, [rax + rax]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov r9d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.140092300
test eax, eax
jne 0x14003107a
mov rcx, rdi
call fcn.1400312c0
jmp 0x14003108a
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rdi, r15
mov qword [rsp + 0x30], rdi
test rdi, rdi
je 0x1400310ae
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400310ae
call fcn.14005c400
sub eax, 5
je 0x1400310ae
sub eax, 0x5f
je 0x1400310f2
dec eax
xor bl, bl
test rdi, rdi
je 0x1400310c4
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
nop
lea rcx, [rsp + 0x48]
call fcn.140002e50
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400dd420
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov bl, 1
jmp 0x1400310b0
Function at 0x140038990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push r12
push r14
push r15
sub rsp, 8
xor r10d, r10d
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
movzx ebx, r9b
movsxd rdi, r8d
mov r14, rcx
mov qword [rsp], r13
mov r11, rdi
mov esi, r10d
mov r13d, r10d
mov r12d, r10d
cmp r9b, 1
jne 0x1400389d3
lea r8d, [r10 + 1]
jmp 0x140038a18
mov edx, 3
movzx eax, bl
mov r9d, edx
mov r8d, 2
sub r9d, eax
sub rdx, rax
cmp rdx, rdi
jge 0x140038a01
nop
cmp byte [rdx + rcx], sil
jne 0x140038a01
add r9d, r8d
add rdx, r8
cmp rdx, rdi
jl 0x1400389f0
cmp r9d, edi
movzx eax, bl
movsxd r11, r9d
setl r12b
and eax, 1
add rcx, rax
xor r11, 1
lea r9, [r14 + r11]
cmp rcx, r9
jae 0x140038a44
lea rdx, [0x14013a440]
nop dword [rax + rax]
movzx eax, byte [rcx]
test byte [rax + rdx], 1
je 0x140038a44
mov eax, r8d
add rcx, rax
cmp rcx, r9
jb 0x140038a30
mov r14d, 1
cmp rcx, r9
jae 0x140038a68
movzx eax, byte [rcx]
cmp al, 0x2d
jne 0x140038a5e
mov r13d, r14d
mov r14d, r10d
jmp 0x140038a62
cmp al, 0x2b
jne 0x140038a68
mov eax, r8d
add rcx, rax
mov r15, rcx
cmp rcx, r9
jae 0x140038a80
cmp byte [rcx], 0x30
jne 0x140038a80
mov eax, r8d
add rcx, rax
cmp rcx, r9
jb 0x140038a70
mov r11d, r10d
cmp rcx, r9
jae 0x140038ada
mov qword [rsp + 0x30], rbp
mov rdi, rcx
mov ebp, r8d
movzx ebx, byte [rdi]
lea eax, [rbx - 0x30]
cmp al, 9
ja 0x140038abe
movsx rax, bl
lea rsi, [rsi + rsi*4]
add r11d, r8d
lea rsi, [rsi - 0x18]
add rdi, rbp
lea rsi, [rax + rsi*2]
movsxd rax, r11d
add rax, rcx
cmp rax, r9
jb 0x140038a93
mov rbp, qword [rsp + 0x30]
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
jbe 0x140038ada
mov esi, r13d
add rsi, rax
jmp 0x140038ae2
test r13d, r13d
je 0x140038ae2
neg rsi
mov rax, qword [rsp + 0x38]
mov qword [rax], rsi
mov r13, qword [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
movsxd rax, r11d
add rax, rcx
cmp rax, r9
jb 0x140038ba6
test r11d, r11d
jne 0x140038b15
cmp r15, rcx
je 0x140038ba6
imul eax, r8d, 0x13
cmp r11d, eax
jg 0x140038ba6
test r12d, r12d
jne 0x140038ba6
cmp r11d, eax
jl 0x140038b98
mov r9d, r10d
lea r11, str.922337203685477580
mov ebx, r10d
nop dword [rax]
cmp r9d, 0x12
jge 0x140038b6a
movsxd rax, ebx
inc r9d
add ebx, r8d
movsx edx, byte [rax + rcx]
movsx eax, byte [r11]
inc r11
sub edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
mov r10d, eax
test eax, eax
je 0x140038b40
jmp 0x140038b7e
test r10d, r10d
jne 0x140038b81
lea eax, [r8 + r8*8]
add eax, eax
movsx r10d, byte [rax + rcx]
sub r10d, 0x38
test r10d, r10d
js 0x140038b98
test r10d, r10d
jg 0x140038ba6
lea eax, [r14 + r14]
add rsp, 8
pop r15
pop r14
pop r12
pop rbx
ret
xor eax, eax
add rsp, 8
pop r15
pop r14
pop r12
pop rbx
ret
mov eax, 1
add rsp, 8
pop r15
pop r14
pop r12
pop rbx
ret
Function at 0x140053bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov r15, rcx
mov r14d, edx
mov r12d, r9d
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov r13, qword [r11]
mov r10, qword [rax + 8]
movsxd rax, dword [r10 + 0x30]
movsxd r10, dword [r11 + 0x30]
cmp eax, r10d
mov qword [rsp + 0x20], rax
mov ecx, r10d
cmovl ecx, eax
xor ebx, ebx
imul r14, rax
mov dword [rsp + 0x78], ecx
mov rcx, rax
cmp eax, r10d
je 0x140053c53
cmp byte [r13 + 0x11], bl
mov eax, 8
cmovne ebx, eax
mov rdi, r14
sub rdi, rcx
test ebx, ebx
jne 0x140053d5e
mov qword [rsp + 0x88], rbp
mov rbp, r10
mov qword [rsp + 0x30], rsi
cmp rdi, r14
jge 0x140053d40
mov rax, rdi
mov qword [rsp + 0x70], 0
cqo
idiv rbp
mov rsi, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 8]
mov eax, dword [0x1401770c8]
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x140053d35
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, r10d
mov rcx, r13
call fcn.140043590
mov ebx, eax
test eax, eax
jne 0x140053d26
mov rcx, qword [rsp + 0x70]
call fcn.1400442c0
mov ebx, eax
test eax, eax
jne 0x140053d26
mov rax, qword [rsp + 0x70]
movsxd r8, dword [rsp + 0x78]
add rsi, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, rsi
idiv qword [rsp + 0x20]
add rdx, qword [rsp + 0x80]
call fcn.1400df6a0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x140053d26
test r12d, r12d
jne 0x140053d26
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 8]
mov eax, dword [rcx + 0x3c]
bswap eax
mov dword [rsi + 0x1c], eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140053d35
call fcn.140043af0
add rdi, rbp
test ebx, ebx
je 0x140053c71
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rbp, qword [rsp + 0x88]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
Function at 0x140065cd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.140034cd0
mov rbx, rax
test rax, rax
jne 0x140065d0e
lea eax, [rbx + 7]
jmp 0x140065d95
cmp dword [0x140176d94], 0
je 0x140065d62
mov rax, qword [0x140176f30]
test rax, rax
je 0x140065d2e
mov ecx, reloc.OLEAUT32.dll_SetErrorInfo
call rax
test eax, eax
jne 0x140065d62
lea rax, [rbx + 8]
mov qword [rbx + 0x10], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x140037910]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rbx + 0x18], rsi
xor ecx, ecx
call fcn.14010f474
mov qword [rbx], rax
test rax, rax
jne 0x140065d77
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x140065d90
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400680f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rcx + 0x18]
xor ebx, ebx
mov r14, qword [rcx + 0x28]
mov r15, r9
mov ebp, r8d
mov r13, rdx
mov rdi, qword [rsi + 0x30]
test rdi, rdi
jne 0x14006818b
movzx eax, word [r14 + 6]
imul rcx, rax, 0x38
mov rax, qword [r14 + 0x10]
add rcx, 0x50
test rax, rax
je 0x14006814d
mov rdx, rcx
mov rcx, rax
call fcn.1400354c0
jmp 0x140068152
call fcn.140034cd0
mov rdi, rax
test rax, rax
jne 0x14006815f
mov rdi, rbx
jmp 0x140068176
lea rax, [rdi + 0x18]
mov qword [rdi], r14
mov qword [rdi + 8], rax
movzx eax, word [r14 + 6]
inc ax
mov word [rdi + 0x10], ax
mov qword [rsi + 0x30], rdi
test rdi, rdi
jne 0x140068187
lea eax, [rdi + 7]
jmp 0x14006820d
mov word [rdi + 0x10], bp
cmp byte [rsi + 0x58], bl
je 0x1400681c5
cmp byte [rsi + 0x59], bl
je 0x1400681a3
mov rax, qword [rsi + 0x10]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x1400681cd
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rcx + rcx*4]
shl rax, 4
add rax, qword [rdx + 0x18]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x1400681cd
mov rax, qword [rsi + 0x38]
lea r8, [rax + 0x10]
mov edx, dword [rax]
mov r9, rdi
mov rcx, r14
call fcn.14005a090
test ebp, ebp
jle 0x1400681f5
mov rax, qword [rdi + 8]
add rax, 8
test byte [rax], 1
jne 0x14006822c
inc ebx
add rax, 0x38
cmp ebx, ebp
jl 0x1400681e6
mov rdx, qword [r13 + 0x10]
xor r9d, r9d
mov ecx, dword [r13 + 0xc]
mov r8, rdi
call fcn.14005a650
mov dword [r15], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
mov dword [r15], 0xffffffff
jmp 0x14006820b
Function at 0x14006cdd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x20
mov r13d, r8d
mov r15, rdx
mov rbx, rcx
test rdx, rdx
je 0x14006ce56
mov edx, 0x10
call fcn.1400354c0
mov rdi, rax
test rax, rax
je 0x14006ce56
mov r9d, dword [r15]
mov dword [rax], r9d
test r13b, 1
jne 0x14006ce1e
mov eax, dword [r15]
mov r9d, 1
cmp eax, r9d
jle 0x14006ce1e
add r9d, r9d
cmp r9d, eax
jl 0x14006ce16
movsxd rax, r9d
mov rcx, rbx
lea rdx, [rax + rax*4]
shl rdx, 3
call fcn.1400354c0
mov qword [rdi + 8], rax
mov rbp, rax
test rax, rax
jne 0x14006ceb1
test rbx, rbx
je 0x14006ce9b
cmp qword [rbx + 0x298], rax
je 0x14006ce64
mov rdx, rdi
mov rcx, rbx
call fcn.140035140
xor eax, eax
add rsp, 0x20
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
cmp rdi, qword [rbx + 0x180]
jb 0x14006ce9b
cmp rdi, qword [rbx + 0x188]
jae 0x14006ce9b
mov rax, qword [rbx + 0x178]
mov qword [rdi], rax
dec dword [rbx + 0x160]
xor eax, eax
mov qword [rbx + 0x178], rdi
add rsp, 0x20
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
mov rcx, rdi
call fcn.1400350d0
xor eax, eax
add rsp, 0x20
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0x50], rsi
mov rsi, qword [r15 + 8]
mov qword [rsp + 0x58], r12
xor r12d, r12d
cmp dword [r15], r12d
jle 0x14006cf49
mov qword [rsp + 0x60], r14
sub rbp, rsi
lea r14, [rax + 0x1c]
nop word [rax + rax]
mov rdx, qword [rsi]
mov r8d, r13d
mov rcx, rbx
call fcn.14006cdc0
mov qword [rsi + rbp], rax
mov rcx, rbx
mov rdx, qword [rsi + 8]
call fcn.1400357a0
mov qword [r14 - 0x14], rax
mov rcx, rbx
mov rdx, qword [rsi + 0x10]
call fcn.1400357a0
mov qword [r14 - 0xc], rax
lea r14, [r14 + 0x28]
movzx eax, byte [rsi + 0x18]
lea rsi, [rsi + 0x28]
and dword [r14 - 0x28], 0xfffffffe
inc r12d
mov byte [r14 - 0x2c], al
mov ecx, dword [rsi - 0xc]
xor ecx, dword [r14 - 0x28]
and ecx, 2
xor dword [r14 - 0x28], ecx
mov eax, dword [rsi - 8]
mov dword [r14 - 0x24], eax
cmp r12d, dword [r15]
jl 0x14006cee0
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rax, rdi
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400705b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov dword [r11 + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
sub rsp, 0x78
mov rax, qword [rcx]
test byte [rax + 0x50], 2
jne 0x1400707ef
movzx r10d, byte [rcx + 0x25]
cmp r10b, 0xa
jb 0x1400707a4
mov qword [r11 - 8], rbx
lea r10, [rcx + 0xe8]
mov qword [r11 - 0x10], rbp
mov r8d, 0x7fffffff
mov qword [r11 - 0x18], rsi
xor edx, edx
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r14
mov qword [r11 - 0x40], r15
mov dword [rsp + 8], r8d
mov dword [rsp + 4], 0xffffffff
mov dword [rsp], edx
mov qword [rsp + 0x10], r10
nop word [rax + rax]
mov ecx, dword [r10 - 0x14]
mov edx, ecx
mov r13d, dword [r10 + 0x28]
cmp ecx, r8d
mov r15d, dword [r10 + 0x3c]
mov eax, r13d
cmovge edx, r8d
mov esi, dword [r10 + 0x50]
mov ebx, dword [r10 + 0x64]
mov r12d, r15d
mov r9d, dword [r10 + 0x78]
mov r14d, esi
mov r8d, dword [r10]
mov edi, ebx
cmp r8d, edx
mov dword [rsp + 0x18], edx
mov dword [rsp + 0x20], r13d
mov r11d, r9d
cmovge r8d, edx
mov edx, dword [r10 + 0x14]
cmp edx, r8d
mov dword [rsp + 0x1c], r8d
cmovge edx, r8d
mov r8d, dword [r10 + 0x8c]
cmp r13d, edx
mov r10d, dword [r10 + 0xa0]
mov r13, qword [rsp + 0x10]
mov ebp, r8d
cmovge eax, edx
mov dword [rsp + 0x24], edx
cmp r15d, eax
mov dword [rsp + 0x28], eax
cmovge r12d, eax
mov eax, dword [rsp]
cmp esi, r12d
mov edx, eax
cmovge r14d, r12d
cmp ebx, r14d
cmovge edi, r14d
cmp r9d, edi
cmovge r11d, edi
cmp r8d, r11d
cmovge ebp, r11d
cmp ecx, dword [rsp + 8]
mov ecx, dword [rsp + 0x18]
cmovge edx, dword [rsp + 4]
inc eax
cmp dword [r13], ecx
mov ecx, dword [rsp + 0x1c]
cmovge eax, edx
mov edx, dword [rsp]
add edx, 2
cmp dword [r13 + 0x14], ecx
mov ecx, dword [rsp]
mov r13d, dword [rsp + 0x20]
cmovge edx, eax
cmp r13d, dword [rsp + 0x24]
lea eax, [rcx + 3]
cmovge eax, edx
cmp r15d, dword [rsp + 0x28]
lea edx, [rcx + 4]
cmovge edx, eax
cmp esi, r12d
lea eax, [rcx + 5]
cmovge eax, edx
cmp ebx, r14d
lea edx, [rcx + 6]
cmovge edx, eax
cmp r9d, edi
lea eax, [rcx + 7]
cmovge eax, edx
cmp r8d, r11d
lea edx, [rcx + 8]
cmovge edx, eax
cmp r10d, ebp
lea eax, [rcx + 9]
cmovge eax, edx
add qword [rsp + 0x10], 0xc8
add ecx, 0xa
mov dword [rsp + 4], eax
mov dword [rsp], ecx
cmp r10d, ebp
mov r8d, r10d
mov r10, qword [rsp + 0x10]
cmovge r8d, ebp
mov dword [rsp + 8], r8d
cmp ecx, 0xa
jl 0x140070630
mov rcx, qword [rsp + 0x80]
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
cdqe
jmp 0x1400707af
lea eax, [r10 + 1]
mov byte [rcx + 0x25], al
movzx eax, r10b
lea rdx, [rax*4 + 0x31]
add rdx, rax
mov eax, dword [rcx + 0x4c]
lea rdx, [rcx + rdx*4]
mov dword [rdx + 8], eax
mov eax, dword [rsp + 0x88]
mov dword [rdx], eax
mov eax, dword [rsp + 0x90]
mov word [rdx + 4], ax
mov eax, dword [rsp + 0x98]
mov dword [rdx + 0xc], eax
mov byte [rdx + 6], 0
mov eax, dword [rcx + 0x50]
mov dword [rdx + 0x10], eax
inc dword [rcx + 0x50]
add rsp, 0x78
ret
Function at 0x140072de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14d, r8d
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140072f9c
test rdx, rdx
je 0x140072f9c
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov esi, dword [rdx + 4]
mov ebp, esi
or ebp, dword [rcx + 4]
bt ebp, 0xa
jae 0x140072e59
and esi, dword [rcx + 4]
bt esi, 0xa
jae 0x140072f64
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
jne 0x140072f64
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
movzx r8d, byte [rcx]
cmp r8b, byte [rdx]
je 0x140072ea1
cmp r8b, 0x35
jne 0x140072e79
mov rcx, qword [rcx + 0x10]
mov r8d, r14d
call fcn.140072de0
cmp eax, 2
jl 0x140072e9a
cmp byte [rbx], 0x35
jne 0x140072f64
mov rdx, qword [rbx + 0x10]
mov r8d, r14d
mov rcx, rdi
call fcn.140072de0
cmp eax, 2
jge 0x140072f64
mov eax, 1
jmp 0x140072e3e
lea eax, [r8 + 0x68]
test al, 0xfd
je 0x140072ed3
mov rax, qword [rcx + 8]
test rax, rax
je 0x140072ed3
mov r9, qword [rdx + 8]
cmp r8b, 0x97
jne 0x140072f6e
mov rdx, r9
mov rcx, rax
call fcn.140038430
test eax, eax
jne 0x140072f64
xor esi, dword [rdi + 4]
test sil, 0x10
jne 0x140072f64
bt ebp, 0xe
jb 0x140072e3c
bt ebp, 0xb
jb 0x140072f64
mov rdx, qword [rbx + 0x10]
mov r8d, r14d
mov rcx, qword [rdi + 0x10]
call fcn.140072de0
test eax, eax
jne 0x140072f64
mov rdx, qword [rbx + 0x18]
mov r8d, r14d
mov rcx, qword [rdi + 0x18]
call fcn.140072de0
test eax, eax
jne 0x140072f64
mov rdx, qword [rbx + 0x20]
mov r8d, r14d
mov rcx, qword [rdi + 0x20]
call fcn.140072fc0
test eax, eax
jne 0x140072f64
bt ebp, 0xd
jb 0x140072e3c
cmp byte [rdi], 0x61
je 0x140072e3c
movzx eax, word [rbx + 0x30]
cmp word [rdi + 0x30], ax
jne 0x140072f64
mov ecx, dword [rdi + 0x2c]
mov eax, dword [rbx + 0x2c]
cmp ecx, eax
je 0x140072e3c
cmp ecx, r14d
jne 0x140072f64
test eax, eax
js 0x140072e3c
mov eax, 2
jmp 0x140072e3e
sub r9, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x140072f84
inc rax
test ecx, ecx
jne 0x140072f71
test edx, edx
je 0x140072ed3
xor eax, eax
cmp r8b, 0x35
setne al
inc eax
jmp 0x140072e3e
xor eax, eax
mov ecx, 2
cmp rbx, rdi
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
cmove ecx, eax
mov eax, ecx
add rsp, 0x20
pop r14
ret
Function at 0x140077d50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov esi, dword [rcx + 0x28]
xor r10d, r10d
xor ebx, ebx
mov rdi, r8
mov r14, rdx
mov rbp, rcx
test esi, esi
jle 0x140077e4e
mov qword [rsp + 0x48], r15
lea r15, [0x14013b140]
nop word [rax + rax]
mov r9d, ebx
xor r9d, 1
cmp ebx, 2
cmovge r9d, ebx
test rdi, rdi
je 0x140077df5
mov rax, qword [rbp + 0x20]
mov r8, rdi
movzx edx, byte [rdi]
movsxd rcx, r9d
shl rcx, 5
mov r11, qword [rcx + rax]
movzx eax, byte [rdx + r15]
movzx ecx, byte [r11]
movzx ecx, byte [rcx + r15]
sub eax, ecx
jne 0x140077e29
sub r11, rdi
nop dword [rax]
test dl, dl
je 0x140077df1
movzx eax, byte [r11 + r8 + 1]
inc r8
movzx ecx, byte [rax + r15]
movzx edx, byte [r8]
movzx eax, byte [rdx + r15]
sub eax, ecx
je 0x140077dd0
jmp 0x140077e29
test eax, eax
jne 0x140077e29
mov rax, qword [rbp + 0x20]
lea r8, [rsp + 0x40]
movsxd rcx, r9d
mov rdx, r14
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.140039830
test rax, rax
je 0x140077e26
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x140077e33
jmp 0x140077e29
xor r10d, r10d
inc ebx
cmp ebx, esi
jl 0x140077d90
mov r15, qword [rsp + 0x48]
mov rax, r10
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, r10
jmp 0x140077e3b

Function at 0x140078160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov esi, dword [rcx + 0x28]
xor r9d, r9d
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
test esi, esi
jle 0x14007824d
mov qword [rsp + 0x48], r14
mov r14, qword [rcx + 0x20]
mov qword [rsp + 0x50], r15
lea r15, [0x14013b140]
nop word [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
cdqe
shl rax, 5
mov r11, qword [rax + r14 + 0x18]
test rdi, rdi
je 0x140078205
mov r10, qword [rax + r14]
mov r8, rdi
movzx edx, byte [rdi]
movzx eax, byte [r10]
movzx ecx, byte [rax + r15]
movzx eax, byte [rdx + r15]
sub eax, ecx
jne 0x140078229
sub r10, rdi
nop word [rax + rax]
test dl, dl
je 0x140078201
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx ecx, byte [rax + r15]
movzx edx, byte [r8]
movzx eax, byte [rdx + r15]
sub eax, ecx
je 0x1400781e0
jmp 0x140078229
test eax, eax
jne 0x140078229
lea rcx, [r11 + 0x20]
mov rdx, rbp
lea r8, [rsp + 0x40]
call fcn.140039830
test rax, rax
je 0x140078226
mov r9, qword [rax + 0x10]
test r9, r9
jne 0x140078233
jmp 0x140078229
xor r9d, r9d
inc ebx
cmp ebx, esi
jl 0x1400781a0
mov r14, qword [rsp + 0x48]
mov rax, r9
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x58]
mov rax, r9
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140109f9c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x38], 0
mov rdi, r8
mov r14, rdx
mov rbx, rcx
jne 0x14010a073
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, r8
cmp rcx, rax
ja 0x14010a073
cmp rcx, r8
jb 0x14010a073
mov esi, dword [rbx + 0x184]
mov qword [rbx + 0x30], rcx
test esi, esi
je 0x14010a026
test rdi, rdi
je 0x14010a015
mov al, byte [r14]
dec rdi
mov ecx, esi
inc r14
xor byte [rcx + rbx + 0x40], al
inc esi
and esi, 0xf
jne 0x140109ffa
test esi, esi
jne 0x14010a066
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.14010c7ac
mov rbp, rdi
and rbp, 0xfffffffffffffff0
je 0x14010a048
lea rdx, [rbx + 0x60]
mov r9, rbp
lea rcx, [rbx + 0x40]
mov r8, r14
call fcn.14010c6f4
add r14, rbp
sub rdi, rbp
test rdi, rdi
je 0x14010a066
mov esi, edi
lea rcx, [rbx + 0x40]
sub r14, rbx
mov al, byte [r14 + rcx - 0x40]
xor byte [rcx], al
inc rcx
sub rdi, 1
jne 0x14010a056
mov dword [rbx + 0x184], esi
mov eax, 1
jmp 0x14010a075
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14010a3a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rsp + 0x90]
mov rdi, rcx
mov rcx, qword [rcx + 0x38]
movabs rax, 0xfffffffe0
add rcx, rsi
mov r15, r9
mov r14, r8
mov r12, rdx
cmp rcx, rax
ja 0x14010a57a
cmp rcx, rsi
jb 0x14010a57a
cmp dword [rdi + 0x184], 0
mov qword [rdi + 0x38], rcx
je 0x14010a411
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.14010c7ac
and dword [rdi + 0x184], 0
mov ebp, dword [rdi + 0x180]
mov dword [rsp + 0x70], ebp
test ebp, ebp
je 0x14010a45f
test rsi, rsi
je 0x14010a446
mov dl, byte [r14]
dec rsi
mov ecx, ebp
inc r14
mov al, byte [rcx + rdi + 0x10]
xor al, dl
mov byte [r15], al
inc r15
xor byte [rcx + rdi + 0x40], dl
inc ebp
and ebp, 0xf
jne 0x14010a41f
mov dword [rsp + 0x70], ebp
test ebp, ebp
jne 0x14010a56d
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.14010c7ac
mov r13d, dword [rdi + 0xc]
mov ecx, 0xc00
bswap r13d
cmp rsi, rcx
jb 0x14010a4e0
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rbx, rdx
shr rbx, 0xb
imul rax, rbx, 0xfffffffffffff400
add rsi, rax
mov r9, rcx
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
mov r8, r14
call fcn.14010c6f4
mov r9, r12
mov qword [rsp + 0x20], rdi
mov r8d, 0xc0
mov rdx, r15
mov rcx, r14
call qword [rsp + 0x98]
add r13d, 0xc0
mov ecx, 0xc00
mov eax, r13d
add r15, rcx
add r14, rcx
bswap eax
mov dword [rdi + 0xc], eax
sub rbx, 1
jne 0x14010a48e
mov ebp, dword [rsp + 0x70]
mov r12, rsi
and r12, 0xfffffffffffffff0
je 0x14010a531
mov rbx, r12
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
shr rbx, 4
mov r9, r12
mov r8, r14
call fcn.14010c6f4
mov r9, qword [rsp + 0x78]
mov r8, rbx
mov rdx, r15
mov qword [rsp + 0x20], rdi
mov rcx, r14
call qword [rsp + 0x98]
add r13d, ebx
add r15, r12
mov eax, r13d
add r14, r12
bswap eax
mov dword [rdi + 0xc], eax
sub rsi, r12
test rsi, rsi
je 0x14010a56d
mov r8, qword [rsp + 0x78]
lea rdx, [rdi + 0x10]
mov rcx, rdi
call qword [rdi + 0x170]
lea eax, [r13 + 1]
bswap eax
mov dword [rdi + 0xc], eax
mov edx, ebp
inc ebp
mov cl, byte [rdx + r14]
mov al, byte [rdi + rdx + 0x10]
xor byte [rdx + rdi + 0x40], cl
xor al, cl
mov byte [rdx + r15], al
sub rsi, 1
jne 0x14010a551
mov dword [rdi + 0x180], ebp
mov eax, 1
jmp 0x14010a57c
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret