joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, r8
mov r15, rcx
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140022246
mov rax, qword [r8]
xor ebx, ebx
mov qword [r8 + 0x10], rbx
mov byte [rax], bl
cmp qword [rdx + 0x10], rbx
je 0x1400223e3
cmp qword [rcx + 0x150], rbx
jne 0x14002226e
cmp qword [rcx + 0x238], rbx
je 0x1400223e3
lea rcx, [rsp + 0x30]
call fcn.140022cf0
nop
lea rdx, [rsp + 0x30]
mov rbp, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
cmp r13, 0x10
cmovae rdx, rbp
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rcx, rbx
movabs r8, 0x100000001b3
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x1400222d3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r8
inc rcx
cmp rcx, r14
jb 0x1400222c0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [r15 + 0x228]
call fcn.14000a940
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400222f9
mov rdx, qword [r15 + 0x230]
cmp rdx, qword [r15 + 0x230]
je 0x140022308
mov rdx, qword [rdx + 0x30]
jmp 0x140022375
lea rcx, [rsp + 0x30]
cmp r13, 0x10
cmovae rcx, rbp
test r14, r14
je 0x140022343
movabs rdx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
xor rdi, rax
imul rdi, rdx
inc rbx
cmp rbx, r14
jb 0x140022330
mov r9, rdi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [r15 + 0x140]
call fcn.14000a940
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x14002236c
mov rdx, qword [r15 + 0x148]
cmp rdx, qword [r15 + 0x148]
je 0x1400223a2
add rdx, 0x50
cmp rsi, rdx
je 0x14002239e
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x14002238c
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.1400062b0
mov rbp, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
mov bl, 1
jmp 0x1400223a4
xor bl, bl
cmp r13, 0x10
jb 0x1400223de
lea rdx, [r13 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x1400223d6
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400223d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.14004a8a8
movzx eax, bl
jmp 0x1400223e5
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004ac10
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140023ad0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
lea rbx, [rdi + 0x50]
mov qword [rsp + 0x48], rbx
xor esi, esi
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
lea ecx, [rsi + 0x10]
call fcn.14004ac30
mov qword [rax + 8], rsi
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rdi + 0x78]
call sub.MSVCP140.dll__Cnd_init_in_situ
nop
mov byte [rdi + 0xc0], sil
lea ecx, [rsi + 0x10]
call fcn.14004ac30
test rax, rax
je 0x140023b50
mov qword [rax], rdi
lea rcx, [0x1400241e0]
mov qword [rax + 8], rcx
jmp 0x140023b53
mov rax, rsi
mov qword [rsp + 0x48], rax
lea rbx, [rdi + 0xd0]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140023aa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi + 0xc8], rax
test rax, rax
je 0x140023bba
lea rcx, [0x140023df0]
call sub.sscronet.dll_Cronet_Executor_CreateWith
mov qword [rdi + 0xd8], rax
mov rdx, rdi
mov rcx, rax
call sub.sscronet.dll_Cronet_Executor_SetClientContext
nop
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1400351a0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
jne 0x140035219
lea edx, [rcx + 0x5d]
mov qword [rsp + 0x30], rbx
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_Release_2InfraFoundationi18n_ve_i18n_qt.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400351d9
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov rdx, qword [str.COMMON]
lea rax, str.QtI18n::get_cur_language
mov qword [rsp + 0x28], rax
lea r8, str.__s:_d__s__init_i18n_first_
mov r9, rbx
mov dword [rsp + 0x20], 0x8e
mov ecx, 0x1000
call fcn.140038230
mov rbx, qword [rsp + 0x30]
lea rax, [0x14005cb28]
add rsp, 0x38
ret
add rsp, 0x38
jmp fcn.1400357b0
Function at 0x140037010
Capabilities:
Encode data using xor
Hash data using fnv

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
sub rsp, 0x40
mov rdi, r8
mov r14, rdx
mov rbp, rcx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x30], xmm0
movabs rbx, 0xcbf29ce484222325
xor r9d, r9d
psrldq xmm0, 8
movq rcx, xmm0
test rcx, rcx
je 0x140037084
movabs r8, 0x100000001b3
mov rdx, qword [rsp + 0x30]
nop dword [rax + rax]
movzx eax, byte [r9 + rdx]
xor rbx, rax
imul rbx, r8
inc r9
cmp r9, rcx
jb 0x140037070
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140033060
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1400370ae
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x14003724d
movabs rax, 0x666666666666666
cmp qword [rbp + 0x10], rax
je 0x14003726f
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0
mov ecx, 0x28
call fcn.14004ac30
mov rsi, rax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], 0
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
movss xmm3, dword [rbp]
xorps xmm0, xmm0
test rcx, rcx
js 0x140037111
cvtsi2ss xmm0, rcx
jmp 0x140037126
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [rbp + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x140037139
cvtsi2ss xmm2, rdi
jmp 0x140037151
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
seta al
test al, al
je 0x1400371f1
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1400569f4]
comiss xmm0, xmm1
jb 0x140037194
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140037194
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x1400371c6
cmp rdi, 0x200
jae 0x1400371c3
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x1400371c6
mov rdi, rcx
mov rdx, rdi
mov rcx, rbp
call fcn.1400376a0
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140033060
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x14003722e
mov qword [rcx + rax*8], rsi
jmp 0x140037240
cmp r9, rdx
jne 0x140037239
mov qword [rcx + rax*8], rsi
jmp 0x140037245
cmp qword [rcx + rax*8 + 8], r8
jne 0x140037245
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14003d280
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov r15, r8
mov r13, rdx
mov qword [rsp + 0x20], rcx
movabs rbx, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
xor edi, edi
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], 0xf
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x14003d2f0
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.1400062b0
lea r8, [rsp + 0x118]
mov rsi, qword [rsp + 0x118]
mov r14, qword [rsp + 0x130]
cmp r14, 0x10
cmovae r8, rsi
mov rdx, rbp
mov rcx, rdi
mov rdi, qword [rsp + 0x128]
test rdi, rdi
je 0x14003d354
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, rdi
jb 0x14003d340
mov rcx, qword [r13 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r12, qword [r13 + 8]
cmp rbx, r12
je 0x14003d3c3
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003d392
mov rdx, qword [rdx]
lea rcx, [rsp + 0x118]
cmp r14, 0x10
cmovae rcx, rsi
cmp rdi, rax
jne 0x14003d3b3
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003d3be
cmp rbx, rbp
je 0x14003d3c3
mov rbx, qword [rbx + 8]
jmp 0x14003d380
test rbx, rbx
jne 0x14003d3c6
mov rbx, r12
cmp r14, 0x10
jb 0x14003d3fd
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003d3f5
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d480
mov rcx, rsi
call fcn.14004a8a8
cmp rbx, qword [r13 + 8]
je 0x14003d40d
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
jne 0x14003d487
mov rdx, qword [0x1401567b0]
test rdx, rdx
je 0x14003d461
lea rcx, [rsp + 0x28]
call fcn.1400429e0
nop
mov rcx, rax
call fcn.140042cb0
mov rcx, rax
lea rdx, str.Couldnt_translate:
call fcn.140037ff0
mov rcx, rax
mov rdx, r15
call fcn.140037ff0
lea rdx, [0x1400381c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x28]
call fcn.140042aa0
mov rax, qword [rsp + 0x20]
cmp byte [rax + 0xb0], 0
je 0x14003d493
mov r13, qword [rax + 0xb8]
mov qword [rsp + 0x20], r13
jmp 0x14003d2b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rax + 0x18], 0x10
jb 0x14003d496
mov rax, qword [rax]
jmp 0x14003d496
mov rax, r15
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14004ac10
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, rdx
mov rdx, rcx
jmp 0x14003d280
Function at 0x14003d4d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov r15, r8
mov r13, rdx
mov qword [rsp + 0x20], rcx
movabs rbx, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
xor edi, edi
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], 0xf
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x14003d2f0
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.1400062b0
lea r8, [rsp + 0x118]
mov rsi, qword [rsp + 0x118]
mov r14, qword [rsp + 0x130]
cmp r14, 0x10
cmovae r8, rsi
mov rdx, rbp
mov rcx, rdi
mov rdi, qword [rsp + 0x128]
test rdi, rdi
je 0x14003d354
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, rdi
jb 0x14003d340
mov rcx, qword [r13 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r12, qword [r13 + 8]
cmp rbx, r12
je 0x14003d3c3
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003d392
mov rdx, qword [rdx]
lea rcx, [rsp + 0x118]
cmp r14, 0x10
cmovae rcx, rsi
cmp rdi, rax
jne 0x14003d3b3
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003d3be
cmp rbx, rbp
je 0x14003d3c3
mov rbx, qword [rbx + 8]
jmp 0x14003d380
test rbx, rbx
jne 0x14003d3c6
mov rbx, r12
cmp r14, 0x10
jb 0x14003d3fd
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003d3f5
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d480
mov rcx, rsi
call fcn.14004a8a8
cmp rbx, qword [r13 + 8]
je 0x14003d40d
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
jne 0x14003d487
mov rdx, qword [0x1401567b0]
test rdx, rdx
je 0x14003d461
lea rcx, [rsp + 0x28]
call fcn.1400429e0
nop
mov rcx, rax
call fcn.140042cb0
mov rcx, rax
lea rdx, str.Couldnt_translate:
call fcn.140037ff0
mov rcx, rax
mov rdx, r15
call fcn.140037ff0
lea rdx, [0x1400381c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x28]
call fcn.140042aa0
mov rax, qword [rsp + 0x20]
cmp byte [rax + 0xb0], 0
je 0x14003d493
mov r13, qword [rax + 0xb8]
mov qword [rsp + 0x20], r13
jmp 0x14003d2b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rax + 0x18], 0x10
jb 0x14003d496
mov rax, qword [rax]
jmp 0x14003d496
mov rax, r15
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14004ac10
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, rdx
mov rdx, rcx
jmp 0x14003d280
Function at 0x140044320
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400443f3
cmp byte [rcx + 0x71], 0
je 0x1400443f3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400443ef
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 0x1400443b4
sub eax, 1
je 0x1400443b8
cmp eax, 2
jne 0x1400443ef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004ac10
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400443e6
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 0x1400443ef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14004439c
xor al, al
jmp 0x14004439c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004ac10
add rsp, 0x60
pop rbx
ret
Function at 0x140045820
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14004584d
xor eax, eax
jmp 0x1400459a2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140045878
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140045878
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x1400459a2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140045995
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400458bb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x1400458e6
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 0x14004599a
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x140045955
sub eax, 1
je 0x140045955
cmp eax, 2
jne 0x140045995
movsx ecx, byte [rsp + 0x40]
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 0x14004599a
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140045983
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 0x140045995
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x14004599a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004ac10
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140046300
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140046331
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140046348
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140046370
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140046372
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400463a4
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x140046441
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400463e2
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 rdi, 0xfff
jbe 0x140046421
nop dword [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]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x140046462
cmp rdi, rax
ja 0x1400463f0
test rbx, rbx
je 0x140046441
mov r9, qword [rsi + 0x80]
mov r8, rdi
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 + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x140046444
xchg ebp, eax
pop rsi
or bl, ch
mov ah, 0x5e
push rsi
invalid
add byte [rsi + 0x2f91cda6], ch
mov eax, 0x84e36e6f
out dx, eax
fcmovu st(0), st(4)
sub dword [rbx + 0x5c], esp
jno 0x1401a6e3a
cmp byte [rdx - 0xebed2f2], ah
hlt
Function at 0x140046470
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x1400464a0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400464c8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400464ca
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140046523
test ecx, ecx
jle 0x140046503
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140046523
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140046523
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cdq
sub edi, dword [rax]
mov cl, 0xbe
adc byte [rsi], al
add bl, dl
retf 0xba2f
Function at 0x1004d8ae0
Capabilities:
Encode data using xor

Disassembly:
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
Function at 0x140d30058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140d301df
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 0x140d30089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d3006f
add dl, dl
jne 0x140d30096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d300f6
xor eax, eax
add dl, dl
jne 0x140d300a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d301ad
add dl, dl
jne 0x140d300b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d300c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d300d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d300dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d300ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d3007e
mov eax, 1
add dl, dl
jne 0x140d30106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d30113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d300fb
sub eax, ebx
mov ebx, 1
jne 0x140d3014c
mov ecx, 1
add dl, dl
jne 0x140d3012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d3013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d30123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d3007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d30168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d30175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d3015d
cmp eax, 0x7d00
jae 0x140d3019b
cmp eax, 0x500
jb 0x140d30196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d3007e
cmp eax, 0x7f
ja 0x140d3019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d3007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d301d2
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 0x140d3007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20