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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x250
mov rax, qword [0x00028100]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor eax, eax
mov rbx, rdx
lea rdx, [r8 + 1]
mov qword [rcx], rax
mov r12, r8
mov rsi, rcx
mov qword [rcx + 8], rax
xor ecx, ecx
mov r8d, 0x5353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
xor bpl, bpl
mov r15d, 0x100
lea rcx, [rsp + 0x30]
lea rdx, [0x000247a0]
mov r8, r15
mov rdi, rax
mov dword [rsp + 0x230], 1
mov dword [rsp + 0x234], 1
mov byte [rsp + 0x238], bpl
mov byte [rsp + 0x239], bpl
call fcn.00021e50
lea r11, [rsp + 0x30]
xor r9d, r9d
mov r10, r15
mov dl, byte [r11]
mov rax, r9
lea rcx, str.sYMfd_Aui3HUv95
and eax, 0xf
inc r9
mov al, byte [rax + rcx]
add al, dl
add bpl, al
movzx ecx, bpl
mov al, byte [rsp + rcx + 0x30]
mov byte [r11], al
inc r11
sub r10, 1
mov byte [rsp + rcx + 0x30], dl
jne 0x21532
lea rcx, [rsp + 0x130]
lea rdx, [rsp + 0x30]
mov r8, r15
call fcn.00021e50
mov r9d, dword [rsp + 0x230]
mov r11b, byte [rsp + 0x238]
lea ebp, [r9 + r12]
mov rax, rdi
sub rbx, r9
sub rax, r9
cmp r9d, ebp
jae 0x215de
lea r10, [r9 + rax]
sub rbx, rax
movzx r8d, r9b
inc r9d
mov dl, byte [rsp + r8 + 0x30]
add r11b, dl
movzx ecx, r11b
mov al, byte [rsp + rcx + 0x30]
mov byte [rsp + r8 + 0x30], al
mov byte [rsp + rcx + 0x30], dl
add dl, byte [rsp + r8 + 0x30]
movzx eax, dl
mov cl, byte [rsp + rax + 0x30]
xor cl, byte [rbx + r10]
mov byte [r10], cl
inc r10
cmp r9d, ebp
jb 0x215a3
lea rcx, [rsp + 0x20]
mov rdx, rdi
mov byte [r12 + rdi], 0
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [rsp + 0x20]
mov r8b, 1
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov rax, rsi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.00021dd0
mov rbx, qword [rsp + 0x288]
add rsp, 0x250
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x21958
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov eax, dword [r9]
mov r13, r8
mov rbp, rdx
add eax, 0x10
mov r12, rcx
mov r8d, 0x524547
mov edx, eax
mov ecx, 1
mov rsi, r9
mov edi, 0xc000009a
mov dword [rsp + 0x68], eax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x21a45
mov rcx, qword [r12]
lea rax, [rsp + 0x68]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
mov r8d, 2
mov rdx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov edi, eax
test eax, eax
js 0x21a1d
mov ecx, dword [rbx + 8]
mov rbp, qword [rsp + 0x70]
cmp ecx, dword [rsi]
ja 0x21a0e
mov eax, dword [rbp]
test eax, eax
je 0x219f0
cmp eax, dword [rbx + 4]
jne 0x21a0e
mov r8, rcx
lea rdx, [rbx + 0xc]
mov rcx, r13
call fcn.00021e50
mov r11d, dword [rbx + 8]
mov eax, dword [rbx + 4]
mov dword [rsi], r11d
mov dword [rbp], eax
jmp 0x21a3a
mov eax, dword [rbx + 4]
mov dword [rsi], ecx
mov edi, 0xc0000023
mov dword [rbp], eax
jmp 0x21a3a
cmp eax, 0x80000005
je 0x21a2b
cmp eax, 0xc0000023
jne 0x21a3a
mov rax, qword [rsp + 0x70]
mov ecx, dword [rbx + 4]
mov dword [rax], ecx
mov eax, dword [rbx + 8]
mov dword [rsi], eax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r13
pop r12
pop rdi
ret

Function at 0x21a68
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rbp, r8
movzx r8d, word [r8]
xor r14d, r14d
mov r9, qword [rbp + 8]
mov rax, r8
mov r12, rdx
shr rax, 1
mov r13, rcx
cmp word [r9 + rax*2 - 2], r14w
jne 0x21ac1
mov rcx, qword [rcx]
mov dword [r11 - 0x20], r8d
mov qword [r11 - 0x28], r9
lea r9d, [r14 + 1]
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
jmp 0x21b22
lea edi, [r8 + 2]
xor ecx, ecx
mov r8d, 0x524547
mov edx, edi
mov ebx, edi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
movzx r8d, word [rbp]
mov rdx, qword [rbp + 8]
mov rcx, rax
mov rsi, rax
call fcn.00021e50
shr rbx, 1
mov r9d, 1
mov word [rsi + rbx*2 - 2], r14w
mov rcx, qword [r13]
xor r8d, r8d
mov rdx, r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret
Function at 0x21b48
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rbp, r8
movzx r8d, word [r8]
xor r14d, r14d
mov r9, qword [rbp + 8]
mov rax, r8
mov r12, rdx
shr rax, 1
mov r13, rcx
cmp word [r9 + rax*2 - 2], r14w
jne 0x21ba1
mov rcx, qword [rcx]
mov dword [r11 - 0x20], r8d
mov qword [r11 - 0x28], r9
lea r9d, [r14 + 2]
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
jmp 0x21c02
lea edi, [r8 + 2]
xor ecx, ecx
mov r8d, 0x524547
mov edx, edi
mov ebx, edi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
movzx r8d, word [rbp]
mov rdx, qword [rbp + 8]
mov rcx, rax
mov rsi, rax
call fcn.00021e50
shr rbx, 1
mov r9d, 2
mov word [rsi + rbx*2 - 2], r14w
mov rcx, qword [r13]
xor r8d, r8d
mov rdx, r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret

Function at 0x21c28
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x00028100]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov ebx, 0x220
lea rcx, [rsp + 0x40]
mov r8, rbx
xor edx, edx
call fcn.00022550
mov rcx, qword [rdi]
xor esi, esi
cmp rcx, rsi
je 0x21cb9
mov edx, dword [rdi + 8]
cmp edx, esi
jl 0x21cb9
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], esi
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
cmp eax, esi
jl 0x21cbd
mov ebx, dword [rsp + 0x4c]
lea rcx, [rdi + 0xc]
lea rdx, [rsp + 0x50]
mov r8, rbx
call fcn.00021e50
shr rbx, 1
mov al, 1
mov word [rdi + rbx*2 + 0xc], si
jmp 0x21cbf
mov word [rdi + 0xc], si
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.00021dd0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x21cec
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x60
xor ebx, ebx
mov qword [rax - 0x28], r8
lea r8, [rax - 0x38]
mov edx, 0x20019
mov rdi, rcx
mov dword [rax - 0x38], 0x30
mov qword [rax - 0x30], rbx
mov dword [rax - 0x20], 0x40
mov qword [rax - 0x18], rbx
mov qword [rax - 0x10], rbx
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x21d9c
mov rcx, qword [rdi]
lea rax, [rsp + 0x78]
lea edx, [rbx + 2]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
cmp eax, 0xc0000023
jne 0x21d94
mov edx, dword [rsp + 0x78]
xor ecx, ecx
mov r8d, 0x524547
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
cmp rax, rbx
je 0x21d94
mov r9d, dword [rsp + 0x78]
mov rcx, qword [rdi]
lea rax, [rsp + 0x78]
lea edx, [rbx + 2]
mov r8, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
mov ebx, dword [rsi + 0x14]
lea eax, [rbx - 1]
mov dword [rdi + 8], eax
jmp 0x21d9f
mov qword [rdi], rbx
mov rcx, rdi
call fcn.00021c28
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x2a064
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.0002a008
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp fcn.0001124c
Function at 0x140054380
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400543c2
mov r10d, 8
sub r10, r11
cmp r10, r8
mov rdi, r8
cmovb rdi, r10
cmp rdi, 4
jb 0x1400543ca
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400543db
jmp 0x1400543f2
xor r10d, r10d
jmp 0x14005447d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400543f2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140054409
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140054429
add r11, r8
jmp 0x14005455a
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov r11, qword [rax + 0x10]
mov r9, qword [rax]
add r9, r11
mov rdi, qword [rax + 8]
add rdi, rcx
rol r11, 0xd
xor r11, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, rdi
add rdi, r11
rol r11, 0x11
add r9, rcx
xor r11, rdi
rol rcx, 0x15
mov qword [rax + 0x10], r11
xor rcx, r9
rol rdi, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], rdi
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400544f2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400544a0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140054510
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140054522
jmp 0x14005453c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14005453c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140054556
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140055c50
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x140055cdc
movsxd rax, dword [rdx + 0x3c]
test rax, rax
je 0x140055ce1
cmp eax, 0x40
jb 0x140055dd1
cmp rax, r8
ja 0x140055dd1
movzx r9d, word [rax + rdx + 0x18]
cmp r9d, 0x10b
je 0x140055ce6
mov r10b, 5
cmp r9d, 0x20b
jne 0x140055d11
mov r10b, 2
cmp dword [rdx + rax], 0x4550
jne 0x140055d11
lea r9, [rdx + rax]
movzx r11d, word [r9 + 4]
mov r10b, 3
cmp r11d, 0x8664
jne 0x140055d11
mov r10b, 4
test byte [r9 + 0x16], 2
je 0x140055d11
lea r10, [rax + 0x108]
mov r11d, 1
cmp r10, r8
jbe 0x140055d44
jmp 0x140055dd1
xor r10d, r10d
jmp 0x140055d11
mov r10b, 1
jmp 0x140055d11
mov r10b, 2
cmp dword [rdx + rax], 0x4550
jne 0x140055d11
lea r9, [rdx + rax]
movzx r11d, word [r9 + 4]
mov r10b, 3
cmp r11d, 0x14c
jne 0x140055d11
mov r10b, 4
test byte [r9 + 0x16], 2
jne 0x140055d31
mov byte [rcx], r10b
mov r8d, 2
mov eax, 0x18
mov qword [rcx + rax], r8
mov rax, rcx
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r10, [rax + 0xf8]
cmp r10, r8
ja 0x140055dd1
xor r11d, r11d
mov rsi, r8
sub rsi, r10
movzx ebx, word [rdx + rax + 6]
lea rdi, [rbx*8]
lea rdi, [rdi + rdi*4]
sub rsi, rdi
jb 0x140055dd1
add rax, 0xffffffffffffffc0
lea r14, [rdx + 0x40]
add r10, rdx
mov r15, rdx
shr r15, 8
add rdi, r10
mov ebp, ebx
shr ebp, 8
mov byte [rcx], dl
mov r12, rdx
shr r12, 0x38
mov byte [rcx + 7], r12b
mov r12, rdx
shr r12, 0x28
mov word [rcx + 5], r12w
mov dword [rcx + 1], r15d
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r11
mov qword [rcx + 0x20], r9
mov qword [rcx + 0x28], r10
mov byte [rcx + 0x30], bl
mov dword [rcx + 0x31], ebp
mov byte [rcx + 0x37], 0
mov word [rcx + 0x35], 0
mov qword [rcx + 0x38], rdi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rdx
mov eax, 0x50
jmp 0x140055d1f
ud2
Function at 0x14005f660
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14005f670
test al, 1
je 0x14005f68b
test al, 2
jne 0x14005f68b
xor rax, 3
ret
ud2

Function at 0x140061bf0
Capabilities:
Set socket configuration

