joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a010
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
cmp r8d, 0xfffffffe
je 0x14000a1a6
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rcx + 0xf8]
movzx edi, r9b
mov dword [rsp + 0x20], r8d
mov rsi, rdx
mov rbx, rcx
test r8d, r8d
jg 0x14000a059
bts eax, 0xc
mov dword [rcx + 0xf8], eax
jmp 0x14000a192
bt eax, 0xa
jae 0x14000a08d
mov rcx, qword [rcx + 0x48]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
movsxd rdx, dword [rsp + 0x20]
mov rcx, rsi
call fcn.140009570
mov r8d, dword [rsp + 0x20]
movsxd rax, r8d
test dil, dil
je 0x14000a0d5
add qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14000a0bb
mov r9, qword [rbx + 0xa0]
lea r8, [rsp + 0x20]
mov edx, 7
mov rcx, rbx
call rax
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x14000a192
mov edx, 7
jmp 0x14000a181
mov r8, qword [rbx + 0x88]
mov r9, qword [rbx + 0x78]
cmp rax, r8
mov rdi, r8
cmovbe rdi, rax
test r9, r9
je 0x14000a109
sub r8, rdi
lea rdx, [r9 + rdi]
mov rcx, r9
call fcn.140068bd0
mov r9, qword [rbx + 0x78]
mov r8, qword [rbx + 0x88]
mov rdx, r8
test r9, r9
je 0x14000a144
mov rax, r8
mov rcx, rdi
sub rax, rdi
add rax, r9
je 0x14000a144
test rdi, rdi
je 0x14000a144
nop dword [rax]
nop dword [rax + rax]
mov byte [rax], 0
lea rax, [rax + 1]
sub rcx, 1
jne 0x14000a130
mov rdx, qword [rbx + 0x88]
sub rdx, rdi
mov qword [rbx + 0x88], rdx
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14000a170
mov r9, qword [rbx + 0xa0]
lea r8, [rsp + 0x20]
mov edx, 8
mov rcx, rbx
call rax
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x14000a192
mov edx, 8
mov r9, qword [rbx + 0xb0]
lea r8, [rsp + 0x20]
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000a1b0
Capabilities:
Get local ipv4 addresses
Get socket information
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov rbx, rcx
test byte [rcx + 0xf8], 0x80
je 0x14000a256
mov eax, 2
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov word [rsp + 0x38], ax
movzx eax, word [rcx + 0x2c]
mov word [rsp + 0x3a], ax
mov eax, dword [rcx + 0x30]
mov rcx, qword [rcx + 0x48]
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], r9
call qword [sym.imp.WS2_32.dll_sendto]
mov edi, eax
test eax, eax
jle 0x14000a262
mov rcx, qword [rbx + 0x48]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14000a2b4
cmp dword [rsp + 0x30], 0x10
setne al
mov byte [rbx + 0x28], al
movzx eax, word [rsp + 0x4a]
mov word [rbx + 0x10], ax
mov eax, dword [rsp + 0x4c]
mov dword [rbx + 0x14], eax
jmp 0x14000a262
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jns 0x14000a2ab
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x70
je 0x14000a2a4
cmp eax, 0x8c
je 0x14000a2a4
cmp eax, 0xb
je 0x14000a2a4
cmp eax, 4
je 0x14000a2a4
cmp eax, 0x2714
je 0x14000a2a4
cmp eax, 0x2733
je 0x14000a2a4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x14000a2ad
mov eax, 0xfffffffd
jmp 0x14000a2b6
mov eax, 0xfffffffe
jmp 0x14000a2b6
jg 0x14000a2b4
mov eax, 0xffffffff
jmp 0x14000a2b6
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001a6d0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x14000a2e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov rbx, rcx
test byte [rcx + 0xf8], 0x80
je 0x14000a36a
mov eax, 2
mov qword [rsp + 0x40], r9
mov word [rsp + 0x38], ax
movzx eax, word [rcx + 0x2c]
mov word [rsp + 0x3a], ax
mov eax, dword [rcx + 0x30]
mov rcx, qword [rcx + 0x48]
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jle 0x14000a376
cmp dword [rsp + 0x30], 0x10
setne cl
mov byte [rbx + 0x44], cl
movzx ecx, word [rsp + 0x3a]
mov word [rbx + 0x2c], cx
mov ecx, dword [rsp + 0x3c]
mov dword [rbx + 0x30], ecx
jmp 0x14000a374
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jns 0x14000a3df
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x70
je 0x14000a3c7
cmp eax, 0x8c
je 0x14000a3c7
cmp eax, 0xb
je 0x14000a3c7
cmp eax, 4
je 0x14000a3c7
cmp eax, 0x2714
je 0x14000a3c7
cmp eax, 0x2733
je 0x14000a3c7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x14000a3e3
mov eax, 0xfffffffd
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x50
pop rbx
ret
mov eax, 0xfffffffe
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x50
pop rbx
ret
test eax, eax
jg 0x14000a3e8
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x50
pop rbx
ret
Function at 0x14000a400
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x48], rax
test byte [rcx + 0xf8], 0x80
mov rbx, rcx
mov edx, 0
mov eax, reloc.WS2_32.dll_socket
setne dl
mov edi, 2
inc edx
mov ecx, edi
cmp byte [rbx + 0x44], 0
cmovne ecx, eax
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [rbx + 0xf8]
mov r9, rax
and ecx, 0xfffffff7
mov qword [rbx + 0x48], rax
mov dword [rbx + 0xf8], ecx
cmp rax, 0xffffffffffffffff
jne 0x14000a482
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.socket__:__d
mov rcx, rbx
mov r8d, eax
call fcn.140006780
jmp 0x14000a674
test cl, cl
jns 0x14000a50f
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14000a4a9
mov r9, qword [rbx + 0xa0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 3]
call rax
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x14000a4c8
mov r9, qword [rbx + 0xb0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 3]
call rax
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14000a4e7
mov r9, qword [rbx + 0xa0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call rax
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x14000a674
mov r9, qword [rbx + 0xb0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call rax
jmp 0x14000a674
movzx eax, word [rbx + 0x2c]
lea r8, [rsp + 0x30]
mov word [rsp + 0x3a], ax
mov edx, 0x8004667e
mov eax, dword [rbx + 0x30]
mov rcx, r9
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x40], 0
mov word [rsp + 0x38], di
mov dword [rsp + 0x30], 1
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rbx + 0x48]
lea r9, [rsp + 0x30]
mov edx, 6
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x48]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14000a5b1
mov r9, qword [rbx + 0xa0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 3]
call rax
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x14000a5d0
mov r9, qword [rbx + 0xb0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 3]
call rax
mov rcx, qword [rbx + 0x48]
lea rdx, [rsp + 0x38]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x14000a629
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14000a608
mov r9, qword [rbx + 0xa0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call rax
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x14000a674
mov r9, qword [rbx + 0xb0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call rax
jmp 0x14000a674
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x70
je 0x14000a66d
cmp eax, 0x8c
je 0x14000a66d
cmp eax, 0xb
je 0x14000a66d
cmp eax, 4
je 0x14000a66d
cmp eax, 0x2714
je 0x14000a66d
cmp eax, 0x2733
je 0x14000a66d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.connect:__d
mov rcx, rbx
mov r8d, eax
call fcn.140006780
jmp 0x14000a674
or dword [rbx + 0xf8], 0x10
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a6d0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14000a690
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [rdx + 0x48]
mov rsi, rdx
mov r14, rcx
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
nop
xorps xmm0, xmm0
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
mov rcx, rbx
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a6f3
call fcn.14006c390
cmp dword [rax], 4
je 0x14000a6c0
jmp 0x14000a8b6
mov rdx, qword [r14 + 0x68]
mov rax, 0xffffffffffffffff
add rdx, 0x100
cmovb rdx, rax
lea ecx, [rax + 2]
call fcn.14006bdc8
mov rbx, rax
mov rcx, rdi
test rax, rax
je 0x14000a8b0
mov qword [rax + 8], r14
lea r8, [rsp + 0x30]
mov qword [rax + 0x70], 0x2000
mov edx, 0x8004667e
mov qword [rax + 0x90], 0x2000
inc dword [r14 + 0x30]
mov eax, dword [r14 + 0x30]
mov dword [rbx + 0x50], eax
cmp dword [rsp + 0x34], 0x10
mov dword [rsp + 0x30], 1
setne al
mov byte [rbx + 0x44], al
movzx eax, word [rsp + 0x3a]
mov word [rbx + 0x2c], ax
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x30], eax
mov rax, qword [r14]
mov qword [rbx], rax
mov qword [r14], rbx
mov qword [rbx + 0x48], rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rbx + 0x48]
lea r9, [rsp + 0x30]
mov edx, 6
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x48]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
or dword [rbx + 0xf8], 4
mov eax, dword [rbx + 0xf8]
mov ecx, eax
xor ecx, dword [rsi + 0xf8]
and ecx, 0x400
xor ecx, eax
mov dword [rbx + 0xf8], ecx
movups xmm0, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm0
movsd xmm1, qword [rsi + 0x20]
movsd qword [rbx + 0x20], xmm1
mov eax, dword [rsi + 0x28]
mov dword [rbx + 0x28], eax
mov r10, qword [rsi + 0xa8]
mov qword [rbx + 0xa8], r10
mov rax, qword [rsi + 0xb0]
mov qword [rbx + 0xb0], rax
mov rax, qword [rsi + 0x98]
mov qword [rbx + 0x98], rax
mov r9, qword [rsi + 0xa0]
mov qword [rbx + 0xa0], r9
test rax, rax
je 0x14000a857
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
call rax
mov r10, qword [rbx + 0xa8]
test r10, r10
je 0x14000a870
mov r9, qword [rbx + 0xb0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
call r10
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14000a88f
mov r9, qword [rbx + 0xa0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 5]
call rax
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x14000a8b6
mov r9, qword [rbx + 0xb0]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 5]
call rax
jmp 0x14000a8b6
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a6d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x14000bc80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, r8
mov r10d, r9d
mov r8d, dword [rcx + 0xf8]
lea r9, [rsp + 0x20]
shr r8d, 1
mov rbp, rdx
mov rdi, rcx
and r8b, 1
mov edx, r10d
mov rcx, rbx
call fcn.14000bb60
test byte [rdi + 0xf8], 0x80
mov rsi, rax
je 0x14000bcf5
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000a1b0
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov r8d, eax
mov rcx, rdi
call fcn.14000a010
jmp 0x14000bd0d
mov rdx, qword [rdi + 0x88]
lea r8, [rsp + 0x20]
mov r9, rsi
lea rcx, [rdi + 0x78]
call fcn.1400094a0
test byte [rdi + 0xf8], 0x80
je 0x14000bd37
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14000a1b0
xor r9d, r9d
mov r8d, eax
mov rdx, rbp
mov rcx, rdi
call fcn.14000a010
jmp 0x14000bd4d
mov rdx, qword [rdi + 0x88]
lea rcx, [rdi + 0x78]
mov r9, rbx
mov r8, rbp
call fcn.1400094a0
test byte [rdi + 0xf8], 2
je 0x14000bd96
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14000bd96
mov rdx, qword [rdi + 0x88]
sub rdx, rbx
add rdx, rax
xor eax, eax
test rbx, rbx
je 0x14000bd96
nop dword [rax]
nop word [rax + rax]
mov rcx, rax
and ecx, 3
movzx ecx, byte [rcx + rdx - 4]
xor byte [rax + rdx], cl
inc rax
cmp rax, rbx
jb 0x14000bd80
lea rax, [rbx + rsi]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140011e80
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], ecx
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r8
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov dword [rsp + 0x24], 0
xor r9d, r9d
xor bl, bl
movdqu xmmword [rsp + 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140011f1d
movsxd rcx, dword [0x1400d1a7c]
lea rdx, [rsp + 0x48]
xor r9d, r9d
lea r8d, [r9 + 8]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 8
jne 0x140011f0d
mov rcx, qword [rsp + 0x38]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx ebx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140011f1d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x60
pop rbx
ret
Function at 0x1400140c0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rbp + 0x150], rax
xorps xmm0, xmm0
mov rbx, rcx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
test rcx, rcx
je 0x14001425e
cmp qword [rcx], 0
je 0x14001425e
mov eax, dword [rcx + 8]
dec eax
cmp eax, 1
ja 0x14001425e
mov ecx, dword [rcx + 0x28]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140014136
cmp ecx, 3
jne 0x14001425e
cmp qword [rbx + 0x30], 0
je 0x14001425e
mov qword [rsp + 0x20], rbx
cmp ecx, 3
jne 0x140014161
mov rdx, qword [rbx + 0x30]
lea r8, [0x1400a62d4]
lea rcx, [rsp + 0x28]
call fcn.14006aa10
cmp qword [rsp + 0x28], 0
je 0x14001426d
xorps xmm0, xmm0
lea rdx, [rbp - 0x50]
movups xmmword [rbp - 0x70], xmm0
mov ecx, 0x202
mov dword [rbp - 0x68], 0xffffffff
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x60], xmm0
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rdx, qword [rbx]
lea rax, str.udp:__8.8.8.8:53
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x20]
lea rax, str.udp:___2001:4860:4860::8888_:53
mov dword [rsp + 0x68], 0xbb8
lea r8, [0x140014290]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x40]
call fcn.140009df0
test rax, rax
je 0x140014206
lea rcx, [0x140009040]
mov qword [rax + 0xa8], rcx
cmp byte [rsp + 0x30], 0
jne 0x140014206
nop dword [rax]
mov edx, 0x1f4
lea rcx, [rsp + 0x40]
call fcn.14000ae10
cmp byte [rsp + 0x30], 0
je 0x1400141f0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140014221
nop
mov rbx, qword [rcx + 0x30]
call fcn.14006ac0c
mov rcx, rbx
test rbx, rbx
jne 0x140014210
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], 0
test rax, rax
je 0x140014252
nop dword [rax]
nop word [rax + rax]
or dword [rax + 0xf8], 0x1000
mov rax, qword [rax]
test rax, rax
jne 0x140014240
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14000ae10
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14001426d
call fcn.140069e78
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14001a6d0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rbp
ret
Function at 0x140015c10
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, str.GlobalTermService_4cdc
xor edx, edx
mov ecx, 0x80000000
call qword [sym.imp.KERNEL32.dll_OpenEventA]
test rax, rax
jne 0x140015c71
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140015c7a
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14001a6d0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov dword [rsp + 0x20], edi
xor bl, bl
lea r8d, [rdi + 1]
call qword [sym.imp.IPHLPAPI.DLL_GetTcpTable]
cmp eax, 0x7a
jne 0x140015c52
mov ecx, dword [rsp + 0x20]
call fcn.14006bdc0
mov rsi, rax
test rax, rax
je 0x140015c52
lea r8d, [rdi + 1]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.IPHLPAPI.DLL_GetTcpTable]
test eax, eax
jne 0x140015ced
nop
cmp edi, dword [rsi]
jae 0x140015ced
lea rcx, [rdi + rdi*4]
cmp dword [rsi + rcx*4 + 4], 2
jne 0x140015ce7
movzx ecx, word [rsi + rcx*4 + 0xc]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ebx, ax
call fcn.140015730
cmp ebx, eax
sete bl
inc edi
test bl, bl
je 0x140015cc0
mov rcx, rsi
call fcn.14006ac0c
test bl, bl
je 0x140015c52
mov al, 1
jmp 0x140015c54
Function at 0x1400176d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp byte [0x1400d69b0], 0
mov rdi, r8
mov rsi, rdx
mov ebp, ecx
je 0x140017874
mov rcx, r8
mov qword [rsp + 0x160], rbx
call fcn.14006bdc0
mov rbx, rax
test rax, rax
je 0x14001786c
mov ecx, ebp
mov qword [rsp + 0x168], r14
call fcn.140018250
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov ecx, r9d
nop dword [rax + rax]
mov byte [rdx], cl
lea rdx, [rdx + 1]
inc ecx
cmp ecx, 0x100
jl 0x140017740
mov r10d, r9d
lea r14, str.eCZ
mov r11d, r9d
nop dword [rax]
mov eax, r10d
lea rdx, [rsp + 0x20]
add rdx, rax
mov eax, r10d
and eax, 0xf
inc r10d
movzx r8d, byte [rdx]
movzx ecx, byte [rax + r14]
add ecx, r11d
add ecx, r8d
movzx r11d, cl
movzx eax, byte [rsp + r11 + 0x20]
mov byte [rdx], al
mov byte [rsp + r11 + 0x20], r8b
cmp r10d, 0x100
jl 0x140017760
mov r14, qword [rsp + 0x168]
mov r11, rdi
mov qword [rsp + 0x120], r9
mov r8, rbx
test rdi, rdi
je 0x14001780a
mov r10d, r9d
sub rsi, rbx
nop
lea eax, [r9 + 1]
movzx r9d, al
lea r8, [r8 + 1]
movzx edx, byte [rsp + r9 + 0x20]
lea eax, [r10 + rdx]
movzx r10d, al
movzx eax, byte [rsp + r10 + 0x20]
mov byte [rsp + r9 + 0x20], al
mov byte [rsp + r10 + 0x20], dl
movzx ecx, byte [rsp + r9 + 0x20]
add rcx, rdx
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x20]
xor cl, byte [rsi + r8 - 1]
mov byte [r8 - 1], cl
sub r11, 1
jne 0x1400177c0
mov rdx, rbp
lea rcx, [0x1400d6920]
call fcn.14000cae0
mov edi, edi
lea rcx, [0x1400d6920]
mov edx, edi
call fcn.14000d110
mov rax, qword [0x1400d6950]
mov r8d, edi
mov rcx, qword [0x1400d6948]
mov rdx, rbx
sub rax, rcx
cmp rax, rdi
jae 0x140017853
lea rcx, [0x1400d6920]
call fcn.14000c9d0
jmp 0x14001785f
call fcn.140068bd0
add qword [0x1400d6948], rdi
call fcn.140018760
mov rcx, rbx
call fcn.14006ac0c
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019fe0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
lea r8, [0x1400a7a70]
mov word [rsp + 0x40], ax
mov rdi, rdx
mov eax, dword [0x1400d680c]
xorps xmm0, xmm0
mov r9d, ecx
mov dword [rsp + 0x20], eax
mov ebx, setsockopt
lea rcx, [rsp + 0x30]
mov edx, ebx
movups xmmword [rsp + 0x30], xmm0
call fcn.14000f3f0
lea r10, [rsp + 0x30]
mov r9d, 0xffffffff
nop dword [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor r9d, eax
mov eax, r9d
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and r9b, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov r8d, eax
xor r8d, 0x82f63b78
and dl, 1
cmove r8d, eax
mov ecx, r8d
shr ecx, 1
mov r9d, ecx
xor r9d, 0x82f63b78
and r8b, 1
cmove r9d, ecx
sub rbx, 1
jne 0x14001a040
not r9d
lea r8, str._08x
lea edx, [rbx + 9]
mov rcx, rdi
call fcn.14000f3f0
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a6d0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14001a120
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
mov eax, 0xffffffff
test r8, r8
je 0x14001a1d3
movzx ecx, byte [r9]
lea r9, [r9 + 1]
xor eax, ecx
mov ecx, eax
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
and dl, 1
cmove eax, ecx
sub r8, 1
jne 0x14001a131
not eax
ret