joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402b41e0
Capabilities:
Encrypt data using rc4 prga

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.1402a7ce0

Function at 0x1402b6750
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 0x1402b67b0
cmp dword [rdx + 8], 0
jne 0x1402b6774
call sub.KERNEL32.dll_GetTickCount
mov dword [rbx + 8], eax
cmp dword [rbx + 0x14], 0x3e8
jae 0x1402b6784
mov dword [rbx + 0x14], 0x7530
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rbx + 8]
cmp eax, ecx
jbe 0x1402b67b0
sub eax, ecx
cmp eax, dword [rbx + 0x14]
jbe 0x1402b67b0
mov rcx, rdi
call fcn.140185e60
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 0x1402bdf70
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov rbx, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
lea r8, str.dns_gethostbyname
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.14015bdd0
nop
xor ebp, ebp
mov dword [r14], ebp
mov rcx, rsi
call fcn.14013bd70
mov rax, qword [rdi]
mov r8, rbx
lea rdx, str.hostname
mov rcx, rdi
call qword [rax + 0x58]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x1402be063
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx]
test rdx, rdx
je 0x1402bdffc
mov ebp, dword [rdx]
mov dword [r14], ebp
mov rax, qword [rax + 0x18]
mov r9, qword [rax]
lea rax, [r9 + 3]
lea rcx, [r9 + 2]
lea rdx, [r9 + 1]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea r8, str._b._b._b._b
mov edx, 0x28
lea rcx, [rsp + 0x58]
call fcn.14015a370
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140142930
cmp byte [rdi + 0x169], 0
je 0x1402be05f
mov r8, rsi
lea rdx, [0x14035ce98]
mov rcx, rdi
call fcn.14015ca70
mov bl, 1
jmp 0x1402be065
xor bl, bl
lea rcx, [rsp + 0x40]
call fcn.14015bf80
movzx eax, bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140109210
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402bf910
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 [0x14040f040]
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 0x1402bf96b
mov rax, qword [rbx]
lea rdx, str.Failed_to_create_a_UDP_socket.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402bf9de
lea rcx, [rdi + 0x28]
mov qword [rsp + 0x28], 0
mov word [rsp + 0x20], si
call fcn.14013ec50
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 0x1402bf9dc
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 0x1402bf9de
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140109210
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x670
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rsi, qword [rsp + 0x6c0]
mov rdi, r8
mov rbx, qword [rsp + 0x6c8]
mov r14, rdx
movsxd rbp, ecx
mov rcx, r8
call fcn.140149170
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x640
call fcn.14011a700
mov rdx, rbx
mov rcx, rsi
call fcn.140185fe0
test al, al
je 0x1402bfa79
mov rax, qword [rbx]
mov rcx, rbx
mov rdx, qword [str.DNS_query_aborted_by_application.]
call qword [rax + 0x28]
xor al, al
jmp 0x1402bfb15
imul rcx, rbp, 0xb8
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov r8d, 0x640
mov rcx, qword [rcx + r14]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1402bfaed
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2743
jne 0x1402bface
mov byte [rsi + 0x2c], 1
mov ecx, eax
xor edx, edx
mov r8, rbx
call fcn.140245dc0
mov rax, qword [rbx]
lea rdx, str.Failed_to_receive_DNS_query_response_on_UDP_socket.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402bfb15
cmp eax, 0x2733
je 0x1402bfad9
mov ecx, eax
jmp 0x1402bfab0
mov rax, qword [rbx]
lea rdx, str.Received_0_bytes.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402bfb15
test eax, eax
jne 0x1402bfb05
mov rax, qword [rbx]
lea rdx, str.Received_0_response_from_recv.
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1402bfb15
mov r8d, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1401472b0
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140109210
add rsp, 0x670
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402c0820
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x90]
mov rsi, rcx
mov rcx, qword [rcx]
mov eax, r8d
mov rbp, rdx
cmp rcx, 0xffffffffffffffff
jne 0x1402c0868
mov rax, qword [rdi]
lea rdx, str.Cannot_send_to_invalid_UDP_socket
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1402c0955
cmp dword [rsi + 0x10], 6
jl 0x1402c0885
mov rax, qword [rdi]
lea rdx, str.Too_many_retries_for_this_nameserver.
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
jmp 0x1402c0955
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov edx, eax
call fcn.1402c0db0
test al, al
jne 0x1402c08bf
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 0x1402c0955
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x48], rbx
mov ecx, 2
call fcn.14019b650
mov rcx, rbp
call fcn.14014b520
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.14014b850
mov rcx, rbp
mov ebx, eax
call fcn.14014b520
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 0x1402c0950
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rdi
xor edx, edx
mov ecx, eax
call fcn.140245dc0
lea rdx, str.Failed_to_send_DNS_query_on_UDP_socket.
jmp 0x1402c089f
inc dword [rsi + 0x10]
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140109210
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402cb320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x3b0], 0
mov r9, r8
mov r8, rdx
lea rdx, [rcx + 0xb0]
jne 0x1402cc4b0
jmp 0x1402cb800
Function at 0x1402d0390
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movsxd rdi, r8d
add rcx, 8
mov rsi, rdx
call fcn.14014b520
lea rcx, [rbx + 0x38]
mov rbp, rax
call fcn.14014b520
mov r9d, dword [rsi + rdi*4 + 4]
mov rcx, rdi
mov r10d, dword [rsi + rcx*4]
lea rdi, [rsi + rdi*4]
xor r10d, dword [rbp]
lea rsi, [rsi + rcx*4]
xor ebx, ebx
mov r11, rax
nop
inc ebx
mov ecx, r10d
and ecx, 0xff0000
mov eax, r10d
shr rax, 0x18
bts rcx, 0x18
shr rcx, 0x10
mov edx, dword [r11 + rcx*4]
add edx, dword [r11 + rax*4]
mov eax, r10d
and eax, 0xff00
bts rax, 0x11
shr rax, 8
xor edx, dword [r11 + rax*4]
movzx eax, r10b
or rax, 0x300
add edx, dword [r11 + rax*4]
xor edx, dword [rbp + rbx*4]
inc ebx
xor r9d, edx
mov ecx, r9d
and ecx, 0xff0000
mov eax, r9d
shr rax, 0x18
bts rcx, 0x18
shr rcx, 0x10
mov edx, dword [r11 + rcx*4]
add edx, dword [r11 + rax*4]
mov eax, r9d
and eax, 0xff00
bts rax, 0x11
shr rax, 8
xor edx, dword [r11 + rax*4]
movzx eax, r9b
or rax, 0x300
add edx, dword [r11 + rax*4]
xor edx, dword [rbp + rbx*4]
xor r10d, edx
cmp ebx, 0xe
jbe 0x1402d03e0
xor r9d, dword [rbp + 0x44]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov dword [rsi], r9d
mov rsi, qword [rsp + 0x40]
mov dword [rdi + 4], r10d
add rsp, 0x20
pop rdi
ret
Function at 0x1402d0870
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rcx
xor ebx, ebx
add rcx, 8
mov qword [rsp + 0x20], rbx
mov r13d, r8d
call fcn.14014b850
cdq
lea rcx, [r14 + 0x38]
and edx, 3
add eax, edx
sar eax, 2
movsxd rsi, eax
call fcn.14014b850
cdq
lea rcx, [r14 + 8]
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x88], eax
call fcn.14014b520
lea rcx, [r14 + 0x38]
mov r15, rax
call fcn.14014b520
mov r12, rax
test rsi, rsi
jle 0x1402d097a
mov r10, qword [rsp + 0x78]
mov r9d, ebx
mov eax, ebx
nop
movsxd rcx, eax
inc eax
cdq
idiv r13d
movzx r8d, byte [rcx + r10]
movsxd rax, edx
shl r8d, 8
movzx ecx, byte [rax + r10]
lea eax, [rdx + 1]
cdq
or ecx, r8d
idiv r13d
shl ecx, 8
movsxd rax, edx
movzx r8d, byte [rax + r10]
lea eax, [rdx + 1]
cdq
or r8d, ecx
idiv r13d
shl r8d, 8
movsxd rax, edx
movzx ecx, byte [rax + r10]
lea eax, [rdx + 1]
cdq
or ecx, r8d
xor dword [r15 + r9*4], ecx
inc r9
idiv r13d
mov eax, edx
cmp r9, rsi
jl 0x1402d08f0
mov rdi, rbx
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1402d0390
mov eax, dword [rsp + 0x20]
mov dword [r15 + rdi*4], eax
mov eax, dword [rsp + 0x24]
mov dword [r15 + rdi*4 + 4], eax
add rdi, 2
cmp rdi, rsi
jl 0x1402d0950
movsxd rdi, dword [rsp + 0x88]
test rdi, rdi
jle 0x1402d09ba
nop word [rax + rax]
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1402d0390
mov eax, dword [rsp + 0x20]
mov dword [r12 + rbx*4], eax
mov eax, dword [rsp + 0x24]
mov dword [r12 + rbx*4 + 4], eax
add rbx, 2
cmp rbx, rdi
jl 0x1402d0990
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402d4f00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r15, r9
mov rbx, r8
mov rdi, qword [rsp + 0x200]
xor edx, edx
mov r8d, 0x178
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.14015bee0
nop
lea rcx, [r15 + 0x50]
call fcn.14014b850
test eax, eax
jne 0x1402d4f7a
xor edx, edx
lea r8d, [rax + 0x10]
lea rcx, [r15 + 0x50]
call fcn.1401475b0
mov dword [r15 + 0x48], reloc.WS2_32.dll_inet_ntoa
cmp dword [rbx + 0x554], 0
je 0x1402d4f8f
lea rdx, str.Not_in_IV_mode.
jmp 0x1402d5162
mov ecx, dword [rbx + 0x558]
cmp ecx, 0xf
ja 0x1402d515b
add ecx, dword [r15 + 0x48]
cmp ecx, 0xc
jbe 0x1402d4fae
or dword [rbx + 0x550], 1
lea rcx, [r15 + 0x50]
call fcn.14014b520
mov rsi, rax
xor r12d, r12d
mov edi, r12d
cmp dword [rbx + 0x558], r12d
jne 0x1402d502a
test dword [r15 + 0x48], 0xfffffff0
jbe 0x1402d5025
nop dword [rax]
nop word [rax + rax]
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.1402d6900
sub qword [rbx + 0x560], 0xffffffffffffff80
add edi, 0x10
mov eax, dword [r15 + 0x48]
and eax, 0xfffffff0
cmp edi, eax
jb 0x1402d4fe0
mov eax, edi
add rsi, rax
cmp edi, dword [r15 + 0x48]
jae 0x1402d5157
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 0x1402d514b
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.1402d6900
mov dword [rbx + 0x558], r12d
sub qword [rbx + 0x560], 0xffffffffffffff80
inc edi
cmp edi, dword [r15 + 0x48]
jb 0x1402d5034
mov bl, 1
jmp 0x1402d516d
lea rdx, str.buflen_error.
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
xor bl, bl
lea rcx, [rsp + 0x20]
call fcn.14015bfd0
movzx eax, bl
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140109210
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1402d66b0
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 [0x14040f040]
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.1402d58b0
inc edi
add rsi, 0x10
cmp edi, 0x100
jl 0x1402d6720
mov eax, 0x1000
lea r10, [0x1403a92e0]
nop
mov r9d, 0x100
nop word [rax + rax]
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rdx + rax - 0xfea]
movzx r8d, 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, [r8 + r8]
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rcx + r10]
mov byte [rax + rdx + 8], cl
lea ecx, [r8 + r8]
mov rdx, qword [rbx + 0x570]
movzx ecx, byte [rcx + r10 + 1]
xor byte [rdx + rax + 9], cl
add rax, 0x10
sub r9, 1
jne 0x1402d6770
cmp rax, 0x10000
jl 0x1402d6760
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140109210
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402dc4e0
Capabilities:
Encrypt data using blowfish

Disassembly:
lea rax, [0x14041c7c0]
ret

Function at 0x1402dc4f0
Capabilities:
Encrypt data using blowfish

Disassembly:
lea rax, [0x14041c810]
ret
Function at 0x1402de850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, 0x80
mov qword [rsp + 0x40], r12
mov r14d, r9d
mov esi, r8d
mov r12, rdx
mov rdi, rcx
cmp r8d, ebx
jbe 0x1402de881
mov esi, ebx
jmp 0x1402de88b
mov eax, 1
cmp esi, eax
cmovb esi, eax
mov qword [rsp + 0x48], r15
mov r15d, 0x400
test r14d, r14d
jne 0x1402de8a0
mov r14d, r15d
jmp 0x1402de8a7
cmp r14d, r15d
cmova r14d, r15d
mov edx, esi
mov rcx, r12
call fcn.14014afd0
mov rcx, r12
mov ebp, esi
call fcn.14014b520
mov r12, qword [rsp + 0x40]
cmp esi, ebx
jbe 0x1402de8cb
xor al, al
jmp 0x1402de9f5
test r14d, r14d
mov r8d, esi
lea rcx, [rdi + 0xb0]
mov rdx, rax
cmove r14d, r15d
mov r15d, esi
call sub.VCRUNTIME140.dll_memcpy
lea r11, [0x1403acf80]
cmp esi, ebx
jae 0x1402de939
lea eax, [rsi - 1]
movzx r8d, byte [rax + rdi + 0xb0]
lea rdx, [rdi + 0xb0]
add rdx, r15
nop dword [rax + rax]
mov eax, ebp
lea rdx, [rdx + 1]
sub eax, esi
inc ebp
movzx ecx, byte [rax + rdi + 0xb0]
movzx eax, r8b
add rcx, rax
movzx eax, cl
movzx r8d, byte [rax + r11]
mov byte [rdx - 1], r8b
cmp ebp, ebx
jb 0x1402de910
lea eax, [r14 + 7]
mov r8d, ebx
shr eax, 3
neg r14d
sub r8d, eax
movzx ecx, r14b
and cl, 7
mov r9d, r8d
add r9, 0xb0
mov edx, 0xff
add r9, rdi
sar rdx, cl
movzx eax, byte [r9]
and rdx, rax
movzx r10d, byte [rdx + r11]
mov byte [r9], r10b
test r8d, r8d
je 0x1402de9a4
nop dword [rax]
movzx eax, r10b
lea ebx, [rbx - 1]
movzx ecx, byte [rbx + rdi + 0xb0]
lea r9, [r9 - 1]
xor rcx, rax
movzx r10d, byte [rcx + r11]
mov byte [r9], r10b
add r8d, 0xffffffff
jne 0x1402de980
mov r9d, 0x3f
lea r10, [rdi + 0x12e]
mov r11d, 0x100
nop word [rax + rax]
lea r8d, [r9 + r9]
movzx ecx, byte [r8 + rdi + 0xb0]
lea eax, [r8 + 1]
movzx edx, byte [rax + rdi + 0xb0]
lea r10, [r10 - 2]
imul edx, r11d
mov eax, r9d
dec r9d
add dx, cx
mov word [r10 + 2], dx
test eax, eax
jne 0x1402de9c0
mov al, 1
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1402dec60
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10d, dword [rdx + 0x458]
mov rbx, r8
mov r11d, dword [rdx + 0x45c]
movsxd rdi, r9d
test r9d, r9d
jle 0x1402deccf
nop dword [rax]
nop word [rax + rax]
inc r10b
lea rbx, [rbx + 1]
movzx r10d, r10b
mov r9d, dword [rdx + r10*4 + 0x58]
lea r8, [rdx + r10*4]
lea eax, [r11 + r9]
movzx r11d, al
mov ecx, dword [rdx + r11*4 + 0x58]
mov dword [r8 + 0x58], ecx
mov dword [rdx + r11*4 + 0x58], r9d
add r9b, cl
movzx eax, r9b
movzx ecx, byte [rdx + rax*4 + 0x58]
xor byte [rbx - 1], cl
sub rdi, 1
jne 0x1402dec90
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [rdx + 0x45c], r11d
mov dword [rdx + 0x458], r10d
ret
Function at 0x1402e0b00
Capabilities:
Get socket status

Disassembly:
mov byte [rsp + 0x20], r9b
push rbp
push rsi
push r14
sub rsp, 0x40
movzx r10d, r9b
mov esi, r8d
mov r14d, edx
mov rbp, rcx
cmp r8d, 0x32
jbe 0x1402e0c6b
test edx, edx
je 0x1402e0c6b
mov qword [rsp + 0x30], r15
mov r15, qword [rsp + 0x90]
mov dword [r15], 0xffffffff
cmp dword [rcx + 0x10], 0
jne 0x1402e0b6b
mov rcx, qword [rsp + 0x88]
lea rdx, str.No_sockets_exists_for_fdSetSelect.
mov rax, qword [rcx]
call qword [rax + 0x28]
mov r15, qword [rsp + 0x30]
xor al, al
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
mov qword [rsp + 0x60], rbx
mov al, 1
mov qword [rsp + 0x68], rdi
xor edi, edi
mov qword [rsp + 0x70], r12
mov r12, qword [rsp + 0x98]
mov qword [rsp + 0x38], r13
mov r13, qword [rsp + 0x88]
mov ecx, 1
mov ebx, r14d
cmp esi, edi
jbe 0x1402e0baa
mov ebx, esi
sub ebx, edi
cmp ebx, r14d
cmova ebx, r14d
test al, al
je 0x1402e0bb6
shr ebx, 1
cmp ebx, 1
cmovb ebx, ecx
mov r9, r13
mov qword [rsp + 0x20], r15
movzx r8d, r10b
mov edx, ebx
mov rcx, rbp
call fcn.1402e0ca0
mov ecx, dword [r15]
cmp ecx, 0xffffffff
je 0x1402e0c2b
test ecx, ecx
jg 0x1402e0c2b
add edi, ebx
cmp edi, esi
jae 0x1402e0c4d
test r12, r12
je 0x1402e0bf2
mov rdx, r13
mov rcx, r12
call fcn.1401d15c0
test al, al
jne 0x1402e0bfc
movzx r10d, byte [rsp + 0x78]
xor al, al
jmp 0x1402e0b93
mov rax, qword [r13]
lea rdx, str.socket_set_select_aborted_by_application_callback
mov rcx, r13
call qword [rax + 0x28]
xor eax, eax
mov dword [r15], eax
mov rcx, qword [rbp + 8]
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x1018], eax
test rcx, rcx
je 0x1402e0c29
call fcn.1402256f0
mov al, 1
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
mov rcx, qword [rbp + 8]
xor ebx, ebx
mov dword [rbp + 0x10], ebx
mov dword [rbp + 0x1018], ebx
test rcx, rcx
je 0x1402e0c66
call fcn.1402256f0
mov dword [r15], ebx
jmp 0x1402e0c29
mov rax, qword [rsp + 0x90]
movzx r8d, r10b
mov r9, qword [rsp + 0x88]
mov edx, esi
mov qword [rsp + 0x80], rax
add rsp, 0x40
pop r14
pop rsi
pop rbp
jmp fcn.1402e0ca0