joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800ecfb0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x20
call fcn.1800b9c10
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1800ed042
movzx eax, byte [rcx]
test al, al
je 0x1800ed042
mov qword [rsp + 0x30], rsi
mov esi, 0x100
nop
movsx ecx, al
call fcn.1800f2b00
mov edx, ebx
inc rdi
mov r11d, eax
mov eax, ebx
mov ecx, 0x20
or r11d, esi
add esi, 0x100
mov r8d, r11d
shr r8d, 2
xor r8d, r11d
and r8d, 0xf
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
imul r11d, r11d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r11d
test al, al
jne 0x1800ecfe0
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1801190f0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
mov eax, 0x20
call fcn.1800b9c10
sub rsp, rax
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
movzx ebp, r9w
mov qword [rdi], 0
mov r12d, r8d
mov r13d, edx
mov byte [r14], 0
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rsi, rax
test rax, rax
je 0x1801191ca
cmp word [rax + 0x10], 2
mov qword [rsp + 0x40], rbx
jne 0x18011918d
cmp word [rax + 0x12], 4
jne 0x18011918d
mov rbx, qword [rax + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18011918d
mov r9d, dword [rcx]
movzx r8d, bp
mov edx, r12d
mov ecx, r13d
call fcn.180119040
mov qword [rdi], rax
test rax, rax
je 0x1801191c3
mov rcx, qword [rbx + 8]
add rbx, 8
lea rdi, [rax + 0x28]
test rcx, rcx
jne 0x180119162
mov r8, qword [rsi]
mov r9d, 0x400
mov rcx, r14
lea edx, [r9 + 1]
call fcn.1800bc8b8
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
mov eax, 8
jmp 0x1801191a4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2af9
je 0x1801191e1
dec eax
je 0x1801191ef
dec eax
je 0x1801191e8
dec eax
mov eax, 0x2af9
jmp 0x1801191a9
mov eax, 0x2afb
jmp 0x1801191a9
mov eax, 0x2afa
jmp 0x1801191a9
Function at 0x180119a60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x280
call fcn.1800b9c10
sub rsp, rax
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp dword [0x1802efe3c], 0
lea rax, [0x1801194d0]
lea rbx, str.getaddrinfo
mov qword [rsp + 0x28], rax
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x1801197f0]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [fcn.180119470]
mov qword [rsp + 0x48], rax
jne 0x180119c39
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x180119c2f
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
mov qword [rsp + 0x290], rsi
call fcn.1800ae900
lea r8, str.ws2_32
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1800b2078
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180119b5a
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x180119bba
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1800ae900
lea r8, str.wship6
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1800b2078
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180119c27
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x180119bba
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x180119c27
mov qword [rsp + 0x298], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
nop dword [rax]
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x180119c16
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x180119bd0
mov rax, qword [rsp + 0x28]
mov qword [0x1802e6168], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1802e6178], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.180119470], rax
jmp 0x180119c1f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov dword [0x1802efe3c], 1
movzx eax, bp
lea rcx, str.getaddrinfo
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800acfa0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rbp
ret
Function at 0x18011a570
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x28
call fcn.1800b9c10
sub rsp, rax
cmp dword [0x1802efff8], 0
jne 0x18011a628
lea rcx, [0x1802efe60]
xor edx, edx
mov r8d, 0x198
mov dword [0x1802efff8], 1
call fcn.1800b45b0
lea rdx, [0x1802efe60]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18011a628
call fcn.1800cb1c0
lea r8, str.BIO_sock_init
lea rcx, str.crypto_bio_bio_sock.c
mov edx, 0x92
call fcn.1800cb230
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_wsastartup__
mov edx, eax
mov ecx, 2
call fcn.1800cb480
call fcn.1800cb1c0
lea r8, str.BIO_sock_init
lea rcx, str.crypto_bio_bio_sock.c
mov edx, 0x94
call fcn.1800cb230
xor r8d, r8d
lea edx, [r8 + 0x7a]
lea ecx, [rdx - 0x5a]
call fcn.1800cb480
or eax, 0xffffffff
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret

