joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400208b0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx ecx, word [rcx]
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x140020a97
mov rsi, rax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0xfffffffb
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140020a7e
cmp word [r14], 0x17
jne 0x140020955
movzx eax, bl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov rcx, rsi
mov edx, 0x29
mov r8d, 0x1b
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, r14
xor edx, edx
call fcn.14001e940
mov rcx, rsi
mov rdx, r14
mov r8d, eax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x140020a7e
mov ecx, 0x100
call fcn.140263580
mov r15, rax
mov rcx, rax
mov rdx, rsi
call fcn.14000dd50
mov qword [r15 + 0xa0], rsi
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [r15], rax
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [r15 + 0x10], rax
mov qword [r15 + 0xa8], 0
lea rcx, [r15 + 0xb0]
lea rdx, [method.icu_68::SimpleFilteredSentenceBreakIterator.virtual_16]
mov r8d, 4
call fcn.140023b00
mov byte [r15 + 0xc8], 1
lea rax, [0x14029e370]
mov qword [r15], rax
lea rax, [0x14029e3d0]
mov qword [r15 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [r15 + 0xd0], xmm0
mov dword [r15 + 0xe0], 0
movups xmmword [r15 + 0xe8], xmm0
mov dword [r15 + 0xf8], 0
mov dword [r15 + 0x50], 4
mov rcx, r14
call fcn.14001ec40
test rax, rax
jne 0x140020aba
mov rcx, r15
call fcn.14001f380
cmp rax, 0xffff
jne 0x140020aba
mov rcx, r14
mov rdx, rdi
mov r8d, ebx
call fcn.1400208b0
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lock dec qword [r15 + 8]
jne 0x140020a74
mov rax, qword [r15]
mov rcx, r15
mov edx, 1
call qword [rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140020a9e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140263300
mov rax, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rdi, rdi
mov edx, 0x7fffffff
cmovg edx, edi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x140020ad8
mov rdi, r15
jmp 0x140020a9e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lock dec qword [r15 + 8]
jne 0x140020a8f
mov rax, qword [r15]
mov rcx, r15
mov edx, 1
call qword [rax]
jmp 0x140020a8f
Function at 0x140021a80
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x37]
lea r9, [rsp + 0x30]
mov rcx, rax
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140021adb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x140021af4
cmp dword [rsp + 0x30], 1
movzx eax, byte [rsp + 0x37]
mov ecx, 0xffffffff
cmove ecx, eax
mov dword [rsi], ecx
mov sil, 1
jmp 0x140021af6
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140263300
mov eax, esi
add rsp, 0x40
pop rsi
ret

Function at 0x140022f20
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
movzx ecx, word [rcx]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
test rax, rax
js 0x140022f7c
mov rcx, rsi
xor edx, edx
call fcn.14001e940
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmove rdi, rax
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x140022f90
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x24]
mov edx, 0x4004667f
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
mov eax, dword [rsp + 0x24]
mov rsi, 0xffffffffffffffff
cmovne rsi, rax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140263300
mov rax, rsi
add rsp, 0x30
pop rsi
ret

Function at 0x140022fe0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x24], 0x80
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x24]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140023026
lea rcx, [rsp + 0x28]
call fcn.14001ec40
mov rsi, rax
jmp 0x140023028
xor esi, esi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140263300
mov rax, rsi
add rsp, 0xb0
pop rsi
ret

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

Disassembly:
sub rsp, 0x28
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cdqe
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x28
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cdqe
add rsp, 0x28
ret
Function at 0x140024860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x18
xor r10d, r10d
test rdx, rdx
setg al
jle 0x140024a33
test r9, r9
jle 0x140024a33
lea rax, [rcx + 1]
mov qword [rsp + 8], rax
xor r10d, r10d
lea r11, [0x1402d4c90]
lea rsi, [0x1402d4d90]
lea rbx, [0x1402d4db0]
xor r15d, r15d
mov qword [rsp], r8
movzx ebp, byte [rcx + r15]
test bpl, bpl
js 0x1400248d0
mov r12d, 1
jmp 0x140024a01
mov eax, ebp
movsx r12, byte [rax + r11]
add rax, 0xffffffffffffff40
cmp rax, 0x3d
ja 0x1400249da
mov r11, rdx
sub r11, r15
cmp r11, 2
mov eax, 1
cmovl r11, rax
dec r11
cmp r12, 3
mov r13d, 2
cmovge r13, r12
lea rax, [r13 - 2]
cmp r11, rax
jbe 0x140024a4e
lea r8, [r13 - 1]
test rax, rax
mov qword [rsp + 0x10], r8
je 0x140024a1e
mov rax, qword [rsp + 8]
lea r14, [rax + r15]
mov rax, r8
and rax, 0xfffffffffffffffe
neg rax
mov r11d, 1
xor edi, edi
nop word cs:[rax + rax]
movzx esi, byte [r14 + r11 - 1]
mov ebx, esi
and bl, 0xc0
cmp bl, 0x80
setne bl
or bl, dil
movzx r8d, byte [r14 + r11]
mov edi, r8d
and dil, 0xc0
cmp dil, 0x80
setne dil
or dil, bl
shl ebp, 0xc
shl esi, 6
add ebp, r8d
add ebp, esi
lea r8, [rax + r11]
add r8, 2
add r11, 2
cmp r8, 1
jne 0x140024950
test byte [rsp + 0x10], 1
je 0x1400249bf
lea rax, [rcx + r15]
movzx eax, byte [rax + r11]
mov r8d, eax
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or dil, r8b
shl ebp, 6
add ebp, eax
mov r8, qword [rsp]
lea r11, [0x1402d4c90]
lea rsi, [0x1402d4d90]
lea rbx, [0x1402d4db0]
jmp 0x1400249e2
mov r13d, 1
xor edi, edi
xor eax, eax
cmp r13, r12
jne 0x140024a3d
test dil, 1
jne 0x140024a3d
sub ebp, dword [rsi + r12*4]
cmp ebp, 0x10ffff
ja 0x140024a3d
cmp dword [rbx + r12*4], ebp
ja 0x140024a4e
mov byte [r8 + r10], bpl
add r15, r12
inc r10
cmp r15, rdx
setl al
jge 0x140024a33
cmp r10, r9
jl 0x1400248b0
jmp 0x140024a33
mov r11d, 1
xor edi, edi
test byte [rsp + 0x10], 1
jne 0x14002499f
jmp 0x1400249bf
cmp r10, r9
setne cl
xor al, 1
or al, cl
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140024a3d
Function at 0x140024a60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
xor r10d, r10d
test rdx, rdx
setg al
jle 0x140024caa
test r9, r9
jle 0x140024caa
lea rax, [r9 - 1]
mov qword [rsp + 0x18], rax
lea rax, [rcx + 1]
mov qword [rsp + 0x10], rax
xor edi, edi
lea r11, [0x1402d4c90]
lea rbx, [0x1402d4d90]
lea r15, [0x1402d4db0]
xor r10d, r10d
mov qword [rsp + 8], r9
mov qword [rsp], r8
nop dword [rax]
movzx ebp, byte [rcx + rdi]
test bpl, bpl
js 0x140024ae0
mov r13d, 1
jmp 0x140024c70
movsx r13, byte [rbp + r11]
mov rax, rbp
add rax, 0xffffffffffffff40
cmp rax, 0x3d
ja 0x140024bf8
mov r11, rdx
sub r11, rdi
cmp r11, 2
mov eax, 1
cmovl r11, rax
dec r11
cmp r13, 3
mov esi, 2
cmovge rsi, r13
lea rax, [rsi - 2]
cmp r11, rax
jbe 0x140024cc5
lea r8, [rsi - 1]
test rax, rax
mov qword [rsp + 0x20], r8
je 0x140024c8e
mov rax, qword [rsp + 0x10]
lea rbx, [rax + rdi]
mov rax, r8
and rax, 0xfffffffffffffffe
neg rax
mov r15d, 1
xor r12d, r12d
mov r14d, ebp
nop word [rax + rax]
movzx r11d, byte [rbx + r15 - 1]
mov r8d, r11d
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or r8b, r12b
movzx r9d, byte [rbx + r15]
mov r12d, r9d
and r12b, 0xc0
cmp r12b, 0x80
setne r12b
or r12b, r8b
shl r14d, 0xc
shl r11d, 6
add r14d, r9d
add r14d, r11d
lea r8, [rax + r15]
add r8, 2
add r15, 2
cmp r8, 1
jne 0x140024b60
test byte [rsp + 0x20], 1
je 0x140024bd8
lea rax, [rcx + rdi]
movzx eax, byte [rax + r15]
mov r8d, eax
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or r12b, r8b
shl r14d, 6
add r14d, eax
mov r9, qword [rsp + 8]
mov r8, qword [rsp]
lea r11, [0x1402d4c90]
lea rbx, [0x1402d4d90]
lea r15, [0x1402d4db0]
jmp 0x140024c03
mov esi, 1
xor r12d, r12d
mov r14d, ebp
xor eax, eax
cmp rsi, r13
jne 0x140024cb4
test r12b, 1
jne 0x140024cb4
sub r14d, dword [rbx + r13*4]
cmp r14d, 0x10ffff
ja 0x140024cb4
cmp dword [r15 + r13*4], r14d
ja 0x140024cc5
cmp bpl, 0xf0
jb 0x140024c6d
cmp r10, qword [rsp + 0x18]
je 0x140024cc5
mov eax, r14d
shr eax, 0xa
add eax, 0xffffd7c0
mov word [r8 + r10*2], ax
and r14d, 0x3ff
or r14d, 0xdc00
mov word [r8 + r10*2 + 2], r14w
inc r10
jmp 0x140024c75
mov ebp, r14d
mov word [r8 + r10*2], bp
add rdi, r13
inc r10
cmp rdi, rdx
setl al
jge 0x140024caa
cmp r10, r9
jl 0x140024ac0
jmp 0x140024caa
mov r15d, 1
xor r12d, r12d
mov r14d, ebp
test byte [rsp + 0x20], 1
jne 0x140024bb6
jmp 0x140024bd8
cmp r10, r9
setne cl
xor al, 1
or al, cl
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140024cb4

Function at 0x140025370
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.14027833c
cdqe
add rsp, 0x28
ret
mov rax, qword [rcx + 0x10]
mov ecx, dword [rax]
jmp 0x140025370

Function at 0x140026330
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140263300
mov rax, rsi
add rsp, 0x60
pop rsi
ret
Function at 0x140026370
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
test dl, dl
mov eax, 0x40
mov r9d, 4
cmovne r9d, eax
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400263ba
mov rbx, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140263580
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140036540
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, r9
mov r14, r8
mov rsi, rdx
mov qword [rsp + 0x28], rcx
mov r13, qword [rsp + 0x120]
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea r15, [rdx + 0x100]
xor r12d, r12d
mov rax, r13
sub rax, r15
cmovae r12, rax
test rdx, rdx
je 0x1400365a3
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8, rsi
call fcn.140265b50
cmp r12, r13
jae 0x140036745
mov rcx, rbx
sub rcx, rsi
cmp r13, r15
cmovb r15, r13
mov rdx, rbx
neg rdx
xor eax, eax
xor r8d, r8d
xor r9d, r9d
nop word [rax + rax]
cmp r8, rsi
mov r10d, 0
cmovae r10, rsi
mov r11, r8
mov r13, r12
xor r13, rcx
mov rbp, r13
not rbp
dec r13
and r13, rbp
sar r13, 0x3f
movzx r9d, r9b
or r9, r13
mov rbp, r12
xor rbp, rbx
lea rdi, [rdx + r12]
xor rdi, r12
or rdi, rbp
xor rdi, r12
sar rdi, 0x3f
and edi, r9d
and dil, byte [r14 + r12]
sub r11, r10
or byte [rsp + r11 + 0x70], dil
and r13, r11
or rax, r13
inc r12
neg r10
add r8, r10
inc r8
dec r15
jne 0x1400365d0
cmp rsi, 2
jb 0x140036751
mov rcx, rsi
and rcx, 0xfffffffffffffffe
mov r8d, 1
lea r9, [rsp + 0x30]
lea r10, [rsp + 0x70]
jmp 0x140036672
add r8, r8
shr rax, 1
mov r10, rdx
cmp r8, rsi
jae 0x140036756
mov rdx, r9
mov r9, r10
mov r10d, eax
and r10d, 1
dec r10d
movzx r10d, r10b
mov r11, r10
not r10
mov r14, r8
xor ebx, ebx
jmp 0x1400366c7
sub r14, r15
movzx edi, byte [r9 + r14]
movzx ebp, byte [r9 + rbx + 1]
and ebp, r11d
and edi, r10d
or edi, ebp
mov byte [rdx + rbx + 1], dil
add rbx, 2
inc r14
cmp rcx, rbx
je 0x140036710
mov r15d, 0
cmp r14, rsi
jb 0x1400366d5
mov r15, rsi
mov rdi, r14
sub rdi, r15
movzx edi, byte [r9 + rdi]
movzx ebp, byte [r9 + rbx]
and ebp, r11d
and edi, r10d
or edi, ebp
mov byte [rdx + rbx], dil
neg r15
add r14, r15
inc r14
mov r15d, 0
cmp r14, rsi
jb 0x1400366a0
mov r15, rsi
jmp 0x1400366a0
test sil, 1
je 0x140036660
cmp r14, rsi
mov edi, 0
cmovae rdi, rsi
sub r14, rdi
movzx edi, byte [r9 + r14]
movzx ebp, byte [r9 + rbx]
and r11d, ebp
and r10d, edi
or r10d, r11d
mov byte [rdx + rbx], r10b
jmp 0x140036660
xor eax, eax
cmp rsi, 2
jae 0x140036644
lea rdx, [rsp + 0x70]
test rsi, rsi
je 0x140036768
mov rcx, qword [rsp + 0x28]
mov r8, rsi
call fcn.140265d10
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140263300
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14003cf70
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1a8
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea r14, [rsp + 0xc0]
mov edx, 0x20
mov rcx, r8
mov r8, r14
call fcn.140067760
and byte [rsp + 0xc0], 0xf8
movzx eax, byte [rsp + 0xdf]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0xdf], al
lea r8, [0x1402db6b0]
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, r14
call fcn.14003b450
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x170], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x160], xmm1
movaps xmmword [rsp + 0x150], xmm0
lea r14, [rsp + 0x128]
lea rdx, [rsp + 0x150]
mov rcx, r14
call fcn.140041e10
lea r12, [rsp + 0x150]
mov rcx, r12
mov rdx, r15
mov r8, r14
call fcn.140044850
lea rdx, [rsp + 0x48]
lea r15, [rsp + 0x100]
mov rcx, r15
mov r8, r14
call fcn.140044850
mov rcx, rdi
mov rdx, r15
call fcn.140037630
lea rcx, [rsp + 0x180]
mov rdx, r12
call fcn.140037630
movzx eax, byte [rsp + 0x180]
shl al, 7
xor byte [rdi + 0x1f], al
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140263300
nop
add rsp, 0x1a8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400407b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov qword [rsp + 0x20], rcx
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0x160], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x150], xmm1
and byte [rsp + 0x140], 0xf8
movzx eax, byte [rsp + 0x15f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x15f], al
lea r8, [0x1402db6b0]
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x140]
call fcn.14003b450
mov rax, qword [rsp + 0xf0]
mov r11, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
lea rdi, [r11 + rax]
mov rcx, qword [rsp + 0xf8]
lea rbx, [rsi + rcx]
mov rdx, qword [rsp + 0x100]
mov r14, qword [rsp + 0xd8]
lea r15, [r14 + rdx]
mov r8, qword [rsp + 0x108]
mov r12, qword [rsp + 0xe0]
lea r13, [r12 + r8]
mov r9, qword [rsp + 0x110]
mov rbp, qword [rsp + 0xe8]
lea r10, [rbp + r9]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], r10
movabs r10, 0xffffffffffffe
add rax, r10
sub rax, r11
add rax, 0xffffffffffffffdc
add rcx, r10
sub rcx, rsi
add rdx, r10
sub rdx, r14
add r8, r10
sub r8, r12
add r9, r10
sub r9, rbp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r9
lea rdi, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140041e10
lea rdx, [rsp + 0x78]
mov rcx, rdi
mov r8, rdi
call fcn.140044850
mov rcx, qword [rsp + 0x20]
mov rdx, rdi
call fcn.140037630
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140263300
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004b470
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x28]
mov r8d, 6
call fcn.1400327c0
xor edi, edi
test eax, eax
je 0x14004b627
lea rcx, [rsp + 0x28]
call fcn.1400297b0
movzx r15d, byte [reloc.WS2_32.dll_htons]
cmp rax, r15
jne 0x14004b4f5
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032050
lea r14, [0x1402dde70]
test r15b, r15b
je 0x14004b61d
lea rdx, [0x1402dde74]
mov rcx, rax
mov r8, rbx
call fcn.140265a50
test eax, eax
je 0x14004b61d
lea rcx, [rsp + 0x28]
call fcn.1400297b0
movzx r15d, byte [reloc.WS2_32.dll_getsockopt]
cmp rax, r15
jne 0x14004b543
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032050
lea r14, [0x1402ddad8]
test r15b, r15b
je 0x14004b61d
lea rdx, [0x1402ddadc]
mov rcx, rax
mov r8, rbx
call fcn.140265a50
test eax, eax
je 0x14004b61d
lea rcx, [rsp + 0x28]
call fcn.1400297b0
movzx r15d, byte [reloc.WS2_32.dll_getsockopt]
cmp rax, r15
jne 0x14004b591
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032050
lea r14, [0x1402dd948]
test r15b, r15b
je 0x14004b61d
lea rdx, [0x1402dd94c]
mov rcx, rax
mov r8, rbx
call fcn.140265a50
test eax, eax
je 0x14004b61d
lea rcx, [rsp + 0x28]
call fcn.1400297b0
movzx r15d, byte [reloc.WS2_32.dll_closesocket]
cmp rax, r15
jne 0x14004b5d7
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032050
lea r14, [0x1402ddc68]
test r15b, r15b
je 0x14004b61d
lea rdx, [0x1402ddc6c]
mov rcx, rax
mov r8, rbx
call fcn.140265a50
test eax, eax
je 0x14004b61d
lea rcx, [rsp + 0x28]
call fcn.1400297b0
movzx r15d, byte [reloc.WS2_32.dll_closesocket]
cmp rax, r15
jne 0x14004b627
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032050
lea r14, [0x1402de000]
test r15b, r15b
je 0x14004b61d
lea rdx, [0x1402de004]
mov rcx, rax
mov r8, rbx
call fcn.140265a50
test eax, eax
jne 0x14004b627
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140263300
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14004f4a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r8
mov r14, rdx
mov r15, rcx
mov r12, qword [rsp + 0x168]
mov rax, qword [0x14039bf08]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rcx, r12
call fcn.14004b110
mov rbx, rax
lea r13, [rsp + 0x40]
mov rcx, r13
call fcn.1400734a0
mov qword [rsp + 0x20], 0
mov rcx, r13
mov rdx, r15
mov r8, r14
mov r9, r12
call fcn.1400734d0
test eax, eax
je 0x14004f749
mov rsi, qword [rsp + 0x170]
test rsi, rsi
je 0x14004f74d
mov r14, qword [rsp + 0x178]
mov eax, 1
lea r15, [rsp + 0x40]
jmp 0x14004f552
add r14, rbp
mov eax, dword [rsp + 0x2c]
inc eax
sub rsi, rbp
je 0x14004f74d
cmp rbx, rsi
mov rbp, rsi
cmovb rbp, rbx
mov dword [rsp + 0x2c], eax
bswap eax
mov dword [rsp + 0xac], eax
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.1400734d0
test eax, eax
je 0x14004f749
mov rcx, r15
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
call fcn.140073800
test eax, eax
je 0x14004f749
mov r8d, 4
mov rcx, r15
lea rdx, [rsp + 0xac]
call fcn.140073800
test eax, eax
je 0x14004f749
mov rcx, r15
lea rdx, [rsp + 0xb0]
xor r8d, r8d
call fcn.140073820
test eax, eax
je 0x14004f749
test rbp, rbp
je 0x14004f5f5
mov rcx, r14
lea rdx, [rsp + 0xb0]
mov r8, rbp
call fcn.140265d10
cmp dword [rsp + 0x160], 2
jb 0x14004f540
mov r12, rbp
and r12, 0xffffffffffffffe0
mov r13, rbp
and r13, 0xfffffffffffffff8
mov edi, 1
jmp 0x14004f62f
inc edi
cmp edi, dword [rsp + 0x160]
je 0x14004f540
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.1400734d0
test eax, eax
je 0x14004f749
mov rcx, r15
lea rdx, [rsp + 0xb0]
mov r8, rbx
call fcn.140073800
test eax, eax
je 0x14004f749
mov rcx, r15
lea rdx, [rsp + 0xb0]
xor r8d, r8d
call fcn.140073820
test eax, eax
je 0x14004f749
test rbp, rbp
je 0x14004f620
cmp rbp, 8
jae 0x14004f6a0
xor eax, eax
jmp 0x14004f730
cmp rbp, 0x20
jae 0x14004f6aa
xor ecx, ecx
jmp 0x14004f700
xor eax, eax
nop dword [rax]
movups xmm0, xmmword [r14 + rax]
movups xmm1, xmmword [r14 + rax + 0x10]
xorps xmm0, xmmword [rsp + rax + 0xb0]
xorps xmm1, xmmword [rsp + rax + 0xc0]
movups xmmword [r14 + rax], xmm0
movups xmmword [r14 + rax + 0x10], xmm1
add rax, 0x20
cmp r12, rax
jne 0x14004f6b0
cmp rbp, r12
je 0x14004f620
mov rcx, r12
mov rax, r12
test bpl, 0x18
je 0x14004f730
nop word cs:[rax + rax]
mov rax, qword [rsp + rcx + 0xb0]
xor qword [r14 + rcx], rax
add rcx, 8
cmp r13, rcx
jne 0x14004f700
mov rax, r13
cmp rbp, r13
je 0x14004f620
nop word cs:[rax + rax]
movzx ecx, byte [rsp + rax + 0xb0]
xor byte [r14 + rax], cl
inc rax
cmp rbp, rax
jne 0x14004f730
jmp 0x14004f620
xor esi, esi
jmp 0x14004f75b
xor esi, esi
cmp dword [rsp + 0x160], 0
setne sil
lea rcx, [rsp + 0x40]
call fcn.1400738e0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140263300
mov eax, esi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret