joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038f00
Capabilities:
Hash data using djb2

Disassembly:
push rbp
sub rsp, 0x50
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, qword [0x1402eb0d8]
test rbp, rbp
je 0x1400390f9
cmp dword [rbp], 0
jne 0x1400390f9
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
xor esi, esi
mov qword [rsp + 0x70], rdi
lea rbx, [0x140264448]
nop word [rax + rax]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140039049
lea rdx, str.config
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
je 0x140039036
mov rdi, qword [rbx - 0x18]
mov rcx, rbp
mov rdx, rdi
call fcn.14002f390
test rax, rax
je 0x140039036
cmp dword [rbx - 0x10], 0
je 0x140039023
mov ecx, dword [rax]
cmp ecx, 2
jne 0x140038fc6
mov rcx, qword [rax + 0x10]
call qword [sym.imp.MSVCR120.dll__strdup]
mov rdi, rax
test rax, rax
je 0x140039036
mov ecx, dword [rbx]
mov rdx, rax
call fcn.1400376a0
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_free]
jmp 0x140039036
cmp ecx, 3
jne 0x140038fe8
mov r8d, dword [rax + 0x10]
lea rdx, [0x1401deadc]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR120.dll_sprintf]
lea rdx, [rsp + 0x20]
jmp 0x14003902f
cmp ecx, 4
jne 0x140039010
movsd xmm2, qword [rax + 0x10]
lea rdx, [0x1401deb04]
lea rcx, [rsp + 0x30]
movq r8, xmm2
call qword [sym.imp.MSVCR120.dll_sprintf]
lea rdx, [rsp + 0x30]
jmp 0x14003902f
lea rdx, str.JSON_option__s_invalid
mov r8, rdi
xor ecx, ecx
call fcn.140041b60
jmp 0x140039036
cmp dword [rax], 5
jne 0x140039036
lea rdx, [0x1401de209]
mov ecx, dword [rbx]
call fcn.1400376a0
inc esi
add rbx, 0x20
movsxd rax, esi
cmp rax, 0x43
jb 0x140038f50
cmp dword [rbp], 0
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jne 0x1400390f9
lea r10, str.pools
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov r9d, 0x1505
mov rax, r10
nop word [rax + rax]
imul r9, r9, 0x21
lea rax, [rax + 1]
add r9, rcx
movsx rcx, byte [rax]
test rcx, rcx
jne 0x140039080
mov rcx, qword [rbp + 0x20]
xor edx, edx
lea r8, reloc.WS2_32.dll_getpeername
mov rax, r9
div qword [r8 + rcx*8]
lea rax, [rbp + 0x28]
shl rdx, 4
add rdx, qword [rbp + 0x18]
mov r8, qword [rdx]
cmp r8, rax
jne 0x1400390c2
cmp r8, qword [rdx + 8]
je 0x1400390f9
cmp qword [r8 - 8], r9
jne 0x14003910c
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [r8 + rcx + 0x20]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x14003910c
cmp rcx, 6
jne 0x1400390d0
mov rcx, qword [r8 + 0x10]
test rcx, rcx
je 0x1400390f9
cmp dword [rcx], 1
jne 0x1400390f9
call fcn.140040c90
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401bb2c0
add rsp, 0x50
pop rbp
ret
cmp r8, qword [rdx + 8]
je 0x1400390f9
mov r8, qword [r8 + 8]
jmp 0x1400390c2
Function at 0x14003bc30
Capabilities:
Encode data using xor

