joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140264980
Capabilities:
Hash data using sha512

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x140498128]
xor rax, rsp
mov qword [rsp + 0x100], rax
movabs rax, 0x6a09e667f3bcc908
mov dword [rsp + 0xf4], 0x40
mov qword [rsp + 0x20], rax
lea rsi, [0x1406fe9d0]
movabs rax, 0xbb67ae8584caa73b
test r8, r8
mov qword [rsp + 0x28], rax
mov rbx, rdx
movabs rax, 0x3c6ef372fe94f82b
cmovne rsi, r8
mov qword [rsp + 0x30], rax
mov rdi, rcx
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsp + 0x38], rax
movabs rax, 0x510e527fade682d1
mov qword [rsp + 0x40], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsp + 0x48], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x50], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0xf0], eax
test rdx, rdx
je 0x140264aa7
mov rax, rdx
lea rcx, [rdx*8]
shr rax, 0x3d
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rcx
cmp rdx, 0x80
jb 0x140264a90
mov r8, rdx
lea rcx, [rsp + 0x20]
shr r8, 7
mov rdx, rdi
call fcn.140264c20
add rdi, rbx
and ebx, 0x7f
sub rdi, rbx
test rbx, rbx
je 0x140264aa7
mov r8, rbx
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.1403584b0
mov dword [rsp + 0xf0], ebx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140264170
mov edx, 0xd8
lea rcx, [rsp + 0x20]
call fcn.140256670
mov rax, rsi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1401702c0
add rsp, 0x110
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402786c0
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.1402788f0

Function at 0x1402788f0
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 0x1402789f5
test r10, r10
je 0x1402789f5
movzx eax, byte [rcx]
test r8d, r8d
jne 0x140278935
cmp al, 0x7f
jbe 0x1402789ee
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1402789fd
mov r11b, 0xff
cmp al, 0x80
jbe 0x14027894b
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1402789fd
jne 0x1402789ee
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1402789df
cmp rcx, 8
jb 0x1402789d1
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 0x140278980
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 0x1402789df
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1402789d1
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1402789fd
mov eax, 1
mov r10, rdx
mov qword [rsp + 0x18], rdi
test rsi, rsi
je 0x140278a55
mov rdi, qword [r9]
test rdi, rdi
je 0x140278a55
movzx r8d, r11b
lea r9, [rbx + r10]
and r8d, 1
mov byte [rdi], r11b
test r10, r10
je 0x140278a52
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 0x140278a30
add qword [rsi], rax
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
pop rsi
ret
Function at 0x140278a70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x38
mov r10, rcx
test r9, r9
jne 0x140278aa2
mov edx, 0xe2
mov dword [rsp + 0x20], r9d
lea r9, [0x14042f6d5]
mov ecx, reloc.WS2_32.dll_listen
lea r8d, [rdx - 4]
call fcn.1401f3210
xor eax, eax
add rsp, 0x38
ret
movzx r11d, byte [r8]
and r11d, 0x80
test rdx, rdx
je 0x140278ab5
mov dword [rdx], r11d
cmp r9, 1
jne 0x140278ad7
test r10, r10
je 0x140278acd
movzx eax, byte [r8]
test r11d, r11d
je 0x140278acb
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x38
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x140278ae9
mov eax, 1
jmp 0x140278b9a
xor eax, eax
cmp cl, 0xff
jne 0x140278bd3
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x140278b8f
cmp rcx, 8
jb 0x140278b80
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 0x140278b20
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 0x140278b8f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x140278b80
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x140278bd3
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r11d, ecx
jne 0x140278bd3
mov edx, 0xe2
mov dword [rsp + 0x20], 0
lea r9, [0x14042f6d5]
mov ecx, reloc.WS2_32.dll_listen
lea r8d, [rdx - 5]
call fcn.1401f3210
xor eax, eax
add rsp, 0x38
ret
mov qword [rsp + 0x30], rbx
mov rbx, r9
sub rbx, rax
test r10, r10
je 0x140278c1d
neg r11d
sbb r11d, r11d
add r9, r8
movzx r11d, r11b
mov edx, r11d
and edx, 1
test rbx, rbx
je 0x140278c1d
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 0x140278c00
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret

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

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x14027f51c
movzx ecx, byte [rcx]
test cl, cl
je 0x14027f51c
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 0x14027f4d0
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x14027f530
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 0x14027f5b8
movzx eax, byte [rcx]
test al, al
je 0x14027f5b8
mov qword [rsp + 0x30], rsi
mov esi, 0x100
movsx ecx, al
call fcn.140257c20
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 0x14027f555
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 0x1402818b0
Capabilities:
Get thread local storage value

