joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140201b60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rbx, r9
mov rdi, r8
mov r14, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea ecx, [r12 + 0x20]
call fcn.140322d7c
mov r15, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_std::thread_.0
mov qword [r15], rax
lea rbp, [r15 + 0x10]
lea ecx, [r12 + 0x18]
call fcn.140322d7c
mov rcx, qword [rbx]
mov qword [rax], rcx
movups xmm0, xmmword [rdi]
movups xmmword [rax + 8], xmm0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 4
lea rbx, [rbp + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140201b30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x140201d27
mov qword [r14], rbp
mov qword [r14 + 8], r15
mov dword [rsp + 0x30], 7
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lock inc dword [r15 + 8]
mov rax, qword [r14]
mov qword [rsp + 0x50], rax
mov rbx, qword [r14 + 8]
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x48], rcx
test rax, rax
je 0x140201cd2
cmp dword [rax + 8], r12d
je 0x140201cd2
lea rbx, [rsi + 0x20]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140201d1f
lea rcx, [rsi + 8]
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x18]
je 0x140201cb2
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140201c9a
lock inc dword [rax + 8]
mov rbx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov qword [rdx], rax
mov rax, qword [rsp + 0x58]
mov qword [rdx + 8], rax
add qword [rcx + 8], 0x10
jmp 0x140201cbd
lea r8, [rsp + 0x50]
call fcn.1401bb290
nop
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
nop
lea rcx, [rsp + 0x50]
call fcn.140003d70
jmp 0x140201d03
test rbx, rbx
je 0x140201d03
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140201d03
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140201d03
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, r14
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov dword [rbx], r12d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x14020dbd0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x14020ddb3
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1400cfe10
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rdx, qword [rsi + 8]
mov rdx, qword [rdx]
cmp rdx, rdi
je 0x14020dd78
mov qword [rsp + 0x30], rbp
mov rcx, rdx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rbx
xor r9, rax
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rdi
jne 0x14020dcec
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14020dd67
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x14020dd29
mov r10, qword [rax]
cmp r10, rcx
je 0x14020dd23
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14020dd67
mov r8, rax
cmp r10, rax
je 0x14020dd43
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x14020dd8d
cmp r10, rax
jne 0x14020dd31
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rdi
jne 0x14020dc70
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14020dd67
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14021a900
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1405a9ae8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14021a9ee
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
xor edi, edi
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14021a9ee
cmp ebx, 1
jne 0x14021a99e
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.POWRPROF.dll_SetSuspendState
jmp 0x14021a9c7
cmp ebx, 2
jne 0x14021a9b1
xor r8d, r8d
xor edx, edx
mov cl, 1
call sub.POWRPROF.dll_SetSuspendState
jmp 0x14021a9c7
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
lea r9d, [rdx + 1]
lea r8d, [rdx + 0xa]
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x44], edi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov al, 1
jmp 0x14021a9f0
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1403230f0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140238990
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140238b73
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400cfe10
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140238b38
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x140238aac
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140238b27
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x140238ae9
mov r10, qword [rax]
cmp r10, rcx
je 0x140238ae3
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140238b27
mov r8, rax
cmp r10, rax
je 0x140238b03
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x140238b4d
cmp r10, rax
jne 0x140238af1
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140238a30
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140238b27
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14028a290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 0x10
mov rbx, rdx
mov r11, qword [r8 + 0x10]
mov rdx, r8
mov rdi, rcx
jb 0x14028a2b1
mov rdx, qword [r8]
xor r10d, r10d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x14028a2e4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r10 + rdx]
inc r10
xor r9, rax
imul r9, rcx
cmp r10, r11
jb 0x14028a2d0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14028a120
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14028a30b
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14028c8d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14028ca95
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400cfe10
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14028ca5a
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
mov r10d, dword [rcx + 0x10]
mov r11, qword [rsi + 0x30]
mov eax, r10d
mov rdx, qword [rdx]
shr eax, 8
movzx r8d, al
mov eax, r10d
shr eax, 0x10
movzx r9d, r10b
xor r9, rbp
imul r9, rdi
xor r9, r8
movzx r8d, al
imul r9, rdi
mov eax, r10d
xor r9, r8
shr rax, 0x18
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14028c9d2
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14028ca49
mov rax, qword [r11 + 8]
cmp r10d, dword [rax + 0x10]
jne 0x14028ca0b
mov r10, qword [rax]
cmp r10, rcx
je 0x14028ca05
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14028ca49
mov r8, rax
cmp r9, rax
je 0x14028ca25
mov rax, qword [rax + 8]
mov r8, rax
cmp r10d, dword [rax + 0x10]
je 0x14028ca6f
cmp r9, rax
jne 0x14028ca13
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x14028c970
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14028ca49
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1402d0b90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
movsxd r15, edx
mov rbx, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea eax, [r15 - 1]
cmp eax, 0xfe
ja 0x1402d0d1d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov edi, r12d
test edx, edx
je 0x1402d0bf7
mov rdx, r15
call fcn.1402cc3f0
mov rcx, qword [rbx]
lea rdi, [rcx + r15]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbx + 8], rdi
mov dword [rsp + 0x20], 1
mov rax, qword [rbx]
sub rdi, rax
lea rcx, [rdi - 1]
cmp rdi, rcx
jbe 0x1402d0d17
mov byte [rax + rcx], 1
mov bpl, 1
mov r14d, r12d
test r15d, r15d
jle 0x1402d0cfa
mov r8, qword [rbx + 8]
mov r10, qword [rbx]
nop dword [rax]
mov r9, r12
cmp r8, r10
je 0x1402d0cdb
mov rcx, r8
mov rdx, r10
sub rcx, rdx
cmp rcx, r9
jbe 0x1402d0d17
mov eax, r12d
mov r11d, 7
movzx edi, bpl
movzx esi, byte [rdx + r9]
movzx ecx, r11b
mov r8d, edi
shr r8d, cl
and r8d, 1
imul r8d, esi
mov ecx, eax
sar ecx, 7
imul edx, ecx, 0x11d
xor r8d, edx
lea ecx, [rax + rax]
mov eax, r8d
xor eax, ecx
sub r11d, 1
jns 0x1402d0c60
mov byte [r10 + r9], al
mov r8, qword [rbx + 8]
mov r10, qword [rbx]
mov rax, r8
sub rax, r10
mov rcx, r8
mov rdx, r10
lea r11, [r9 + 1]
cmp r11, rax
jae 0x1402d0cc9
cmp rax, r9
jbe 0x1402d0d17
movzx eax, byte [r10 + r11]
xor byte [r10 + r9], al
mov r8, qword [rbx + 8]
mov rcx, r8
mov r10, qword [rbx]
mov rdx, r10
mov r9, r11
mov rax, rcx
sub rax, rdx
cmp r11, rax
jb 0x1402d0c42
movzx eax, bpl
shr al, 7
movzx eax, al
imul ecx, eax, 0x1d
add bpl, bpl
xor bpl, cl
inc r14d
cmp r14d, r15d
jl 0x1402d0c30
mov rax, rbx
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14001e420
int3
lea rdx, str.Degree_out_of_range
lea rcx, [rsp + 0x28]
call fcn.1402cbea0
lea rdx, [0x140553b38]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1402d0d40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov dword [rsp + 0x20], 0
mov rsi, qword [r8 + 8]
sub rsi, qword [r8]
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov ebx, 0
je 0x1402d0dac
mov rdx, rsi
call fcn.1402cc3f0
mov rcx, qword [rdi]
lea rbx, [rcx + rsi]
mov r8, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 8], rbx
mov dword [rsp + 0x20], 1
mov r12, qword [r15]
mov r13, qword [r15 + 8]
cmp r12, r13
je 0x1402d0ed3
mov rcx, qword [rdi]
mov r8, rbx
nop word [rax + rax]
cmp rbx, rcx
je 0x1402d0eee
movzx r15d, byte [r12]
xor r15b, byte [rcx]
mov rcx, qword [rdi]
lea rdx, [rcx + 1]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
mov rdx, qword [rdi + 8]
dec rdx
mov qword [rdi + 8], rdx
mov byte [rsp + 0x78], 0
cmp rdx, qword [rdi + 0x10]
je 0x1402d0e0f
mov byte [rdx], 0
inc qword [rdi + 8]
jmp 0x1402d0e1c
lea r8, [rsp + 0x78]
mov rcx, rdi
call fcn.1401f8ff0
mov rbx, qword [rdi + 8]
xor r9d, r9d
mov r11, qword [rdi]
mov rcx, r11
mov r8, rbx
cmp rbx, r11
je 0x1402d0ec7
nop word [rax + rax]
mov rcx, qword [r14]
mov rax, qword [r14 + 8]
sub rax, rcx
cmp rax, r9
jbe 0x1402d0eee
xor r8d, r8d
mov r10d, 7
movzx esi, r15b
movzx ebp, byte [rcx + r9]
nop word [rax + rax]
movzx ecx, r10b
mov edx, esi
shr edx, cl
and edx, 1
imul edx, ebp
mov eax, r8d
sar eax, 7
imul ecx, eax, 0x11d
xor edx, ecx
lea eax, [r8 + r8]
mov r8d, edx
xor r8d, eax
sub r10d, 1
jns 0x1402d0e70
sub rbx, r11
cmp rbx, r9
jbe 0x1402d0eee
xor byte [r11 + r9], r8b
inc r9
mov rbx, qword [rdi + 8]
mov r11, qword [rdi]
mov rcx, r11
mov r8, rbx
mov rax, rbx
sub rax, r11
cmp r9, rax
jb 0x1402d0e40
inc r12
cmp r12, r13
jne 0x1402d0dd0
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14001e420
int3

Function at 0x1402d8000
Capabilities:
Check mutex on windows
Check os version

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1401eab90
lea rcx, [rbx + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.1401eab90
Function at 0x140303250
Capabilities:
Check internet connectivity via wininet

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
mov rcx, rbx
setne dl
call fcn.140303290
add rsp, 0x20
pop rbx
ret
Function at 0x140317450
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
cmp qword [rcx + 0x40], 0
mov rdi, rcx
je 0x14031747f
mov al, 1
mov rdi, qword [rsp + 0x158]
add rsp, 0x130
pop rbp
ret
mov qword [rsp + 0x150], rsi
call fcn.140317360
mov rsi, rax
test rax, rax
je 0x1403175e2
mov qword [rsp + 0x148], rbx
mov ebx, dword [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rdi + 0x28]
mov dword [rbp - 0x6c], eax
lea r9, [rsp + 0x40]
lea rax, [rdi + 0x5c]
mov dword [rbp - 0x68], ebx
xor ebx, ebx
mov qword [rbp - 0x60], rax
lea rax, [rdi + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x70]
lea rax, [rdi + 0x68]
mov dword [rbp - 0x70], 1
mov qword [rbp - 0x50], rax
lea r8d, [rbx + 0x50]
lea rax, [rbp + 0x40]
mov qword [rbp - 0x38], rbx
movups xmmword [rbp - 0x48], xmm0
mov qword [rsp + 0x28], rax
mov rcx, rsi
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x50
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
movups xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rbx
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rbp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x1403175ce
cmp dword [rsp + 0x40], 2
jne 0x1403175ce
cmp dword [rsp + 0x44], ebx
je 0x1403175ce
cmp qword [rsp + 0x78], rbx
je 0x1403175ce
cmp qword [rbp - 0x80], rbx
je 0x1403175ce
cmp qword [rbp - 0x78], rbx
je 0x1403175ce
xorps xmm0, xmm0
mov qword [rbp - 0x1c], rbx
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm0
xor eax, eax
movaps xmmword [rbp], xmm1
lea r9, [rbp + 0x40]
mov qword [rbp + 0x10], rax
lea r8d, [rbx + 0x50]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp - 0x20]
mov qword [rbp + 0x18], rbx
mov rcx, rsi
mov dword [rbp - 0x20], 3
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1403175ce
mov rax, qword [rsp + 0x78]
mov bl, 1
mov qword [rdi + 0x40], rax
mov rax, qword [rbp - 0x80]
mov qword [rdi + 0x48], rax
mov rax, qword [rbp - 0x78]
mov qword [rdi + 0x50], rax
mov eax, dword [rsp + 0x44]
mov dword [rdi + 0x58], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x148]
mov rsi, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x158]
add rsp, 0x130
pop rbp
ret
Function at 0x1403241b0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x1403241ed
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.140323a4c
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1403242ec
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140323a4c
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x140324260
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.1400212a0
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x14032432b
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x14032432b
call fcn.140322dc0
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x140324312
mov rcx, r14
call fcn.140322dc0
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x140a4b6b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140a4b837
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a4b6e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a4b6c7
add dl, dl
jne 0x140a4b6ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a4b74e
xor eax, eax
add dl, dl
jne 0x140a4b6fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a4b805
add dl, dl
jne 0x140a4b70e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a4b71b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a4b728
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a4b735
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a4b742
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a4b6d6
mov eax, 1
add dl, dl
jne 0x140a4b75e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a4b76b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a4b753
sub eax, ebx
mov ebx, 1
jne 0x140a4b7a4
mov ecx, 1
add dl, dl
jne 0x140a4b786
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a4b793
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a4b77b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a4b6d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a4b7c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a4b7cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a4b7b5
cmp eax, 0x7d00
jae 0x140a4b7f3
cmp eax, 0x500
jb 0x140a4b7ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a4b6d6
cmp eax, 0x7f
ja 0x140a4b7f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a4b6d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a4b82a
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 0x140a4b6d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20