Disassembly:
test r9d, r9d
je 0x14003bd60
push rsi
push r14
sub rsp, 0x28
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
lea eax, [r9 - 1]
mov rbx, rdx
mov rbp, rcx
lea r10d, [rax + rax*2]
mov qword [rsp + 0x20], r15
sub rbx, rcx
shl r10d, 2
mov rsi, rcx
mov r15d, r9d
lea r14, [r8 + r10*8]
mov rdi, r14
sub rdi, rcx
sub rbp, rdx
nop dword [rax]
mov rax, rsi
mov ecx, 6
nop dword [rax + rax]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rbx + rax]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
dec rcx
jne 0x14003bc90
mov rcx, rsi
call fcn.14003b6d0
lea rax, [rsi + 0x58]
add rax, rbx
cmp r14, rax
ja 0x14003bcf8
lea rax, [rsi + 0x58]
lea rcx, [rbx + rsi]
add rax, rdi
cmp rax, rcx
jb 0x14003bcf8
mov rax, rsi
mov edx, reloc.WS2_32.dll_inet_ntoa
nop word [rax + rax]
mov rcx, qword [rbx + rax]
lea rax, [rax + 8]
xor rcx, qword [rax - 8]
mov qword [rdi + rax - 8], rcx
dec rdx
jne 0x14003bce0
jmp 0x14003bd2c
lea rax, [rbx + rsi]
mov rcx, r14
mov edx, 6
sub rcx, rax
nop word [rax + rax]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + rbp]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + rcx - 0x10], xmm1
dec rdx
jne 0x14003bd10
sub rbp, 0x60
add rbx, 0x60
sub r14, 0x60
sub rdi, 0x60
dec r15
jne 0x14003bc80
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x14003bd70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x50
mov rsi, rcx
mov ecx, dword [rsp + 0x80]
lea eax, [rcx - 1]
lea r10d, [rax + rax*2]
shl r10d, 2
lea r9, [r9 + r10*8]
mov qword [rsp + 0x68], r9
test ecx, ecx
je 0x14003bf8a
mov qword [r11 + 8], rbx
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov r14, r9
mov rdi, rdx
mov r15, rsi
sub r14, rsi
sub rdi, rsi
sub r15, rdx
mov qword [rsp + 0x70], rcx
lea r13, [r15 + r8]
nop word [rax + rax]
lea rbp, [rsi + 0x58]
lea r12, [rdi + r13]
add rbp, rdi
cmp r12, rbp
ja 0x14003be2a
lea rax, [r13 + 0x58]
lea rbx, [rdi + rsi]
add rax, rdi
cmp rax, rbx
jb 0x14003be2a
mov r9, r12
mov rdx, rsi
mov r8d, reloc.WS2_32.dll_inet_ntoa
sub r9, rbx
nop
lea rax, [rdi + rdx]
lea rdx, [rdx + 8]
mov rcx, qword [r9 + rax]
add rcx, qword [rax]
xor qword [rdx - 8], rcx
dec r8
jne 0x14003be10
jmp 0x14003be69
lea rbx, [rdi + rsi]
mov rdx, r12
mov rcx, rsi
sub rdx, rbx
mov r8d, 6
nop dword [rax]
movdqu xmm0, xmmword [rcx + rdi]
lea rax, [rcx + rdi]
lea rcx, [rcx + 0x10]
movdqu xmm1, xmmword [rdx + rax]
paddq xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
dec r8
jne 0x14003be40
mov rcx, rsi
call fcn.14003b6d0
mov r9, qword [rsp + 0x68]
cmp r9, rbp
ja 0x14003bea8
lea rax, [rsi + 0x58]
add rax, r14
cmp rax, rbx
jb 0x14003bea8
mov rax, rsi
mov edx, reloc.WS2_32.dll_inet_ntoa
nop
mov rcx, qword [rdi + rax]
lea rax, [rax + 8]
xor rcx, qword [rax - 8]
mov qword [r14 + rax - 8], rcx
dec rdx
jne 0x14003be90
jmp 0x14003bedd
mov rcx, r9
mov eax, 6
sub rcx, rbx
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [r15 + rbx]
lea rbx, [rbx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx + rbx - 0x10], xmm1
dec rax
jne 0x14003bec0
mov rax, qword [rsi + 0x58]
sub r9, 0x60
add rdi, 0x60
xor qword [r12], rax
mov rax, qword [rsi]
sub r15, 0x60
xor qword [r13 + rdi - 0x58], rax
mov rax, qword [rsi + 8]
sub r14, 0x60
xor qword [r13 + rdi - 0x50], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x68], r9
xor qword [r13 + rdi - 0x48], rax
mov rax, qword [rsi + 0x18]
xor qword [r13 + rdi - 0x40], rax
mov rax, qword [rsi + 0x20]
xor qword [r13 + rdi - 0x38], rax
mov rax, qword [rsi + 0x28]
xor qword [r13 + rdi - 0x30], rax
mov rax, qword [rsi + 0x30]
xor qword [r13 + rdi - 0x28], rax
mov rax, qword [rsi + 0x38]
xor qword [r13 + rdi - 0x20], rax
mov rax, qword [rsi + 0x40]
xor qword [r13 + rdi - 0x18], rax
mov rax, qword [rsi + 0x48]
xor qword [r13 + rdi - 0x10], rax
mov rax, qword [rsi + 0x50]
xor qword [r13 + rdi - 8], rax
dec qword [rsp + 0x70]
jne 0x14003bde0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rsi
ret
Function at 0x14003bf90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x14003c148
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax - 0x10], r12
mov qword [rax - 0x18], r13
mov rbp, rdi
sub rbp, r9
sub r9, rdx
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
mov r15, rdi
mov rbx, r8
sub r15, r8
sub rbx, rdi
lea r12, [r9 - 0x58]
add r15, rdx
mov r13d, ecx
nop dword [rax]
nop word [rax + rax]
lea r14, [r15 + 0x58]
lea rsi, [rbx + rdi]
add r14, rbx
cmp rsi, r14
ja 0x14003c03a
lea rax, [rdi + 0x58]
lea r9, [r15 + rbx]
add rax, rbx
cmp rax, r9
jb 0x14003c03a
mov rax, rdi
sub r9, rsi
mov r8d, reloc.WS2_32.dll_inet_ntoa
nop dword [rax]
lea rcx, [rax + rbx]
lea rax, [rax + 8]
mov rdx, qword [r9 + rcx]
add rdx, qword [rcx]
xor qword [rax - 8], rdx
dec r8
jne 0x14003c020
jmp 0x14003c07a
mov r8, r15
mov rcx, rdi
mov edx, 6
sub r8, rsi
add r8, rbx
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx + rbx]
lea rax, [rcx + rbx]
lea rcx, [rcx + 0x10]
movdqu xmm1, xmmword [r8 + rax]
paddq xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
dec rdx
jne 0x14003c050
mov rcx, rdi
call fcn.14003b6d0
lea rax, [r14 + r12]
mov ecx, 6
nop dword [rax + rax]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + rbp]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
dec rcx
jne 0x14003c090
mov rax, qword [rdi + 0x58]
add rbx, 0x60
sub rbp, 0x60
xor qword [rsi], rax
mov rax, qword [rdi]
xor qword [rdi + rbx - 0x58], rax
mov rax, qword [rdi + 8]
xor qword [rdi + rbx - 0x50], rax
mov rax, qword [rdi + 0x10]
xor qword [rdi + rbx - 0x48], rax
mov rax, qword [rdi + 0x18]
xor qword [rdi + rbx - 0x40], rax
mov rax, qword [rdi + 0x20]
xor qword [rdi + rbx - 0x38], rax
mov rax, qword [rdi + 0x28]
xor qword [rdi + rbx - 0x30], rax
mov rax, qword [rdi + 0x30]
xor qword [rdi + rbx - 0x28], rax
mov rax, qword [rdi + 0x38]
xor qword [rdi + rbx - 0x20], rax
mov rax, qword [rdi + 0x40]
xor qword [rdi + rbx - 0x18], rax
mov rax, qword [rdi + 0x48]
xor qword [rdi + rbx - 0x10], rax
mov rax, qword [rdi + 0x50]
xor qword [rdi + rbx - 8], rax
dec r13
jne 0x14003bff0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14003c4b0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x28]
mov rdi, rcx
mov rsi, rdx
lea ebp, [r8*8]
xor edx, edx
add rbp, qword [rcx + 0x20]
mov byte [r8 + rcx + 0x2c], 0x80
mov ecx, dword [rcx + 0x28]
mov eax, ecx
cmp ecx, 0x37
ja 0x14003c4fe
mov r8d, 0x37
sub r8d, ecx
lea rcx, [rdi + 0x2d]
add rcx, rax
call sub.MSVCR120.dll_memset
jmp 0x14003c54d
mov r8d, 0x3f
mov qword [rsp + 0x30], rbx
sub r8d, ecx
lea rcx, [rdi + 0x2d]
add rcx, rax
call sub.MSVCR120.dll_memset
lea rdx, [rdi + 0x2c]
mov r8d, 1
mov rcx, rdi
call fcn.14003c150
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov qword [rdi + 0x2c], rax
mov qword [rdi + 0x34], rax
mov qword [rdi + 0x3c], rax
mov qword [rdi + 0x44], rax
mov qword [rdi + 0x4c], rax
mov qword [rdi + 0x54], rax
mov qword [rdi + 0x5c], rax
mov rcx, rbp
lea rdx, [rdi + 0x2c]
mov r8d, 1
shr rcx, 0x20
mov byte [rdi + 0x6b], bpl
mov eax, ecx
mov byte [rdi + 0x67], cl
shr eax, 0x18
mov byte [rdi + 0x64], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 0x65], al
mov eax, ecx
mov rcx, rdi
shr eax, 8
mov byte [rdi + 0x66], al
mov eax, ebp
shr eax, 0x18
mov byte [rdi + 0x68], al
mov eax, ebp
shr eax, 0x10
mov byte [rdi + 0x69], al
mov eax, ebp
shr eax, 8
mov byte [rdi + 0x6a], al
call fcn.14003c150
movzx eax, byte [rdi + 3]
mov byte [rsi], al
movzx eax, byte [rdi + 2]
mov byte [rsi + 1], al
mov eax, dword [rdi]
shr eax, 8
mov byte [rsi + 2], al
movzx eax, byte [rdi]
mov byte [rsi + 3], al
movzx eax, byte [rdi + 7]
mov byte [rsi + 4], al
movzx eax, byte [rdi + 6]
mov byte [rsi + 5], al
mov eax, dword [rdi + 4]
shr eax, 8
mov byte [rsi + 6], al
movzx eax, byte [rdi + 4]
mov byte [rsi + 7], al
movzx eax, byte [rdi + 0xb]
mov byte [rsi + 8], al
movzx eax, byte [rdi + 0xa]
mov byte [rsi + 9], al
mov eax, dword [rdi + 8]
shr eax, 8
mov byte [rsi + 0xa], al
movzx eax, byte [rdi + 8]
mov byte [rsi + 0xb], al
movzx eax, byte [rdi + 0xf]
mov byte [rsi + 0xc], al
movzx eax, byte [rdi + 0xe]
mov byte [rsi + 0xd], al
mov eax, dword [rdi + 0xc]
shr eax, 8
mov byte [rsi + 0xe], al
movzx eax, byte [rdi + 0xc]
mov byte [rsi + 0xf], al
movzx eax, byte [rdi + 0x13]
mov byte [rsi + 0x10], al
movzx eax, byte [rdi + 0x12]
mov byte [rsi + 0x11], al
mov eax, dword [rdi + 0x10]
shr eax, 8
mov byte [rsi + 0x12], al
movzx eax, byte [rdi + 0x10]
mov byte [rsi + 0x13], al
movzx eax, byte [rdi + 0x17]
mov byte [rsi + 0x14], al
movzx eax, byte [rdi + 0x16]
mov byte [rsi + 0x15], al
mov eax, dword [rdi + 0x14]
shr eax, 8
mov byte [rsi + 0x16], al
movzx eax, byte [rdi + 0x14]
mov byte [rsi + 0x17], al
movzx eax, byte [rdi + 0x1b]
mov rbp, qword [rsp + 0x38]
mov byte [rsi + 0x18], al
movzx eax, byte [rdi + 0x1a]
mov byte [rsi + 0x19], al
mov eax, dword [rdi + 0x18]
shr eax, 8
mov byte [rsi + 0x1a], al
movzx eax, byte [rdi + 0x18]
mov byte [rsi + 0x1b], al
movzx eax, byte [rdi + 0x1f]
mov byte [rsi + 0x1c], al
movzx eax, byte [rdi + 0x1e]
mov byte [rsi + 0x1d], al
mov eax, dword [rdi + 0x1c]
shr eax, 8
mov byte [rsi + 0x1e], al
movzx eax, byte [rdi + 0x1c]
mov byte [rsi + 0x1f], al
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003d1b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r10d, r8d
mov r9, rdx
xor edx, edx
shr r10d, 3
mov ebx, r8d
mov r11, rcx
test r10d, r10d
je 0x14003d241
cmp r10d, 2
jb 0x14003d20d
lea eax, [r10 - 1]
lea r8, [rcx + rax*8]
lea rax, [r9 + rax*8]
cmp rcx, rax
ja 0x14003d1e5
cmp r8, r9
jae 0x14003d20d
mov eax, r10d
mov ecx, r10d
and eax, 1
sub ecx, eax
movdqu xmm1, xmmword [r9 + rdx*8]
movdqu xmm0, xmmword [r11 + rdx*8]
pxor xmm1, xmm0
movdqu xmmword [r11 + rdx*8], xmm1
add edx, 2
cmp edx, ecx
jb 0x14003d1f0
cmp edx, r10d
jae 0x14003d241
mov r8, r9
lea rcx, [r11 + rdx*8]
sub r8, r11
sub r10d, edx
mov edx, r10d
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r8 + rcx]
lea rcx, [rcx + 8]
xor qword [rcx - 8], rax
dec rdx
jne 0x14003d230
mov ecx, ebx
and ecx, 7
je 0x14003d2f1
mov eax, ebx
mov r10d, ebx
sub eax, ecx
sub r10d, eax
mov r8d, eax
cmp eax, ebx
jae 0x14003d2cc
cmp r10d, 0x10
jb 0x14003d2cc
mov edx, eax
lea eax, [rbx - 1]
mov qword [rsp + 0x10], rsi
mov ecx, eax
mov qword [rsp + 0x18], rdi
lea rdi, [rax + r11]
lea rax, [rdx + r11]
add rcx, r9
lea rsi, [rdx + r9]
cmp rax, rcx
ja 0x14003d28d
cmp rdi, rsi
jae 0x14003d2c2
and r10d, 0xf
mov ecx, ebx
sub ecx, r10d
nop word [rax + rax]
mov eax, r8d
add r8d, 0x10
movdqu xmm1, xmmword [rax + r9]
movdqu xmm0, xmmword [rax + r11]
pxor xmm1, xmm0
movdqu xmmword [rax + r11], xmm1
cmp r8d, ecx
jb 0x14003d2a0
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
cmp r8d, ebx
jae 0x14003d2f1
mov eax, r8d
sub r9, r11
add rax, r11
sub ebx, r8d
mov edx, ebx
nop
movzx ecx, byte [rax + r9]
lea rax, [rax + 1]
xor byte [rax - 1], cl
dec rdx
jne 0x14003d2e0
pop rbx
ret
Function at 0x140042e50
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbp, rcx
mov rdi, rdx
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0xff
mov byte [rsp + 0x30], 0
call sub.MSVCR120.dll_memset
xor esi, esi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
call fcn.1400acec0
mov rbx, rax
test rax, rax
jne 0x140042ebb
lea rdx, str.Remote_config_init_failed_
xor ecx, ecx
call fcn.140041b60
xor eax, eax
jmp 0x140043079
mov r8, rbp
mov edx, 0x2712
mov rcx, rax
call fcn.1400acfa0
mov edx, 0x4a
mov rcx, rbx
lea r8d, [rdx - 0x49]
call fcn.1400acfa0
mov edx, 0x4e
mov rcx, rbx
lea r8d, [rdx - 0x3f]
call fcn.1400acfa0
lea r8, [rsp + 0x30]
mov edx, 0x271a
mov rcx, rbx
call fcn.1400acfa0
mov edx, 0x63
mov rcx, rbx
lea r8d, [rdx - 0x62]
call fcn.1400acfa0
mov edx, 0x79
mov rcx, rbx
lea r8d, [rdx - 0x78]
call fcn.1400acfa0
lea r8, [0x140042050]
mov edx, 0x4e2b
mov rcx, rbx
call fcn.1400acfa0
lea r8, [rsp + 0x20]
mov edx, 0x2711
mov rcx, rbx
call fcn.1400acfa0
mov r8, qword [0x1402d50b8]
test r8, r8
je 0x140042f76
mov edx, 0x2714
mov rcx, rbx
call fcn.1400acfa0
mov r8d, dword [0x1402d89d0]
mov edx, 0x65
mov rcx, rbx
call fcn.1400acfa0
jmp 0x140042fe4
lea rcx, [0x140249d10]
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x140042fe4
lea rcx, [0x140249d20]
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x140042fac
lea rcx, [0x140249d20]
call qword [sym.imp.MSVCR120.dll_getenv]
mov r8, rax
jmp 0x140042fd7
lea rcx, [0x140249d30]
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x140042fd0
lea rcx, [0x140249d30]
call qword [sym.imp.MSVCR120.dll_getenv]
mov r8, rax
jmp 0x140042fd7
lea r8, [0x1401de1a2]
mov edx, 0x2714
mov rcx, rbx
call fcn.1400acfa0
mov rcx, rbx
call fcn.1400ad180
test eax, eax
je 0x140043005
lea r8, [rsp + 0x30]
lea rdx, str.Remote_config_read_failed:__s
xor ecx, ecx
call fcn.140041b60
jmp 0x14004306e
mov r9, qword [rsp + 0x20]
test r9, r9
je 0x140043060
cmp qword [rsp + 0x28], rsi
je 0x140043060
test rdi, rdi
je 0x140043038
lea rdx, str._string_
mov rcx, rdi
mov byte [rdi + 0x5c], sil
mov qword [rdi], 0xffffffffffffffff
mov dword [rdi + 8], esi
call fcn.14002d0e0
test r9, r9
jne 0x140043050
lea r8, str.wrong_arguments
xor edx, edx
mov rcx, rdi
call fcn.14002d610
jmp 0x14004306e
mov rdx, rdi
mov rcx, r9
call fcn.14002ebd0
mov rsi, rax
jmp 0x14004306e
lea rdx, str.Empty_data_received_for_config
xor ecx, ecx
call fcn.140041b60
mov rcx, rbx
call fcn.1400b0340
mov rax, rsi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401bb2c0
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400435f0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x260
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r15d, r15d
mov rsi, rdx
mov rbp, rcx
mov edi, r15d
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdx + rbx], dil
jne 0x140043620
movsxd rax, ebx
inc ebx
mov qword [rsp + 0x2a0], r14
mov byte [rax + rdx], 0xa
test ebx, ebx
jle 0x1400436a5
nop
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea ecx, [rbp + 1]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jl 0x1400436d0
movsxd rdx, edi
xor r9d, r9d
mov r8d, ebx
add rdx, rsi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14004369d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400436d0
mov eax, r15d
sub ebx, eax
add edi, eax
test ebx, ebx
jg 0x140043640
mov eax, 1
mov r14, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401bb2c0
add rsp, 0x260
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x1400436aa