Disassembly:
lea rcx, [0x1406fea60]
jmp fcn.140255c70
Function at 0x1402a8110
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 0x1402a8186
test r9, r9
je 0x1402a8162
cmp r8d, 0x40
jae 0x1402a8162
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 0x1402a8140
mov dword [r13], r8d
test rbp, rbp
je 0x1402a82b9
cmp r8d, 0x40
jne 0x1402a8186
mov dword [r13], 0
add dword [rsi + 0x20], 1
jne 0x1402a8186
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 0x1402a8246
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.140307710
sub rbp, rdi
mov dword [r13], r15d
add rbx, rdi
add r14, rdi
test r15d, r15d
jne 0x1402a822a
inc dword [rsi + 0x24]
cmp rbp, 0x40
jae 0x1402a81d0
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 0x1402a82a9
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.140307710
test r12d, r12d
je 0x1402a82a5
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 0x1402a8290
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 0x1402aafe0
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.1401f1600
mov rdx, rax
mov rcx, rdi
mov rsi, rax
call fcn.1401f17b0
test rax, rax
je 0x1402ab04d
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.1401f1840
mov rcx, rdi
call fcn.1401f15e0
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x1402ab055
mov rcx, rdi
call fcn.1401f15e0
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1402b3910
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1402b391b
xor eax, eax
ret
lea r11, [0x1403eb240]
not ecx
cmp r8d, 8
jb 0x1402b39f1
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 0x1402b3940
test r8d, r8d
je 0x1402b3a1d
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 0x1402b3a00
not ecx
mov eax, ecx
ret
Function at 0x1402b8b90
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 0x1402b8be5
xor ebx, ebx
lea r9, [0x14042f6d5]
mov edx, 0x8a
mov dword [rsp + 0x20], ebx
lea ecx, [rbx + 0x20]
lea r8d, [rdx - 3]
call fcn.1401f3210
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.140256f30
test eax, eax
je 0x1402b8c68
mov rsi, rbx
test dil, 4
je 0x1402b8c7f
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 0x1402b8c7f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ebx, ebx
lea r9, [0x14042f6d5]
mov r8d, eax
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 0xe]
lea ecx, [rbx + 2]
call fcn.1401f3210
mov edx, 0x8a
mov dword [rsp + 0x20], ebx
lea r9, [0x14042f6d5]
lea ecx, [rbx + 0x20]
lea r8d, [rdx - 1]
call fcn.1401f3210
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 0x1402b8ce1
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 0x1402b8ce1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ebx, ebx
lea r9, [0x14042f6d5]
mov r8d, eax
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 0xe]
lea ecx, [rbx + 2]
call fcn.1401f3210
mov edx, 0x8a
mov dword [rsp + 0x20], ebx
mov r8d, edx
lea r9, [0x14042f6d5]
lea ecx, [rbx + 0x20]
jmp 0x1402b8c63
mov rcx, rbp
call fcn.140257590
mov rcx, rbp
mov ebx, eax
call fcn.14019f010
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1402b8d54
mov ecx, eax
call fcn.14027e340
test eax, eax
jne 0x1402b8c68
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 2
lea r9, [0x14042f6d5]
xor ebx, ebx
mov ecx, edx
mov r8d, eax
mov dword [rsp + 0x20], ebx
call fcn.1401f3210
lea r9, [0x14042f6d5]
mov dword [rsp + 0x20], ebx
mov edx, 0x8a
lea ecx, [rbx + 0x20]
lea r8d, [rbx + 0x67]
jmp 0x1402b8c63
mov eax, 1
jmp 0x1402b8c6a
Function at 0x1402c27c0
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 0x1402c2868
test r8, r8
je 0x1402c283c
mov r9, r8
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call fcn.140275780
cmp dword [rsp + 0x30], 0xffffffff
je 0x1402c283c
mov ecx, reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], esi
lea r9, [0x14042f6d5]
mov edx, 0x10a
lea r8d, [rcx + 0x56]
call fcn.1401f3210
xor eax, eax
jmp 0x1402c29c7
test r15, r15
je 0x1402c2817
cmp edi, 0x40a
je 0x1402c2861
cmp edi, 0x43f
je 0x1402c2861
cmp edi, 0x40b
mov eax, esi
setne al
add eax, 0x38
jmp 0x1402c2864
mov eax, r14d
cmp ebx, eax
jne 0x1402c2817
xor r8d, r8d
mov qword [rsp + 0x60], rbp
lea rdx, [0x14042f6d5]
lea ecx, [r8 + 0x48]
call fcn.1401d4ba0
mov rbp, rax
test rax, rax
jne 0x1402c28ab
lea r9, [0x14042f6d5]
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1401f3210
xor eax, eax
jmp 0x1402c29c2
cmp dword [rsp + 0x88], esi
jne 0x1402c28c7
mov r8, rbx
mov rdx, r15
mov rcx, rbp
call fcn.1403584b0
jmp 0x1402c29b0
cmp edi, 0x40a
je 0x1402c28e9
cmp edi, 0x43f
je 0x1402c28e9
cmp edi, 0x40b
mov rcx, rsi
setne cl
add rcx, 0x38
jmp 0x1402c28ec
mov rcx, r14
xor r8d, r8d
lea rdx, [0x14042f6d5]
call fcn.140257c70
mov qword [rbp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x1402c2925
lea r9, [0x14042f6d5]
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1401f3210
jmp 0x1402c2979
cmp dword [rsp + 0x88], 2
jne 0x1402c29fd
cmp edi, 0x40a
je 0x1402c2954
cmp edi, 0x43f
je 0x1402c2954
cmp edi, 0x40b
mov r14d, esi
setne r14b
add r14d, 0x38
mov edx, r14d
mov rcx, rbx
call fcn.1401f0cc0
test eax, eax
jg 0x1402c298f
xor r8d, r8d
lea rdx, [0x14042f6d5]
mov rcx, rbx
call fcn.140257c90
mov qword [rbp + 0x40], rsi
xor r8d, r8d
lea rdx, [0x14042f6d5]
mov rcx, rbp
call fcn.1401d4a90
xor eax, eax
jmp 0x1402c29c2
cmp edi, 0x40a
jne 0x1402c29e1
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.1403164c0
mov r8, rbp
mov edx, edi
mov rcx, r13
call fcn.1401dded0
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 0x1402c2a2e
and byte [rbx], 0xfc
or byte [rbx + 0x37], 0x80
mov rdx, rbx
mov rcx, rbp
call fcn.14031ffc0
jmp 0x1402c29b0
cmp edi, 0x40a
je 0x1402c2a1d
cmp edi, 0x43f
je 0x1402c2a1d
cmp edi, 0x40b
setne sil
add rsi, 0x38
jmp 0x1402c2a20
mov rsi, r14
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.1403584b0
mov ecx, edi
sub ecx, 0x40a
je 0x1402c29a5
sub ecx, 1
je 0x1402c29f0
sub ecx, 0x34
je 0x1402c2a5f
cmp ecx, 1
jne 0x1402c29b0
mov rdx, rbx
mov rcx, rbp
call fcn.140321c50
jmp 0x1402c29b0
mov rdx, rbx
mov rcx, rbp
call fcn.140316380
jmp 0x1402c29b0
Function at 0x1402d0b60
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.1401d9460
test rax, rax
jne 0x1402d0bb3
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 0x1402d0c25
test r14d, r14d
jle 0x1402d0ddc
xor r10d, r10d
movsxd rbp, ebx
shl rbp, 3
xor r9d, r9d
xor eax, eax
test ebx, ebx
jle 0x1402d0c0d
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 0x1402d0be0
mov rax, qword [r13]
add rdi, rbp
mov qword [rax + r10*8], r9
inc r10
cmp r10, r14
jl 0x1402d0bd3
jmp 0x1402d0ddc
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 0x1402d0ddc
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 0x1402d0d9e
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 0x1402d0d21
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 0x1402d0ce0
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 0x1402d35f0
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 0x38
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x1402d36c8
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1402d36c8
lea rdx, [r8 + 1]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
cmp r10b, 0x6b
jne 0x1402d3678
lea ebx, [r9 - 3]
mov eax, r8d
test ebx, ebx
jle 0x1402d3646
nop
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1402d3646
cmp cl, 0xbb
jne 0x1402d364c
inc eax
cmp eax, ebx
jl 0x1402d3630
sub ebx, eax
test eax, eax
jne 0x1402d367c
mov edx, 0x80
mov dword [rsp + 0x20], r8d
lea r9, [0x14042f6d5]
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.1401f3210
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 0x1402d36b1
mov edx, 0x80
mov dword [rsp + 0x20], r8d
lea r9, [0x14042f6d5]
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.1401f3210
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.1403584b0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
lea r9, [0x14042f6d5]
xor r8d, r8d
mov dword [rsp + 0x20], r8d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.1401f3210
mov eax, 0xffffffff
add rsp, 0x38
ret

Function at 0x1402dd8d0
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 8
xor r11d, r11d
test rcx, rcx
je 0x1402dd8e9
test byte [rcx + 0x5c], 2
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x1402dd8f0
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test r9d, r9d
jle 0x1402dd9e7
mov qword [rsp + 0x10], rbx
inc r8
mov qword [rsp], rdi
movzx eax, byte [r8 - 1]
cmp r9d, 3
jb 0x1402dd965
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 0x1402dd9b4
mov ecx, eax
shl ecx, 0x10
cmp r9d, 2
jne 0x1402dd979
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 0x1402dd9a3
mov al, 0x3d
jmp 0x1402dd9af
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 0x1402dd905
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