joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003aab8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140039540
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140039540
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14003ac08
cmp rax, 0xffffffffffffffff
je 0x14003ac08
xor edi, edi
test rbp, rbp
jle 0x14003abb3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002bb5c
mov rbx, rax
test rax, rax
jne 0x14003ab40
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14003aba9
mov edx, 0x8000
mov ecx, r14d
call fcn.140028154
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400358c4
cmp eax, 0xffffffff
je 0x14003ab89
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14003ab50
mov edx, r15d
mov ecx, r14d
call fcn.140028154
jmp 0x14003aba9
cmp byte [rsi + 0x38], dil
je 0x14003aba0
cmp dword [rsi + 0x34], 5
jne 0x14003aba0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14003aba9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002b3e8
jmp 0x14003ac1c
jns 0x14003ac1c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140039540
cmp rax, 0xffffffffffffffff
jne 0x14003abd4
cmp byte [rsi + 0x30], dil
je 0x14003ac1c
mov edi, dword [rsi + 0x2c]
jmp 0x14003ac1c
mov ecx, r14d
call fcn.140030f5c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14003ac1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14003ac1c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14003ac15
mov eax, dword [rsi + 0x2c]
jmp 0x14003ac1a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140039540
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14003b6d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003b6f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14003b6f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140009d40
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
xor r10d, r10d
mov r11, rcx
test r8, r8
je 0x140009e14
cmp r8, 0x20
jb 0x140009de6
mov r9, r8
xorps xmm3, xmm3
and r9, 0xffffffffffffffe0
xorps xmm2, xmm2
sub rcx, rdx
mov rax, rdx
nop
movdqu xmm0, xmmword [rax]
add r10, 0x20
movdqu xmm1, xmmword [rcx + rax]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
por xmm1, xmm3
movdqa xmm3, xmm1
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm0, xmmword [rax - 0x10]
pxor xmm1, xmm0
por xmm1, xmm2
movdqa xmm2, xmm1
cmp r10, r9
jb 0x140009d70
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd r9d, xmm2
cmp r10, r8
jae 0x140009e14
sub r11, rdx
lea rax, [r10 + rdx]
sub r8, r10
nop word [rax + rax]
movzx ecx, byte [rax + r11]
xor cl, byte [rax]
lea rax, [rax + 1]
or r9b, cl
sub r8, 1
jne 0x140009e00
movzx eax, r9b
dec eax
sar eax, 8
and eax, 1
dec eax
ret
Function at 0x14000c9b0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
lea rax, [rdx + 0x3f8]
lea r9, [rcx + 0x3f8]
mov r8d, 0x80
cmp rcx, rax
ja 0x14000c9d1
cmp r9, rdx
jae 0x14000ca41
mov r9, rdx
lea rax, [rcx + 0x10]
sub r9, rcx
mov r11d, reloc.WS2_32.dll_recv
mov r10d, r8d
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r9 + rax - 0x10]
movdqu xmm2, xmmword [r9 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub r11, 1
jne 0x14000c9e4
mov r9d, r10d
cmp r9, r8
jae 0x14000ca71
sub rdx, rcx
lea rax, [rcx + r9*8]
sub r8, r9
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rax + rdx]
xor qword [rax], rcx
lea rax, [rax + 8]
sub r8, 1
jne 0x14000ca60
ret

Function at 0x14000df40
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
je 0x14000df7e
xor eax, eax
mov r9, r8
mov qword [rsp + 0x28], rax
lea r8, [0x14000cc60]
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.14003ae58
mov qword [rbx], rax
neg rax
sbb eax, eax
neg eax
dec eax
add rsp, 0x30
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
Function at 0x140013d90
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x70
mov rbx, qword [rsp + 0xc8]
lea rax, [r11 - 0x18]
mov rsi, qword [rsp + 0xb8]
mov rdi, rdx
mov qword [r11 - 0x28], rbx
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x38], rsi
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xa0]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], r9
mov r9, r8
mov r8, rdx
mov edx, 1
call fcn.140013880
test eax, eax
jne 0x140013e55
xor r10d, r10d
xor r9b, r9b
test rbx, rbx
je 0x140013e53
mov r11, qword [rsp + 0xc0]
mov eax, r10d
nop dword [rax]
movzx r8d, byte [rax + r11]
inc r9b
movzx edx, byte [rsp + rax + 0x60]
xor r8d, edx
movzx eax, r9b
or r10d, r8d
cmp rax, rbx
jb 0x140013e10
test r10d, r10d
je 0x140013e53
mov rdx, rdi
mov rcx, rsi
call fcn.1400137a0
mov eax, 0xfffffff1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140014e80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r13
lea rbp, [rsp - 0x248]
sub rsp, 0x348
mov rbx, r8
mov rdi, rdx
mov r13, rcx
cmp r8, 0x180
jbe 0x140014eb9
mov eax, 0xffffffc8
add rsp, 0x348
pop r13
pop rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0x378], r12
lea rcx, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x380], r14
mov r8d, 0x1a0
call fcn.140036450
lea rcx, [rbp + 0x120]
call fcn.14000e340
mov rax, rbx
mov byte [rbp - 0x6d], bl
shr rax, 0x18
lea rcx, [rbp - 0x68]
mov byte [rbp - 0x70], al
mov r8, rbx
mov rax, rbx
mov byte [rbp - 0x69], 0x30
shr rax, 0x10
mov rdx, rdi
mov byte [rbp - 0x6f], al
mov rax, rbx
shr rax, 8
mov byte [rbp - 0x6e], al
call fcn.140035790
xor r14d, r14d
mov byte [rbp + rbx - 0x68], 0x80
mov eax, r14d
lea r12, [rbx + 0x19]
lea rcx, [rsp + 0x60]
nop
mov byte [rcx], al
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x20
jl 0x140014f30
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x120]
call fcn.14000e360
mov r8d, eax
mov r9d, reloc.WS2_32.dll_recv
test eax, eax
jne 0x14001509e
mov qword [rsp + 0x370], rsi
mov rsi, r14
mov qword [rsp + 0x340], r15
movzx r15d, byte [rbp - 0x7d]
nop dword [rax]
xor eax, eax
mov rdi, r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
test r12, r12
je 0x140015003
lea rbx, [rbp - 0x80]
lea rax, [rsp + 0x20]
sub rbx, rax
lea rax, [rsp + 0x20]
mov rdx, r9
nop dword [rax + rax]
movzx ecx, byte [rbx + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140014fb0
mov rax, rdi
lea r8, [rsp + 0x20]
add rbx, 0x10
lea rcx, [rbp + 0x120]
cmp rdi, 0x10
mov edx, 1
cmovae rax, r9
lea r9, [rsp + 0x20]
sub rdi, rax
call fcn.14000f410
mov r8d, eax
mov r9d, reloc.WS2_32.dll_recv
test eax, eax
jne 0x14001508e
test rdi, rdi
jne 0x140014fa0
movups xmm0, xmmword [rsp + 0x20]
inc r15b
mov byte [rbp - 0x7d], r15b
movups xmmword [rsp + rsi + 0x30], xmm0
add rsi, 0x10
cmp rsi, 0x30
jl 0x140014f80
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x120]
call fcn.14000e360
mov r8d, eax
test eax, eax
jne 0x140015088
mov rbx, r13
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x50]
mov edx, 1
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x120]
call fcn.14000f410
mov r8d, eax
test eax, eax
jne 0x140015088
movups xmm0, xmmword [rsp + 0x50]
add r14d, 0x10
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp r14d, 0x30
jl 0x140015050
mov r9d, reloc.WS2_32.dll_recv
mov rsi, qword [rsp + 0x370]
mov r15, qword [rsp + 0x340]
lea rcx, [rbp + 0x120]
call fcn.14000e350
lea rcx, [rbp - 0x80]
mov edx, 0x1a0
call fcn.140014d90
mov edx, 0x30
lea rcx, [rsp + 0x30]
call fcn.140014d90
mov edx, 0x20
lea rcx, [rsp + 0x60]
call fcn.140014d90
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140014d90
mov r14, qword [rsp + 0x380]
mov r12, qword [rsp + 0x378]
test r8d, r8d
je 0x140015105
mov edx, 0x30
mov rcx, r13
call fcn.140014d90
mov eax, r8d
add rsp, 0x348
pop r13
pop rdi
pop rbx
pop rbp
ret
Function at 0x140015120
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor eax, eax
lea rbp, [r11 - 0x58]
xor esi, esi
mov qword [r11 - 0x58], rax
mov ebx, 1
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov edi, esi
mov qword [r11 - 0x40], rax
sub rbx, rcx
mov qword [r11 - 0x38], rax
mov r14, rdx
mov qword [r11 - 0x30], rax
mov r15, rcx
nop dword [rax]
lea rax, [r15 + 0xf]
add byte [rax], 1
jne 0x140015185
dec rax
lea rcx, [rbx + rax]
test rcx, rcx
jg 0x140015174
mov r9, rbp
lea rcx, [r15 + 0x28]
mov r8, r15
mov edx, 1
call fcn.14000f410
test eax, eax
jne 0x140015205
add rbp, 0x10
add edi, 0x10
cmp edi, 0x30
jl 0x140015170
lea rax, [rsp + 0x20]
sub r14, rax
nop dword [rax]
nop word [rax + rax]
lea rax, [rsp + 0x20]
add rax, rsi
add rsi, 0x10
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [r14 + rax]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
cmp rsi, 0x30
jl 0x1400151c0
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x20]
lea rcx, [r15 + 0x28]
call fcn.14000e360
test eax, eax
jne 0x140015205
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r15], xmm0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140019840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx esi, r8b
mov rdi, rdx
lea r8, [rdx + 1]
mov rbp, r9
xor edx, edx
mov r14, rcx
call fcn.140036450
xor ebx, ebx
test rdi, rdi
je 0x1400198ba
movzx esi, sil
nop dword [rax]
xor r9d, r9d
test rsi, rsi
je 0x1400198b2
movzx r10d, byte [rbx + r14]
mov r11, rbx
mov rdx, r11
mov rcx, rbp
call fcn.140010690
mov rcx, r9
add r11, rdi
shl al, cl
inc r9
or r10b, al
mov byte [rbx + r14], r10b
cmp r9, rsi
jb 0x140019890
inc rbx
cmp rbx, rdi
jb 0x140019880
xor bl, bl
cmp rdi, 1
jb 0x14001991a
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r14]
mov r9d, 1
movzx r10d, byte [r14 + 1]
lea r14, [r14 + 1]
xor r10b, bl
mov ecx, edx
and bl, byte [r14]
movzx eax, r10b
and al, 1
sub r9b, al
movzx eax, r9b
imul ecx, eax
movzx eax, r10b
shl r9b, 7
or r9b, dl
mov byte [r14 - 1], r9b
and al, cl
xor r10b, cl
or bl, al
mov byte [r14], r10b
sub rdi, 1
jne 0x1400198d0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001e0e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001e2be
mov rdx, qword [rcx]
test rdx, rdx
je 0x14001e2be
cmp qword [rcx + 0x10], 0
je 0x14001e2be
movsxd rax, dword [rdx + 0x14]
cmp rbx, rax
jbe 0x14001e16b
mov rcx, qword [rcx + 8]
call qword [rdx + 0x18]
test eax, eax
jne 0x14001e29f
mov rax, qword [rdi]
mov r8, rbx
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [rax + 0x20]
test eax, eax
jne 0x14001e29f
mov rax, qword [rdi]
lea rdx, [rsp + 0x20]
mov rcx, qword [rdi + 8]
call qword [rax + 0x28]
test eax, eax
jne 0x14001e29f
mov rdx, qword [rdi]
lea rsi, [rsp + 0x20]
movsxd rbx, dword [rdx + 0x10]
movsxd r8, dword [rdx + 0x14]
mov edx, 0x36
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], r14
mov r14, qword [rdi + 0x10]
mov rcx, r14
lea rbp, [r8 + r14]
call fcn.140036450
mov rax, qword [rdi]
mov edx, 0x5c
mov rcx, rbp
movsxd r8, dword [rax + 0x14]
call fcn.140036450
xor ecx, ecx
test rbx, rbx
je 0x14001e276
cmp rbx, 0x10
jb 0x14001e246
lea r8, [rbp - 1]
lea rax, [rsi - 1]
add r8, rbx
add rax, rbx
cmp rbp, rax
ja 0x14001e1cf
cmp r8, rsi
jae 0x14001e246
lea rdx, [r14 - 1]
add rdx, rbx
cmp rbp, rdx
ja 0x14001e1e0
cmp r8, r14
jae 0x14001e246
lea rax, [rbx - 1]
add rax, rsi
cmp r14, rax
ja 0x14001e1f1
cmp rdx, rsi
jae 0x14001e246
mov rdx, rbx
and rdx, 0xfffffffffffffff0
mov r8, rsi
mov r9, rbp
sub r8, r14
mov rax, r14
sub r9, r14
nop word [rax + rax]
movdqu xmm0, xmmword [rax]
add rcx, 0x10
movdqu xmm2, xmmword [r8 + rax]
lea rax, [rax + 0x10]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [r9 + rax - 0x10]
movdqu xmmword [rax - 0x10], xmm1
pxor xmm2, xmm0
movdqu xmmword [r9 + rax - 0x10], xmm2
cmp rcx, rdx
jb 0x14001e210
cmp rcx, rbx
jae 0x14001e276
mov rdx, r14
lea rax, [rcx + rsi]
sub rdx, rsi
sub rbp, rsi
sub rbx, rcx
nop dword [rax + rax]
movzx ecx, byte [rax]
xor byte [rdx + rax], cl
movzx ecx, byte [rax]
xor byte [rax + rbp], cl
lea rax, [rax + 1]
sub rbx, 1
jne 0x14001e260
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
call qword [rax + 0x18]
mov rbp, qword [rsp + 0x50]
test eax, eax
jne 0x14001e29a
mov rax, qword [rdi]
mov rdx, r14
mov rcx, qword [rdi + 8]
movsxd r8, dword [rax + 0x14]
call qword [rax + 0x20]
mov r14, qword [rsp + 0x58]
mov edx, 0x20
lea rcx, [rsp + 0x20]
call fcn.1400137a0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x60]
mov eax, 0xffffaf00
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14001f3a0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1c8
cmp dword [0x14005f46c], 0
jne 0x14001f3db
mov ecx, 2
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14001f3d1
mov eax, 0xffffffbe
add rsp, 0x1c8
ret
mov dword [0x14005f46c], 1
xor eax, eax
add rsp, 0x1c8
ret

Function at 0x14001f400
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rsi
sub rsp, 0x50
mov rbx, r8
mov rsi, rcx
call fcn.14001f3a0
test eax, eax
jne 0x14001f502
xor eax, eax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x20]
mov rdx, rbx
mov dword [rsp + 0x24], eax
lea rcx, str.aropool.com
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x2c], 6
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14001f48e
mov eax, 0xffffffae
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret
mov rbx, qword [rsp + 0x68]
mov edi, 0xffffffae
test rbx, rbx
je 0x14001f4f2
nop dword [rax]
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov dword [rsi], eax
test eax, eax
jns 0x14001f4bd
mov edi, 0xffffffbe
jmp 0x14001f4e0
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
movsxd rcx, eax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14001f4eb
movsxd rcx, dword [rsi]
call qword [sym.imp.WS2_32.dll_closesocket]
mov edi, 0xffffffbc
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14001f4a0
jmp 0x14001f4ed
xor edi, edi
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret

Function at 0x14001f560
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
movsxd rax, dword [rcx]
test eax, eax
jns 0x14001f575
mov eax, 0xffffffbb
add rsp, 0x28
ret
mov rcx, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jns 0x14001f5b2
call fcn.14001f510
test eax, eax
je 0x14001f598
mov eax, 0xffff9700
add rsp, 0x28
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0xffffffb4
mov edx, 0xffffffb0
cmp eax, 0x2746
cmove ecx, edx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14001f5c0
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
movsxd rax, dword [rcx]
test eax, eax
jns 0x14001f5d5
mov eax, 0xffffffbb
add rsp, 0x28
ret
mov rcx, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14001f612
call fcn.14001f510
test eax, eax
je 0x14001f5f8
mov eax, 0xffff9780
add rsp, 0x28
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0xffffffb2
mov edx, 0xffffffb0
cmp eax, 0x2746
cmove ecx, edx
mov eax, ecx
add rsp, 0x28
ret
Function at 0x14001f720
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rbx, [0x1400527b0]
mov rcx, rbx
test rsi, rsi
je 0x14001f79b
cmp qword [0x1400527b0], 0
mov qword [rsp + 0x30], rdi
je 0x14001f776
mov rdi, qword [rsi + 8]
nop
cmp qword [rcx + 8], rdi
jne 0x14001f769
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call fcn.140046e90
test eax, eax
je 0x14001f788
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x14001f750
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rax, rbx
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret

Function at 0x14001f800
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rbx, [0x140052c60]
mov rcx, rbx
test rsi, rsi
je 0x14001f87b
cmp qword [0x140052c60], 0
mov qword [rsp + 0x30], rdi
je 0x14001f856
mov rdi, qword [rsi + 8]
nop
cmp qword [rcx + 8], rdi
jne 0x14001f849
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call fcn.140046e90
test eax, eax
je 0x14001f868
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x14001f830
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rax, rbx
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x140023800
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, qword [rsp + 0x90]
xor eax, eax
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov r15, r9
mov qword [rsp + 0x28], rax
mov r12, r8
mov qword [rsp + 0x30], rax
mov rcx, qword [r14]
mov rsi, rdx
xor r10d, r10d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x70], eax
call fcn.14001e440
test rdx, rdx
je 0x14002399c
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
movzx ebp, al
nop
cmp rsi, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rsi
call fcn.14001e050
mov r10d, eax
test eax, eax
jne 0x14002398f
mov r8, r15
mov rdx, r12
mov rcx, r14
call fcn.14001e070
mov r10d, eax
test eax, eax
jne 0x14002398f
lea r8d, [rax + 4]
mov rcx, r14
lea rdx, [rsp + 0x70]
call fcn.14001e070
mov r10d, eax
test eax, eax
jne 0x14002398f
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14001e090
mov r10d, eax
test eax, eax
jne 0x14002398f
xor ecx, ecx
test rdi, rdi
je 0x140023982
cmp rdi, 0x40
jb 0x14002395c
lea rdx, [rbx - 1]
add rdx, rdi
lea rax, [rsp + rdi + 0x1f]
cmp rbx, rax
ja 0x1400238fa
lea rax, [rsp + 0x20]
cmp rdx, rax
jae 0x14002395c
mov rax, rdi
and rax, 0xffffffffffffffc0
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rsp + rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
movdqu xmm0, xmmword [rbx + 0x10]
movdqu xmm1, xmmword [rsp + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x10], xmm1
movdqu xmm0, xmmword [rbx + 0x20]
movdqu xmm1, xmmword [rsp + rcx + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x20], xmm1
movdqu xmm0, xmmword [rbx + 0x30]
movdqu xmm1, xmmword [rsp + rcx + 0x50]
add rcx, 0x40
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x30], xmm1
add rbx, 0x40
cmp rcx, rax
jb 0x140023901
cmp rcx, rdi
jae 0x140023982
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
inc rcx
xor byte [rbx], al
inc rbx
cmp rcx, rdi
jb 0x140023970
inc byte [rsp + 0x73]
sub rsi, rdi
jne 0x140023860
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov edx, 0x20
lea rcx, [rsp + 0x20]
call fcn.1400137a0
mov eax, r10d
add rsp, 0x40
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
Function at 0x140024100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x430
xor esi, esi
xor bl, bl
cmp dword [rcx + 0x148], esi
je 0x14002412f
mov eax, 0xffffbf80
mov rbx, qword [rsp + 0x448]
add rsp, 0x430
pop rsi
ret
mov qword [rsp + 0x440], rdi
mov rdi, qword [rcx + 8]
lea rax, [rdi - 0x10]
cmp rax, 0x3f0
ja 0x140024224
mov r9, qword [rsp + 0x468]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140023390
test eax, eax
jne 0x140024213
movzx edx, byte [rsp + 0x31]
lea r9, [rdi - 3]
xor dl, 2
xor r8d, r8d
or dl, byte [rsp + 0x30]
test r9, r9
je 0x1400241bf
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + r8 + 0x32]
inc r8
movzx ecx, al
neg cl
or cl, al
not cl
shr cl, 7
or bl, cl
movzx eax, bl
neg al
or al, bl
not al
movzx eax, al
shr rax, 7
add rsi, rax
cmp r8, r9
jb 0x140024190
or dl, byte [rsp + rsi + 0x32]
lea rcx, [rsp + rsi + 0x33]
cmp rsi, 8
setb al
or al, dl
je 0x1400241da
mov eax, 0xffffbf00
jmp 0x140024213
sub rdi, rcx
lea r8, [rsp + 0x30]
add r8, rdi
cmp r8, qword [rsp + 0x478]
jbe 0x1400241f6
mov eax, 0xffffbc00
jmp 0x140024213
mov rax, qword [rsp + 0x460]
mov rdx, rcx
mov rcx, qword [rsp + 0x470]
mov qword [rax], r8
call fcn.140035790
xor eax, eax
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.1400137a0
jmp 0x140024229
mov eax, 0xffffbf80
mov rdi, qword [rsp + 0x440]
mov rbx, qword [rsp + 0x448]
add rsp, 0x430
pop rsi
ret
sub rsp, 0x58
mov r9d, dword [rcx + 0x148]
test r9d, r9d
je 0x1400242ae
cmp r9d, 1
je 0x140024270
mov eax, 0xffffbf00
add rsp, 0x58
ret
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
call fcn.140023d50
add rsp, 0x58
ret
add rsp, 0x58
jmp 0x140024100