joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a930
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x14003ab3a
mov r8, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [r8 + 0xff]
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14003a9f4
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14003a9b0
mov ecx, dword [r10]
jmp 0x14003aad7
cmp ecx, 0x4e0
jb 0x14003aad7
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14003aa10
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14003aa60
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x14003a990
mov r8, qword [rdi + 8]
or esi, eax
lea ecx, [r8 + 0xff]
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x14003a980
xor edx, edx
mov eax, ebp
div r15d
mov ecx, eax
mov r8d, edx
xor edx, edx
mov eax, esi
div r15d
cmp eax, ecx
jb 0x14003ab5a
cmp r8d, r14d
jne 0x14003a960
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x14003ade0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword [rcx + 8]
xor r14d, r14d
mov esi, r14d
mov ebp, r14d
mov rdi, rcx
nop word [rax + rax]
lea ecx, [rax + 0xff]
shl esi, cl
add esi, esi
nop word [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14003ae84
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14003ae40
mov ecx, dword [r10]
jmp 0x14003af67
cmp ecx, 0x4e0
jb 0x14003af67
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14003aea0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14003aef0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r14d
mov dword [r10], r14d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [rdi + 0x10]
ja 0x14003ae20
mov rax, qword [rdi + 8]
or esi, ecx
add rbp, rax
cmp rbp, 0x20
jb 0x14003ae10
mov rbx, qword [rsp + 0x10]
mov eax, esi
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x140046460
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1400a82e8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov qword [rsp + 0x48], rax
mov rsi, r8
mov rdi, rdx
mov dword [rsp + 0x40], 1
xor r9d, r9d
mov qword [rsp + 0x30], 5
lea ecx, [rax + 1]
xor r8d, r8d
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1400464d7
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_recv]
jmp 0x1400464dc
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14006b910
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400469c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movzx eax, byte [rcx + 0xfa]
nop
test al, al
jne 0x140046b64
add rcx, 8
cmp qword [rcx + 0x18], 0x10
jb 0x1400469ed
mov rcx, qword [rcx]
xor r9d, r9d
mov r8, rbx
mov edx, dword [rbx + 0x28]
call fcn.14003fc40
mov qword [rbx + 0x38], rax
cmp rax, 0xffffffffffffffff
jne 0x140046a17
xor al, al
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
cmp dword [rbx + 0xd8], 0
je 0x140046a60
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 0xd8], eax
je 0x140046b9b
movups xmm0, xmmword [rbx + 0xd0]
movaps xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140046b7d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbx + 0xd0], xmm0
mov ecx, 0x20
call fcn.14006b270
mov rcx, rax
mov qword [rsp + 0x80], rax
mov esi, 1
test rax, rax
je 0x140046aaa
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], esi
mov dword [rax + 0xc], esi
lea rax, vtable.std::_Ref_count_obj2_class_sockwrapper::SocketStream_.0
mov qword [rcx], rax
mov rax, qword [rbx + 0x38]
lea rdx, vtable.sockwrapper::SocketStream.0
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
jmp 0x140046aac
xor ecx, ecx
lea rax, [rcx + 0x10]
mov qword [rbx + 0x40], rax
mov rdi, qword [rbx + 0x48]
mov qword [rbx + 0x48], rcx
test rdi, rdi
je 0x140046aeb
mov ebp, 0xffffffff
mov eax, ebp
lock xadd dword [rdi + 8], eax
cmp eax, esi
jne 0x140046aeb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebp
cmp ebp, esi
jne 0x140046aeb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + ioctlsocket]
xor eax, eax
xchg byte [rbx + 0xf9], al
xchg byte [rbx + 0xfa], sil
mov ecx, reloc.WS2_32.dll_recv
call fcn.14006b270
test rax, rax
je 0x140046b17
mov qword [rax], rbx
lea rcx, [0x140048770]
mov qword [rax + 8], rcx
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140039b50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140046b88
cmp dword [rbx + 0xd8], 0
jne 0x140046b76
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0xd0], xmm0
mov al, 1
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140046bb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
cmp dword [rcx + 0x1438], 0
mov rbx, rcx
je 0x14003b593
call fcn.14003b6a0
xor eax, eax
lea rdx, [rsp + 0x20]
xchg byte [rbx], al
mov rcx, qword [rbx + 8]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_9c816a2d9dafb4d93c9e30c1e8f31c8e___void__struct_Job_const____ptr64_.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rbx
call fcn.1400462e0
mov rcx, qword [rbx + 8]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_077ce9c466053755b8703c2d65351eaf___void__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_.0
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
mov qword [rbp - 0x68], rax
call fcn.1400462a0
mov rcx, qword [rbx + 8]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_dfa093cf4622dd136c8ccedf7b733f4e___void__struct_Pool_const____ptr64_.0
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x60]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x28], rax
call fcn.140046360
mov rcx, qword [rbx + 8]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_9cdd7d7032e8957338edb53563345300___void___.0
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x18], rbx
mov qword [rbp + 0x18], rax
call fcn.140046320
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x138]
add rsp, 0x120
pop rbp
jmp 0x140046bb0
push rbx
sub rsp, 0x60
mov rbx, rcx
mov eax, 1
xchg byte [rcx + 0x310], al
cmp dword [rcx + 0x308], 0
je 0x140046c0d
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 0x308], eax
je 0x140046cae
movups xmm0, xmmword [rbx + 0x300]
movaps xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140046c90
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbx + 0x300], xmm0
xor eax, eax
xchg byte [rbx + 0x310], al
mov byte [rbx + 0x2f8], 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.14006b270
test rax, rax
je 0x140046c39
mov qword [rax], rbx
lea rcx, [0x140045d30]
mov qword [rax + 8], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140039b50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140046c9b
cmp dword [rbx + 0x308], 0
jne 0x140046c89
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x300], xmm0
add rsp, 0x60
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140058390
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x18
mov rax, qword [0x1400a82e8]
xor rax, rsp
mov qword [rsp + 8], rax
mov r10, r9
mov r9d, edx
mov r11, rcx
test edx, edx
jne 0x1400583c4
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.14006b910
add rsp, 0x18
ret
mov rcx, qword [r8]
mov qword [rsp], rcx
movzx eax, cl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [rsp + 1]
xor edx, eax
movzx eax, byte [rsp + 2]
imul r8d, edx, 0x1000193
xor r8d, eax
movzx eax, byte [rsp + 3]
imul edx, r8d, 0x1000193
xor edx, eax
movzx eax, byte [rsp + 4]
imul r8d, edx, 0x1000193
xor r8d, eax
movzx eax, byte [rsp + 5]
imul edx, r8d, 0x1000193
xor edx, eax
movzx eax, byte [rsp + 6]
imul r8d, edx, 0x1000193
xor r8d, eax
movzx eax, byte [rsp + 7]
imul edx, r8d, 0x1000193
xor edx, eax
imul r8d, edx, 0x1000193
xor edx, edx
mov eax, r8d
div r9d
mov rax, qword [r11 + rdx*8]
lea rdx, [r11 + rdx*8]
test rax, rax
je 0x140058464
cmp qword [rax + 8], rcx
je 0x140058464
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x140058453
test r10, r10
je 0x14005846c
mov dword [r10], r8d
mov rax, rdx
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.14006b910
add rsp, 0x18
ret

Function at 0x140058bc0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140058cf6
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov qword [rsp + 0x10], rbp
mov rdi, r8
lea rbp, str._.C
mov rsi, rdx
mov r11, rcx
xor ebx, ebx
nop dword [rax + rax]
movzx r8d, byte [rbx + rsi]
movzx r10d, byte [r11 + 0x40]
movzx eax, r8b
xor al, byte [r11 + r10]
lea r9, [r11 + r10]
mov byte [r9 + 0x20], al
mov ecx, r8d
mov byte [r9 + 0x10], r8b
movzx eax, byte [r11 + 0x41]
xor rcx, rax
movzx eax, byte [r9 + 0x30]
movzx edx, byte [rcx + rbp]
xor edx, eax
lea eax, [r10 + 1]
and eax, 0xf
mov byte [r9 + 0x30], dl
mov byte [r11 + 0x41], dl
mov byte [r11 + 0x40], al
test al, al
jne 0x140058cda
xor dl, dl
xor r8b, r8b
nop dword [rax]
nop dword [rax + rax]
lea rax, [r11 + 1]
mov r9d, 8
nop word [rax + rax]
movzx ecx, dl
lea rax, [rax + 6]
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 7]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 7], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 6]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 6], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 5]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 5], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 4]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 4], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 3]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 3], dl
movzx edx, byte [rcx + rbp]
movzx ecx, byte [rax - 2]
xor edx, ecx
mov byte [rax - 2], dl
sub r9, 1
jne 0x140058c60
add dl, r8b
inc r8b
cmp r8b, 0x12
jb 0x140058c50
inc rbx
cmp rbx, rdi
jb 0x140058bf0
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret
Function at 0x140058d00
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, byte [rcx + 0x40]
lea r11, str._.C
lea r8, [rcx + r9]
movzx eax, dl
mov byte [r8 + 0x10], dl
mov r10, rcx
xor al, byte [r8]
mov byte [r8 + 0x20], al
movzx eax, byte [rcx + 0x41]
movzx edx, dl
xor rdx, rax
movzx eax, byte [r8 + 0x30]
movzx ecx, byte [rdx + r11]
xor ecx, eax
lea eax, [r9 + 1]
and eax, 0xf
mov byte [r8 + 0x30], cl
mov byte [r10 + 0x41], cl
mov byte [r10 + 0x40], al
test al, al
jne 0x140058df0
xor dl, dl
xor r8b, r8b
nop word [rax + rax]
lea rax, [r10 + 1]
mov r9d, 8
nop word [rax + rax]
movzx ecx, dl
lea rax, [rax + 6]
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 7]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 7], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 6]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 6], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 5]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 5], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 4]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 4], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 3]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 3], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 2]
xor edx, ecx
mov byte [rax - 2], dl
sub r9, 1
jne 0x140058d70
add dl, r8b
inc r8b
cmp r8b, 0x12
jb 0x140058d60
ret
Function at 0x140068d70
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, eax
test eax, eax
jne 0x140068d8e
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
xor edx, edx
cmp rcx, rbx
cmovb ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x14006fd90
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x40
movzx ebp, r8b
mov rdi, rdx
mov rsi, rcx
lea eax, [rbp - 1]
cmp al, 0x3f
ja 0x14006feaa
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
cmp rax, 0x40
ja 0x14006fe87
xorps xmm0, xmm0
mov rax, qword [rcx + 0x30]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov r8d, 0x40
lea rdx, [0x1400942e0]
mov rcx, qword [rcx]
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
xor rcx, 0x10100
shl rcx, 8
xor rcx, rbp
mov rax, qword [rsi]
xor qword [rax], rcx
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
cmp rdx, r8
je 0x14006fe63
movzx ebx, dl
sub bl, r8b
add bl, 0x80
sub r8, rdx
mov rcx, qword [rsi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
movzx r8d, bl
mov rax, qword [rsi + 0x18]
lea rcx, [rax + r8*8]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov byte [rsi + 0x48], 0x80
mov rax, qword [rsi + 0x30]
sub qword [rax], 0xffffffffffffff80
mov rdx, qword [rsi + 0x30]
xor ecx, ecx
cmp qword [rdx], 0x80
setb cl
add qword [rdx + 8], rcx
jmp 0x14006fe67
mov byte [rsi + 0x48], 0
mov byte [rsi + 0x49], bpl
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp fcn.140019720
lea rdx, str.Optional_key_must_be_at_most_64_bytes
lea rcx, [rsp + 0x20]
call fcn.140004400
lea rdx, [0x1400a4d70]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, [0x140094320]
lea rcx, [rsp + 0x20]
call fcn.140004400
lea rdx, [0x1400a4d70]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1407da058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407da1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407da089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407da06f
add dl, dl
jne 0x1407da096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407da0f6
xor eax, eax
add dl, dl
jne 0x1407da0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407da1ad
add dl, dl
jne 0x1407da0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407da0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407da0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407da0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407da0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407da07e
mov eax, 1
add dl, dl
jne 0x1407da106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407da113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407da0fb
sub eax, ebx
mov ebx, 1
jne 0x1407da14c
mov ecx, 1
add dl, dl
jne 0x1407da12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407da13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407da123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407da07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407da168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407da175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407da15d
cmp eax, 0x7d00
jae 0x1407da19b
cmp eax, 0x500
jb 0x1407da196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407da07e
cmp eax, 0x7f
ja 0x1407da19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407da07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407da1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407da07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x95e3e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x95e3ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x95e3fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x95e3e5
lea eax, [rcx + 1]
jmp 0x95e40b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x95e41e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x95e404
sub eax, 3
jb 0x95e43e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x95e48d
sar eax, 1
movsxd rbp, eax
jb 0x95e474
jmp 0x95e44c
add ebx, ebx
jne 0x95e44a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x95e474
inc ecx
add ebx, ebx
jne 0x95e45a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x95e474
call r11
adc ecx, ecx
add ebx, ebx
jne 0x95e46d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x95e45c
add ecx, 2
jmp 0x95e479
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0095e3a2
jmp 0x95e3ed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x194400
mov dl, 0x2b
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x95e4d9
cmp rsi, rcx
jae 0x95e4e1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x95e4c0
cmp al, 0x8f
ja 0x95e4c0
cmp byte [rsi - 2], 0xf
je 0x95e4c6
sub al, 0xe8
cmp al, 1
ja 0x95e4aa
cmp rsi, rcx
jae 0x95e4e1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x95e4b0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x95e4e1
lodsb al, byte [rsi]
jmp 0x95e4c0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x559000]
mov eax, dword [rdi]
or eax, eax
je 0x95e53e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x55e000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x95e4ee
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x95e538
mov qword [rbx], rax
add rbx, 8
jmp 0x95e50e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x95e582
cmp al, 0xef
ja 0x95e56a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x95e54a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x95e559
mov eax, dword [rdi]
add rdi, 4
jmp 0x95e559
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x95e5d6
sub rsp, 0xffffffffffffff80
jmp 0x464320
Function at 0x140005e98
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [0x14005a138], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140005ef4
movaps xmm0, xmmword [0x14003c8e0]
movaps xmm1, xmmword [0x14003c8f0]
movdqa xmmword [0x140046e10], xmm0
movaps xmm0, xmmword [0x14003c900]
movdqa xmmword [0x140046e00], xmm1
movaps xmm1, xmmword [0x14003c910]
movdqa xmmword [0x140046df0], xmm0
movdqa xmmword [0x140046de0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.14002d040
xor r11d, r11d
mov qword [rbx + 0x110], r11
mov byte [rbx + 0x118], r11b
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14003c820]
mov eax, dword [r11 + rax]
mov dword [r11 + rcx], eax
add r11, 4
cmp r11, 0x20
jl 0x140005f12
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
shl edi, 0x10
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret