joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14025ba70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r8d, dword [rcx + 4]
mov r9, rdx
movsxd rdx, dword [rcx]
and r8d, 0x100
mov rcx, qword [rcx + 8]
jmp fcn.14025bca0

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rsi, r9
mov rbx, rcx
test rcx, rcx
je 0x14025bda5
test r10, r10
je 0x14025bda5
movzx eax, byte [rcx]
test r8d, r8d
jne 0x14025bce5
cmp al, 0x7f
jbe 0x14025bd9e
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x14025bdad
mov r11b, 0xff
cmp al, 0x80
jbe 0x14025bcfb
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x14025bdad
jne 0x14025bd9e
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x14025bd8f
cmp rcx, 8
jb 0x14025bd81
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax + rax]
movd xmm1, dword [rax + rbx]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rax + rbx + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x14025bd30
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x14025bd8f
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x14025bd81
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x14025bdad
mov eax, 1
mov r10, rdx
mov qword [rsp + 0x18], rdi
test rsi, rsi
je 0x14025be05
mov rdi, qword [r9]
test rdi, rdi
je 0x14025be05
movzx r8d, r11b
lea r9, [rbx + r10]
and r8d, 1
mov byte [rdi], r11b
test r10, r10
je 0x14025be02
mov ebx, edx
add rbx, rdi
nop dword [rax + rax]
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x14025bde0
add qword [rsi], rax
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
pop rsi
ret
Function at 0x14025be20
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x38
mov r10, rcx
test r9, r9
jne 0x14025be52
mov edx, 0xe2
mov dword [rsp + 0x20], r9d
lea r9, [0x1403fcc7b]
mov ecx, reloc.WS2_32.dll_listen
lea r8d, [rdx - 4]
call fcn.1401d65d0
xor eax, eax
add rsp, 0x38
ret
movzx r11d, byte [r8]
and r11d, 0x80
test rdx, rdx
je 0x14025be65
mov dword [rdx], r11d
cmp r9, 1
jne 0x14025be87
test r10, r10
je 0x14025be7d
movzx eax, byte [r8]
test r11d, r11d
je 0x14025be7b
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x38
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x14025be99
mov eax, 1
jmp 0x14025bf4a
xor eax, eax
cmp cl, 0xff
jne 0x14025bf83
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x14025bf3f
cmp rcx, 8
jb 0x14025bf30
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
movd xmm1, dword [rax + r8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rax + r8 + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x14025bed0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x14025bf3f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x14025bf30
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x14025bf83
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r11d, ecx
jne 0x14025bf83
mov edx, 0xe2
mov dword [rsp + 0x20], 0
lea r9, [0x1403fcc7b]
mov ecx, reloc.WS2_32.dll_listen
lea r8d, [rdx - 5]
call fcn.1401d65d0
xor eax, eax
add rsp, 0x38
ret
mov qword [rsp + 0x30], rbx
mov rbx, r9
sub rbx, rax
test r10, r10
je 0x14025bfcd
neg r11d
sbb r11d, r11d
add r9, r8
movzx r11d, r11b
mov edx, r11d
and edx, 1
test rbx, rbx
je 0x14025bfcd
mov r8, rbx
nop
movzx ecx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r8
xor ecx, r11d
add edx, ecx
mov byte [r8 + r10], dl
shr edx, 8
test r8, r8
jne 0x14025bfb0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret

Function at 0x140262870
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1402628dc
movzx ecx, byte [rcx]
test cl, cl
je 0x1402628dc
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x140262890
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x1402628f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x140262978
movzx eax, byte [rcx]
test al, al
je 0x140262978
mov qword [rsp + 0x30], rsi
mov esi, 0x100
movsx ecx, al
call fcn.14023afe0
mov r9d, eax
mov edx, ebx
or r9d, esi
lea rdi, [rdi + 1]
mov eax, ebx
mov r8d, r9d
shr r8d, 2
mov ecx, 0x20
xor r8d, r9d
add esi, 0x100
and r8d, 0xf
imul r9d, r9d
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r9d
test al, al
jne 0x140262915
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140264c70
Capabilities:
Get thread local storage value

Disassembly:
lea rcx, [0x1406c3600]
jmp fcn.140239030
Function at 0x14028b4d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
sub rsp, 0x40
mov rsi, qword [rcx + 0x70]
mov rbx, r8
mov r8d, dword [rsi + 0x70]
lea r13, [rsi + 0x70]
mov qword [rsp + 0x38], r13
mov rbp, r9
mov r14, rdx
test r8d, r8d
je 0x14028b546
test r9, r9
je 0x14028b522
cmp r8d, 0x40
jae 0x14028b522
mov eax, r8d
inc r8d
movzx ecx, byte [rax + rsi + 0x30]
xor cl, byte [rbx]
inc rbx
mov byte [r14], cl
inc r14
sub rbp, 1
jne 0x14028b500
mov dword [r13], r8d
test rbp, rbp
je 0x14028b679
cmp r8d, 0x40
jne 0x14028b546
mov dword [r13], 0
add dword [rsi + 0x20], 1
jne 0x14028b546
inc dword [rsi + 0x24]
mov ecx, dword [rsi + 0x20]
lea rax, [rsi + 0x20]
mov qword [rsp + 0x80], r12
mov r12d, ebp
and r12d, 0x3f
mov qword [rsp + 0x88], r15
mov r15d, r12d
sub rbp, r15
mov dword [rsp + 0x30], r12d
cmp rbp, 0x40
jb 0x14028b606
mov qword [rsp + 0x78], rdi
lea r13, [rsi + 0x20]
mov r12d, 0x10000000
mov r15d, ecx
nop dword [rax + rax]
mov rdx, rbp
mov qword [rsp + 0x20], r13
shr rdx, 6
mov r9, rsi
cmp rdx, r12
cmova rdx, r12
mov rdi, rdx
lea eax, [rdx + r15]
xor r15d, r15d
mov ecx, eax
cmp rcx, rdx
cmovae r15d, eax
sub rdi, rcx
cmp rcx, rdx
mov rcx, r14
cmovae rdi, rdx
mov rdx, rbx
shl rdi, 6
mov r8, rdi
call fcn.1402eaad0
sub rbp, rdi
mov dword [r13], r15d
add rbx, rdi
add r14, rdi
test r15d, r15d
jne 0x14028b5ea
inc dword [rsi + 0x24]
cmp rbp, 0x40
jae 0x14028b590
mov r12d, dword [rsp + 0x30]
lea rax, [rsi + 0x20]
mov rdi, qword [rsp + 0x78]
mov r15d, r12d
mov r13, qword [rsp + 0x38]
test r12d, r12d
je 0x14028b669
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
mov r9, rsi
movups xmmword [rcx], xmm0
mov r8d, 0x40
mov rdx, rcx
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
call fcn.1402eaad0
test r12d, r12d
je 0x14028b665
sub rsi, rbx
sub r14, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rbx + 0x30]
xor al, byte [rbx]
mov byte [r14 + rbx], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x14028b650
mov dword [r13], r12d
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov eax, 1
add rsp, 0x40
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x14028e3a0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 1
mov rdi, rcx
call fcn.1401d49c0
mov rdx, rax
mov rcx, rdi
mov rsi, rax
call fcn.1401d4b70
test rax, rax
je 0x14028e40d
mov qword [rsp + 0x30], rbx
mov r8d, esi
xor ebx, ebx
mov rdx, rax
xor ecx, ecx
lea r9d, [rbx + 2]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
mov rcx, rdi
cmove rbx, rsi
mov rdx, rbx
lea r8, [rbx*8]
call fcn.1401d4c00
mov rcx, rdi
call fcn.1401d49a0
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x14028e415
mov rcx, rdi
call fcn.1401d49a0
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140296cd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x140296cdb
xor eax, eax
ret
lea r11, [0x1403ba520]
not ecx
cmp r8d, 8
jb 0x140296db1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x140296d00
test r8d, r8d
je 0x140296ddd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x140296dc0
not ecx
mov eax, ecx
ret
Function at 0x14029bf50
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x14029bfa5
xor ebx, ebx
lea r9, [0x1403fcc7b]
mov edx, 0x8a
mov dword [rsp + 0x20], ebx
lea ecx, [rbx + 0x20]
lea r8d, [rdx - 3]
call fcn.1401d65d0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov edx, edi
mov qword [rsp + 0x48], rsi
shr edx, 3
mov ecx, ebx
and edx, 1
call fcn.14023a2f0
test eax, eax
je 0x14029c028
mov rsi, rbx
test dil, 4
je 0x14029c03f
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14029c03f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ebx, ebx
lea r9, [0x1403fcc7b]
mov r8d, eax
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 0xe]
lea ecx, [rbx + 2]
call fcn.1401d65d0
mov edx, 0x8a
mov dword [rsp + 0x20], ebx
lea r9, [0x1403fcc7b]
lea ecx, [rbx + 0x20]
lea r8d, [rdx - 1]
call fcn.1401d65d0
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test dil, 0x10
je 0x14029c0a1
mov edx, 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14029c0a1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ebx, ebx
lea r9, [0x1403fcc7b]
mov r8d, eax
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 0xe]
lea ecx, [rbx + 2]
call fcn.1401d65d0
mov edx, 0x8a
mov dword [rsp + 0x20], ebx
mov r8d, edx
lea r9, [0x1403fcc7b]
lea ecx, [rbx + 0x20]
jmp 0x14029c023
mov rcx, rbp
call fcn.14023a950
mov rcx, rbp
mov ebx, eax
call fcn.1401876d0
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14029c114
mov ecx, eax
call fcn.140261700
test eax, eax
jne 0x14029c028
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 2
lea r9, [0x1403fcc7b]
xor ebx, ebx
mov ecx, edx
mov r8d, eax
mov dword [rsp + 0x20], ebx
call fcn.1401d65d0
lea r9, [0x1403fcc7b]
mov dword [rsp + 0x20], ebx
mov edx, 0x8a
lea ecx, [rbx + 0x20]
lea r8d, [rbx + 0x67]
jmp 0x14029c023
mov eax, 1
jmp 0x14029c02a
Function at 0x1402a5b80
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x40
movsxd rbx, dword [rsp + 0x80]
xor esi, esi
cmp dword [rsp + 0x88], 2
mov r15, r9
mov edi, edx
mov r13, rcx
lea r14d, [rsi + 0x20]
je 0x1402a5c28
test r8, r8
je 0x1402a5bfc
mov r9, r8
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call fcn.140258b30
cmp dword [rsp + 0x30], 0xffffffff
je 0x1402a5bfc
mov ecx, reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], esi
lea r9, [0x1403fcc7b]
mov edx, 0x10a
lea r8d, [rcx + 0x56]
call fcn.1401d65d0
xor eax, eax
jmp 0x1402a5d87
test r15, r15
je 0x1402a5bd7
cmp edi, 0x40a
je 0x1402a5c21
cmp edi, 0x43f
je 0x1402a5c21
cmp edi, 0x40b
mov eax, esi
setne al
add eax, 0x38
jmp 0x1402a5c24
mov eax, r14d
cmp ebx, eax
jne 0x1402a5bd7
xor r8d, r8d
mov qword [rsp + 0x60], rbp
lea rdx, [0x1403fcc7b]
lea ecx, [r8 + 0x48]
call fcn.1401b7f50
mov rbp, rax
test rax, rax
jne 0x1402a5c6b
lea r9, [0x1403fcc7b]
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1401d65d0
xor eax, eax
jmp 0x1402a5d82
cmp dword [rsp + 0x88], esi
jne 0x1402a5c87
mov r8, rbx
mov rdx, r15
mov rcx, rbp
call fcn.14033b090
jmp 0x1402a5d70
cmp edi, 0x40a
je 0x1402a5ca9
cmp edi, 0x43f
je 0x1402a5ca9
cmp edi, 0x40b
mov rcx, rsi
setne cl
add rcx, 0x38
jmp 0x1402a5cac
mov rcx, r14
xor r8d, r8d
lea rdx, [0x1403fcc7b]
call fcn.14023b030
mov qword [rbp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x1402a5ce5
lea r9, [0x1403fcc7b]
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1401d65d0
jmp 0x1402a5d39
cmp dword [rsp + 0x88], 2
jne 0x1402a5dbd
cmp edi, 0x40a
je 0x1402a5d14
cmp edi, 0x43f
je 0x1402a5d14
cmp edi, 0x40b
mov r14d, esi
setne r14b
add r14d, 0x38
mov edx, r14d
mov rcx, rbx
call fcn.1401d4080
test eax, eax
jg 0x1402a5d4f
xor r8d, r8d
lea rdx, [0x1403fcc7b]
mov rcx, rbx
call fcn.14023b050
mov qword [rbp + 0x40], rsi
xor r8d, r8d
lea rdx, [0x1403fcc7b]
mov rcx, rbp
call fcn.1401b7e40
xor eax, eax
jmp 0x1402a5d82
cmp edi, 0x40a
jne 0x1402a5da1
movzx eax, byte [rbx + 0x1f]
and byte [rbx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rbx + 0x1f], al
mov rdx, rbx
mov rcx, rbp
call fcn.1402f9880
mov r8, rbp
mov edx, edi
mov rcx, r13
call fcn.1401c1280
mov eax, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
cmp edi, 0x40b
jne 0x1402a5dee
and byte [rbx], 0xfc
or byte [rbx + 0x37], 0x80
mov rdx, rbx
mov rcx, rbp
call fcn.140303380
jmp 0x1402a5d70
cmp edi, 0x40a
je 0x1402a5ddd
cmp edi, 0x43f
je 0x1402a5ddd
cmp edi, 0x40b
setne sil
add rsi, 0x38
jmp 0x1402a5de0
mov rsi, r14
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.14033b090
mov ecx, edi
sub ecx, 0x40a
je 0x1402a5d65
sub ecx, 1
je 0x1402a5db0
sub ecx, 0x34
je 0x1402a5e1f
cmp ecx, 1
jne 0x1402a5d70
mov rdx, rbx
mov rcx, rbp
call fcn.140305010
jmp 0x1402a5d70
mov rdx, rbx
mov rcx, rbp
call fcn.1402f9740
jmp 0x1402a5d70
Function at 0x1402b3f20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x68
mov ebp, dword [rsp + 0xc0]
mov r13, rcx
mov ecx, ebp
movsxd r14, edx
mov ebx, 1
mov edx, r14d
shl ebx, cl
mov esi, r9d
mov rcx, r13
mov rdi, r8
call fcn.1401bc810
test rax, rax
jne 0x1402b3f73
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x48], r14
mov r11, r14
cmp ebp, 3
jg 0x1402b3fe5
test r14d, r14d
jle 0x1402b419c
xor r10d, r10d
movsxd rbp, ebx
shl rbp, 3
xor r9d, r9d
xor eax, eax
test ebx, ebx
jle 0x1402b3fcd
mov r8, rdi
nop
mov edx, eax
lea r8, [r8 + 8]
xor edx, esi
inc eax
lea ecx, [rdx - 1]
not edx
shr edx, 0x1f
shr ecx, 0x1f
and edx, ecx
mov rcx, qword [r8 - 8]
neg edx
and edx, 1
neg rdx
and rdx, rcx
or r9, rdx
cmp eax, ebx
jl 0x1402b3fa0
mov rax, qword [r13]
add rdi, rbp
mov qword [rax + r10*8], r9
inc r10
cmp r10, r14
jl 0x1402b3f93
jmp 0x1402b419c
lea ecx, [rbp - 2]
mov edx, esi
sar edx, cl
mov r8d, 1
shl r8d, cl
movsxd rbp, r8d
lea ecx, [rdx - 1]
shr ecx, 0x1f
lea eax, [r8 - 1]
and esi, eax
mov eax, edx
not eax
shr eax, 0x1f
and eax, ecx
mov ecx, edx
neg eax
xor ecx, 1
and eax, 1
neg rax
mov qword [rsp + 0x30], rax
lea eax, [rcx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and eax, ecx
mov ecx, edx
xor ecx, 2
neg eax
and eax, 1
xor edx, 3
neg rax
mov qword [rsp + 0x38], rax
lea eax, [rcx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and eax, ecx
lea ecx, [rdx - 1]
shr ecx, 0x1f
neg eax
and eax, 1
not edx
shr edx, 0x1f
neg rax
and ecx, edx
mov qword [rsp + 0x40], rax
neg ecx
and ecx, 1
neg rcx
mov qword [rsp + 0x28], rcx
test r14d, r14d
jle 0x1402b419c
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x60], r15
xor r15d, r15d
movsxd rax, ebx
shl rax, 3
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], r15
nop
xor ebx, ebx
xor r10d, r10d
test rbp, rbp
jle 0x1402b415e
mov r13, qword [rsp + 0x30]
mov rax, rbp
mov r15, qword [rsp + 0x38]
neg rax
mov r9, rbp
mov r11, rbp
shl r9, 4
neg r11
add r9, rdi
mov r14, rbp
mov rdi, qword [rsp + 0x40]
lea r12, [rax*8]
add r11, r11
mov rax, qword [r9 + rbp*8]
lea r9, [r9 + 8]
and rax, rcx
mov r8d, r10d
mov rcx, qword [r9 - 8]
xor r8d, esi
mov rdx, qword [r12 + r9 - 8]
and rcx, rdi
or rcx, rax
and rdx, r15
mov rax, qword [r9 + r11*8 - 8]
or rdx, rcx
lea ecx, [r8 - 1]
and rax, r13
shr ecx, 0x1f
or rax, rdx
not r8d
inc r10d
shr r8d, 0x1f
and ecx, r8d
neg ecx
and ecx, 1
neg rcx
and rcx, rax
or rbx, rcx
mov rcx, qword [rsp + 0x28]
sub r14, 1
jne 0x1402b40e1
mov rdi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [r13]
add rdi, rax
mov qword [rsp + 0xb0], rdi
mov qword [rcx + r15*8], rbx
inc r15
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x20], r15
cmp r15, r11
jl 0x1402b40a0
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0xb8]
mov r14d, dword [rsp + 0xa8]
mov dword [r13 + 8], r14d
mov eax, 1
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402b69b0
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 0x38
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x1402b6a88
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1402b6a88
lea rdx, [r8 + 1]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
cmp r10b, 0x6b
jne 0x1402b6a38
lea ebx, [r9 - 3]
mov eax, r8d
test ebx, ebx
jle 0x1402b6a06
nop
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1402b6a06
cmp cl, 0xbb
jne 0x1402b6a0c
inc eax
cmp eax, ebx
jl 0x1402b69f0
sub ebx, eax
test eax, eax
jne 0x1402b6a3c
mov edx, 0x80
mov dword [rsp + 0x20], r8d
lea r9, [0x1403fcc7b]
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.1401d65d0
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x38
ret
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1402b6a71
mov edx, 0x80
mov dword [rsp + 0x20], r8d
lea r9, [0x1403fcc7b]
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.1401d65d0
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.14033b090
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
lea r9, [0x1403fcc7b]
xor r8d, r8d
mov dword [rsp + 0x20], r8d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.1401d65d0
mov eax, 0xffffffff
add rsp, 0x38
ret

