joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400065c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14012d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400065ed
xor eax, eax
jmp 0x140006759
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006627
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140006627
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140006759
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000674c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000666a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140006695
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006751
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006704
sub eax, 1
je 0x140006704
cmp eax, 2
jne 0x14000674c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006751
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006732
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000674c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140006751
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140013a10
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400072d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14012d040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400073a3
cmp byte [rcx + 0x71], 0
je 0x1400073a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000739f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140007364
sub eax, 1
je 0x140007368
cmp eax, 2
jne 0x14000739f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140013a10
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140007396
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000739f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000734c
xor al, al
jmp 0x14000734c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140013a10
add rsp, 0x60
pop rbx
ret
Function at 0x140008f00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140008f61
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140008f20
mov ecx, dword [r9]
jmp 0x14000904b
cmp ecx, 0x4e0
jb 0x14000904b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140008f80
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140008fd0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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
add rsp, 8
ret
Function at 0x14000bf30
Capabilities:
Hash data using sha256

Disassembly:
push rdi
sub rsp, 0xd0
mov rax, qword [0x14012d040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov edi, ecx
cmp cl, 1
je 0x14000bf7a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Invalid_flags
lea rdx, str._libsecp256k1__illegal_argument:__s_n
call fcn.14000bee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov ecx, 0xc8
mov qword [rsp + 0xe0], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14000bfbb
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Out_of_memory
lea rdx, str._libsecp256k1__internal_consistency_check_failed:__s_n
call fcn.14000bee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rcx, qword [str.For_this_sample__this_63_byte_string_will_be_used_as_input_data]
lea rdx, [rsp + 0xa0]
mov dword [rsp + 0x30], 0x6a09e667
mov dword [rsp + 0x34], 0xbb67ae85
mov dword [rsp + 0x38], 0x3c6ef372
movups xmm0, xmmword [rcx]
mov eax, dword [rcx + 0x38]
movups xmm1, xmmword [rcx + 0x10]
mov dword [rsp + 0x88], eax
movzx eax, word [rcx + 0x3c]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rcx + 0x20]
mov word [rsp + 0x8c], ax
movzx eax, byte [rcx + 0x3e]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm1, qword [rcx + 0x30]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x3c], 0xa54ff53a
mov dword [rsp + 0x40], 0x510e527f
mov dword [rsp + 0x44], 0x9b05688c
mov dword [rsp + 0x48], 0x1f83d9ab
mov dword [rsp + 0x4c], 0x5be0cd19
mov qword [rsp + 0x90], 0x3f
movsd qword [rsp + 0x80], xmm1
mov byte [rsp + 0x8e], al
call fcn.140010f80
xor eax, eax
lea r8, [0x140016690]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
movzx edx, byte [rsp + rax + 0xa0]
cmp edx, ecx
jne 0x14000c0f6
inc rax
cmp rax, 0x20
jb 0x14000c080
movups xmm0, xmmword [0x1400167c8]
xor edx, edx
mov rcx, rbx
movups xmmword [rbx + 0xa0], xmm0
movups xmm1, xmmword [0x1400167d8]
movups xmmword [rbx + 0xb0], xmm1
call fcn.14000c7c0
mov dword [rbx], 1
mov rax, rbx
shr edi, 0xa
and edi, 1
mov dword [rbx + 0xc0], edi
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140013a10
add rsp, 0xd0
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.self_test_failed
lea rdx, str._libsecp256k1__internal_consistency_check_failed:__s_n
call fcn.14000bee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
Function at 0x14000cdf0
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, dword [rdx]
mov r9, rcx
and eax, 0x3ffffff
mov dword [rcx], eax
mov r8d, dword [rdx + 4]
mov eax, dword [rdx]
and r8d, 0xfffff
shr eax, 0x1a
shl r8d, 6
or r8d, eax
mov dword [rcx + 4], r8d
mov ecx, dword [rdx + 8]
mov eax, dword [rdx + 4]
and ecx, 0x3fff
shl ecx, 0xc
shr eax, 0x14
or ecx, eax
mov dword [r9 + 8], ecx
movzx ecx, byte [rdx + 0xc]
mov eax, dword [rdx + 8]
shr eax, 0xe
shl ecx, 0x12
or ecx, eax
mov dword [r9 + 0xc], ecx
mov ecx, dword [rdx + 0x10]
mov eax, dword [rdx + 0xc]
and ecx, 3
shr eax, 8
shl ecx, 0x18
or ecx, eax
mov dword [r9 + 0x10], ecx
mov eax, dword [rdx + 0x10]
shr eax, 2
and eax, 0x3ffffff
mov dword [r9 + 0x14], eax
mov ecx, dword [rdx + 0x14]
mov eax, dword [rdx + 0x10]
and ecx, 0x3fffff
shr eax, 0x1c
shl ecx, 4
or ecx, eax
mov dword [r9 + 0x18], ecx
movzx ecx, word [rdx + 0x18]
mov eax, dword [rdx + 0x14]
shr eax, 0x16
shl ecx, 0xa
or ecx, eax
mov dword [r9 + 0x1c], ecx
mov eax, dword [rdx + 0x1c]
movzx ecx, word [rdx + 0x1a]
and eax, 0x3ff
shl eax, 0x10
or ecx, eax
mov dword [r9 + 0x20], ecx
mov eax, dword [rdx + 0x1c]
shr eax, 0xa
mov dword [r9 + 0x24], eax
ret
Function at 0x14000f480
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x100
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
mov rax, qword [0x14012d040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, r8
mov rdi, rcx
cmp r8, 0x40
ja 0x14000f4ef
lea rcx, [r11 - 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x40
lea rcx, [rsp + 0x90]
sub r8, rbx
add rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movdqu xmm0, xmmword [rsp + 0xc0]
movdqu xmm1, xmmword [rsp + 0xb0]
jmp 0x14000f55d
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x6a09e667
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
mov qword [rsp + 0x80], 0
call fcn.1400138d0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.140010f80
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqa xmm7, xmmword [str.jjjjjjjjjjjjjjjj]
lea rcx, [rdi + 0x68]
mov dword [rcx], 0x6a09e667
lea rax, [rsp + 0x90]
mov dword [rcx + 4], 0xbb67ae85
lea rdx, [rcx + 0x20]
mov dword [rcx + 8], 0x3c6ef372
movdqa xmm6, xmm7
xorps xmm6, xmmword [rsp + 0x90]
movdqa xmm5, xmm7
xorps xmm5, xmmword [rsp + 0xa0]
movdqa xmm4, xmm7
mov dword [rcx + 0xc], 0xa54ff53a
xorps xmm4, xmm1
mov dword [rcx + 0x10], 0x510e527f
xorps xmm7, xmm0
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], 0x40
movdqu xmmword [rsp + 0x90], xmm6
movdqu xmmword [rsp + 0xa0], xmm5
movdqu xmmword [rsp + 0xb0], xmm4
movdqu xmmword [rsp + 0xc0], xmm7
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x50], xmm1
call fcn.140011350
movdqa xmm3, xmmword [0x140016d90]
lea rdx, [rdi + 0x20]
mov dword [rdi], 0x6a09e667
movdqa xmm2, xmm3
mov dword [rdi + 4], 0xbb67ae85
movdqa xmm1, xmm3
mov dword [rdi + 8], 0x3c6ef372
movdqa xmm0, xmm3
mov dword [rdi + 0xc], 0xa54ff53a
xorps xmm2, xmm6
mov dword [rdi + 0x10], 0x510e527f
xorps xmm1, xmm5
mov dword [rdi + 0x14], 0x9b05688c
xorps xmm0, xmm4
mov dword [rdi + 0x18], 0x1f83d9ab
xorps xmm3, xmm7
mov dword [rdi + 0x1c], 0x5be0cd19
mov rcx, rdi
mov qword [rdi + 0x60], 0x40
movups xmmword [rdx], xmm2
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm3
call fcn.140011350
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140013a10
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000f6d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x14012d040]
xor rax, rsp
mov qword [rbp + 0x17], rax
movups xmm1, xmmword [rdx + 0x10]
mov eax, dword [rdx + 0x20]
mov ebx, 0xffffffff
xorps xmm0, xmm0
mov dword [rbp - 0x41], eax
mov eax, dword [rcx + 0x20]
mov r15, rdx
movups xmmword [rsp + 0x34], xmm0
mov r13, rcx
mov dword [rsp + 0x30], 0
movups xmmword [rbp - 0x75], xmm0
mov dword [rbp - 0x11], 1
lea r12d, [rbx + 0x15]
movups xmmword [rbp - 0xd], xmm0
mov dword [rbp - 0x19], eax
movups xmmword [rbp + 3], xmm0
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x51], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x61], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x29], xmm1
movups xmmword [rbp - 0x39], xmm0
nop word [rax + rax]
mov esi, dword [rbp - 0x61]
mov r9d, 1
mov eax, dword [rbp - 0x39]
xor r10d, r10d
xor r11d, r11d
mov edi, r9d
lea r14d, [r9 + 0x1d]
nop dword [rax]
mov r8d, ebx
mov edx, eax
sar r8d, 0x1f
and edx, 1
neg edx
mov ecx, r8d
xor ecx, esi
sub ecx, r8d
and ecx, edx
add eax, ecx
mov ecx, r8d
xor ecx, r9d
sub ecx, r8d
and ecx, edx
add r11d, ecx
mov ecx, r8d
xor ecx, r10d
sub ecx, r8d
and r8d, edx
and ecx, edx
xor ebx, r8d
add edi, ecx
dec ebx
mov ecx, r8d
and ecx, eax
shr eax, 1
add esi, ecx
mov ecx, r8d
and ecx, r11d
and r8d, edi
add r9d, ecx
add r10d, r8d
add r9d, r9d
add r10d, r10d
sub r14, 1
jne 0x14000f780
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x20]
mov r9, r15
mov dword [rsp + 0x24], r10d
lea rdx, [rbp - 0x11]
mov dword [rsp + 0x28], r11d
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x2c], edi
call fcn.14000fb00
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x61]
call fcn.14000ff30
sub r12, 1
jne 0x14000f760
mov edx, dword [rbp - 0x41]
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.14000f880
movups xmm0, xmmword [rsp + 0x30]
mov eax, dword [rbp - 0x69]
movups xmm1, xmmword [rbp - 0x79]
movups xmmword [r13], xmm0
movups xmmword [r13 + 0x10], xmm1
mov dword [r13 + 0x20], eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140013a10
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010d80
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx eax, byte [rdx + 0x1d]
movzx r13d, byte [rdx + 0x1c]
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x1e]
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x1f]
shl r13d, 8
or r13d, eax
mov dword [rcx], r13d
movzx eax, byte [rdx + 0x19]
movzx r12d, byte [rdx + 0x18]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx + 0x1a]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx + 0x1b]
shl r12d, 8
or r12d, eax
mov dword [rcx + 4], r12d
movzx eax, byte [rdx + 0x15]
movzx r15d, byte [rdx + 0x14]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdx + 0x16]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdx + 0x17]
shl r15d, 8
or r15d, eax
mov dword [rcx + 8], r15d
movzx eax, byte [rdx + 0x11]
movzx r14d, byte [rdx + 0x10]
shl r14d, 8
or r14d, eax
movzx eax, byte [rdx + 0x12]
shl r14d, 8
or r14d, eax
movzx eax, byte [rdx + 0x13]
shl r14d, 8
or r14d, eax
mov dword [rcx + 0xc], r14d
movzx eax, byte [rdx + 0xd]
movzx ebp, byte [rdx + 0xc]
shl ebp, 8
or ebp, eax
movzx eax, byte [rdx + 0xe]
shl ebp, 8
or ebp, eax
movzx eax, byte [rdx + 0xf]
shl ebp, 8
or ebp, eax
mov dword [rcx + 0x10], ebp
movzx eax, byte [rdx + 9]
movzx esi, byte [rdx + 8]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 0xa]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 0xb]
shl esi, 8
or esi, eax
mov dword [rcx + 0x14], esi
movzx eax, byte [rdx + 5]
movzx ebx, byte [rdx + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [rdx + 6]
shl ebx, 8
or ebx, eax
movzx eax, byte [rdx + 7]
shl ebx, 8
or ebx, eax
mov dword [rcx + 0x18], ebx
movzx edi, byte [rdx]
movzx eax, byte [rdx + 1]
shl edi, 8
or edi, eax
movzx eax, byte [rdx + 2]
shl edi, 8
or edi, eax
movzx eax, byte [rdx + 3]
shl edi, 8
or edi, eax
mov dword [rcx + 0x1c], edi
call fcn.140010a70
mov r9, qword [rsp + 0x60]
imul edx, eax, 0x2fc9bebf
imul r8d, eax, 0x402da173
imul ecx, eax, 0x50b75fc4
mov r10d, eax
add rdx, r13
mov dword [r9], edx
shr rdx, 0x20
add r8, rdx
imul edx, eax, 0x45512319
mov rax, qword [rsp + 0x70]
add r8, r12
mov dword [r9 + 4], r8d
shr r8, 0x20
add rcx, r8
add rcx, r15
mov dword [r9 + 8], ecx
shr rcx, 0x20
add rdx, rcx
add rdx, r14
mov dword [r9 + 0xc], edx
shr rdx, 0x20
add rdx, rbp
add rdx, r10
mov dword [r9 + 0x10], edx
shr rdx, 0x20
add rdx, rsi
mov dword [r9 + 0x14], edx
shr rdx, 0x20
add rdx, rbx
mov dword [r9 + 0x18], edx
shr rdx, 0x20
add edx, edi
mov dword [r9 + 0x1c], edx
test rax, rax
je 0x140010f5d
mov dword [rax], r10d
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400111f0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x58
mov rax, qword [0x14012d040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, rcx
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], 0
call fcn.1400138d0
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140010f80
movups xmm0, xmmword [rsp + 0x20]
mov ebx, 0x20
mov dword [r14], 0x6a09e667
movups xmm1, xmmword [rsp + 0x30]
mov qword [r14 + 0x60], rbx
lea rsi, [rsp + 0x20]
mov dword [r14 + 4], 0xbb67ae85
mov dword [r14 + 8], 0x3c6ef372
mov dword [r14 + 0xc], 0xa54ff53a
mov dword [r14 + 0x10], 0x510e527f
mov dword [r14 + 0x14], 0x9b05688c
mov dword [r14 + 0x18], 0x1f83d9ab
mov dword [r14 + 0x1c], 0x5be0cd19
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm1
mov rax, qword [r14 + 0x60]
mov rcx, rax
add rax, rbx
mov qword [r14 + 0x60], rax
and ecx, 0x3f
mov eax, 0x40
sub rax, rcx
cmp rbx, rax
jb 0x14001131f
mov qword [rsp + 0x50], rdi
mov edi, 0x40
mov rdx, rsi
sub rdi, rcx
add rcx, 0x20
add rcx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r14 + 0x20]
mov rcx, r14
add rsi, rdi
sub rbx, rdi
call fcn.140011350
xor ecx, ecx
cmp rbx, 0x40
jae 0x1400112e1
mov rdi, qword [rsp + 0x50]
test rbx, rbx
je 0x140011331
add rcx, 0x20
mov r8, rbx
add rcx, r14
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140013a10
add rsp, 0x58
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400146f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001473e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001473e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001473e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001473e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001473e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140014740
xor al, al
add rsp, 0x28
ret
Function at 0x1400112a8
Capabilities:
Terminate process

Disassembly:
jmp 0x140015810
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001136b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140016b60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016b80
xor al, al
jmp 0x140016c01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016b93
xor al, al
jmp 0x140016c01
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140016bbd
xor al, al
jmp 0x140016c01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016bd1
xor al, al
jmp 0x140016c01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016be3
xor al, al
jmp 0x140016c01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140016bff
xor al, al
jmp 0x140016c01
mov al, 1
add rsp, 0x38
ret
Function at 0x1417540b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141754237
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 0x1417540e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417540c7
add dl, dl
jne 0x1417540ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14175414e
xor eax, eax
add dl, dl
jne 0x1417540fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141754205
add dl, dl
jne 0x14175410e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14175411b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141754128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141754135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141754142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1417540d6
mov eax, 1
add dl, dl
jne 0x14175415e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14175416b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141754153
sub eax, ebx
mov ebx, 1
jne 0x1417541a4
mov ecx, 1
add dl, dl
jne 0x141754186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141754193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14175417b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417540d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1417541c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417541cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417541b5
cmp eax, 0x7d00
jae 0x1417541f3
cmp eax, 0x500
jb 0x1417541ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417540d6
cmp eax, 0x7f
ja 0x1417541f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417540d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14175422a
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 0x1417540d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000ce50
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rcx
test edx, edx
je 0x14000ce86
mov r9, rcx
mov rax, r9
lea rcx, [0x140076b50]
sub rax, r10
and eax, 0xf
mov cl, byte [rax + rcx]
xor cl, byte [r9]
xor cl, r8b
inc r8d
not cl
mov byte [r9], cl
inc r9
cmp r8d, edx
jb 0x14000ce5d
ret