Function at 0x18011a670
Capabilities:
Set socket configuration

Disassembly:
push rbx
mov eax, 0x20
call fcn.1800b9c10
sub rsp, rax
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
movsxd rcx, ecx
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
jns 0x18011a6d2
call fcn.1800cb1c0
lea r8, str.BIO_socket_ioctl
lea rcx, str.crypto_bio_bio_sock.c
mov edx, 0xcf
call fcn.1800cb230
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_ioctlsocket__
mov edx, eax
mov ecx, 2
call fcn.1800cb480
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x20
pop rbx
ret

Function at 0x18011a750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov rbx, r9
mov r9, rcx
xor r11d, r11d
xor cl, cl
mov r10, rdx
test r9, r9
je 0x18011a7d7
test rdx, rdx
je 0x18011a7d7
movzx eax, byte [r9]
test r8d, r8d
jne 0x18011a78a
cmp rax, 0x7f
jbe 0x18011a7cf
mov r11d, 1
mov edx, r11d
add rdx, r10
jmp 0x18011a7df
mov cl, 0xff
cmp rax, 0x80
jbe 0x18011a7a2
mov r11d, 1
mov edx, r11d
add rdx, r10
jmp 0x18011a7df
jne 0x18011a7cf
mov edx, 1
cmp rdx, r10
jae 0x18011a7c0
nop
movzx eax, byte [rdx + r9]
inc rdx
or r11d, eax
cmp rdx, r10
jb 0x18011a7b0
neg r11d
sbb cl, cl
movzx ecx, cl
mov r11d, ecx
and r11d, 1
mov edx, r11d
add rdx, r10
jmp 0x18011a7df
mov edx, 1
mov r10, r11
test rbx, rbx
je 0x18011a82f
mov rax, qword [rbx]
test rax, rax
je 0x18011a82f
mov r8d, r11d
mov byte [rax], cl
movzx r11d, cl
add r8, rax
mov eax, r11d
and eax, 1
test r10, r10
je 0x18011a82c
add r8, r10
nop word [rax + rax]
movzx ecx, byte [r10 + r9 - 1]
dec r10
dec r8
xor ecx, r11d
add eax, ecx
mov byte [r8], al
shr eax, 8
test r10, r10
jne 0x18011a810
add qword [rbx], rdx
mov rbx, qword [rsp + 8]
mov rax, rdx
ret
Function at 0x18011a840
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1800b9c10
sub rsp, rax
mov r10, rcx
test r9, r9
jne 0x18011a88a
call fcn.1800cb1c0
lea r8, str.c2i_ibuf
lea rcx, str.crypto_asn1_a_int.c
mov edx, 0xa0
call fcn.1800cb230
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.1800cb480
xor eax, eax
add rsp, 0x28
ret
movzx r11d, byte [r8]
and r11d, 0x80
test rdx, rdx
je 0x18011a89d
mov dword [rdx], r11d
cmp r9, 1
jne 0x18011a8c1
test rcx, rcx
je 0x18011a8b7
movzx eax, byte [r8]
test r11d, r11d
je 0x18011a8b5
not al
inc al
mov byte [rcx], al
mov eax, 1
add rsp, 0x28
ret
movzx eax, byte [r8]
mov qword [rsp + 0x20], rbx
xor ebx, ebx
test al, al
jne 0x18011a8d7
mov ebx, 1
jmp 0x18011a908
cmp al, 0xff
jne 0x18011a951
mov ecx, 1
mov edx, ebx
cmp rcx, r9
jae 0x18011a8ff
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
or edx, eax
cmp rcx, r9
jb 0x18011a8f0
test edx, edx
setne bl
test ebx, ebx
je 0x18011a951
movzx eax, byte [r8 + 1]
and eax, 0x80
cmp r11d, eax
jne 0x18011a951
call fcn.1800cb1c0
lea r8, str.c2i_ibuf
lea rcx, str.crypto_asn1_a_int.c
mov edx, 0xc1
call fcn.1800cb230
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.1800cb480
mov rbx, qword [rsp + 0x20]
xor eax, eax
add rsp, 0x28
ret
movsxd rcx, ebx
sub r9, rcx
test r10, r10
je 0x18011a99c
neg r11d
mov rdx, r9
sbb al, al
add r8, rcx
movzx eax, al
mov ecx, eax
mov r11d, eax
and ecx, 1
test r9, r9
je 0x18011a99c
add r8, r9
nop word [rax + rax]
movzx eax, byte [r8 - 1]
dec r8
dec rdx
xor eax, r11d
add ecx, eax
mov byte [rdx + r10], cl
shr ecx, 8
test rdx, rdx
jne 0x18011a980
mov rax, r9
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x18011a9b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1800b9c10
sub rsp, rax
mov r8d, dword [rcx + 4]
mov r9, rdx
movsxd rdx, dword [rcx]
mov rcx, qword [rcx + 8]
and r8d, 0x100
add rsp, 0x28
jmp fcn.18011a750
Function at 0x180126dc0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1a8
call fcn.1800b9c10
sub rsp, rax
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r14, qword [rsp + 0x210]
mov r13, r8
mov r8, qword [rsp + 0x220]
mov rsi, rcx
mov rcx, qword [rsp + 0x218]
mov r12, rdx
lea rdx, str.SHA512
mov r15, r9
call fcn.1800dfaf0
mov rdi, rax
call fcn.1800de700
xor ebp, ebp
mov rbx, rax
test rdi, rdi
je 0x180126fcb
test rax, rax
je 0x180126fcb
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1800e0240
test eax, eax
je 0x180126fcb
lea r8d, [rbp + 0x20]
mov rdx, r14
mov rcx, rbx
call fcn.1800de730
test eax, eax
je 0x180126fcb
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.1800de850
test eax, eax
je 0x180126fcb
movzx eax, byte [rsp + 0xef]
and byte [rsp + 0xd0], 0xf8
xor r8d, r8d
and al, 0x3f
mov rdx, rdi
mov rcx, rbx
or al, 0x40
mov byte [rsp + 0xef], al
call fcn.1800e0240
test eax, eax
je 0x180126fcb
lea r8d, [rbp + 0x20]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.1800de730
test eax, eax
je 0x180126fcb
mov r8, r13
mov rdx, r12
mov rcx, rbx
call fcn.1800de730
test eax, eax
je 0x180126fcb
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x110]
mov rcx, rbx
call fcn.1800de850
test eax, eax
je 0x180126fcb
lea rcx, [rsp + 0x110]
call fcn.180123ed0
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.1801229a0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180121140
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1800e0240
test eax, eax
je 0x180126fcb
lea r8d, [rbp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.1800de730
test eax, eax
je 0x180126fcb
lea r8d, [rbp + 0x20]
mov rdx, r15
mov rcx, rbx
call fcn.1800de730
test eax, eax
je 0x180126fcb
mov r8, r13
mov rdx, r12
mov rcx, rbx
call fcn.1800de730
test eax, eax
je 0x180126fcb
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x150]
mov rcx, rbx
call fcn.1800de850
test eax, eax
je 0x180126fcb
lea rcx, [rsp + 0x150]
call fcn.180123ed0
lea rcx, [rsi + 0x20]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x150]
call fcn.180124f10
mov ebp, 1
lea rcx, [rsp + 0x110]
mov edx, 0x40
call fcn.1800ca7c0
lea rcx, [rsp + 0xd0]
mov edx, 0x40
call fcn.1800ca7c0
mov rcx, rdi
call fcn.1800dedf0
mov rcx, rbx
call fcn.1800def40
mov eax, ebp
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1801272f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.1800b9c10
sub rsp, rax
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rsi, rdx
mov rbx, r8
lea rdx, str.SHA512
mov r8, r9
call fcn.1800dfaf0
mov rdi, rax
test rax, rax
je 0x180127373
xor r9d, r9d
lea r8, [rsp + 0x150]
mov rcx, rbx
lea edx, [r9 + 0x20]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.1800e02d0
mov rcx, rdi
mov ebx, eax
call fcn.1800dedf0
test ebx, ebx
jne 0x18012737a
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.1800ca7c0
xor eax, eax
jmp 0x18012742e
movzx eax, byte [rsp + 0x16f]
and byte [rsp + 0x150], 0xf8
lea rdx, [rsp + 0x150]
and al, 0x3f
lea rcx, [rsp + 0xb0]
or al, 0x40
mov byte [rsp + 0x16f], al
call fcn.1801229a0
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.180120620
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x58]
call fcn.18011f710
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x80]
call fcn.18011f710
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.18011f470
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.18011f470
movzx eax, byte [rsp + 0x30]
lea rcx, [rsp + 0x150]
shl al, 7
mov edx, 0x40
xor byte [rsi + 0x1f], al
call fcn.1800ca7c0
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x180127490
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
mov eax, 0x170
call fcn.1800b9c10
sub rsp, rax
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rax, qword [rdx]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
mov qword [rbp + 0x40], rax
mov rax, qword [rdx + 8]
and byte [rbp + 0x40], 0xf8
mov qword [rbp + 0x48], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp + 0x50], rax
mov rax, qword [rdx + 0x18]
lea rdx, [rbp + 0x40]
mov qword [rbp + 0x58], rax
shr rax, 0x38
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x5f], al
call fcn.1801229a0
mov r15d, dword [rbp - 0x80]
mov eax, dword [rsp + 0x78]
mov r13d, dword [rbp - 0x7c]
mov edx, dword [rbp - 0x64]
add eax, dword [rbp - 0x60]
mov esi, dword [rbp - 0x78]
mov r14d, dword [rbp - 0x4c]
mov ebx, dword [rbp - 0x74]
mov r12d, dword [rbp - 0x48]
mov r10d, dword [rbp - 0x70]
mov edi, dword [rbp - 0x44]
mov ecx, dword [rbp - 0x6c]
mov r11d, dword [rbp - 0x40]
mov r8d, dword [rbp - 0x68]
mov r9d, dword [rbp - 0x3c]
mov dword [rbp - 0x10], eax
mov eax, dword [rsp + 0x7c]
add eax, dword [rbp - 0x5c]
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0x58]
add eax, r15d
mov dword [rbp - 8], eax
mov eax, dword [rbp - 0x54]
add eax, r13d
mov dword [rbp - 4], eax
mov eax, dword [rbp - 0x50]
add eax, esi
mov dword [rbp], eax
lea eax, [r14 + rbx]
sub r14d, ebx
mov dword [rbp + 4], eax
lea eax, [r12 + r10]
sub r12d, r10d
mov dword [rbp + 8], eax
lea eax, [rdi + rcx]
sub edi, ecx
mov dword [rbp + 0xc], eax
lea eax, [r11 + r8]
sub r11d, r8d
mov dword [rbp + 0x10], eax
lea eax, [r9 + rdx]
mov dword [rbp + 0x2c], r14d
mov dword [rbp + 0x14], eax
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0x30], r12d
sub eax, dword [rsp + 0x78]
mov dword [rbp + 0x34], edi
mov dword [rbp + 0x38], r11d
mov dword [rbp + 0x18], eax
mov eax, dword [rbp - 0x5c]
sub eax, dword [rsp + 0x7c]
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp - 0x58]
sub eax, r15d
mov dword [rbp + 0x20], eax
mov eax, dword [rbp - 0x54]
sub eax, r13d
mov dword [rbp + 0x24], eax
mov eax, dword [rbp - 0x50]
sub eax, esi
sub r9d, edx
lea rdx, [rbp + 0x18]
mov dword [rbp + 0x3c], r9d
mov dword [rbp + 0x28], eax
lea rcx, [rsp + 0x28]
call fcn.180120620
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.18011f710
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x10]
call fcn.18011f470
lea rcx, [rbp + 0x40]
mov edx, 0x20
call fcn.1800ca7c0
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1800acfa0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18012bfd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xe8
call fcn.1800b9c10
sub rsp, rax
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r13, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x158]
mov r14, qword [rsp + 0x170]
mov rax, rcx
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x168]
mov ebp, dword [rcx]
mov qword [rsp + 0x38], rcx
mov rcx, rax
mov rbx, r9
mov qword [rsp + 0x40], r8
mov r15, rdx
xor r12d, r12d
call fcn.1801443a0
mov r8d, ebp
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x48], rax
call fcn.1801a07d0
test eax, eax
je 0x18012c173
mov esi, dword [rsp + 0x160]
inc ebp
test esi, esi
je 0x18012c083
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov r8, rdi
mov rdx, r13
call fcn.1800d2cb0
test eax, eax
jle 0x18012c175
mov r8, rdi
mov rdx, r13
mov rcx, rbx
call fcn.1800acfd0
lea rcx, [rsp + 0x90]
mov r8, rdi
mov rdx, r13
call fcn.1800acfd0
lea r11d, [rdi - 1]
movsxd rax, r11d
test r11d, r11d
js 0x18012c0ba
inc byte [rax + rbx]
jne 0x18012c0ba
dec rax
jns 0x18012c0b0
mov rsi, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
xor r9d, r9d
mov rdx, rdi
mov rcx, r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
call fcn.1800e02d0
test eax, eax
je 0x18012c175
lea r8, [rsp + 0x90]
xor r9d, r9d
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
call fcn.1800e02d0
test eax, eax
je 0x18012c175
test edi, edi
jle 0x18012c125
mov rcx, r12
mov edx, edi
movzx eax, byte [rsp + rcx + 0x90]
inc rcx
xor byte [rsp + rcx + 0x4f], al
dec rdx
jne 0x18012c111
or byte [rsp + 0x50], 0x80
or byte [rsp + rdi + 0x4f], 1
lea rcx, [rsp + 0x50]
mov r8, r15
mov edx, edi
call fcn.1800e4520
test rax, rax
je 0x18012c175
mov rdx, qword [rsp + 0x30]
mov r8, r14
mov rcx, r15
call fcn.1801a19a0
test eax, eax
jg 0x18012c1a3
jne 0x18012c175
mov r8d, ebp
xor edx, edx
mov rcx, r14
mov esi, 1
call fcn.1801a07d0
test eax, eax
jne 0x18012c062
inc ebp
mov rax, qword [rsp + 0x38]
mov dword [rax], ebp
mov eax, r12d
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r12d, 1
jmp 0x18012c175
Function at 0x1801308d0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x28
call fcn.1800b9c10
sub rsp, rax
mov r10, rcx
cmp dword [rsp + 0x50], r9d
jne 0x1801309c4
movzx eax, byte [r8]
cmp al, 0x6a
je 0x1801308fb
cmp al, 0x6b
jne 0x1801309c4
mov qword [rsp + 0x20], rbx
lea rdx, [r8 + 1]
cmp al, 0x6b
jne 0x18013097c
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x180130928
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x180130928
cmp cl, 0xbb
jne 0x180130969
inc eax
cmp eax, ebx
jl 0x180130912
sub ebx, eax
test eax, eax
jne 0x180130980
call fcn.1800cb1c0
lea r8, str.RSA_padding_check_X931
mov edx, 0x56
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.1800cb230
mov edx, 0x8a
xor r8d, r8d
lea ecx, [r8 + 4]
call fcn.1800cb480
mov rbx, qword [rsp + 0x20]
or eax, 0xffffffff
add rsp, 0x28
ret
call fcn.1800cb1c0
lea r8, str.RSA_padding_check_X931
mov edx, 0x4e
jmp 0x18013093f
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1801309ad
call fcn.1800cb1c0
lea r8, str.RSA_padding_check_X931
lea rcx, str.crypto_rsa_rsa_x931.c
mov edx, 0x5f
call fcn.1800cb230
mov edx, 0x8b
jmp 0x180130950
mov r8d, ebx
mov rcx, r10
call fcn.1800acfd0
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.1800cb1c0
lea r8, str.RSA_padding_check_X931
lea rcx, str.crypto_rsa_rsa_x931.c
mov edx, 0x43
call fcn.1800cb230
xor r8d, r8d
mov edx, 0x89
lea ecx, [r8 + 4]
call fcn.1800cb480
or eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x18016afb0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
mov r9, rcx
test rdx, rdx
je 0x18016b029
test r8, r8
je 0x18016b029
mov r10, qword [rcx + 0x28]
cmp r8, r10
cmovb r10, r8
test r10, r10
je 0x18016aff0
add rcx, 0x34
sub rdx, r9
nop word [rax + rax]
movzx eax, byte [rdx + rcx - 0x34]
inc rcx
xor byte [rcx - 1], al
dec r10
jne 0x18016afe0
mov rax, qword [r9 + 0x28]
cmp r8, rax
jbe 0x18016b029
sub r8, rax
mov eax, reloc.WS2_32.dll_recv
cmp r8, rax
cmova r8, rax
xor ecx, ecx
test r8, r8
je 0x18016b029
nop
mov rax, qword [r9 + 0x28]
add rax, rcx
inc rcx
movzx eax, byte [rax + r11]
xor byte [r9 + rcx + 0x53], al
cmp rcx, r8
jb 0x18016b010
repz ret

