joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018ee0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r10, rsp
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r10
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14001a880]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.140018c70
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
mov rbp, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
lea rsp, [rsi + 0x30]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x140018eed
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r10, rsp
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r10
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14001a880]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.140018c70
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
mov rbp, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
lea rsp, [rsi + 0x30]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x140018fc0
Capabilities:
Encode data using xor

Disassembly:
xor eax, dword [r15]
xor ebx, dword [r15 + 4]
xor ecx, dword [r15 + 8]
xor edx, dword [r15 + 0xc]
mov r13d, dword [r15 + 0xf0]
sub r13d, 1
jmp 0x140018fe0
movzx esi, al
movzx edi, bl
movzx ebp, cl
mov r10d, dword [r14 + rsi*8]
mov r11d, dword [r14 + rdi*8]
mov r12d, dword [r14 + rbp*8]
movzx esi, dh
movzx edi, ah
movzx ebp, dl
xor r10d, dword [r14 + rsi*8 + 3]
xor r11d, dword [r14 + rdi*8 + 3]
mov r8d, dword [r14 + rbp*8]
movzx esi, bh
shr eax, 0x10
movzx ebp, ch
xor r12d, dword [r14 + rsi*8 + 3]
shr edx, 0x10
xor r8d, dword [r14 + rbp*8 + 3]
shr ebx, 0x10
lea r15, [r15 + 0x10]
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
xor r10d, dword [r14 + rsi*8 + 2]
xor r11d, dword [r14 + rdi*8 + 2]
xor r12d, dword [r14 + rbp*8 + 2]
movzx esi, bh
movzx edi, ch
movzx ebp, bl
xor r10d, dword [r14 + rsi*8 + 1]
xor r11d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 2]
movzx esi, dh
mov edx, dword [r15 + 0xc]
movzx ebp, ah
xor r12d, dword [r14 + rsi*8 + 1]
mov eax, dword [r15]
xor r8d, dword [r14 + rbp*8 + 1]
xor eax, r10d
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
xor ecx, r12d
xor ebx, r11d
xor edx, r8d
sub r13d, 1
jne 0x140018fe0
lea r14, [r14 + 0x800]
movzx esi, al
movzx edi, bl
movzx ebp, cl
movzx r10d, byte [r14 + rsi]
movzx r11d, byte [r14 + rdi]
movzx r12d, byte [r14 + rbp]
movzx esi, dl
movzx edi, dh
movzx ebp, ah
movzx r8d, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl edi, 8
shl ebp, 8
xor r10d, edi
xor r11d, ebp
shr edx, 0x10
movzx esi, bh
movzx edi, ch
shr eax, 0x10
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
shl esi, 8
shl edi, 8
shr ebx, 0x10
xor r12d, esi
xor r8d, edi
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x10
shl ebp, 0x10
xor r10d, esi
xor r11d, edi
xor r12d, ebp
movzx esi, bl
movzx edi, bh
movzx ebp, ch
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x18
shl ebp, 0x18
xor r8d, esi
xor r10d, edi
xor r11d, ebp
movzx esi, dh
movzx edi, ah
mov edx, dword [r15 + 0x1c]
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
mov eax, dword [r15 + 0x10]
shl esi, 0x18
shl edi, 0x18
xor r12d, esi
xor r8d, edi
mov ebx, dword [r15 + 0x14]
mov ecx, dword [r15 + 0x18]
lea r14, [r14 - 0x800]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
repz ret
Function at 0x140019490
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r10, rsp
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r10
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14001b4c0]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.1400191a0
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
mov rbp, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
lea rsp, [rsi + 0x30]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x14001949d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r10, rsp
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r10
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14001b4c0]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.1400191a0
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
mov rbp, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
lea rsp, [rsi + 0x30]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x14001986d
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
push rdx
call fcn.1400195d0
mov r8, qword [rsp]
cmp eax, 0
jne 0x140019a6d
mov r14d, dword [r8 + 0xf0]
xor rdi, rdi
lea rcx, [rdi + r14*4]
mov rsi, r8
lea rdi, [r8 + rcx*4]
mov rax, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
lea rsi, [rsi + 0x10]
lea rdi, [rdi - 0x10]
cmp rdi, rsi
jne 0x1400198a8
lea rax, [0x14001ac80]
mov rsi, qword [rax + 0x28]
mov rdi, qword [rax + 0x30]
mov rbp, qword [rax + 0x38]
mov r15, r8
sub r14d, 1
nop
lea r15, [r15 + 0x10]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov rbx, rax
mov rdx, rcx
and rbx, rsi
and rdx, rsi
mov r9, rbx
mov r12, rdx
shr r9, 7
lea r8, [rax + rax]
shr r12, 7
lea r11, [rcx + rcx]
sub rbx, r9
sub rdx, r12
and r8, rdi
and r11, rdi
and rbx, rbp
and rdx, rbp
xor rbx, r8
xor rdx, r11
mov r8, rbx
mov r11, rdx
and rbx, rsi
and rdx, rsi
mov r10, rbx
mov r13, rdx
shr r10, 7
lea r9, [r8 + r8]
shr r13, 7
lea r12, [r11 + r11]
sub rbx, r10
sub rdx, r13
and r9, rdi
and r12, rdi
and rbx, rbp
and rdx, rbp
xor rbx, r9
xor rdx, r12
mov r9, rbx
mov r12, rdx
and rbx, rsi
and rdx, rsi
mov r10, rbx
mov r13, rdx
shr r10, 7
xor r8, rax
shr r13, 7
xor r11, rcx
sub rbx, r10
sub rdx, r13
lea r10, [r9 + r9]
lea r13, [r12 + r12]
xor r9, rax
xor r12, rcx
and r10, rdi
and r13, rdi
and rbx, rbp
and rdx, rbp
xor r10, rbx
xor r13, rdx
xor rax, r10
xor rcx, r13
xor r8, r10
xor r11, r13
mov rbx, rax
mov rdx, rcx
xor r9, r10
xor r12, r13
shr rbx, 0x20
shr rdx, 0x20
xor r10, r8
xor r13, r11
rol eax, 8
rol ecx, 8
xor r10, r9
xor r13, r12
rol ebx, 8
rol edx, 8
xor eax, r10d
xor ecx, r13d
shr r10, 0x20
shr r13, 0x20
xor ebx, r10d
xor edx, r13d
mov r10, r8
mov r13, r11
shr r10, 0x20
shr r13, 0x20
rol r8d, 0x18
rol r11d, 0x18
rol r10d, 0x18
rol r13d, 0x18
xor eax, r8d
xor ecx, r11d
mov r8, r9
mov r11, r12
xor ebx, r10d
xor edx, r13d
shr r8, 0x20
shr r11, 0x20
rol r9d, 0x10
rol r12d, 0x10
rol r8d, 0x10
rol r11d, 0x10
xor eax, r9d
xor ecx, r12d
xor ebx, r8d
xor edx, r11d
mov dword [r15], eax
mov dword [r15 + 4], ebx
mov dword [r15 + 8], ecx
mov dword [r15 + 0xc], edx
sub r14d, 1
jne 0x1400198ec
xor rax, rax
mov r15, qword [rsp + 8]
mov r14, qword [rsp + 0x10]
mov r13, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x14002c5c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test rcx, rcx
jle 0x14002c697
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp rcx, 0x64
jle 0x14002c62c
xor r8d, r8d
imul rax, rbx, 0xfffffffffffffff6
xor ecx, ecx
lea edx, [r8 + 1]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
lea rdx, [rsp + 0x50]
mov rbx, rax
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov rcx, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movss xmm6, dword [0x140161bd0]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm1, xmm1
xorps xmm0, xmm0
sub rax, qword [rsp + 0x58]
cvtsi2ss xmm0, qword [rsp + 0x60]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, xmm6
cvttss2si rax, xmm1
cmp rax, rbx
jl 0x14002c650
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
Function at 0x14002d580
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
lea r14, reloc.WS2_32.dll_getpeername
mov r15, r9
mov rax, qword [r14 + rax*8]
mov r12, r8
mov rbx, rdx
mov rsi, rcx
cmp qword [rcx], rax
jb 0x14002d5c5
call fcn.14002d3b0
test eax, eax
je 0x14002d5c5
or eax, 0xffffffff
jmp 0x14002d70d
movsx rax, byte [rbx]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov rcx, rbx
mov edi, 0x1505
test rax, rax
je 0x14002d5f4
imul rdi, rdi, 0x21
lea rcx, [rcx + 1]
add rdi, rax
movsx rax, byte [rcx]
test rax, rax
jne 0x14002d5e0
mov rcx, qword [rsi + 0x10]
xor edx, edx
mov rax, rdi
div qword [r14 + rcx*8]
mov r9, rdi
mov r8, rbx
mov r14, rdx
mov rcx, rsi
shl r14, 4
add r14, qword [rsi + 8]
mov rdx, r14
call fcn.14002d2c0
mov rbp, rax
test rax, rax
je 0x14002d651
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14002d646
mov rdx, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x14002d646
dec rdx
mov qword [rcx + 8], rdx
jne 0x14002d646
call fcn.14002f8b0
mov qword [rbp + 0x18], r15
xor eax, eax
jmp 0x14002d703
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002d655
add rcx, 0x29
je 0x14002d700
call qword [0x140137b38]
test rax, rax
je 0x14002d700
mov rdx, rax
mov qword [rax], rdi
mov qword [rax + 0x20], r12
sub rdx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rdx + rbx + 0x27], cl
test cl, cl
jne 0x14002d690
mov qword [rax + 0x18], r15
lea rcx, [rax + 8]
lea r8, [rsi + 0x18]
mov qword [rcx + 8], rcx
mov qword [rcx], rcx
mov rdx, qword [r14]
cmp rdx, r8
jne 0x14002d6e2
cmp rdx, qword [r14 + 8]
jne 0x14002d6e2
mov qword [rcx + 8], r8
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8]
mov qword [rax + 8], rcx
mov qword [r8], rcx
mov qword [r14 + 8], rcx
mov qword [r14], rcx
inc qword [rsi]
xor eax, eax
jmp 0x14002d703
mov qword [rcx + 8], rdx
mov rax, qword [rdx]
mov qword [rcx], rax
mov rax, qword [rdx]
mov qword [rax + 8], rcx
mov qword [rdx], rcx
mov qword [r14], rcx
inc qword [rsi]
xor eax, eax
jmp 0x14002d703
or eax, 0xffffffff
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002f450
Capabilities:
Hash data using djb2

Disassembly:
sub rsp, 0x28
cmp dword [rcx], 0
mov r10, rdx
jne 0x14002f4c0
movsx rax, byte [rdx]
lea r11, [rcx + 0x10]
mov r9d, 0x1505
mov rcx, rdx
test rax, rax
je 0x14002f494
nop dword [rax]
nop word [rax + rax]
imul r9, r9, 0x21
lea rcx, [rcx + 1]
add r9, rax
movsx rax, byte [rcx]
test rax, rax
jne 0x14002f480
mov r8, qword [r11 + 0x10]
xor edx, edx
lea rcx, reloc.WS2_32.dll_getpeername
mov rax, r9
div qword [rcx + r8*8]
mov r8, r10
mov rcx, r11
shl rdx, 4
add rdx, qword [r11 + 8]
call fcn.14002d2c0
test rax, rax
jne 0x14002f4c7
xor eax, eax
add rsp, 0x28
ret
mov rax, qword [rax + 0x18]
add rsp, 0x28
ret
Function at 0x140030210
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x40
mov ebp, ecx
call fcn.140032dd0
mov eax, dword [0x1401d1d50]
test eax, eax
jne 0x14003039c
mov qword [rsp + 0x50], rbx
lea edx, [rax + 1]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov dword [0x1401d1d50], 1
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x58], 0xffffffffffe17b80
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
xor edi, edi
lea rdx, [rsp + 0x58]
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov rbx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14011f8c0
test ebp, ebp
jne 0x1400302a6
mov eax, dword [0x1401d1bbc]
test eax, eax
cmovne ebp, eax
lea rcx, [0x1401d1988]
call fcn.140125130
call fcn.14003ef80
lea rcx, [0x1401d1988]
call fcn.140125710
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
cmp qword [0x1401d1d58], rdi
lea r14, [0x1401d1f30]
je 0x140030318
mov ebx, edi
cmp dword [0x1401d1ae4], ebx
jle 0x140030313
mov qword [rsp + 0x60], rsi
mov rsi, r14
cmp dword [0x1401d1bb8], edi
jne 0x14003030e
movsx edx, word [rsi]
call fcn.140040220
inc ebx
add rsi, 2
cmp ebx, dword [0x1401d1ae4]
jl 0x1400302f0
mov rsi, qword [rsp + 0x60]
call fcn.140040a10
cmp dword [0x1401d1cbc], edi
je 0x140030378
mov ecx, dword [0x1401d1ae4]
test ecx, ecx
jle 0x140030378
lea rbx, [0x140000000]
cmp dword [0x1401d1bb8], 0
jne 0x140030378
mov eax, edi
and eax, 0x8000000f
jge 0x14003034a
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movsx rax, word [r14 + rax*2]
cmp dword [rbx + rax*4 + 0x1d1aa0], 0
je 0x140030372
mov ecx, dword [rbx + rax*4 + 0x1f2740]
xor r8d, r8d
xor edx, edx
call fcn.140042c20
mov ecx, dword [0x1401d1ae4]
inc edi
cmp edi, ecx
jl 0x140030331
mov rcx, qword [0x1401f2b68]
call qword [sym.imp.MSVCR120.dll_free]
mov ecx, ebp
call qword [sym.imp.MSVCR120.dll_exit]
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x140036380
Capabilities:
Encode data using xor
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov r8d, 0x100
xor edx, edx
mov rdi, rcx
call sub.MSVCR120.dll_memset
lea rax, [0x140139e7f]
xor r9d, r9d
lea rcx, [rdi + 0x3f]
lea r10, [0x140139e40]
cmp rdi, rax
ja 0x1400363bc
cmp rcx, r10
jae 0x1400363ff
lea rax, [rbx + 0x3f]
cmp rdi, rax
ja 0x1400363ca
cmp rcx, rbx
jae 0x1400363ff
mov rcx, rdi
mov r8d, 4
mov rdx, r10
sub rcx, rbx
sub rdx, rbx
lea r9d, [r8 + 0x3c]
mov rax, rbx
movdqu xmm1, xmmword [rdx + rax]
movdqu xmm0, xmmword [rax]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx + rax - 0x10], xmm1
dec r8
jne 0x1400363e3
movsxd rax, r9d
cmp rax, 0x40
jge 0x140036426
sub rbx, r10
sub rdi, r10
nop
lea rdx, [rax + r10]
inc rax
movzx ecx, byte [rbx + rdx]
xor cl, byte [rdx]
mov byte [rdi + rdx], cl
cmp rax, 0x40
jl 0x140036410
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400392e0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x140
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffc0
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0xc0], rax
movups xmm0, xmmword [0x140139e80]
movups xmm1, xmmword [0x140139e90]
mov r12, rdx
mov rdx, rcx
lea rcx, [rbp]
mov r8d, 0x24f
mov qword [rbp + 0x60], 0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
call fcn.14003ca80
lea r9, [rbp + 0x80]
lea rcx, [rbp]
call fcn.14003cb40
mov qword [rbp + 0x60], 0
mov esi, 0x20
movups xmm0, xmmword [0x140139e80]
movups xmm1, xmmword [0x140139e90]
lea r15, [rbp + 0x80]
xor ebx, ebx
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
nop dword [rax]
nop word [rax + rax]
mov edi, 0x40
lea rcx, [rbp]
mov rdx, r15
sub edi, ebx
mov eax, edi
cmp rax, rsi
mov eax, ebx
cmova edi, esi
add rcx, rax
mov r8d, edi
mov r14d, edi
call sub.MSVCR120.dll_memcpy
add ebx, edi
add r15, r14
sub rsi, r14
cmp ebx, 0x40
jne 0x1400393d2
lea rdx, [rbp + 0x40]
lea rcx, [rbp]
call fcn.14003a4e0
xor ebx, ebx
add qword [rbp + 0x60], r14
test rsi, rsi
jne 0x140039390
lea r9, [rbp + 0x80]
lea rcx, [rbp]
call fcn.14003cb40
movaps xmm0, xmmword [rbp + 0x80]
movaps xmm1, xmmword [rbp + 0x90]
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm1
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140129b50
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14003de30
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140177090]
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.140045f70
mov rbx, rax
test rax, rax
jne 0x14003de9b
lea rdx, str.Remote_config_init_failed_
xor ecx, ecx
call fcn.14003ce00
xor eax, eax
jmp 0x14003e059
mov r8, rbp
mov edx, 0x2712
mov rcx, rax
call fcn.140046050
mov edx, 0x4a
mov rcx, rbx
lea r8d, [rdx - 0x49]
call fcn.140046050
mov edx, 0x4e
mov rcx, rbx
lea r8d, [rdx - 0x3f]
call fcn.140046050
lea r8, [rsp + 0x30]
mov edx, 0x271a
mov rcx, rbx
call fcn.140046050
mov edx, 0x63
mov rcx, rbx
lea r8d, [rdx - 0x62]
call fcn.140046050
mov edx, 0x79
mov rcx, rbx
lea r8d, [rdx - 0x78]
call fcn.140046050
lea r8, [0x14003d250]
mov edx, 0x4e2b
mov rcx, rbx
call fcn.140046050
lea r8, [rsp + 0x20]
mov edx, 0x2711
mov rcx, rbx
call fcn.140046050
mov r8, qword [0x1401d1e00]
test r8, r8
je 0x14003df56
mov edx, 0x2714
mov rcx, rbx
call fcn.140046050
mov r8d, dword [0x1401d1ea8]
mov edx, 0x65
mov rcx, rbx
call fcn.140046050
jmp 0x14003dfc4
lea rcx, [0x140160980]
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x14003dfc4
lea rcx, [0x140160990]
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x14003df8c
lea rcx, [0x140160990]
call qword [sym.imp.MSVCR120.dll_getenv]
mov r8, rax
jmp 0x14003dfb7
lea rcx, [0x1401609a0]
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x14003dfb0
lea rcx, [0x1401609a0]
call qword [sym.imp.MSVCR120.dll_getenv]
mov r8, rax
jmp 0x14003dfb7
lea r8, [0x140137a06]
mov edx, 0x2714
mov rcx, rbx
call fcn.140046050
mov rcx, rbx
call fcn.140046230
test eax, eax
je 0x14003dfe5
lea r8, [rsp + 0x30]
lea rdx, str.Remote_config_read_failed:__s
xor ecx, ecx
call fcn.14003ce00
jmp 0x14003e04e
mov r9, qword [rsp + 0x20]
test r9, r9
je 0x14003e040
cmp qword [rsp + 0x28], rsi
je 0x14003e040
test rdi, rdi
je 0x14003e018
lea rdx, str._string_
mov rcx, rdi
mov byte [rdi + 0x5c], sil
mov qword [rdi], 0xffffffffffffffff
mov dword [rdi + 8], esi
call fcn.14002d200
test r9, r9
jne 0x14003e030
lea r8, str.wrong_arguments
xor edx, edx
mov rcx, rdi
call fcn.14002d730
jmp 0x14003e04e
mov rdx, rdi
mov rcx, r9
call fcn.14002ecf0
mov rsi, rax
jmp 0x14003e04e
lea rdx, str.Empty_data_received_for_config
xor ecx, ecx
call fcn.14003ce00
mov rcx, rbx
call fcn.1400494f0
mov rax, rsi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140129b50
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400441a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, r8
mov r10, rdx
not ecx
test r8, r8
je 0x1400441df
lea r11, [0x140139f00]
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 0x1400441c0
not ecx
mov eax, ecx
ret