Function at 0x1402c0c90
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 8
xor r11d, r11d
test rcx, rcx
je 0x1402c0ca9
test byte [rcx + 0x5c], 2
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x1402c0cb0
lea r10, [0x1403c4390]
test r9d, r9d
jle 0x1402c0da7
mov qword [rsp + 0x10], rbx
inc r8
mov qword [rsp], rdi
movzx eax, byte [r8 - 1]
cmp r9d, 3
jb 0x1402c0d25
mov ecx, eax
movzx eax, byte [r8]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 + 1]
shl rcx, 8
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [rdx], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [rdx + 1], al
mov rax, rcx
shr rax, 6
and eax, 0x3f
and ecx, 0x3f
movzx eax, byte [rax + r10]
mov byte [rdx + 2], al
movzx ecx, byte [rcx + r10]
jmp 0x1402c0d74
mov ecx, eax
shl ecx, 0x10
cmp r9d, 2
jne 0x1402c0d39
movzx eax, byte [r8]
shl eax, 8
or ecx, eax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [rdx], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [rdx + 1], al
cmp r9d, 1
jne 0x1402c0d63
mov al, 0x3d
jmp 0x1402c0d6f
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + r10]
mov byte [rdx + 2], al
mov cl, 0x3d
lea rax, [rdx + 3]
add r11d, 4
lea rdx, [rax + 1]
mov byte [rax], cl
add r8, 3
sub r9d, 3
test r9d, r9d
jg 0x1402c0cc5
mov rdi, qword [rsp]
mov eax, r11d
mov rbx, qword [rsp + 0x10]
mov byte [rdx], 0
add rsp, 8
ret
mov byte [rdx], r11b
mov eax, r11d
add rsp, 8
ret
Function at 0x1402cd3b0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xd8
mov rax, qword [0x14045eb18]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, qword [rdx + 8]
xor esi, esi
mov r15, qword [rdx + 0x10]
mov rax, r12
sub rax, r8
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rdi, r8
mov r13, rdx
mov ebp, esi
cmp r15, r8
jb 0x1402cd586
cmp r8, 0x40
ja 0x1402cd586
lea rax, [rsp + 0x40]
mov qword [r11 + 0x10], rbx
neg rax
mov qword [r11 - 0x38], r14
and eax, 0x3f
lea r14, [rsp + 0x40]
add r14, rax
lea rax, [r8 + 0x100]
cmp r15, rax
jbe 0x1402cd43e
mov rbp, r15
sub rbp, r8
sub rbp, 0x100
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, r14
mov rbx, rsi
call fcn.14033b730
mov r9, rsi
cmp rbp, r15
jae 0x1402cd4f7
mov r11, qword [r13 + 0x20]
mov r10, qword [rsp + 0x28]
lea r13, [r11 + r12]
nop dword [rax]
lea rdx, [r11 + rbp]
mov rax, rbp
xor rax, r10
mov rcx, rdx
sub rcx, r13
xor rcx, r12
lea r8, [rax - 1]
not rax
shr rax, 0x3f
shr r8, 0x3f
and r8, rax
mov rax, rbp
xor rax, r12
neg r8
or rcx, rax
mov rax, r8
xor rcx, rbp
or rax, rsi
shr rcx, 0x3f
and r8, r9
neg rcx
or rbx, r8
mov rsi, rcx
inc rbp
and rsi, rax
movzx eax, byte [rdx]
and al, sil
or byte [r9 + r14], al
inc r9
mov rcx, r9
mov rax, rdi
sub rcx, rdi
xor rax, r9
xor rcx, rdi
or rcx, rax
xor rcx, r9
shr rcx, 0x3f
neg rcx
and r9, rcx
cmp rbp, r15
jb 0x1402cd470
xor esi, esi
test rdi, rdi
je 0x1402cd56f
mov r9, qword [rsp + 0x30]
mov rax, rbx
and rax, 0xffffffffffffffdf
movzx r8d, byte [rax + r14]
mov rax, rbx
or rax, 0x20
movzx edx, byte [rax + r14]
mov eax, ebx
and eax, 0x20
inc rbx
dec eax
shr eax, 0x1f
neg al
movzx eax, al
mov dword [rsp + 0x28], eax
not eax
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
and cl, dl
and al, r8b
or al, cl
mov rcx, rbx
sub rcx, rdi
mov byte [r9 + rsi], al
xor rcx, rdi
mov rax, rdi
xor rax, rbx
inc rsi
or rcx, rax
xor rcx, rbx
shr rcx, 0x3f
neg rcx
and rbx, rcx
cmp rsi, rdi
jb 0x1402cd501
mov r14, qword [rsp + 0xd0]
mov eax, 1
mov rbx, qword [rsp + 0x118]
jmp 0x1402cd588
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14016e210
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret