joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021660
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x1403acd78]
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 0x1400216bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x1400216d4
cmp dword [rsp + 0x30], 1
movzx eax, byte [rsp + 0x37]
mov ecx, 0xffffffff
cmove ecx, eax
mov dword [rsi], ecx
mov sil, 1
jmp 0x1400216d6
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140279500
mov eax, esi
add rsp, 0x40
pop rsi
ret

Function at 0x140022b00
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 0x140022b5c
mov rcx, rsi
xor edx, edx
call fcn.14001e590
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 0x140022b70
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x1403acd78]
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.140279500
mov rax, rsi
add rsp, 0x30
pop rsi
ret

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

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, qword [0x1403acd78]
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 0x140022c06
lea rcx, [rsp + 0x28]
call fcn.14001e900
mov rsi, rax
jmp 0x140022c08
xor esi, esi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140279500
mov rax, rsi
add rsp, 0xb0
pop rsi
ret

Function at 0x140022cc0
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 0x140022ce0
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 0x140024480
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, 0x10
xor r10d, r10d
test rdx, rdx
setg al
jle 0x140024640
test r9, r9
jle 0x140024640
lea rax, [rcx + 1]
mov qword [rsp], rax
xor r10d, r10d
lea rsi, [0x1402ea960]
lea rdi, [0x1402eaa60]
lea rbx, [0x1402eaa80]
xor r15d, r15d
mov qword [rsp + 8], r8
movzx ebp, byte [rcx + r15]
test bpl, bpl
js 0x1400244f0
mov r12d, 1
jmp 0x14002460f
mov eax, ebp
movsx r12, byte [rax + rsi]
add rax, 0xffffffffffffff40
cmp rax, 0x3d
ja 0x1400245e8
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 0x14002465b
lea r8, [r13 - 1]
test rax, rax
je 0x14002462c
mov rax, qword [rsp]
lea r14, [rax + r15]
mov rdi, r8
and rdi, 0xfffffffffffffffe
neg rdi
mov r11d, 1
xor eax, eax
nop
movzx esi, byte [r14 + r11 - 1]
mov ebx, esi
and bl, 0xc0
cmp bl, 0x80
setne bl
or bl, al
shl ebp, 6
add ebp, esi
movzx esi, byte [r14 + r11]
mov eax, esi
and al, 0xc0
cmp al, 0x80
setne al
or al, bl
shl ebp, 6
add ebp, esi
lea rsi, [rdi + r11]
add rsi, 2
add r11, 2
cmp rsi, 1
jne 0x140024560
test r8b, 1
je 0x1400245c6
lea r8, [rcx + r15]
movzx r8d, byte [r8 + r11]
mov r11d, r8d
and r11b, 0xc0
cmp r11b, 0x80
setne r11b
or al, r11b
shl ebp, 6
add ebp, r8d
test al, al
setne r11b
mov r8, qword [rsp + 8]
lea rsi, [0x1402ea960]
lea rdi, [0x1402eaa60]
lea rbx, [0x1402eaa80]
jmp 0x1400245f1
mov r13d, 1
xor r11d, r11d
xor eax, eax
test r11b, r11b
jne 0x14002464a
cmp r13, r12
jne 0x14002464a
sub ebp, dword [rdi + r12*4]
cmp ebp, 0x10ffff
ja 0x14002464a
cmp dword [rbx + r12*4], ebp
ja 0x14002465b
mov byte [r8 + r10], bpl
add r15, r12
inc r10
cmp r15, rdx
setl al
jge 0x140024640
cmp r10, r9
jl 0x1400244d0
jmp 0x140024640
mov r11d, 1
xor eax, eax
test r8b, 1
jne 0x1400245a5
jmp 0x1400245c6
cmp r10, r9
setne cl
xor al, 1
or al, cl
add rsp, 0x10
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14002464a
Function at 0x140024660
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, 0x20
xor r10d, r10d
test rdx, rdx
setg al
jle 0x140024875
test r9, r9
jle 0x140024875
lea rax, [r9 - 1]
mov qword [rsp + 8], rax
lea rax, [rcx + 1]
mov qword [rsp], rax
xor edi, edi
lea rbx, [0x1402ea960]
lea r15, [0x1402eaa60]
lea r12, [0x1402eaa80]
xor r10d, r10d
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], r8
nop dword [rax]
movzx ebp, byte [rcx + rdi]
test bpl, bpl
js 0x1400246e0
mov r13d, 1
jmp 0x140024859
movsx r13, byte [rbp + rbx]
mov rax, rbp
add rax, 0xffffffffffffff40
cmp rax, 0x3d
ja 0x14002479c
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 0x140024890
lea r9, [rsi - 1]
test rax, rax
je 0x1400247a9
mov rax, qword [rsp]
lea rbx, [rax + rdi]
mov r12, r9
and r12, 0xfffffffffffffffe
neg r12
mov r15d, 1
xor eax, eax
mov r14d, ebp
nop
movzx r11d, byte [rbx + r15 - 1]
mov r8d, r11d
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or r8b, al
shl r14d, 6
add r14d, r11d
movzx r11d, byte [rbx + r15]
mov eax, r11d
and al, 0xc0
cmp al, 0x80
setne al
or al, r8b
shl r14d, 6
add r14d, r11d
lea r8, [r12 + r15]
add r8, 2
add r15, 2
cmp r8, 1
jne 0x140024750
jmp 0x1400247b4
mov esi, 1
xor r11d, r11d
mov r14d, ebp
jmp 0x140024801
mov r15d, 1
xor eax, eax
mov r14d, ebp
test r9b, 1
mov r9, qword [rsp + 0x18]
lea rbx, [0x1402ea960]
lea r12, [0x1402eaa80]
je 0x1400247ef
lea r8, [rcx + rdi]
movzx r8d, byte [r8 + r15]
mov r11d, r8d
and r11b, 0xc0
cmp r11b, 0x80
setne r11b
or al, r11b
shl r14d, 6
add r14d, r8d
test al, al
setne r11b
mov r8, qword [rsp + 0x10]
lea r15, [0x1402eaa60]
xor eax, eax
test r11b, r11b
jne 0x14002487f
cmp rsi, r13
jne 0x14002487f
sub r14d, dword [r15 + r13*4]
cmp r14d, 0x10ffff
ja 0x14002487f
cmp dword [r12 + r13*4], r14d
ja 0x140024890
cmp bpl, 0xf0
jb 0x140024856
cmp r10, qword [rsp + 8]
je 0x140024890
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 0x14002485e
mov ebp, r14d
mov word [r8 + r10*2], bp
add rdi, r13
inc r10
cmp rdi, rdx
setl al
jge 0x140024875
cmp r10, r9
jl 0x1400246c0
cmp r10, r9
setne cl
xor al, 1
or al, cl
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14002487f

Function at 0x140024e40
Capabilities:
Read file on windows

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

Function at 0x140025ce0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x1403acd78]
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.140279500
mov rax, rsi
add rsp, 0x60
pop rsi
ret
Function at 0x140025d20
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 0x140025d6a
mov rbx, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140279780
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 0x140037ea0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov r11, qword [rsp + 0x68]
inc r11
xor eax, eax
cmp r11, r9
ja 0x140037fae
movzx eax, byte [r8 + r9 - 1]
add r11, rax
mov r10, r9
sub r10, r11
xor r11, r9
xor r10, r9
or r10, r11
xor r10, r9
sar r10, 0x3f
not r10
cmp r9, 0x100
mov esi, 0x100
cmovb rsi, r9
test rsi, rsi
je 0x140037f87
lea r11, [r9 - 1]
cmp rsi, 1
jne 0x140037f07
xor edi, edi
jmp 0x140037f5e
mov ebx, esi
and ebx, 0x1fe
lea r14, [r8 + r11]
xor edi, edi
mov r15, 0xffffffffffffffff
mov r12, r10
nop
movzx r10d, byte [r14]
xor r10b, al
movzx r13d, r10b
not r13
movzx r10d, byte [r14 - 1]
xor r10b, al
cmp rdi, rax
cmova r13, r15
movzx r10d, r10b
not r10
cmovae r10, r15
and r10, r12
and r10, r13
add rdi, 2
add r14, 0xfffffffffffffffe
mov r12, r10
cmp rbx, rdi
jne 0x140037f20
test sil, 1
je 0x140037f87
sub r11, rdi
movzx r8d, byte [r8 + r11]
xor r8b, al
cmp rdi, rax
movzx r8d, r8b
not r8
mov r11, 0xffffffffffffffff
cmovbe r11, r8
and r10, r11
xor r8d, r8d
cmp r10b, 0xff
sete r8b
mov r10, r8
neg r10
inc eax
neg r8d
and r8d, eax
sub r9, r8
mov qword [rdx], r9
mov qword [rcx], r10
mov eax, 1
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140037fc0
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 [0x1403acd78]
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 0x140038023
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8, rsi
call fcn.14027bdc0
cmp r12, r13
jae 0x1400381b2
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 0x140038050
cmp rsi, 2
jb 0x1400381be
mov rcx, rsi
and rcx, 0xfffffffffffffffe
mov r8d, 1
lea r9, [rsp + 0x30]
lea rbx, [rsp + 0x70]
xor r10d, r10d
jmp 0x1400380f8
add r8, r8
shr rax, 1
mov rdx, r9
mov rbx, r9
mov r9, r11
cmp r8, rsi
jae 0x1400381c3
mov r11, rbx
mov ebx, eax
and bl, 1
lea edx, [rbx - 1]
mov r15, r8
xor r14d, r14d
cmp rsi, 1
jne 0x14003816f
test sil, 1
je 0x1400380e0
cmp r15, rsi
mov edi, 0
cmovae rdi, rsi
sub r15, rdi
and dl, byte [r11 + r14]
test bl, bl
movzx edi, byte [r11 + r15]
cmove edi, r10d
or dil, dl
mov byte [r9 + r14], dil
jmp 0x1400380e0
sub r15, r12
test bl, bl
mov byte [r9 + r14], bpl
movzx edi, byte [r11 + r15]
cmove edi, r10d
movzx ebp, byte [r11 + r14 + 1]
and bpl, dl
or dil, bpl
mov byte [r9 + r14 + 1], dil
add r14, 2
inc r15
cmp rcx, r14
je 0x14003810f
mov r12d, 0
cmp r15, rsi
jb 0x14003817d
mov r12, rsi
mov rdi, r15
sub rdi, r12
movzx r13d, byte [r11 + r14]
and r13b, dl
test bl, bl
movzx ebp, byte [r11 + rdi]
cmove ebp, r10d
or bpl, r13b
neg r12
add r15, r12
inc r15
mov r12d, 0
cmp r15, rsi
jb 0x140038140
mov r12, rsi
jmp 0x140038140
xor eax, eax
cmp rsi, 2
jae 0x1400380c4
lea rdx, [rsp + 0x70]
test rsi, rsi
je 0x1400381d5
mov rcx, qword [rsp + 0x28]
mov r8, rsi
call fcn.14027bf80
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140279500
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14003e5f0
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 [0x1403acd78]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea r14, [rsp + 0xc0]
mov edx, 0x20
mov rcx, r8
mov r8, r14
call fcn.14006d5d0
and byte [rsp + 0xc0], 0xf8
movzx eax, byte [rsp + 0xdf]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0xdf], al
lea r8, [0x1402f1200]
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, r14
call fcn.14003c960
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.140043910
lea r12, [rsp + 0x150]
mov rcx, r12
mov rdx, r15
mov r8, r14
call fcn.140046350
lea rdx, [rsp + 0x48]
lea r15, [rsp + 0x100]
mov rcx, r15
mov r8, r14
call fcn.140046350
mov rcx, rdi
mov rdx, r15
call fcn.140038e80
lea rcx, [rsp + 0x180]
mov rdx, r12
call fcn.140038e80
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.140279500
nop
add rsp, 0x1a8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140042250
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 [0x1403acd78]
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, [0x1402f1200]
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x140]
call fcn.14003c960
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.140043910
lea rdx, [rsp + 0x78]
mov rcx, rdi
mov r8, rdi
call fcn.140046350
mov rcx, qword [rsp + 0x20]
mov rdx, rdi
call fcn.140038e80
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140279500
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004a580
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 [0x1403acd78]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x28]
mov r8d, 6
call fcn.140034670
xor edi, edi
test eax, eax
je 0x14004a737
lea rcx, [rsp + 0x28]
call fcn.14002a1a0
movzx r15d, byte [reloc.WS2_32.dll_htons]
cmp rax, r15
jne 0x14004a605
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140034040
lea r14, [0x1402f2920]
test r15b, r15b
je 0x14004a72d
lea rdx, [0x1402f2924]
mov rcx, rax
mov r8, rbx
call fcn.14027bcc0
test eax, eax
je 0x14004a72d
lea rcx, [rsp + 0x28]
call fcn.14002a1a0
movzx r15d, byte [reloc.WS2_32.dll_getsockopt]
cmp rax, r15
jne 0x14004a653
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140034040
lea r14, [0x1402f25e8]
test r15b, r15b
je 0x14004a72d
lea rdx, [0x1402f25ec]
mov rcx, rax
mov r8, rbx
call fcn.14027bcc0
test eax, eax
je 0x14004a72d
lea rcx, [rsp + 0x28]
call fcn.14002a1a0
movzx r15d, byte [reloc.WS2_32.dll_getsockopt]
cmp rax, r15
jne 0x14004a6a1
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140034040
lea r14, [0x1402f2470]
test r15b, r15b
je 0x14004a72d
lea rdx, [0x1402f2474]
mov rcx, rax
mov r8, rbx
call fcn.14027bcc0
test eax, eax
je 0x14004a72d
lea rcx, [rsp + 0x28]
call fcn.14002a1a0
movzx r15d, byte [reloc.WS2_32.dll_closesocket]
cmp rax, r15
jne 0x14004a6e7
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140034040
lea r14, [0x1402f2760]
test r15b, r15b
je 0x14004a72d
lea rdx, [0x1402f2764]
mov rcx, rax
mov r8, rbx
call fcn.14027bcc0
test eax, eax
je 0x14004a72d
lea rcx, [rsp + 0x28]
call fcn.14002a1a0
movzx r15d, byte [reloc.WS2_32.dll_closesocket]
cmp rax, r15
jne 0x14004a737
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140034040
lea r14, [0x1402f2a98]
test r15b, r15b
je 0x14004a72d
lea rdx, [0x1402f2a9c]
mov rcx, rax
mov r8, rbx
call fcn.14027bcc0
test eax, eax
jne 0x14004a737
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140279500
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14006d400
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x1403acd78]
xor rax, rsp
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x7c], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x1402f2cd0]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x1402f2ce0]
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x8c], 0x20
lea rcx, [rsp + 0x20]
call fcn.140086840
mov ebx, dword [rsp + 0x40]
mov ebp, dword [rsp + 0x44]
lea rdi, [rsp + 0x48]
mov eax, dword [rsp + 0x88]
lea rcx, [rax + 1]
mov byte [rsp + rax + 0x48], 0x80
cmp rax, 0x38
jb 0x14006d4c1
cmp eax, 0x3f
je 0x14006d4aa
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.14027bdc0
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.140086a80
xor ecx, ecx
jmp 0x14006d4c7
cmp rcx, 0x38
je 0x14006d4da
mov r8d, gethostname
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.14027bdc0
bswap ebp
bswap ebx
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x84], ebx
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.140086a80
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
mov eax, dword [rsp + 0x8c]
lea ecx, [rax - 0x21]
cmp ecx, 0xffffffe3
jb 0x14006d594
shr eax, 2
mov ecx, dword [rsp + 0x20]
bswap ecx
mov dword [rsi], ecx
cmp eax, 1
je 0x14006d594
mov ecx, dword [rsp + 0x24]
bswap ecx
mov dword [rsi + 4], ecx
cmp eax, 2
je 0x14006d594
mov ecx, dword [rsp + 0x28]
bswap ecx
mov dword [rsi + 8], ecx
cmp eax, 3
je 0x14006d594
mov ecx, dword [rsp + 0x2c]
bswap ecx
mov dword [rsi + 0xc], ecx
cmp eax, 4
je 0x14006d594
mov ecx, dword [rsp + 0x30]
bswap ecx
mov dword [rsi + 0x10], ecx
cmp eax, 5
je 0x14006d594
mov ecx, dword [rsp + 0x34]
bswap ecx
mov dword [rsi + 0x14], ecx
cmp eax, 6
je 0x14006d594
mov ecx, dword [rsp + 0x38]
bswap ecx
mov dword [rsi + 0x18], ecx
cmp eax, 7
je 0x14006d594
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsi + 0x1c], eax
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_WSASetLastError
call fcn.14009ead0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140279500
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x14006d5d0
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rdi
sub rsp, 0x108
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x1403acd78]
xor rax, rsp
mov qword [rsp + 0x100], rax
movabs rax, 0x6a09e667f3bcc908
mov qword [rsp + 0x28], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rsp + 0x30], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsp + 0x38], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsp + 0x40], rax
movabs rax, 0x510e527fade682d1
mov qword [rsp + 0x48], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsp + 0x50], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x58], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x60], rax
movabs rax, 0x4000000000
mov qword [rsp + 0xf8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rcx, [rsp + 0x28]
call fcn.14006f110
lea rdi, [rsp + 0x78]
mov eax, dword [rsp + 0xf8]
lea rcx, [rax + 1]
mov byte [rsp + rax + 0x78], 0x80
cmp rax, 0x70
jb 0x14006d6da
cmp eax, 0x7f
je 0x14006d6c3
mov r8d, 0x7f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.14027bdc0
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rdi
call fcn.140087aa0
xor ecx, ecx
jmp 0x14006d6e0
cmp rcx, 0x70
je 0x14006d6f3
mov r8d, reloc.WS2_32.dll_WSASetLastError
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.14027bdc0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
bswap rcx
mov qword [rsp + 0xe8], rcx
bswap rax
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rdi
call fcn.140087aa0
test rsi, rsi
je 0x14006d7d3
mov edx, dword [rsp + 0xfc]
cmp rdx, 8
jb 0x14006d7d3
shr rdx, 3
lea rcx, [rdx - 1]
mov eax, edx
and eax, 3
cmp rcx, 3
jae 0x14006d75b
xor r8d, r8d
mov rcx, rsi
jmp 0x14006d7ac
and edx, 0xfffffffc
xor r8d, r8d
mov rcx, rsi
nop word cs:[rax + rax]
mov r9, qword [rsp + r8*8 + 0x28]
bswap r9
mov qword [rcx], r9
mov r9, qword [rsp + r8*8 + 0x30]
bswap r9
mov qword [rcx + 8], r9
mov r9, qword [rsp + r8*8 + 0x38]
bswap r9
mov qword [rcx + 0x10], r9
mov r9, qword [rsp + r8*8 + 0x40]
bswap r9
mov qword [rcx + 0x18], r9
add rcx, 0x20
add r8, 4
cmp rdx, r8
jne 0x14006d770
test rax, rax
je 0x14006d7d3
lea rdx, [rsp + r8*8]
add rdx, 0x28
xor r8d, r8d
nop dword [rax]
mov r9, qword [rdx + r8*8]
bswap r9
mov qword [rcx + r8*8], r9
inc r8
cmp rax, r8
jne 0x14006d7c0
lea rcx, [rsp + 0x28]
mov edx, 0xd8
call fcn.14009ead0
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140279500
mov rax, rsi
add rsp, 0x108
pop rdi
pop rsi
ret
Function at 0x14006f080
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret