joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140196a40
Capabilities:
Connect socket
Connect udp socket
Create udp socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14035f7b8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 2
mov qword [rcx + 8], 0
mov rdi, rcx
mov edx, esi
mov ecx, esi
xor r8d, r8d
mov rbx, r9
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
jne 0x140196a9b
mov rax, qword [rbx]
lea rdx, str.Failed_to_create_a_UDP_socket.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x140196b0e
lea rcx, [rdi + 0x20]
mov qword [rsp + 0x28], 0
mov word [rsp + 0x20], si
call fcn.1400882f0
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0x35
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140196b0c
mov rax, qword [rbx]
lea rdx, str.Failed_to_specify_a_UDP_socket_destination_address.
mov rcx, rbx
call qword [rax + 0x28]
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
xor al, al
mov qword [rdi], 0xffffffffffffffff
jmp 0x140196b0e
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402268d0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140197090
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14035f7b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rcx]
mov r10d, r8d
mov rdi, qword [rsp + 0x90]
mov rbp, rdx
mov rsi, rcx
cmp rax, 0xffffffffffffffff
jne 0x1401970d8
mov rax, qword [rdi]
lea rdx, str.Cannot_send_to_invalid_UDP_socket
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1401971c8
cmp dword [rcx + 0x10], 3
jl 0x1401970f5
mov rax, qword [rdi]
lea rdx, str.Too_many_retries_for_this_nameserver.
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1401971c8
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov edx, r10d
mov ecx, eax
call fcn.140197620
test al, al
jne 0x140197132
lea rdx, str.Waited__but_cannot_send_on_UDP_socket_without_waiting_longer.
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_closesocket]
xor al, al
mov qword [rsi], 0xffffffffffffffff
jmp 0x1401971c8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x48], rbx
mov ecx, 2
call fcn.1400bab90
mov rcx, rbp
call fcn.140094880
movzx edx, byte [rsp + 0x30]
mov rcx, rbp
mov byte [rax], dl
movzx edx, byte [rsp + 0x31]
mov byte [rax + 1], dl
movsxd rdx, dword [rsi + 0x10]
movzx eax, byte [rsp + 0x30]
mov byte [rsi + rdx*2 + 0x14], al
movsxd rdx, dword [rsi + 0x10]
movzx eax, byte [rsp + 0x31]
mov byte [rsi + rdx*2 + 0x15], al
call fcn.140094bb0
mov rcx, rbp
mov ebx, eax
call fcn.140094880
mov rcx, qword [rsi]
mov rdx, rax
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.WS2_32.dll_send]
mov rbx, qword [rsp + 0x48]
cmp eax, 0xffffffff
jne 0x1401971c3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rdi
xor edx, edx
mov ecx, eax
call fcn.14016e2b0
lea rdx, str.Failed_to_send_DNS_query_on_UDP_socket.
jmp 0x140197112
inc dword [rsi + 0x10]
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1402268d0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14019e180
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, r8
mov rcx, rdx
mov rsi, rdx
call fcn.140084f60
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14019e1d2
add rcx, 0xc8
mov r9b, 1
mov qword [rsp + 0x20], rbx
mov r8, rsi
xor edx, edx
call fcn.1401090f0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14019e1f2
mov rdx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1401acc50
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14019e22b
add rcx, 0x550
mov qword [rsp + 0x20], rbx
mov r9b, 1
mov r8, rsi
xor edx, edx
call fcn.1401090f0
mov dl, 0x2c
mov rcx, rsi
call fcn.140082e70
mov rcx, qword [rdi + 0x20]
add rcx, 0x570
jmp 0x14019e1b0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14019e26e
add rcx, 0xa0
call fcn.140094bb0
mov rcx, qword [rdi + 0x28]
mov ebx, eax
add rcx, 0xa0
call fcn.140094880
mov rcx, rax
mov r8, rsi
mov edx, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400a1650
mov rbx, qword [rsp + 0x40]
xor al, al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1401dbb60
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14035f7b8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
mov ecx, 2
movups xmm1, xmmword [rdx + 0x10]
movd eax, xmm0
movups xmmword [rbp + 0xb0], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0xa0], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0xbf], al
add r8, 8
lea rax, [rsp + 0x40]
nop dword [rax + rax]
movd xmm1, dword [r8 - 8]
xorps xmm0, xmm0
movd xmm2, dword [r8 - 4]
lea rax, [rax + 0x40]
punpcklbw xmm1, xmm0
lea r8, [r8 + 0x10]
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
punpcklwd xmm2, xmm0
movdqu xmmword [rax - 0x60], xmm1
movd xmm1, dword [r8 - 0x10]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm2
movd xmm2, dword [r8 - 0xc]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmmword [rax - 0x30], xmm2
sub rcx, 1
jne 0x1401dbbd0
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x20]
call fcn.1401dbd80
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.1401db7b0
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1401dacd0
lea rcx, [rbp + 0x20]
call fcn.1401da8d0
movzx eax, byte [rbp + 0x20]
mov byte [rbx], al
movzx eax, byte [rbp + 0x24]
mov byte [rbx + 1], al
movzx eax, byte [rbp + 0x28]
mov byte [rbx + 2], al
movzx eax, byte [rbp + 0x2c]
mov byte [rbx + 3], al
movzx eax, byte [rbp + 0x30]
mov byte [rbx + 4], al
movzx eax, byte [rbp + 0x34]
mov byte [rbx + 5], al
movzx eax, byte [rbp + 0x38]
mov byte [rbx + 6], al
movzx eax, byte [rbp + 0x3c]
mov byte [rbx + 7], al
movzx eax, byte [rbp + 0x40]
mov byte [rbx + 8], al
movzx eax, byte [rbp + 0x44]
mov byte [rbx + 9], al
movzx eax, byte [rbp + 0x48]
mov byte [rbx + 0xa], al
movzx eax, byte [rbp + 0x4c]
mov byte [rbx + 0xb], al
movzx eax, byte [rbp + 0x50]
mov byte [rbx + 0xc], al
movzx eax, byte [rbp + 0x54]
mov byte [rbx + 0xd], al
movzx eax, byte [rbp + 0x58]
mov byte [rbx + 0xe], al
movzx eax, byte [rbp + 0x5c]
mov byte [rbx + 0xf], al
movzx eax, byte [rbp + 0x60]
mov byte [rbx + 0x10], al
movzx eax, byte [rbp + 0x64]
mov byte [rbx + 0x11], al
movzx eax, byte [rbp + 0x68]
mov byte [rbx + 0x12], al
movzx eax, byte [rbp + 0x6c]
mov byte [rbx + 0x13], al
movzx eax, byte [rbp + 0x70]
mov byte [rbx + 0x14], al
movzx eax, byte [rbp + 0x74]
mov byte [rbx + 0x15], al
movzx eax, byte [rbp + 0x78]
mov byte [rbx + 0x16], al
movzx eax, byte [rbp + 0x7c]
mov byte [rbx + 0x17], al
movzx eax, byte [rbp + 0x80]
mov byte [rbx + 0x18], al
movzx eax, byte [rbp + 0x84]
mov byte [rbx + 0x19], al
movzx eax, byte [rbp + 0x88]
mov byte [rbx + 0x1a], al
movzx eax, byte [rbp + 0x8c]
mov byte [rbx + 0x1b], al
movzx eax, byte [rbp + 0x90]
mov byte [rbx + 0x1c], al
movzx eax, byte [rbp + 0x94]
mov byte [rbx + 0x1d], al
movzx eax, byte [rbp + 0x98]
mov byte [rbx + 0x1e], al
movzx eax, byte [rbp + 0x9c]
mov byte [rbx + 0x1f], al
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1402268d0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1d0
pop rbp
ret
Function at 0x1401ddf40
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
movzx r10d, r8b
neg r10d
lea rdx, [rcx + 0x7c]
lea rax, [r9 + 0x7c]
movd xmm2, r10d
pshufd xmm2, xmm2, 0
cmp rcx, rax
ja 0x1401ddf87
cmp rdx, r9
jb 0x1401ddf87
sub r9, rcx
mov r8d, 0x20
nop
mov edx, dword [rcx]
xor edx, dword [rcx + r9]
lea rcx, [rcx + 4]
and edx, r10d
xor dword [rcx - 4], edx
sub r8, 1
jne 0x1401ddf70
ret
lea rax, [rcx + 0x10]
sub r9, rcx
mov ecx, 4
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r9 + rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub rcx, 1
jne 0x1401ddfa0
ret
Function at 0x1401e0a30
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
sub rsp, 0x2f0
mov rax, qword [0x14035f7b8]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rbx, rdx
test rcx, rcx
je 0x1401e0b8e
test rdx, rdx
je 0x1401e0b8e
test r8, r8
je 0x1401e0b8e
movups xmm0, xmmword [rcx]
mov edx, 0x20
movups xmmword [r8], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r8 + 0x10], xmm1
lea r8, [rsp + 0x2a0]
call fcn.14015f320
movzx eax, byte [rsp + 0x2bf]
and byte [rsp + 0x2a0], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x2bf], al
xor ecx, ecx
lea rax, [rsp + 0x40]
nop dword [rax]
movd xmm1, dword [rsp + rcx + 0x2a0]
lea rax, [rax + 0x40]
movd xmm2, dword [rsp + rcx + 0x2a4]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movd xmm1, dword [rsp + rcx + 0x2a8]
punpcklwd xmm2, xmm0
movdqu xmmword [rax - 0x50], xmm2
movd xmm2, dword [rsp + rcx + 0x2ac]
add rcx, 0x10
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
punpcklwd xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmmword [rax - 0x30], xmm2
cmp rcx, 0x20
jl 0x1401e0ab0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x220]
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x110], xmm0
call fcn.1401dc640
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x20]
call fcn.1401e0310
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401e00e0
mov al, 1
jmp 0x1401e0b90
xor al, al
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1402268d0
add rsp, 0x2f0
pop rbx
ret
Function at 0x1401e6570
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov r11, rdx
mov edi, r9d
mov r9d, dword [rsp + 0x30]
xor edx, edx
mov eax, r9d
mov rbx, r8
shr eax, 8
mov r8d, edi
movzx r10d, al
movzx eax, r9b
shl eax, 8
or r10d, eax
mov qword [r11 + 0x30], rdx
shl r10d, 8
mov eax, r9d
shr eax, 0x10
movzx ecx, al
or r10d, ecx
shr r9d, 0x18
shl r10d, 8
mov rcx, r11
or r10d, r9d
mov dword [r11 + 0x38], edx
mov qword [r11 + 0xb8], rdx
mov rdx, rbx
mov dword [r11 + 0x3c], r10d
mov dword [r11 + 0xc0], r10d
mov dword [r11 + 0x40], 0x40
mov dword [r11 + 0xc4], 0x40
mov dword [r11 + 0xb4], 1
mov rbx, qword [rsp + 0x10]
pop rdi
jmp fcn.1401e61a0
Function at 0x1401e6610
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r10, rcx
mov r9, qword [str.expand_32_byte_k]
movzx eax, byte [r9 + 2]
movzx r8d, byte [r9 + 3]
shl r8d, 8
or r8d, eax
movzx eax, byte [r9 + 1]
shl r8d, 8
or r8d, eax
movzx eax, byte [r9]
shl r8d, 8
or r8d, eax
mov dword [rcx], r8d
movzx eax, byte [r9 + 6]
movzx ecx, byte [r9 + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 4]
shl ecx, 8
or ecx, eax
mov dword [r10 + 4], ecx
movzx eax, byte [r9 + 0xa]
movzx ecx, byte [r9 + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 8]
shl ecx, 8
or ecx, eax
mov dword [r10 + 8], ecx
movzx eax, byte [r9 + 0xe]
movzx ecx, byte [r9 + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0xc], ecx
movzx eax, byte [rdx + 2]
movzx ecx, byte [rdx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x10], ecx
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x14], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x18], ecx
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
movzx eax, byte [rdx + 0xe]
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x1c], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x20], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x24], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x28], ecx
movzx eax, byte [rdx + 0x1e]
movzx ecx, byte [rdx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x40], 0x40
mov dword [r10 + 0x2c], ecx
ret
Function at 0x1401ef270
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14035f7b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, r9
movzx ebp, r8b
mov rbx, rdx
mov r14, rcx
mov rdi, qword [rsp + 0x90]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
movzx r9d, byte [rdx + 0x38]
lea r8, str.readExpectedMessage
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400a4920
nop
cmp byte [rbx + 0x38], 0
je 0x1401ef2e5
cmp qword [rbx + 0x40], 0
jne 0x1401ef2e5
mov rax, qword [rdi]
lea rdx, str.No_m_pHandler.
mov rcx, rdi
call qword [rax + 0x28]
mov dword [rbx + 0x58], 0
cmp dword [rbx + 8], 0
jne 0x1401ef300
call sub.KERNEL32.dll_GetTickCount
mov dword [rbx + 8], eax
nop word [rax + rax]
mov eax, dword [rbx + 0x14]
cmp eax, 5
jne 0x1401ef330
cmp dword [0x1404a6a10], 0xa
jge 0x1401ef327
mov rax, qword [rdi]
lea rdx, str.sshRp.m_totalTimeoutMs_wf_is_too_small__2_
mov rcx, rdi
call qword [rax + 0x28]
inc dword [0x1404a6a10]
mov dword [rbx + 0x14], 0x7530
jmp 0x1401ef334
test eax, eax
je 0x1401ef365
cmp dword [rbx + 8], 0
jne 0x1401ef342
call sub.KERNEL32.dll_GetTickCount
mov dword [rbx + 8], eax
cmp dword [rbx + 0x14], 0x3e8
jae 0x1401ef352
mov dword [rbx + 0x14], 0x7530
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rbx + 8]
cmp eax, ecx
jbe 0x1401ef365
sub eax, ecx
cmp eax, dword [rbx + 0x14]
ja 0x1401ef399
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call fcn.1401f2de0
test al, al
je 0x1401ef3d1
mov rcx, rsi
call fcn.1400ccf00
test al, al
jne 0x1401ef3d1
test bpl, bpl
je 0x1401ef395
cmp dword [rbx + 0x58], 0x5d
je 0x1401ef300
mov bl, 1
jmp 0x1401ef3d3
mov rcx, rsi
call fcn.1400ccf80
mov byte [rsi + 0x28], 1
cmp byte [rdi + 0x169], 0
je 0x1401ef3d1
mov rax, qword [rdi]
lea rdx, str.Too_much_time_elapsed_waiting_for_response.
mov rcx, rdi
call qword [rax + 0x28]
mov r8d, dword [rbx + 0x14]
lea rdx, str.totalTimeoutMs
mov rcx, rdi
call fcn.1400a50d0
xor bl, bl
lea rcx, [rsp + 0x20]
call fcn.1400a49f0
movzx eax, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1402268d0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401f33c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 0x14], 0
mov rdi, r8
mov rbx, rdx
je 0x1401f3420
cmp dword [rdx + 8], 0
jne 0x1401f33e4
call sub.KERNEL32.dll_GetTickCount
mov dword [rbx + 8], eax
cmp dword [rbx + 0x14], 0x3e8
jae 0x1401f33f4
mov dword [rbx + 0x14], 0x7530
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rbx + 8]
cmp eax, ecx
jbe 0x1401f3420
sub eax, ecx
cmp eax, dword [rbx + 0x14]
jbe 0x1401f3420
mov rcx, rdi
call fcn.1400ccf80
mov al, 1
mov byte [rdi + 0x28], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x140207160
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x14035f7b8]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rdi, r9
mov rbx, r8
mov rsi, qword [rsp + 0x200]
xor edx, edx
mov r8d, 0x178
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.1400a63c0
nop
lea r14, [rdi + 0x48]
lea rcx, [rdi + 0x50]
call fcn.140094bb0
test eax, eax
jne 0x1402071d7
xor edx, edx
lea r8d, [rax + 0x10]
lea rcx, [rdi + 0x50]
call fcn.1400909b0
mov dword [r14], reloc.WS2_32.dll_inet_ntoa
cmp dword [rbx + 0x554], 0
je 0x1402071ec
lea rdx, str.Not_in_IV_mode.
jmp 0x1402073af
mov ecx, dword [rbx + 0x558]
cmp ecx, 0xf
ja 0x1402073a8
mov edx, dword [r14]
add edx, ecx
cmp edx, 0xc
jbe 0x14020720c
or dword [rbx + 0x550], 1
lea rcx, [rdi + 0x50]
call fcn.140094880
mov rsi, rax
xor r15d, r15d
mov edi, r15d
cmp dword [rbx + 0x558], r15d
jne 0x140207279
test dword [r14], 0xfffffff0
jbe 0x140207274
mov eax, edi
mov rcx, qword [rax + rsi]
xor qword [rbx + 0x510], rcx
lea eax, [rdi + 8]
mov rax, qword [rax + rsi]
xor qword [rbx + 0x518], rax
lea r8, [rsp + 0x20]
lea rdx, [rbx + 0x510]
mov rcx, rbx
call fcn.140208b50
sub qword [rbx + 0x560], 0xffffffffffffff80
add edi, 0x10
mov eax, dword [r14]
and eax, 0xfffffff0
cmp edi, eax
jb 0x140207230
mov eax, edi
add rsi, rax
cmp edi, dword [r14]
jae 0x1402073a4
movsxd rcx, dword [rbx + 0x558]
movzx eax, byte [rsi]
mov byte [rcx + rbx + 0x540], al
inc dword [rbx + 0x558]
lea rsi, [rsi + 1]
cmp dword [rbx + 0x558], 0x10
jne 0x140207399
lea rdx, [rbx + 0x510]
movzx eax, byte [rbx + 0x540]
xor byte [rdx], al
movzx eax, byte [rbx + 0x541]
xor byte [rbx + 0x511], al
movzx eax, byte [rbx + 0x542]
xor byte [rbx + 0x512], al
movzx eax, byte [rbx + 0x543]
xor byte [rbx + 0x513], al
movzx eax, byte [rbx + 0x544]
xor byte [rbx + 0x514], al
movzx eax, byte [rbx + 0x545]
xor byte [rbx + 0x515], al
movzx eax, byte [rbx + 0x546]
xor byte [rbx + 0x516], al
movzx eax, byte [rbx + 0x547]
xor byte [rbx + 0x517], al
movzx eax, byte [rbx + 0x548]
xor byte [rbx + 0x518], al
movzx eax, byte [rbx + 0x549]
xor byte [rbx + 0x519], al
movzx eax, byte [rbx + 0x54a]
xor byte [rbx + 0x51a], al
movzx eax, byte [rbx + 0x54b]
xor byte [rbx + 0x51b], al
movzx eax, byte [rbx + 0x54c]
xor byte [rbx + 0x51c], al
movzx eax, byte [rbx + 0x54d]
xor byte [rbx + 0x51d], al
movzx eax, byte [rbx + 0x54e]
xor byte [rbx + 0x51e], al
movzx eax, byte [rbx + 0x54f]
xor byte [rbx + 0x51f], al
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140208b50
mov dword [rbx + 0x558], r15d
sub qword [rbx + 0x560], 0xffffffffffffff80
inc edi
cmp edi, dword [r14]
jb 0x140207282
mov bl, 1
jmp 0x1402073ba
lea rdx, str.buflen_error.
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
xor bl, bl
lea rcx, [rsp + 0x20]
call fcn.1400a63f0
movzx eax, bl
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1402268d0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140208900
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14035f7b8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
mov rbx, r8
xorps xmm0, xmm0
add r8, 0x500
movups xmmword [rsp + 0x20], xmm0
call qword [rax + 0x20]
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbx + 0x540], xmm0
mov esi, edi
xorps xmm1, xmm1
movups xmmword [rbx + 0x510], xmm1
mov qword [rbx + 0x550], rdi
mov dword [rbx + 0x558], edi
mov qword [rbx + 0x560], rdi
mov qword [rbx + 0x568], rdi
movups xmmword [rsp + 0x20], xmm0
mov r8, qword [rbx + 0x570]
lea rdx, [rsp + 0x20]
add r8, 8
mov byte [rsp + 0x20], dil
add r8, rsi
lea rcx, [rbx + 0x500]
call fcn.140207af0
inc edi
add rsi, 0x10
cmp edi, 0x100
jl 0x140208970
mov eax, 0x1000
lea r11, [0x1402c0e80]
nop
mov r10d, 0x100
nop word [rax + rax]
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xfea]
movzx r9d, byte [rdx + rax - 0xfe9]
mov byte [rdx + rax + 0x17], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xfeb]
mov byte [rdx + rax + 0x16], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xfec]
mov byte [rdx + rax + 0x15], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xfed]
mov byte [rdx + rax + 0x14], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xfee]
mov byte [rdx + rax + 0x13], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xfef]
mov byte [rdx + rax + 0x12], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xff0]
mov byte [rdx + rax + 0x11], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xff1]
mov byte [rdx + rax + 0x10], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xff2]
mov byte [rdx + rax + 0xf], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xff3]
mov byte [rdx + rax + 0xe], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xff4]
mov byte [rdx + rax + 0xd], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xff5]
mov byte [rdx + rax + 0xc], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xff6]
mov byte [rdx + rax + 0xb], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xff7]
mov byte [rdx + rax + 0xa], cl
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xff8]
mov byte [rdx + rax + 9], cl
lea ecx, [r9 + r9]
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rcx + r11]
mov byte [rax + rdx + 8], cl
lea ecx, [r9 + r9]
mov r8, qword [rbx + 0x570]
movzx ecx, byte [rcx + r11 + 1]
xor byte [r8 + rax + 9], cl
add rax, 0x10
sub r10, 1
jne 0x1402089c0
cmp rax, 0x10000
jl 0x1402089b0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402268d0
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14020c7d0
Capabilities:
Encrypt data using blowfish

Disassembly:
lea rax, [0x14035e000]
ret

Function at 0x14020c7e0
Capabilities:
Encrypt data using blowfish

Disassembly:
lea rax, [0x14035e050]
ret