Disassembly:
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140061c00
add rcx, 0x18
jmp 0x140073cc0
ud2
jmp 0x14007b050
sub rsp, 0x38
movzx eax, dl
mov rcx, qword [rcx]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14007b088
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x140061c90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14006a290
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14006a2da
mov r15, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, r15
mov r8, rdi
xor r9d, r9d
call fcn.14005f280
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x14006a305
mov eax, 1
jmp 0x14006a473
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov r8, rdi
xor r9d, r9d
call fcn.14005f280
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x14006a43c
mov eax, 1
jmp 0x14006a473
add rbx, 0x18
lea r13, [rsp + 0x20]
mov qword [rsp + 0x30], rdi
jmp 0x14006a35f
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.1400550c0
mov r13, rbx
mov rcx, rbx
mov rdx, r15
mov r8, qword [rsp + 0x30]
xor r9d, r9d
call fcn.14005f280
movzx eax, byte [rsp + 0x29]
cmp al, 3
mov rbx, rsi
mov rsi, r14
je 0x14006a2d0
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x14006a445
mov r8, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
sub r8, r12
jb 0x14006a48f
movzx edi, byte [rsp + 0x28]
mov r14, rsi
mov rdx, qword [rsi]
add rdx, r12
mov rsi, rbx
mov qword [rsp + 0x20], rbx
mov rbx, r13
mov rcx, r13
call fcn.140073ce0
mov r13, rdx
test rax, rax
je 0x14006a449
mov rcx, r13
call fcn.140069f30
cmp al, 0xd
jne 0x14006a46e
and ebp, 0x23
mov rax, qword [r15 + 0x90]
xor rbp, 0x2f
mov rcx, rdi
shl rcx, 0x10
nop
mov edx, eax
shr edx, 0x10
cmp dil, dl
jne 0x14006a3ec
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r15 + 0x90], rdx
jne 0x14006a3d0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x14006a336
test rax, rax
je 0x14006a336
mov rbp, qword [r13 - 1]
mov rdi, qword [r13 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x14006a41e
mov rcx, rbp
call rax
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14006a320
mov r8, qword [rdi + 0x10]
mov rcx, rbp
call fcn.1400550c0
jmp 0x14006a320
cmp al, 2
jne 0x14006a487
mov rbp, qword [rsp + 0x20]
xor eax, eax
jmp 0x14006a473
lea rax, [r12 + r13]
mov rcx, qword [r14 + 0x18]
cmp rax, rcx
jbe 0x14006a45d
mov qword [r14 + 0x18], rax
mov rcx, rax
add r12, r13
jb 0x14006a48f
cmp rax, rcx
ja 0x14006a48f
mov qword [r14 + 0x10], rax
xor r13d, r13d
xor eax, eax
mov rbp, r13
mov rdx, rbp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 8]
ud2

Function at 0x140062dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx]
add rcx, 0x10
jmp 0x14006a290
Function at 0x140062e60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx]
add rcx, 0x10
jmp 0x14006a4a0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov r15, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14006a4f1
mov r12, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.14005f280
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14006a51c
mov eax, 2
jmp 0x14006a656
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov r8, rdi
mov r9b, 1
call fcn.14005f280
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14006a63c
mov eax, 2
jmp 0x14006a656
add r15, 0x18
lea rsi, [rsp + 0x28]
jmp 0x14006a563
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.1400550c0
mov rsi, r14
mov rcx, r14
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.14005f280
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x14006a4e7
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x14006a651
movzx ebx, byte [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov r14, rsi
mov rcx, rsi
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
call fcn.140073cf0
mov rsi, rax
mov r13, rdx
test rax, rax
je 0x14006a64c
mov rcx, r13
call fcn.140069f30
cmp al, 0xd
jne 0x14006a64c
and ebp, 0x23
mov rax, qword [r12 + 0x90]
xor rbp, 0x2f
mov rcx, rbx
shl rcx, 0x10
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x14006a5ec
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r12 + 0x90], rdx
jne 0x14006a5d0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x14006a546
test rax, rax
je 0x14006a546
mov rsi, qword [r13 - 1]
mov rbx, qword [r13 + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14006a61e
mov rcx, rsi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14006a530
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.1400550c0
jmp 0x14006a530
cmp al, 2
jne 0x14006a66d
mov r13, qword [rsp + 0x28]
mov eax, 1
jmp 0x14006a659
mov rax, rsi
jmp 0x14006a659
mov eax, 1
mov r13, rbp
mov rdx, r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x14006a290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14006a290
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14006a2da
mov r15, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, r15
mov r8, rdi
xor r9d, r9d
call fcn.14005f280
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x14006a305
mov eax, 1
jmp 0x14006a473
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov r8, rdi
xor r9d, r9d
call fcn.14005f280
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x14006a43c
mov eax, 1
jmp 0x14006a473
add rbx, 0x18
lea r13, [rsp + 0x20]
mov qword [rsp + 0x30], rdi
jmp 0x14006a35f
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.1400550c0
mov r13, rbx
mov rcx, rbx
mov rdx, r15
mov r8, qword [rsp + 0x30]
xor r9d, r9d
call fcn.14005f280
movzx eax, byte [rsp + 0x29]
cmp al, 3
mov rbx, rsi
mov rsi, r14
je 0x14006a2d0
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x14006a445
mov r8, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
sub r8, r12
jb 0x14006a48f
movzx edi, byte [rsp + 0x28]
mov r14, rsi
mov rdx, qword [rsi]
add rdx, r12
mov rsi, rbx
mov qword [rsp + 0x20], rbx
mov rbx, r13
mov rcx, r13
call fcn.140073ce0
mov r13, rdx
test rax, rax
je 0x14006a449
mov rcx, r13
call fcn.140069f30
cmp al, 0xd
jne 0x14006a46e
and ebp, 0x23
mov rax, qword [r15 + 0x90]
xor rbp, 0x2f
mov rcx, rdi
shl rcx, 0x10
nop
mov edx, eax
shr edx, 0x10
cmp dil, dl
jne 0x14006a3ec
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r15 + 0x90], rdx
jne 0x14006a3d0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x14006a336
test rax, rax
je 0x14006a336
mov rbp, qword [r13 - 1]
mov rdi, qword [r13 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x14006a41e
mov rcx, rbp
call rax
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14006a320
mov r8, qword [rdi + 0x10]
mov rcx, rbp
call fcn.1400550c0
jmp 0x14006a320
cmp al, 2
jne 0x14006a487
mov rbp, qword [rsp + 0x20]
xor eax, eax
jmp 0x14006a473
lea rax, [r12 + r13]
mov rcx, qword [r14 + 0x18]
cmp rax, rcx
jbe 0x14006a45d
mov qword [r14 + 0x18], rax
mov rcx, rax
add r12, r13
jb 0x14006a48f
cmp rax, rcx
ja 0x14006a48f
mov qword [r14 + 0x10], rax
xor r13d, r13d
xor eax, eax
mov rbp, r13
mov rdx, rbp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 8]
ud2
Function at 0x14006a4a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx]
add rcx, 0x10
jmp 0x14006a4a0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov r15, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14006a4f1
mov r12, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.14005f280
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14006a51c
mov eax, 2
jmp 0x14006a656
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov r8, rdi
mov r9b, 1
call fcn.14005f280
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14006a63c
mov eax, 2
jmp 0x14006a656
add r15, 0x18
lea rsi, [rsp + 0x28]
jmp 0x14006a563
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.1400550c0
mov rsi, r14
mov rcx, r14
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.14005f280
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x14006a4e7
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x14006a651
movzx ebx, byte [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov r14, rsi
mov rcx, rsi
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
call fcn.140073cf0
mov rsi, rax
mov r13, rdx
test rax, rax
je 0x14006a64c
mov rcx, r13
call fcn.140069f30
cmp al, 0xd
jne 0x14006a64c
and ebp, 0x23
mov rax, qword [r12 + 0x90]
xor rbp, 0x2f
mov rcx, rbx
shl rcx, 0x10
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x14006a5ec
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r12 + 0x90], rdx
jne 0x14006a5d0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x14006a546
test rax, rax
je 0x14006a546
mov rsi, qword [r13 - 1]
mov rbx, qword [r13 + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14006a61e
mov rcx, rsi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14006a530
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.1400550c0
jmp 0x14006a530
cmp al, 2
jne 0x14006a66d
mov r13, qword [rsp + 0x28]
mov eax, 1
jmp 0x14006a659
mov rax, rsi
jmp 0x14006a659
mov eax, 1
mov r13, rbp
mov rdx, r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2