joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140b61058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b611df
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 0x140b61089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b6106f
add dl, dl
jne 0x140b61096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b610f6
xor eax, eax
add dl, dl
jne 0x140b610a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b611ad
add dl, dl
jne 0x140b610b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b610c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b610d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b610dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b610ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b6107e
mov eax, 1
add dl, dl
jne 0x140b61106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b61113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b610fb
sub eax, ebx
mov ebx, 1
jne 0x140b6114c
mov ecx, 1
add dl, dl
jne 0x140b6112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b6113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b61123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b6107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b61168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b61175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b6115d
cmp eax, 0x7d00
jae 0x140b6119b
cmp eax, 0x500
jb 0x140b61196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b6107e
cmp eax, 0x7f
ja 0x140b6119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b6107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b611d2
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 0x140b6107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140008c60
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
movsxd rbx, edx
mov rdx, rcx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140013ef0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14009272c]
call fcn.140013ef0
test ebx, ebx
jle 0x140008d19
mov qword [rsp + 0x48], rdi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x140008cb6
imul rax, rax, 0x64
jmp 0x140008cd4
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140008d0f
imul rdx, rbx, 0x3b9aca00
movabs r8, 0x7fffffffffffffff
mov rcx, r8
sub rcx, rdx
cmp rax, rcx
jge 0x140008d0a
lea rcx, [rdx + rax]
mov qword [rsp + 0x20], rcx
jmp 0x140008d0f
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x20]
call fcn.14001c8a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
Function at 0x1400104c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x1400a3060]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rcx, rdx
call fcn.140005470
cmp qword [rdi + 0x18], 0x10
jb 0x14001050f
mov rsi, qword [rdi]
mov rbp, rsi
add rbp, qword [rdi + 0x10]
mov rbx, rsi
jmp 0x14001051c
mov rsi, rdi
mov rbp, qword [rdi + 0x10]
add rbp, rdi
mov rbx, rdi
cmp rbx, rbp
je 0x140010538
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x140010524
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140010549
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x140010583
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140010570
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14001b9a0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400105af
cmp rbx, qword [r14 + 8]
je 0x1400105af
mov rbx, qword [rbx + 0x30]
lea rsi, [r14 + 0x40]
jmp 0x140010686
lea rsi, [r14 + 0x40]
mov rbx, qword [rsi + 8]
sub rbx, qword [rsi]
sar rbx, 6
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140017550
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm6, xmmword [0x140094de0]
movdqu xmmword [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
mov rbp, qword [rsi + 8]
cmp rbp, qword [rsi + 0x10]
je 0x140010633
mov rdx, rdi
mov rcx, rbp
call fcn.140012110
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm6
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
add qword [rsi + 8], 0x40
jmp 0x14001064b
lea r9, [rsp + 0x20]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.14001dce0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140010686
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010681
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010681
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080250
shl rbx, 6
add rbx, qword [rsi]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400106c3
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400106be
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010701
mov rcx, r8
call fcn.140080250
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rax, [rbx + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140080230
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140010710
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1400a3060]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x98], rdx
mov rcx, rdx
call fcn.140005470
cmp qword [rbx + 0x18], 0x10
jb 0x140010763
mov rsi, qword [rbx]
mov rbp, rsi
add rbp, qword [rbx + 0x10]
mov rdi, rsi
jmp 0x140010770
mov rsi, rbx
mov rbp, qword [rbx + 0x10]
add rbp, rbx
mov rdi, rbx
cmp rdi, rbp
je 0x140010794
sub rsi, rdi
nop dword [rax + rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rsi], al
inc rdi
cmp rdi, rbp
jne 0x140010780
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400107a5
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1400107d3
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400107c0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14001b9a0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400107ff
cmp rcx, qword [r14 + 8]
je 0x1400107ff
mov rbp, qword [rcx + 0x30]
lea rdi, [r14 + 0x40]
jmp 0x1400108bb
lea rdi, [r14 + 0x40]
mov r8, qword [rdi + 8]
sub r8, qword [rdi]
movabs rax, 0x8888888888888889
imul r8
lea rbp, [r8 + rdx]
sar rbp, 6
mov rax, rbp
shr rax, 0x3f
add rbp, rax
mov r8, rbx
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.140017550
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.1400127c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rsi, qword [rdi + 8]
cmp rsi, qword [rdi + 0x10]
je 0x140010893
mov qword [rsp + 0x20], rsi
mov rdx, rbx
mov rcx, rsi
call fcn.140012110
nop
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x30]
call fcn.1400283f0
nop
add qword [rdi + 8], 0x78
jmp 0x1400108a7
lea r9, [rsp + 0x30]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14001dea0
nop
lea rcx, [rsp + 0x70]
call fcn.140013100
lea rcx, [rsp + 0x30]
call fcn.140008a50
imul rax, rbp, 0x78
add rax, qword [rdi]
lea rdi, [rax + 0x20]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400108fc
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400108f7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001093a
mov rcx, r8
call fcn.140080250
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140080230
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140010da0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140010dc8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140010dee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140010df0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140010e49
test ecx, ecx
jle 0x140010e29
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140010e49
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140010e49
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140010e70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140010e92
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140010ea8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140010ec4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140010ec6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140010f02
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140010f9e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140010f3d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140010f7e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140010f9e
cmp rbx, rax
ja 0x140010f50
test rbx, rbx
je 0x140010f9e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400113d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400a3060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400113fd
xor eax, eax
jmp 0x140011569
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140011437
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140011437
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 0x140011569
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001155c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001147a
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 0x1400114a5
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 0x140011561
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 0x140011514
sub eax, 1
je 0x140011514
cmp eax, 2
jne 0x14001155c
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 0x140011561
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140011542
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 0x14001155c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140011561
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140080230
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400124e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400a3060]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400125b3
cmp byte [rcx + 0x71], 0
je 0x1400125b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400125af
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 0x140012574
sub eax, 1
je 0x140012578
cmp eax, 2
jne 0x1400125af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140080230
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400125a6
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 0x1400125af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001255c
xor al, al
jmp 0x14001255c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140080230
add rsp, 0x60
pop rbx
ret
Function at 0x140013da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r15, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r10, rcx
mov r9, rdx
cmp r15, 0x10
jb 0x140013dcc
mov r9, qword [rdx]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov edx, ebp
test rsi, rsi
je 0x140013e04
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x140013df0
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r10 + 8]
jne 0x140013e22
mov rbx, rbp
jmp 0x140013e72
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop dword [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x140013e42
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x140013e4e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x140013e5f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140013e6d
cmp rbx, r14
je 0x140013e6a
mov rbx, qword [rbx + 8]
jmp 0x140013e30
mov rbx, rbp
mov r14, qword [rsp + 0x40]
test rbx, rbx
mov rbx, qword [rsp + 0x48]
setne bpl
mov rax, rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret

Function at 0x140014750
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a3060]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov ecx, Ordinal_41
call fcn.140080258
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rdx, [0x1400a30c8]
mov rcx, rax
call fcn.140012110
lea rax, [0x140009ec0]
mov qword [rbx + 0x20], rax
mov qword [rsp + 0x30], rbx
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x1400220a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1400147ef
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140080230
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rsi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140014bd0
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 0x140014bf1
mov rdx, qword [r8]
xor r10d, r10d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140014c24
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r10 + rdx]
inc r10
xor r9, rax
imul r9, rcx
cmp r10, r11
jb 0x140014c10
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001b9a0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140014c4b
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 0x140028290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push r12
push r13
push r14
sub rsp, 0x28
mov qword [rsp + 0x58], rsi
mov r13, rcx
mov rsi, qword [rdx + 0x10]
mov r9, rdx
mov qword [rsp + 0x60], rdi
mov rdi, rdx
mov qword [rsp + 0x20], r15
mov r15, qword [rdx + 0x18]
cmp r15, 0x10
jb 0x1400282c5
mov r9, qword [rdx]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test rsi, rsi
je 0x1400282f4
movabs rcx, 0x100000001b3
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x1400282e0
mov r14, qword [r13 + 0x30]
mov r12, qword [r13 + 8]
and r14, r8
shl r14, 4
add r14, qword [r13 + 0x18]
mov rcx, qword [r14 + 8]
mov rbx, rcx
cmp rcx, r12
jne 0x140028317
xor ebx, ebx
jmp 0x140028365
mov qword [rsp + 0x50], rbp
mov rbp, qword [r14]
nop
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x140028332
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x14002833e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14002834f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002835c
cmp rbx, rbp
je 0x14002835a
mov rbx, qword [rbx + 8]
jmp 0x140028320
xor ebx, ebx
mov rcx, qword [r14 + 8]
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
test rbx, rbx
je 0x1400283d3
mov rax, qword [r14]
cmp rcx, rbx
jne 0x140028399
cmp rax, rbx
jne 0x14002838f
mov qword [r14], r12
mov qword [r14 + 8], r12
jmp 0x1400283a4
mov r12, qword [rbx + 8]
mov qword [r14 + 8], r12
jmp 0x1400283a4
cmp rax, rbx
jne 0x1400283a4
mov rax, qword [rbx]
mov qword [r14], rax
mov rcx, qword [rbx]
mov rdx, rbx
dec qword [r13 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
call fcn.140029bc0
mov eax, 1
add rsp, 0x28
pop r14
pop r13
pop r12
pop rbx
ret
xor eax, eax
add rsp, 0x28
pop r14
pop r13
pop r12
pop rbx
ret