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

Disassembly:
test r8, r8
je 0x1401d3e41
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x48
call fcn.1402563f0
sub rsp, rax
mov rax, qword [0x1403bb2d8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r13, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x40], r12
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp rcx, rdx
je 0x1401d3d15
mov r12, r13
cmp rbx, 0x10
jb 0x1401d3d74
mov rbp, rbx
shr rbp, 4
mov rax, rbp
imul rax, rax, 0xfffffffffffffff0
add rbx, rax
nop word [rax + rax]
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call r15
mov r11, qword [r12]
add rsi, 0x10
xor qword [rsi - 0x10], r11
mov rax, qword [r12 + 8]
mov r12, rdi
xor qword [rsi - 8], rax
add rdi, 0x10
dec rbp
jne 0x1401d3cd0
cmp r13, r12
je 0x1401d3d74
mov rax, qword [r12]
mov qword [r13], rax
mov rax, qword [r12 + 8]
mov qword [r13 + 8], rax
jmp 0x1401d3d74
cmp rbx, 0x10
jb 0x1401d3d74
mov rbp, rbx
shr rbp, 4
mov rax, rbp
imul rax, rax, 0xfffffffffffffff0
add rbx, rax
nop dword [rax]
lea rdx, [rsp + 0x20]
mov r8, r14
mov rcx, rdi
call r15
mov r11, qword [rdi]
mov rax, qword [r13]
xor rax, qword [rsp + 0x20]
add rsi, 0x10
add rdi, 0x10
mov qword [rsi - 0x10], rax
mov rax, qword [r13 + 8]
mov qword [r13], r11
mov rcx, qword [rdi - 8]
xor rax, qword [rsp + 0x28]
dec rbp
mov qword [rsi - 8], rax
mov qword [r13 + 8], rcx
jne 0x1401d3d30
mov r12, qword [rsp + 0x40]
test rbx, rbx
je 0x1401d3e1f
lea rax, [rsp + 0x20]
mov rbp, r13
sub rbp, rax
lea rax, [rsp + 0x20]
sub rsi, rax
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov r8, r14
mov rcx, rdi
call r15
xor r11d, r11d
cmp r11, rbx
jae 0x1401d3ddf
movzx r8d, byte [rdi + r11]
movzx ecx, byte [rsp + r11 + 0x20]
lea rdx, [r11 + rbp]
xor cl, byte [rsp + rdx + 0x20]
lea rax, [rsi + r11]
inc r11
mov byte [rsp + rax + 0x20], cl
mov byte [rsp + rdx + 0x20], r8b
cmp r11, 0x10
jb 0x1401d3db1
cmp rbx, 0x10
jbe 0x1401d3df5
add rdi, 0x10
add rsi, 0x10
sub rbx, 0x10
jne 0x1401d3da0
jmp 0x1401d3e1f
cmp r11, 0x10
jae 0x1401d3e1f
mov edx, reloc.WS2_32.dll_recv
sub rdi, r13
lea rcx, [r13 + r11]
sub rdx, r11
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
dec rdx
mov byte [rcx - 1], al
jne 0x1401d3e10
mov rbp, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140254fb0
add rsp, 0x48
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
repz ret
Function at 0x1401d3e50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
mov eax, 0x40
call fcn.1402563f0
sub rsp, rax
mov rsi, qword [rsp + 0x98]
mov r10, r9
mov rdi, r8
mov ebx, dword [rsi]
mov r12, rdx
mov r13, rcx
test ebx, ebx
jns 0x1401d3e95
mov dword [rsi], 0xffffffff
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x38], r14
mov r14, qword [rsp + 0x90]
mov qword [rsp + 0x30], r15
test ebx, ebx
je 0x1401d3ed5
nop dword [rax + rax]
test rdi, rdi
je 0x1401d3ed5
mov eax, ebx
inc r12
inc r13
movzx ecx, byte [rax + r14]
dec rdi
xor cl, byte [r13 - 1]
inc ebx
and ebx, 0xf
mov byte [r12 - 1], cl
jne 0x1401d3eb0
mov r9, qword [rsp + 0xa0]
movsxd r15, ebx
cmp rdi, 0x10
jb 0x1401d3fb2
mov rsi, r12
mov rcx, rdi
mov qword [rsp + 0x80], rbp
shr rcx, 4
mov rbp, r13
sub rsi, r14
mov rax, rcx
sub rbp, r14
imul rax, rax, 0xfffffffffffffff0
add rdi, rax
mov rax, rcx
shl rax, 4
add r12, rax
add r13, rax
mov qword [rsp + 0x70], r13
mov r13, qword [rsp + 0x88]
mov qword [rsp + 0x78], r12
mov r12, rcx
mov r8, r13
mov rdx, r14
mov rcx, r14
call r9
cmp ebx, 0x10
jae 0x1401d3f76
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [r15 + r14]
sub edx, ebx
shr edx, 3
inc edx
nop word [rax + rax]
mov rax, qword [rcx + rbp]
add rcx, 8
xor rax, qword [rcx - 8]
dec rdx
mov qword [rsi + rcx - 8], rax
jne 0x1401d3f60
mov r9, qword [rsp + 0xa0]
add rsi, 0x10
add rbp, 0x10
xor ebx, ebx
xor r15d, r15d
dec r12
jne 0x1401d3f31
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x98]
mov r10, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov r15, qword [rsp + 0x30]
test rdi, rdi
je 0x1401d3ff5
mov r8, r10
mov rdx, r14
mov rcx, r14
call r9
movsxd rcx, ebx
sub r13, r14
add rcx, r14
sub r12, r14
add ebx, edi
nop word [rax + rax]
movzx eax, byte [rcx + r13]
inc rcx
xor al, byte [rcx - 1]
dec rdi
mov byte [rcx + r12 - 1], al
jne 0x1401d3fe0
mov dword [rsi], ebx
mov r14, qword [rsp + 0x38]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401d4620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x50
call fcn.1402563f0
sub rsp, rax
mov r14, qword [rsp + 0xb8]
mov rbp, rdx
mov rdx, qword [rsp + 0xc0]
mov edi, dword [rdx]
mov r10, r9
mov rbx, r8
mov r12, rcx
test edi, edi
je 0x1401d4684
nop
test rbx, rbx
je 0x1401d4684
mov eax, edi
inc rbp
inc r12
movzx ecx, byte [rax + r14]
dec rbx
xor cl, byte [r12 - 1]
inc edi
and edi, 0xf
mov byte [rbp - 1], cl
jne 0x1401d4660
mov r9, qword [rsp + 0xc8]
mov r13d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x48], r15
mov esi, 1
cmp rbx, r13
jb 0x1401d47bd
mov rax, qword [rsp + 0xb0]
mov rcx, rbx
xor edi, edi
add rax, r13
shr rcx, 4
mov r14, rbp
mov qword [rsp + 0x30], rax
mov r15, r12
mov rax, rcx
mov dword [rsp + 0x20], edi
mov rdi, qword [rsp + 0xb8]
imul rax, rax, 0xfffffffffffffff0
add rbx, rax
mov rax, rcx
sub r14, rdi
shl rax, 4
sub r15, rdi
mov qword [rsp + 0xa0], rbx
mov rbx, qword [rsp + 0x30]
add rbp, rax
add r12, rax
mov qword [rsp + 0x90], r12
mov r12, qword [rsp + 0xb0]
mov qword [rsp + 0x98], rbp
mov rbp, rcx
nop word [rax + rax]
mov r8, r10
mov rdx, rdi
mov rcx, r12
call r9
mov r11d, r13d
mov ecx, esi
mov rdx, rbx
nop word [rax + rax]
movzx eax, byte [rdx - 1]
dec rdx
add ecx, eax
mov byte [rdx], cl
shr ecx, 8
dec r11d
jne 0x1401d4740
mov rcx, rdi
lea edx, [r11 + 2]
nop word [rax + rax]
mov rax, qword [r15 + rcx]
add rcx, 8
xor rax, qword [rcx - 8]
dec rdx
mov qword [r14 + rcx - 8], rax
jne 0x1401d4760
mov r9, qword [rsp + 0xc8]
mov r10, qword [rsp + 0xa8]
add r14, r13
add r15, r13
dec rbp
jne 0x1401d4720
mov rbx, qword [rsp + 0xa0]
mov edi, dword [rsp + 0x20]
mov rbp, qword [rsp + 0x98]
mov r12, qword [rsp + 0x90]
mov r14, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
test rbx, rbx
je 0x1401d4822
mov r15, qword [rsp + 0xb0]
mov r8, r10
mov rdx, r14
mov rcx, r15
call r9
lea rcx, [r15 + 0x10]
nop word [rax + rax]
movzx eax, byte [rcx - 1]
dec rcx
add esi, eax
mov byte [rcx], sil
shr esi, 8
dec r13d
jne 0x1401d47e0
movsxd rcx, edi
sub r12, r14
sub rbp, r14
add rcx, r14
add edi, ebx
movzx eax, byte [rcx + r12]
inc rcx
xor al, byte [rcx - 1]
dec rbx
mov byte [rcx + rbp - 1], al
jne 0x1401d4802
mov rax, qword [rsp + 0xc0]
mov dword [rax], edi
jmp 0x1401d4824
mov dword [rdx], edi
mov r15, qword [rsp + 0x48]
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401d4840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x40
call fcn.1402563f0
sub rsp, rax
mov rbx, r8
mov r8, qword [rsp + 0xb0]
mov rsi, rdx
mov edi, dword [r8]
mov rbp, rcx
mov dword [rsp + 0x30], edi
test edi, edi
je 0x1401d48a5
mov rdx, qword [rsp + 0xa8]
test rbx, rbx
je 0x1401d48a1
mov eax, edi
inc rsi
inc rbp
movzx ecx, byte [rax + rdx]
dec rbx
xor cl, byte [rbp - 1]
inc edi
and edi, 0xf
mov byte [rsi - 1], cl
jne 0x1401d4880
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0xa0]
mov r10, qword [rsp + 0xb8]
mov r15d, reloc.WS2_32.dll_inet_ntoa
movzx eax, byte [rdx + 0xd]
movzx ecx, byte [rdx + 0xc]
lea r14, [rdx + 0xc]
shl ecx, 8
mov qword [rsp + 0x80], r13
lea r12d, [r15 - 0xb]
or ecx, eax
movzx eax, byte [rdx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [rsp + 0x90], ecx
cmp rbx, 0x10
jb 0x1401d49da
mov eax, 0x10000000
mov rdi, rdx
nop word [rax + rax]
mov r13, rbx
shr r13, 4
cmp r13, rax
cmova r13, rax
add ecx, r13d
mov eax, ecx
mov dword [rsp + 0x90], ecx
cmp rax, r13
jae 0x1401d493b
sub r13, rax
xor ecx, ecx
mov dword [rsp + 0x90], ecx
mov r8, r13
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call r10
mov ecx, dword [rsp + 0x90]
mov eax, ecx
mov r11d, ecx
mov byte [rdi + 0xf], cl
shr eax, 0x10
shr r11d, 0x18
mov byte [rdi + 0xd], al
mov eax, ecx
mov byte [r14], r11b
shr eax, 8
mov byte [rdi + 0xe], al
test ecx, ecx
jne 0x1401d499a
mov r8d, r15d
mov ecx, r12d
mov rdx, r14
nop dword [rax]
movzx eax, byte [rdx - 1]
dec rdx
add ecx, eax
mov byte [rdx], cl
shr ecx, 8
dec r8d
jne 0x1401d4980
mov ecx, dword [rsp + 0x90]
mov r9, qword [rsp + 0x98]
mov r10, qword [rsp + 0xb8]
shl r13, 4
sub rbx, r13
add rsi, r13
add rbp, r13
mov eax, 0x10000000
cmp rbx, 0x10
jae 0x1401d4910
mov edi, dword [rsp + 0x30]
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa0]
test rbx, rbx
je 0x1401d4a8f
mov r13, qword [rsp + 0xa8]
xor eax, eax
mov qword [rsp + 0x20], rdx
mov qword [r13], rax
mov rdx, r13
mov rcx, r13
mov r8, r12
mov qword [r13 + 8], rax
call r10
mov rdx, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x90]
inc ecx
mov eax, ecx
mov byte [rdx + 0xf], cl
shr eax, 0x18
mov byte [r14], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [rdx + 0xe], al
test ecx, ecx
jne 0x1401d4a57
nop word [rax + rax]
movzx eax, byte [r14 - 1]
dec r14
add r12d, eax
mov byte [r14], r12b
shr r12d, 8
dec r15d
jne 0x1401d4a40
movsxd rcx, edi
sub rbp, r13
sub rsi, r13
add rcx, r13
add edi, ebx
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
inc rcx
xor al, byte [rcx - 1]
dec rbx
mov byte [rsi + rcx - 1], al
jne 0x1401d4a70
mov rax, qword [rsp + 0xb0]
mov dword [rax], edi
jmp 0x1401d4a92
mov dword [r8], edi
mov r13, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401d6820
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
mov eax, 0x20
call fcn.1402563f0
sub rsp, rax
xor r13d, r13d
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov qword [rcx + 0x30], r13
mov qword [rcx + 0x38], r13
mov qword [rcx + 0x170], r13
cmp r8, 0xc
jne 0x1401d6871
mov rax, qword [rdx]
lea ebx, [r8 - 0xb]
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 0xc], 0x1000000
mov dword [rcx + 8], eax
jmp 0x1401d69d0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r15
mov qword [rcx + 0x40], r13
mov r15, r8
mov qword [rcx + 0x48], r13
cmp r8, 0x10
jb 0x1401d6914
mov r13, r8
mov rbx, rdx
mov qword [rsp + 0x58], r14
shr r13, 4
sub rbx, rcx
mov rax, r13
sub rbx, 0x3f
imul rax, rax, 0xfffffffffffffff0
add rsi, rax
mov rax, r13
shl rax, 4
add rbp, rax
nop word [rax + rax]
lea rcx, [rdi + 0x40]
mov edx, 4
nop dword [rax]
movzx eax, byte [rbx + rcx - 1]
add rcx, 4
xor byte [rcx - 4], al
movzx eax, byte [rbx + rcx - 4]
xor byte [rcx - 3], al
movzx eax, byte [rbx + rcx - 3]
xor byte [rcx - 2], al
movzx eax, byte [rbx + rcx - 2]
xor byte [rcx - 1], al
dec rdx
jne 0x1401d68d0
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.1401d6420
add rbx, 0x10
dec r13
jne 0x1401d68c0
mov r14, qword [rsp + 0x58]
test rsi, rsi
je 0x1401d693d
lea rcx, [rdi + 0x40]
sub rbp, rdi
movzx eax, byte [rcx + rbp - 0x40]
inc rcx
xor byte [rcx - 1], al
dec rsi
jne 0x1401d6920
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.1401d6420
shl r15, 3
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
xor byte [rdi + 0x4f], r15b
mov rax, r15
shr rax, 0x38
xor byte [rdi + 0x48], al
mov rax, r15
shr rax, 0x30
xor byte [rdi + 0x49], al
mov rax, r15
shr rax, 0x28
xor byte [rdi + 0x4a], al
mov rax, r15
shr rax, 0x20
xor byte [rdi + 0x4b], al
mov rax, r15
shr rax, 0x18
xor byte [rdi + 0x4c], al
mov rax, r15
shr rax, 0x10
xor byte [rdi + 0x4d], al
mov rax, r15
shr rax, 8
xor byte [rdi + 0x4e], al
call fcn.1401d6420
movzx eax, byte [rdi + 0x4d]
movzx ebx, byte [rdi + 0x4c]
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0x50]
shl ebx, 8
or ebx, eax
movzx eax, byte [rdi + 0x4e]
shl ebx, 8
or ebx, eax
movzx eax, byte [rdi + 0x4f]
shl ebx, 8
or ebx, eax
mov rax, qword [rdi + 0x40]
mov qword [rdi], rax
mov rax, qword [rdi + 0x48]
mov qword [rdi + 8], rax
mov r8, qword [rdi + 0x180]
lea rdx, [rdi + 0x20]
mov rcx, rdi
mov qword [rdi + 0x40], r13
mov qword [rdi + 0x48], r13
call qword [rdi + 0x178]
inc ebx
mov eax, ebx
mov byte [rdi + 0xf], bl
shr eax, 0x18
mov byte [rdi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [rdi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [rdi + 0xe], al
add rsp, 0x20
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401d6a20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, 0x20
call fcn.1402563f0
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rbx, r8
mov rbp, rdx
mov rdi, rcx
je 0x1401d6a5d
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rcx + 0x30]
lea rcx, [r8 + rax]
movabs rax, 0x2000000000000000
cmp rcx, rax
ja 0x1401d6b2d
cmp rcx, rbx
jb 0x1401d6b2d
mov qword [rsp + 0x30], rsi
mov esi, dword [rdi + 0x174]
mov qword [rdi + 0x30], rcx
test esi, esi
je 0x1401d6ac3
test rbx, rbx
je 0x1401d6ab2
movzx eax, byte [rbp]
mov ecx, esi
inc rbp
xor byte [rcx + rdi + 0x40], al
dec rbx
inc esi
and esi, 0xf
jne 0x1401d6a94
jmp 0x1401d6ab6
test esi, esi
jne 0x1401d6b10
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.1401d6420
mov qword [rsp + 0x38], r12
mov r12, rbx
and r12, 0xfffffffffffffff0
je 0x1401d6aea
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
mov r9, r12
mov r8, rbp
call fcn.1401d6560
add rbp, r12
sub rbx, r12
mov r12, qword [rsp + 0x38]
test rbx, rbx
je 0x1401d6b10
mov esi, ebx
lea rcx, [rdi + 0x40]
sub rbp, rdi
nop dword [rax]
movzx eax, byte [rcx + rbp - 0x40]
inc rcx
xor byte [rcx - 1], al
dec rbx
jne 0x1401d6b00
mov dword [rdi + 0x174], esi
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
or eax, 0xffffffff
add rsp, 0x20
pop rdi
ret
Function at 0x1401d83c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x68
call fcn.1402563f0
sub rsp, rax
mov rax, qword [0x1403bb2d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx edi, byte [rcx]
mov rax, qword [rcx + 0x28]
mov r12, qword [rsp + 0xd0]
mov rsi, r9
mov r9, qword [rcx + 0x30]
mov r15, r8
mov r13, rdx
mov rbx, rcx
mov byte [rsp + 0x30], dil
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], rax
test dil, 0x40
jne 0x1401d842f
lea rdx, [rcx + 0x10]
mov r8, r9
call rax
inc qword [rbx + 0x20]
mov r9, qword [rsp + 0x38]
movzx eax, dil
mov r8d, reloc.WS2_32.dll_ntohs
xor ebp, ebp
and eax, 7
mov r14d, r8d
mov ecx, ebp
sub r14d, eax
mov byte [rbx], al
movsxd rax, r14d
cmp r14d, r8d
jae 0x1401d8475
lea rdx, [rax + rbx]
sub r8d, r14d
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [rdx], bpl
inc rdx
or rcx, rax
shl rcx, 8
dec r8
jne 0x1401d8460
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xf], 1
or rcx, rax
cmp rcx, rsi
je 0x1401d848d
or eax, 0xffffffff
jmp 0x1401d862c
lea rax, [rsi + 0xf]
or rax, 8
shr rax, 3
add qword [rbx + 0x20], rax
movabs rax, 0x2000000000000000
cmp qword [rbx + 0x20], rax
jbe 0x1401d84b7
mov eax, 0xfffffffe
jmp 0x1401d862c
mov rdi, rsi
shr rdi, 4
test rdi, rdi
je 0x1401d8540
lea rax, [rbx + 0x10]
mov r8, rdi
mov rdx, r15
mov qword [rsp + 0x28], rax
mov rcx, r13
mov qword [rsp + 0x20], rbx
call r12
shl rdi, 4
add r13, rdi
add r15, rdi
sub rsi, rdi
je 0x1401d85dc
lea r9, [rbx + 8]
shr rdi, 4
mov rdx, rbp
lea r8, [r9 + 8]
neg r9
nop word [rax + rax]
movzx eax, byte [r8 - 1]
dec r8
movzx ecx, dil
add rdx, rax
lea rax, [r9 + r8]
shr rdi, 8
add rdx, rcx
mov byte [r8], dl
shr rdx, 8
test rax, rax
je 0x1401d8540
test rdi, rdi
jne 0x1401d8510
test rdx, rdx
jne 0x1401d8510
test rsi, rsi
je 0x1401d85dc
mov r8, r13
mov edx, ebp
lea rcx, [rbx + 0x10]
sub r8, rbx
nop word [rax + rax]
movzx eax, byte [r8 + rcx - 0x10]
inc edx
inc rcx
xor byte [rcx - 1], al
mov eax, edx
cmp rax, rsi
jb 0x1401d8560
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
lea rcx, [rbx + 0x10]
mov r8, rdi
mov rdx, rcx
call r12
lea rdx, [rsp + 0x48]
mov r8, rdi
mov rcx, rbx
call r12
test rsi, rsi
je 0x1401d85e6
lea rax, [rsp + 0x48]
lea rcx, [rsp + 0x48]
sub r13, rax
lea rax, [rsp + 0x48]
sub r15, rax
nop word [rax + rax]
movzx eax, byte [r13 + rcx]
inc ebp
inc rcx
xor al, byte [rcx - 1]
mov byte [r15 + rcx - 1], al
mov eax, ebp
cmp rax, rsi
jb 0x1401d85c0
jmp 0x1401d85e6
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
movsxd rax, r14d
cmp r14d, 0x10
jae 0x1401d8603
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rax + rbx]
xor edx, edx
sub r8d, r14d
call fcn.140254810
lea rdx, [rsp + 0x48]
mov r8, rdi
mov rcx, rbx
call r12
mov rax, qword [rsp + 0x48]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x50]
xor qword [rbx + 0x18], rax
movzx eax, byte [rsp + 0x30]
mov byte [rbx], al
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140254fb0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401d8650
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x68
call fcn.1402563f0
sub rsp, rax
mov rax, qword [0x1403bb2d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx ebx, byte [rcx]
mov rax, qword [rcx + 0x28]
mov r13, qword [rsp + 0xd0]
mov r14, qword [rcx + 0x30]
mov rsi, r9
mov r10, r8
mov qword [rsp + 0x38], r8
mov r15, rdx
mov rdi, rcx
mov byte [rsp + 0x30], bl
mov qword [rsp + 0x40], rax
test bl, 0x40
jne 0x1401d86b9
lea rdx, [rcx + 0x10]
mov r8, r14
call rax
mov r10, qword [rsp + 0x38]
movzx eax, bl
mov r8d, reloc.WS2_32.dll_ntohs
xor ebp, ebp
and eax, 7
mov r12d, r8d
mov ecx, ebp
sub r12d, eax
mov byte [rdi], al
movsxd rax, r12d
cmp r12d, r8d
jae 0x1401d86f5
lea rdx, [rax + rdi]
sub r8d, r12d
movzx eax, byte [rdx]
mov byte [rdx], bpl
inc rdx
or rcx, rax
shl rcx, 8
dec r8
jne 0x1401d86e0
movzx eax, byte [rdi + 0xf]
mov byte [rdi + 0xf], 1
or rcx, rax
cmp rcx, rsi
je 0x1401d870d
or eax, 0xffffffff
jmp 0x1401d884a
mov rbx, rsi
shr rbx, 4
test rbx, rbx
je 0x1401d8791
lea rax, [rdi + 0x10]
mov r9, r14
mov r8, rbx
mov qword [rsp + 0x28], rax
mov rdx, r10
mov rcx, r15
mov qword [rsp + 0x20], rdi
call r13
mov r13, qword [rsp + 0x38]
shl rbx, 4
add r13, rbx
add r15, rbx
sub rsi, rbx
je 0x1401d8800
lea r9, [rdi + 8]
shr rbx, 4
mov rdx, rbp
lea r8, [r9 + 8]
neg r9
movzx eax, byte [r8 - 1]
dec r8
movzx ecx, bl
add rdx, rax
lea rax, [r9 + r8]
shr rbx, 8
add rdx, rcx
mov byte [r8], dl
shr rdx, 8
test rax, rax
je 0x1401d8796
test rbx, rbx
jne 0x1401d8760
test rdx, rdx
jne 0x1401d8760
jmp 0x1401d8796
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
test rsi, rsi
je 0x1401d8805
lea rdx, [rsp + 0x48]
mov r8, r14
mov rcx, rdi
call rbx
test rsi, rsi
je 0x1401d87f2
lea rax, [rsp + 0x48]
mov r8, rdi
lea rdx, [rsp + 0x48]
sub r15, rax
lea rax, [rsp + 0x48]
sub r13, rax
lea rax, [rsp + 0x48]
sub r8, rax
movzx ecx, byte [r15 + rdx]
movzx eax, byte [rdx]
inc ebp
xor ecx, eax
mov eax, ebp
inc rdx
mov byte [r13 + rdx - 1], cl
xor byte [r8 + rdx + 0xf], cl
cmp rax, rsi
jb 0x1401d87d2
lea rcx, [rdi + 0x10]
mov r8, r14
mov rdx, rcx
call rbx
jmp 0x1401d8805
mov rbx, qword [rsp + 0x40]
movsxd rax, r12d
cmp r12d, 0x10
jae 0x1401d8822
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rax + rdi]
xor edx, edx
sub r8d, r12d
call fcn.140254810
lea rdx, [rsp + 0x48]
mov r8, r14
mov rcx, rdi
call rbx
mov rax, qword [rsp + 0x48]
xor qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x50]
xor qword [rdi + 0x18], rax
movzx eax, byte [rsp + 0x30]
mov byte [rdi], al
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140254fb0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401d8f10
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x20
call fcn.1402563f0
sub rsp, rax
mov rbx, r8
call fcn.1401d8920
test eax, eax
js 0x1401d914e
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x1401d8f99
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop dword [rax + rax]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x1401d8f50
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x1401d914c
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x140000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
add r10, 0x10
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x35af40]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
mov r9d, dword [rdi + rdx*4 + 0x35bb40]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x35c340]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x35c740]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
xor r9d, dword [rdi + rcx*4 + 0x35bf40]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x35af40]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
mov r8d, dword [rdi + rdx*4 + 0x35bb40]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x35c340]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x35bf40]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x35c740]
mov eax, r9d
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x35af40]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
mov r8d, dword [rdi + rdx*4 + 0x35bb40]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x35c340]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x35bf40]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x35c740]
mov r9d, dword [r10 + 0xa]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0x35af40]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
mov r8d, dword [rdi + rdx*4 + 0x35c340]
mov eax, r9d
xor r8d, dword [rdi + rcx*4 + 0x35bf40]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x35af40]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x35bb40]
movzx ecx, byte [rdi + rax*4 + 0x35af40]
xor r8d, dword [rdi + rcx*4 + 0x35c740]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x1401d8fc0
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1401da660
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push r12
mov eax, 0x20
call fcn.1402563f0
sub rsp, rax
mov r12, qword [rcx + 0x28]
mov rsi, rdx
mov rbp, rcx
cmp rdx, r12
ja 0x1401da695
shl rsi, 4
add rsi, qword [rcx + 0x58]
mov rax, rsi
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
mov rcx, qword [rcx + 0x30]
cmp rdx, rcx
jb 0x1401da6dc
sub rdx, rcx
lea r8, str.cryptomodesocb128.c
mov r9d, WSAStartup
add rdx, 4
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x30], rdx
shl rdx, 4
call fcn.1400b46f0
test rax, rax
jne 0x1401da6d8
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
mov qword [rbp + 0x58], rax
cmp r12, rsi
jae 0x1401da756
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r14
mov r14, r12
mov r13, rsi
sub r13, r12
shl r14, 4
add r12, r13
nop word [rax + rax]
mov rax, qword [rbp + 0x58]
mov edx, 1
movzx ebx, byte [r14 + rax]
lea rcx, [r14 + rax]
lea rdi, [rcx + 0x10]
shr bl, 7
neg bl
mov r8, rdi
and bl, 0x87
call fcn.1401da5b0
xor byte [rdi + 0xf], bl
add r14, 0x10
dec r13
jne 0x1401da710
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
shl rsi, 4
mov qword [rbp + 0x28], r12
add rsi, qword [rbp + 0x58]
mov rax, rsi
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret