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

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x40
call fcn.1402807a0
sub rsp, rax
mov r15, qword [rsp + 0xa8]
mov r14, rdx
mov rdx, qword [rsp + 0xb0]
mov ebx, dword [rdx]
mov r10, r9
mov rdi, r8
mov rbp, rcx
test ebx, ebx
je 0x140204753
nop
test rdi, rdi
je 0x140204753
mov eax, ebx
inc r14
inc rbp
movzx ecx, byte [rax + r15]
dec rdi
xor cl, byte [rbp - 1]
inc ebx
mov byte [r14 - 1], cl
and ebx, 0xf
jne 0x140204730
mov r9, qword [rsp + 0xb8]
mov r13d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x38], r12
mov esi, 1
cmp rdi, r13
jb 0x14020486d
mov rcx, rdi
xor ebx, ebx
mov r15, r14
shr rcx, 4
mov r12, rbp
mov dword [rsp + 0x20], ebx
mov rbx, qword [rsp + 0xa8]
imul rax, rcx, 0xfffffffffffffff0
add rdi, rax
mov rax, rcx
sub r15, rbx
shl rax, 4
sub r12, rbx
mov qword [rsp + 0x90], rdi
mov rdi, qword [rsp + 0x98]
add r14, rax
add rbp, rax
mov qword [rsp + 0x80], rbp
mov rbp, qword [rsp + 0xa0]
mov qword [rsp + 0x88], r14
mov r14, rcx
mov r8, rdi
mov rdx, rbx
mov rcx, rbp
call r9
mov r8d, r13d
mov ecx, esi
lea rdx, [rbp + 0x10]
nop dword [rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx - 1]
add ecx, eax
mov byte [rdx], cl
shr ecx, 8
dec r8d
jne 0x1402047f0
mov rax, rbx
lea edx, [r8 + 2]
nop dword [rax + rax]
mov rcx, qword [r12 + rax]
lea rax, [rax + 8]
xor rcx, qword [rax - 8]
mov qword [r15 + rax - 8], rcx
dec rdx
jne 0x140204810
mov r9, qword [rsp + 0xb8]
add r15, r13
add r12, r13
dec r14
jne 0x1402047d4
mov ebx, dword [rsp + 0x20]
mov rdi, qword [rsp + 0x90]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov r15, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov r10, qword [rsp + 0x98]
test rdi, rdi
je 0x1402048d1
mov r12, qword [rsp + 0xa0]
mov r8, r10
mov rdx, r15
mov rcx, r12
call r9
lea rcx, [r12 + 0x10]
nop dword [rax + rax]
movzx eax, byte [rcx - 1]
lea rcx, [rcx - 1]
add esi, eax
mov byte [rcx], sil
shr esi, 8
dec r13d
jne 0x140204890
nop word [rax + rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + rbp]
xor al, byte [rcx + r15]
mov byte [rcx + r14], al
dec rdi
jne 0x1402048b0
mov rax, qword [rsp + 0xb0]
mov dword [rax], ebx
jmp 0x1402048d3
mov dword [rdx], ebx
mov r12, qword [rsp + 0x38]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402048f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x40
call fcn.1402807a0
sub rsp, rax
mov rdi, r8
mov r8, qword [rsp + 0xb0]
mov r15, rdx
mov ebx, dword [r8]
mov r12, rcx
mov dword [rsp + 0x30], ebx
test ebx, ebx
je 0x140204959
mov rdx, qword [rsp + 0xa8]
test rdi, rdi
je 0x140204955
mov eax, ebx
inc r15
inc r12
movzx ecx, byte [rax + rdx]
dec rdi
xor cl, byte [r12 - 1]
inc ebx
mov byte [r15 - 1], cl
and ebx, 0xf
jne 0x140204931
mov dword [rsp + 0x30], ebx
mov rax, qword [rsp + 0xa0]
mov r10, qword [rsp + 0xb8]
mov ebp, 1
mov ecx, dword [rax + 0xc]
lea r14, [rax + 0xc]
mov qword [rsp + 0x80], rsi
bswap ecx
lea r13d, [rbp + 0xb]
mov dword [rsp + 0x90], ecx
cmp rdi, 0x10
jb 0x140204a6b
mov rbx, qword [rsp + 0xa0]
mov eax, 0x10000000
nop dword [rax]
nop word [rax + rax]
mov rsi, rdi
shr rsi, 4
cmp rsi, rax
cmova rsi, rax
add ecx, esi
mov eax, ecx
mov dword [rsp + 0x90], ecx
cmp rax, rsi
jae 0x1402049da
sub rsi, rax
xor eax, eax
mov dword [rsp + 0x90], eax
mov r8, rsi
mov rdx, r15
mov rcx, r12
mov qword [rsp + 0x20], rbx
call r10
mov ecx, dword [rsp + 0x90]
mov eax, ecx
bswap eax
mov dword [r14], eax
test ecx, ecx
jne 0x140204a2b
mov r8d, r13d
mov ecx, ebp
mov rdx, r14
nop word [rax + rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx - 1]
add ecx, eax
mov byte [rdx], cl
shr ecx, 8
dec r8d
jne 0x140204a10
mov ecx, dword [rsp + 0x90]
mov r10, qword [rsp + 0xb8]
mov r9, qword [rsp + 0x98]
shl rsi, 4
sub rdi, rsi
add r15, rsi
add r12, rsi
mov eax, 0x10000000
cmp rdi, 0x10
jae 0x1402049b0
mov ebx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
test rdi, rdi
je 0x140204ae1
mov rsi, qword [rsp + 0xa8]
xor ecx, ecx
mov r8, rbp
mov qword [rsi], rcx
mov qword [rsi + 8], rcx
mov rcx, rsi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call r10
mov eax, dword [rsp + 0x90]
inc eax
bswap eax
mov dword [r14], eax
jne 0x140204ac0
movzx eax, byte [r14 - 1]
lea r14, [r14 - 1]
add ebp, eax
mov byte [r14], bpl
shr ebp, 8
dec r13d
jne 0x140204aa2
nop dword [rax + rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r12]
xor al, byte [rcx + rsi]
mov byte [rcx + r15], al
dec rdi
jne 0x140204ac0
mov rax, qword [rsp + 0xb0]
mov dword [rax], ebx
jmp 0x140204ae4
mov dword [r8], ebx
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x140204b00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r15
mov eax, 0x28
call fcn.1402807a0
sub rsp, rax
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov r10, r9
mov ebx, dword [rsi]
mov rdi, r8
mov r15, rdx
mov r12, rcx
test ebx, ebx
je 0x140204b64
nop dword [rax]
test rdi, rdi
je 0x140204b64
mov eax, ebx
inc r15
inc r12
movzx ecx, byte [rax + rbp]
dec rdi
xor cl, byte [r12 - 1]
inc ebx
mov byte [r15 - 1], cl
and ebx, 0xf
jne 0x140204b40
mov r9, qword [rsp + 0x90]
cmp rdi, 0x10
jb 0x140204c1c
mov qword [rsp + 0x60], r13
mov rsi, r15
mov r13, rdi
shr r13, 4
mov qword [rsp + 0x20], r14
mov r14, r12
sub rsi, rbp
sub r14, rbp
imul rax, r13, 0xfffffffffffffff0
add rdi, rax
mov rax, r13
shl rax, 4
add r15, rax
add r12, rax
mov qword [rsp + 0x68], r15
mov r15, qword [rsp + 0x78]
mov r8, r15
mov rdx, rbp
mov rcx, rbp
call r9
cmp ebx, 0x10
jae 0x140204be9
mov edx, reloc.WS2_32.dll_ntohs
mov eax, ebx
sub edx, ebx
add rax, rbp
shr edx, 3
inc edx
mov rcx, qword [r14 + rax]
lea rax, [rax + 8]
xor rcx, qword [rax - 8]
mov qword [rsi + rax - 8], rcx
dec rdx
jne 0x140204bd3
mov r9, qword [rsp + 0x90]
add rsi, 0x10
add r14, 0x10
xor ebx, ebx
dec r13
jne 0x140204bb1
mov r15, qword [rsp + 0x68]
mov r10, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x60]
test rdi, rdi
je 0x140204c45
mov r8, r10
mov rdx, rbp
mov rcx, rbp
call r9
nop dword [rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r12]
xor al, byte [rcx + rbp]
mov byte [rcx + r15], al
dec rdi
jne 0x140204c30
mov dword [rsi], ebx
add rsp, 0x28
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140204f10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x20
call fcn.1402807a0
sub rsp, rax
cmp dword [rsp + 0x90], 0
mov r15, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov ebx, dword [r15]
mov r10, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
je 0x14020507f
test ebx, ebx
je 0x140204f8a
test rdi, rdi
je 0x140204f8a
movzx eax, byte [r14]
mov ecx, ebx
inc rsi
movzx edx, byte [rcx + rbp]
inc r14
dec rdi
xor edx, eax
inc ebx
mov byte [rcx + rbp], dl
mov byte [rsi - 1], dl
and ebx, 0xf
jne 0x140204f63
mov r9, qword [rsp + 0x98]
cmp rdi, 0x10
jb 0x140205043
mov r15, rsi
mov r13, rdi
mov r12, r14
shr r13, 4
sub r15, rbp
sub r12, rbp
imul rax, r13, 0xfffffffffffffff0
add rdi, rax
mov rax, r13
shl rax, 4
add rsi, rax
add r14, rax
mov qword [rsp + 0x68], rsi
mov rsi, qword [rsp + 0x78]
nop dword [rax]
mov r8, rsi
mov rdx, rbp
mov rcx, rbp
call r9
cmp ebx, 0x10
jae 0x14020501a
mov edx, reloc.WS2_32.dll_ntohs
mov ecx, ebx
sub edx, ebx
add rcx, rbp
shr edx, 3
inc edx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r12 + rcx]
lea rcx, [rcx + 8]
xor qword [rcx - 8], rax
mov rax, qword [rcx - 8]
mov qword [r15 + rcx - 8], rax
dec rdx
jne 0x140205000
mov r9, qword [rsp + 0x98]
add r15, 0x10
add r12, 0x10
xor ebx, ebx
dec r13
jne 0x140204fd0
mov rsi, qword [rsp + 0x68]
mov r10, qword [rsp + 0x78]
mov r15, qword [rsp + 0x88]
test rdi, rdi
je 0x14020518a
mov r8, r10
mov rdx, rbp
mov rcx, rbp
call r9
nop dword [rax + rax]
mov edx, ebx
inc ebx
movzx ecx, byte [rdx + r14]
movzx eax, byte [rdx + rbp]
xor ecx, eax
mov byte [rdx + rbp], cl
mov byte [rdx + rsi], cl
dec rdi
jne 0x140205060
jmp 0x14020518a
test ebx, ebx
je 0x1402050aa
test rdi, rdi
je 0x1402050aa
movzx edx, byte [r14]
mov ecx, ebx
inc rsi
movzx eax, byte [rcx + rbp]
inc r14
dec rdi
xor al, dl
inc ebx
mov byte [rsi - 1], al
mov byte [rcx + rbp], dl
and ebx, 0xf
jne 0x140205083
mov r13, qword [rsp + 0x98]
cmp rdi, 0x10
jb 0x140205154
mov r12, rdi
mov r15, rsi
shr r12, 4
sub r15, rbp
imul rax, r12, 0xfffffffffffffff0
add rdi, rax
mov qword [rsp + 0x70], rdi
mov rdi, qword [rsp + 0x78]
nop word [rax + rax]
mov r8, rdi
mov rdx, rbp
mov rcx, rbp
call r13
cmp ebx, 0x10
jae 0x14020512f
mov r9d, reloc.WS2_32.dll_ntohs
mov r8d, ebx
mov r10, r14
sub r9d, ebx
add r8, rbp
sub r10, rsi
shr r9d, 3
inc r9d
nop dword [rax]
lea rcx, [r15 + r8]
lea r8, [r8 + 8]
mov rdx, qword [rcx + r10]
mov rax, rdx
xor rax, qword [r8 - 8]
mov qword [rcx], rax
mov qword [r8 - 8], rdx
dec r9
jne 0x140205110
add rsi, 0x10
add r15, 0x10
add r14, 0x10
xor ebx, ebx
dec r12
jne 0x1402050e0
mov rdi, qword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
mov r15, qword [rsp + 0x88]
test rdi, rdi
je 0x14020518a
mov r8, r10
mov rdx, rbp
mov rcx, rbp
call r13
nop word [rax + rax]
mov ecx, ebx
inc ebx
movzx edx, byte [rcx + r14]
movzx eax, byte [rcx + rbp]
xor al, dl
mov byte [rcx + rsi], al
mov byte [rcx + rbp], dl
dec rdi
jne 0x140205170
mov dword [r15], ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402051b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push r14
push r15
mov eax, 0x20
call fcn.1402807a0
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov r15, qword [rcx + 0x168]
mov rbx, r8
mov r8, qword [rcx + 0x160]
mov r14, rdx
mov rsi, rcx
je 0x1402051f9
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, rbx
cmp rcx, rax
ja 0x1402052ce
cmp rcx, rbx
jb 0x1402052ce
mov qword [rsp + 0x48], rdi
mov edi, dword [rsi + 0x174]
mov qword [rsi + 0x30], rcx
test edi, edi
je 0x14020525d
nop
test rbx, rbx
je 0x14020524e
movzx eax, byte [r14]
mov ecx, edi
inc r14
xor byte [rcx + rsi + 0x40], al
dec rbx
inc edi
and edi, 0xf
jne 0x140205230
jmp 0x140205252
test edi, edi
jne 0x1402052b2
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
call r8
mov qword [rsp + 0x40], rbp
mov rbp, rbx
and rbp, 0xfffffffffffffff0
je 0x140205282
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
mov r9, rbp
mov r8, r14
call r15
add r14, rbp
sub rbx, rbp
mov rbp, qword [rsp + 0x40]
test rbx, rbx
je 0x1402052b2
mov edi, ebx
lea rcx, [rsi + 0x40]
sub r14, rsi
nop word [rax + rax]
movzx eax, byte [r14 + rcx - 0x40]
lea rcx, [rcx + 1]
xor byte [rcx - 1], al
dec rbx
jne 0x1402052a0
mov dword [rsi + 0x174], edi
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
or eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x1402055a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
mov eax, 0x50
call fcn.1402807a0
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rdi, qword [rcx + 0x160]
mov rbx, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x168]
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x38], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov r14, r9
mov rbp, r8
mov r15, rdx
cmp rcx, rax
ja 0x1402057dd
cmp rcx, r9
jb 0x1402057dd
cmp dword [rbx + 0x174], 0
mov qword [rsp + 0x88], rsi
mov qword [rbx + 0x38], rcx
mov qword [rsp + 0x48], r12
je 0x140205631
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call rdi
mov dword [rbx + 0x174], 0
mov esi, dword [rbx + 0x170]
mov r12d, dword [rbx + 0xc]
bswap r12d
mov dword [rsp + 0x80], esi
test esi, esi
je 0x140205694
nop dword [rax]
test r14, r14
je 0x140205682
movzx edx, byte [r15]
mov ecx, esi
inc rbp
movzx eax, byte [rcx + rbx + 0x10]
inc r15
dec r14
xor al, dl
mov byte [rbp - 1], al
xor byte [rcx + rbx + 0x40], dl
inc esi
and esi, 0xf
mov dword [rsp + 0x80], esi
jne 0x140205650
jmp 0x14020568a
test esi, esi
jne 0x1402057bc
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call rdi
mov qword [rsp + 0x40], r13
mov r13, qword [rsp + 0xa0]
cmp r14, 0xc00
jb 0x140205727
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
mov rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xfffffffffffff400
add r14, rax
nop dword [rax + rax]
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
mov r9d, 0xc00
mov r8, r15
call qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
mov r8d, 0xc0
mov rdx, rbp
mov rcx, r15
mov qword [rsp + 0x20], rbx
call r13
add r12d, 0xc0
add rbp, 0xc00
mov eax, r12d
add r15, 0xc00
bswap eax
mov dword [rbx + 0xc], eax
dec rdi
jne 0x1402056d0
mov esi, dword [rsp + 0x80]
mov r13, r14
and r13, 0xfffffffffffffff0
je 0x140205777
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
mov rdi, r13
mov r9, r13
mov r8, r15
shr rdi, 4
call qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
mov r8, rdi
mov rdx, rbp
mov rcx, r15
mov qword [rsp + 0x20], rbx
call qword [rsp + 0xa0]
add r12d, edi
add rbp, r13
mov eax, r12d
add r15, r13
sub r14, r13
bswap eax
mov dword [rbx + 0xc], eax
mov r13, qword [rsp + 0x40]
test r14, r14
je 0x1402057bc
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x178]
inc r12d
bswap r12d
mov dword [rbx + 0xc], r12d
nop dword [rax]
mov edx, esi
inc esi
movzx ecx, byte [rdx + r15]
movzx eax, byte [rdx + rbx + 0x10]
xor byte [rdx + rbx + 0x40], cl
xor al, cl
mov byte [rdx + rbp], al
dec r14
jne 0x1402057a0
mov r12, qword [rsp + 0x48]
mov dword [rbx + 0x170], esi
mov rsi, qword [rsp + 0x88]
xor eax, eax
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x140205ac0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
mov eax, 0x50
call fcn.1402807a0
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rdi, qword [rcx + 0x160]
mov rbx, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x168]
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x38], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov r14, r9
mov r15, r8
mov rbp, rdx
cmp rcx, rax
ja 0x140205d1d
cmp rcx, r9
jb 0x140205d1d
cmp dword [rbx + 0x174], 0
mov qword [rsp + 0x88], rsi
mov qword [rbx + 0x38], rcx
mov qword [rsp + 0x48], r12
je 0x140205b51
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call rdi
mov dword [rbx + 0x174], 0
mov esi, dword [rbx + 0x170]
mov r12d, dword [rbx + 0xc]
bswap r12d
mov dword [rsp + 0x80], esi
test esi, esi
je 0x140205bb2
nop dword [rax]
test r14, r14
je 0x140205ba0
mov ecx, esi
inc r15
inc rbp
movzx eax, byte [rcx + rbx + 0x10]
dec r14
xor al, byte [rbp - 1]
mov byte [r15 - 1], al
xor byte [rcx + rbx + 0x40], al
inc esi
and esi, 0xf
mov dword [rsp + 0x80], esi
jne 0x140205b70
jmp 0x140205ba8
test esi, esi
jne 0x140205cfc
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call rdi
mov r10, qword [rsp + 0xa0]
mov qword [rsp + 0x40], r13
cmp r14, 0xc00
jb 0x140205c65
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
mov rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xfffffffffffff400
add r14, rax
mov qword [rsp + 0x98], r14
mov r14, qword [rsp + 0x30]
nop word [rax + rax]
mov r9, r14
mov r8d, 0xc0
mov rdx, r15
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call r10
add r12d, 0xc0
lea rdx, [rbx + 0x60]
mov eax, r12d
lea rcx, [rbx + 0x40]
mov r9d, 0xc00
bswap eax
mov r8, r15
mov dword [rbx + 0xc], eax
call qword [rsp + 0x38]
mov r10, qword [rsp + 0xa0]
add r15, 0xc00
add rbp, 0xc00
dec rdi
jne 0x140205c00
mov esi, dword [rsp + 0x80]
mov r14, qword [rsp + 0x98]
mov r13, r14
and r13, 0xfffffffffffffff0
je 0x140205cb1
mov r9, qword [rsp + 0x30]
mov rdi, r13
mov rdx, r15
shr rdi, 4
mov rcx, rbp
mov qword [rsp + 0x20], rbx
mov r8, rdi
call r10
add r12d, edi
lea rdx, [rbx + 0x60]
mov eax, r12d
lea rcx, [rbx + 0x40]
mov r9, r13
bswap eax
mov r8, r15
add rbp, r13
mov dword [rbx + 0xc], eax
sub r14, r13
call qword [rsp + 0x38]
add r15, r13
mov r13, qword [rsp + 0x40]
test r14, r14
je 0x140205cfc
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x178]
inc r12d
bswap r12d
mov dword [rbx + 0xc], r12d
nop word [rax + rax]
mov ecx, esi
inc esi
movzx edx, byte [rcx + rbp]
movzx eax, byte [rcx + rbx + 0x10]
xor edx, eax
mov byte [rcx + r15], dl
xor byte [rcx + rbx + 0x40], dl
dec r14
jne 0x140205ce0
mov r12, qword [rsp + 0x48]
mov dword [rbx + 0x170], esi
mov rsi, qword [rsp + 0x88]
xor eax, eax
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x140205f20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
mov eax, 0x20
call fcn.1402807a0
sub rsp, rax
mov r13, qword [rcx + 0x160]
xor r14d, r14d
mov rsi, r8
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x40], r14
mov qword [rcx + 0x48], r14
mov qword [rcx + 0x30], r14
mov qword [rcx + 0x38], r14
mov qword [rcx + 0x170], r14
mov rdi, rdx
mov rbx, rcx
cmp r8, 0xc
jne 0x140205f87
movsd xmm0, qword [rdx]
lea edi, [r8 - 0xb]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov byte [rcx + 0xf], 1
jmp 0x1402060f9
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r8
mov rbp, r8
cmp r8, 0x10
jb 0x140206032
mov qword [rsp + 0x60], r12
shr rbp, 4
mov r12, rcx
mov qword [rsp + 0x68], r15
neg r12
lea r15, [rcx + 0xf]
imul rax, rbp, 0xfffffffffffffff0
add rsi, rax
nop dword [rax]
lea r8, [r12 + rdi]
lea rax, [r8 + r15]
cmp rbx, rax
ja 0x140206000
cmp r15, rdi
jb 0x140206000
mov rax, rbx
mov edx, reloc.WS2_32.dll_recv
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
lea rax, [rax + 1]
xor byte [rax - 1], cl
dec rdx
jne 0x140205fe0
jmp 0x140206010
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rdi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
lea rdx, [rbx + 0x60]
mov rcx, rbx
call r13
add rdi, 0x10
dec rbp
jne 0x140205fc0
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
test rsi, rsi
je 0x1402060da
cmp rsi, 0x20
jb 0x1402060a3
lea rax, [rdi - 1]
lea rcx, [rbx - 1]
add rax, rsi
add rcx, rsi
cmp rbx, rax
ja 0x140206059
cmp rcx, rdi
jae 0x1402060a3
mov rax, rsi
mov rdx, rsi
mov rcx, rdi
and eax, 0x1f
sub rdx, rax
mov rax, rbx
sub rcx, rbx
nop
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + rcx]
add r14, 0x20
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm0, xmmword [rax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp r14, rdx
jb 0x140206070
cmp r14, rsi
jae 0x1402060d0
sub rdi, rbx
lea rcx, [r14 + rbx]
sub rsi, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rdi]
lea rcx, [rcx + 1]
xor byte [rcx - 1], al
dec rsi
jne 0x1402060c0
lea rdx, [rbx + 0x60]
mov rcx, rbx
call r13
shl rbp, 3
lea rdx, [rbx + 0x60]
mov rcx, rbx
bswap rbp
xor qword [rbx + 8], rbp
call r13
mov edi, dword [rbx + 0xc]
mov rbp, qword [rsp + 0x58]
bswap edi
mov r8, qword [rbx + 0x180]
lea rdx, [rbx + 0x20]
mov rcx, rbx
call qword [rbx + 0x178]
inc edi
bswap edi
mov dword [rbx + 0xc], edi
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x140206770
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.1402807a0
sub rsp, rax
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx edi, byte [rcx]
mov r10, qword [rsp + 0xd0]
mov rax, qword [rcx + 0x28]
mov r15, qword [rcx + 0x30]
mov rbp, r9
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x40], r10
mov byte [rsp + 0x30], dil
mov qword [rsp + 0x38], rax
test dil, 0x40
jne 0x1402067db
lea rdx, [rcx + 0x10]
mov r8, r15
call rax
mov r10, qword [rsp + 0x40]
movzx eax, dil
mov edi, reloc.WS2_32.dll_ntohs
xor esi, esi
and eax, 7
mov r14d, edi
mov ecx, esi
sub r14d, eax
mov byte [rbx], al
cmp r14d, edi
jae 0x140206817
mov edx, r14d
add rdx, rbx
sub edi, r14d
movzx eax, byte [rdx]
mov byte [rdx], sil
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
dec rdi
jne 0x140206801
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xf], 1
or rcx, rax
cmp rcx, rbp
je 0x14020682f
or eax, 0xffffffff
jmp 0x14020693b
mov rdi, rbp
shr rdi, 4
test rdi, rdi
je 0x1402068b1
lea rax, [rbx + 0x10]
mov r9, r15
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], rbx
call r10
shl rdi, 4
add r12, rdi
add r13, rdi
sub rbp, rdi
je 0x1402068f9
lea r9, [rbx + 8]
shr rdi, 4
mov rdx, rsi
lea r8, [r9 + 8]
neg r9
nop dword [rax]
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
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 0x1402068b1
test rdi, rdi
jne 0x140206880
test rdx, rdx
jne 0x140206880
test rbp, rbp
je 0x1402068f9
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov r8, r15
mov rcx, rbx
call rdi
test rbp, rbp
je 0x1402068ed
mov rdx, rsi
movzx ecx, byte [rdx + r12]
movzx eax, byte [rsp + rdx + 0x48]
inc esi
xor ecx, eax
mov byte [rdx + r13], cl
xor byte [rdx + rbx + 0x10], cl
mov edx, esi
cmp rdx, rbp
jb 0x1402068d0
lea rcx, [rbx + 0x10]
mov r8, r15
mov rdx, rcx
call rdi
cmp r14d, 0x10
jae 0x140206911
mov ecx, reloc.WS2_32.dll_recv
mov edi, r14d
sub ecx, r14d
add rdi, rbx
xor eax, eax
rep stosb byte [rdi], al
lea rdx, [rsp + 0x48]
mov r8, r15
mov rcx, rbx
call qword [rsp + 0x38]
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.1402806f0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140209f90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.1402807a0
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x140209fb9
lea rax, [0x140208560]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140204520
lea rax, [0x1402076c0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140204250
Function at 0x1402129b0
Capabilities:
Encode data using base64

Disassembly:
mov eax, 8
call fcn.1402807a0
sub rsp, rax
xor r11d, r11d
mov r9d, r8d
test r8d, r8d
jle 0x140212ab7
mov qword [rsp], rbx
lea r10, [rdx + 1]
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax + rax]
movzx edx, byte [r10 - 1]
cmp r9d, 3
jl 0x140212a3e
movzx eax, byte [r10]
shl edx, 8
or edx, eax
movzx eax, byte [r10 + 1]
shl edx, 8
or edx, eax
mov eax, edx
mov r8d, edx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [rcx], al
mov eax, edx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [rcx + 1], al
mov eax, edx
shr rax, 6
and eax, 0x3f
and r8d, 0x3f
movzx eax, byte [rax + rbx]
mov byte [rcx + 2], al
movzx eax, byte [r8 + rbx]
mov byte [rcx + 3], al
jmp 0x140212a8f
shl edx, 0x10
cmp r9d, 2
jne 0x140212a50
movzx eax, byte [r10]
shl eax, 8
or edx, eax
mov rax, rdx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [rcx], al
mov rax, rdx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [rcx + 1], al
cmp r9d, 1
jne 0x140212a7d
lea eax, [r9 + 0x3c]
jmp 0x140212a88
shr rdx, 6
and edx, 0x3f
movzx eax, byte [rdx + rbx]
mov byte [rcx + 2], al
mov byte [rcx + 3], 0x3d
sub r9d, 3
add rcx, 4
add r11d, 4
add r10, 3
test r9d, r9d
jg 0x1402129e0
mov rbx, qword [rsp]
mov byte [rcx], 0
mov eax, r11d
add rsp, 8
ret
mov byte [rcx], r11b
mov eax, r11d
add rsp, 8
ret
Function at 0x140232f40
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x28
call fcn.1402807a0
sub rsp, rax
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x140232f88
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x140232f6d
mov dword [reloc.WS2_32.dll_accept], eax
jmp 0x140232f88
xorps xmm2, xmm2
lea rcx, [rsp + 0x38]
mov edx, 8
call fcn.1401dc190
cmp dword [reloc.WS2_32.dll_accept], 0
jne 0x140232fa4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm2, xmm2
lea rcx, [rsp + 0x30]
mov edx, 4
mov dword [rsp + 0x30], eax
call fcn.1401dc190
add rsp, 0x28
ret