Function at 0x18016b030
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, reloc.WS2_32.dll_WSASetLastError
call fcn.1800b9c10
sub rsp, rax
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rdx]
mov r11, rcx
mov cl, 2
cmp qword [r11 + 0x28], 0x10
mov qword [rsp + 0x38], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rdx]
mov qword [rsp + 0x48], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x50], rax
je 0x18016b08f
mov rax, qword [rdx]
mov cl, 3
mov qword [rsp + 0x58], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x60], rax
movzx ebx, cl
lea rdx, [r11 + 0x80]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
shl ebx, 4
movsxd r9, ebx
test ebx, ebx
jle 0x18016b0d1
lea r10, [rsp + 0x38]
mov r8, rdx
sub r10, rdx
nop word [rax + rax]
movzx eax, byte [r10 + r8]
inc r8
xor byte [r8 - 1], al
dec r9
jne 0x18016b0c0
mov rcx, qword [r11 + 0x10]
lea r8, [rsp + 0x30]
mov r9, rdx
mov dword [rsp + 0x20], ebx
call fcn.1800c45d0
test eax, eax
je 0x18016b108
cmp dword [rsp + 0x30], ebx
jne 0x18016b108
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0x70
pop rbx
ret
Function at 0x18016b120
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, reloc.WS2_32.dll_WSASetLastError
call fcn.1800b9c10
sub rsp, rax
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
lea rdx, [rcx + 0x80]
xor ebx, ebx
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
mov qword [rdx + 0x20], rax
mov qword [rdx + 0x28], rax
cmp qword [rcx + 0x28], 0x10
mov qword [rsp + 0x49], rax
mov qword [rsp + 0x59], rax
setne bl
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x39], rax
add ebx, 2
mov qword [rsp + 0x41], rax
mov qword [rsp + 0x51], rax
shl ebx, 4
mov dword [rsp + 0x61], eax
mov word [rsp + 0x65], ax
mov byte [rsp + 0x67], al
mov byte [rsp + 0x4b], 1
mov byte [rsp + 0x5b], 2
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
movsxd r9, ebx
test ebx, ebx
jle 0x18016b1d1
lea r10, [rsp + 0x38]
mov r8, rdx
sub r10, rdx
nop dword [rax]
movzx eax, byte [r10 + r8]
inc r8
xor byte [r8 - 1], al
dec r9
jne 0x18016b1c0
mov rcx, qword [rcx + 0x10]
lea r8, [rsp + 0x30]
mov r9, rdx
mov dword [rsp + 0x20], ebx
call fcn.1800c45d0
test eax, eax
je 0x18016b208
cmp dword [rsp + 0x30], ebx
jne 0x18016b208
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0x70
pop rbx
ret