Function at 0x140043750
Capabilities:
Get socket status

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x30], edx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rcx
xor ebx, ebx
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
inc ecx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x34], ebx
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
setg bl
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401bb2c0
add rsp, 0x260
pop rbx
ret
Function at 0x140052310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, r8
mov r10, rdx
not ecx
test r8, r8
je 0x14005234f
lea r11, [0x1401e18f0]
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r10]
mov eax, ecx
lea r10, [r10 + 1]
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [r11 + r8*4]
xor ecx, eax
dec r9
jne 0x140052330
not ecx
mov eax, ecx
ret
Function at 0x14005a5a0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov rbx, rcx
call fcn.140055280
xor eax, eax
movups xmm0, xmmword [0x1401e1d30]
movups xmmword [rbx + 0x48], xmm0
movups xmm1, xmmword [0x1401e1d40]
movups xmmword [rbx + 0x58], xmm1
movups xmm0, xmmword [0x1401e18c8]
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x40], rax
movups xmmword [rbx + 0x68], xmm0
add rsp, 0x30
pop rbx
ret

Function at 0x14005a680
Capabilities:
Hash data using sha512

Disassembly:
mov r9, rdx
jmp 0x14005a690
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.14005a090
movaps xmm0, xmmword [0x1401e1d70]
xor eax, eax
movups xmmword [rbx + 0x88], xmm0
movaps xmm1, xmmword [0x1401e1d80]
movups xmmword [rbx + 0x98], xmm1
movaps xmm0, xmmword [0x1401e1d90]
movups xmmword [rbx + 0xa8], xmm0
movaps xmm1, xmmword [0x1401e1da0]
movups xmmword [rbx + 0xb8], xmm1
movups xmm0, xmmword [0x1401e1d50]
movups xmmword [rbx + 0xc8], xmm0
movups xmm1, xmmword [0x1401e1d60]
mov qword [rbx + 0xf0], rax
mov qword [rbx + 0xe8], rax
mov qword [rbx + 0x80], rax
movups xmmword [rbx + 0xd8], xmm1
add rsp, 0x30
pop rbx
ret

Function at 0x14005a690
Capabilities:
Hash data using sha512

Disassembly:
mov r9, rdx
jmp 0x14005a690
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.14005a090
movaps xmm0, xmmword [0x1401e1d70]
xor eax, eax
movups xmmword [rbx + 0x88], xmm0
movaps xmm1, xmmword [0x1401e1d80]
movups xmmword [rbx + 0x98], xmm1
movaps xmm0, xmmword [0x1401e1d90]
movups xmmword [rbx + 0xa8], xmm0
movaps xmm1, xmmword [0x1401e1da0]
movups xmmword [rbx + 0xb8], xmm1
movups xmm0, xmmword [0x1401e1d50]
movups xmmword [rbx + 0xc8], xmm0
movups xmm1, xmmword [0x1401e1d60]
mov qword [rbx + 0xf0], rax
mov qword [rbx + 0xe8], rax
mov qword [rbx + 0x80], rax
movups xmmword [rbx + 0xd8], xmm1
add rsp, 0x30
pop rbx
ret
Function at 0x14008d090
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov rbx, rcx
call fcn.14008cea0
movups xmm0, xmmword [0x1401e8d00]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [0x1401e8d10]
mov qword [rbx + 0x60], 0
movups xmmword [rbx + 0x50], xmm1
add rsp, 0x30
pop rbx
ret
Function at 0x14008f720
Capabilities:
Hash data using sha512

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov rbx, rcx
call fcn.14008f3b0
movaps xmm0, xmmword [0x1401e9160]
movups xmmword [rbx + 0x80], xmm0
movaps xmm1, xmmword [0x1401e9170]
movups xmmword [rbx + 0x90], xmm1
movaps xmm0, xmmword [0x1401e9180]
movups xmmword [rbx + 0xa0], xmm0
movaps xmm1, xmmword [0x1401e9190]
mov qword [rbx + 0xc0], 0
movups xmmword [rbx + 0xb0], xmm1
add rsp, 0x30
pop rbx
ret
Function at 0x1400a16b0
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 rax, qword [rcx]
mov rdi, r8
mov rbx, rcx
xor rax, qword [rdx]
lea rsi, str._jvC.E
lea rbp, [0x1401eb2a0]
mov qword [r8], rax
mov rax, qword [rdx + 8]
xor rax, qword [rcx + 8]
mov qword [r8 + 8], rax
mov rax, qword [rdx + 0x10]
xor rax, qword [rcx + 0x10]
mov qword [r8 + 0x10], rax
mov rax, qword [rdx + 0x18]
xor rax, qword [rcx + 0x18]
mov qword [r8 + 0x18], rax
mov rax, qword [rdx + 0x20]
xor rax, qword [rcx + 0x20]
mov qword [r8 + 0x20], rax
mov rax, qword [rdx + 0x28]
xor rax, qword [rcx + 0x28]
mov qword [r8 + 0x28], rax
mov rax, qword [rdx + 0x30]
xor rax, qword [rcx + 0x30]
mov qword [r8 + 0x30], rax
mov rax, qword [rdx + 0x38]
xor rax, qword [rcx + 0x38]
mov qword [r8 + 0x38], rax
mov rcx, rdi
call fcn.1400a1330
mov rax, qword [rsi - 0x10]
mov rcx, rbx
xor qword [rbx], rax
mov rax, qword [rsi - 8]
xor qword [rbx + 8], rax
mov rax, qword [rsi]
xor qword [rbx + 0x10], rax
mov rax, qword [rsi + 8]
xor qword [rbx + 0x18], rax
mov rax, qword [rsi + 0x10]
xor qword [rbx + 0x20], rax
mov rax, qword [rsi + 0x18]
xor qword [rbx + 0x28], rax
mov rax, qword [rsi + 0x20]
xor qword [rbx + 0x30], rax
mov rax, qword [rsi + 0x28]
xor qword [rbx + 0x38], rax
call fcn.1400a1330
mov rax, qword [rbx]
xor qword [rdi], rax
mov rax, qword [rbx + 8]
add rsi, 0x40
xor qword [rdi + 8], rax
mov rax, qword [rbx + 0x10]
xor qword [rdi + 0x10], rax
mov rax, qword [rbx + 0x18]
xor qword [rdi + 0x18], rax
mov rax, qword [rbx + 0x20]
xor qword [rdi + 0x20], rax
mov rax, qword [rbx + 0x28]
xor qword [rdi + 0x28], rax
mov rax, qword [rbx + 0x30]
xor qword [rdi + 0x30], rax
mov rax, qword [rbx + 0x38]
xor qword [rdi + 0x38], rax
cmp rsi, rbp
jl 0x1400a1735
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret