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

Disassembly:
mov rdx, rcx
lea rcx, [0x1401449c0]
jmp 0x1400099f0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140143868]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r14, rcx
cmp qword [rcx], 0
je 0x140009bee
test rdx, rdx
je 0x140009bee
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], al
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], ax
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140009a70
lea rcx, [rbp - 0x70]
call fcn.140009780
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140009db0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140009ad7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ad2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009ad2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cc68
cmp qword [rbp - 0x80], 0
jne 0x140009ae5
xor bl, bl
jmp 0x140009baa
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
mov r8d, 0x801
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdi, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r8d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx ebx, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea r8, str.__04d__02d__02d__02d__02d__02d._03d___d_:__s_n
mov edx, 0x800
lea rcx, [rbp - 0x50]
call fcn.140009c20
lea rax, [rbp - 0x50]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140009b80
mov r9, qword [r14]
mov r8d, 1
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140009be9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009be4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009be4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cc68
movzx eax, bl
jmp 0x140009bf0
xor al, al
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14006cfd0
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400099f0
Capabilities:
Write file on windows

Disassembly:
mov rdx, rcx
lea rcx, [0x1401449c0]
jmp 0x1400099f0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140143868]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r14, rcx
cmp qword [rcx], 0
je 0x140009bee
test rdx, rdx
je 0x140009bee
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], al
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], ax
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140009a70
lea rcx, [rbp - 0x70]
call fcn.140009780
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140009db0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140009ad7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ad2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009ad2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cc68
cmp qword [rbp - 0x80], 0
jne 0x140009ae5
xor bl, bl
jmp 0x140009baa
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
mov r8d, 0x801
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdi, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r8d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx ebx, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea r8, str.__04d__02d__02d__02d__02d__02d._03d___d_:__s_n
mov edx, 0x800
lea rcx, [rbp - 0x50]
call fcn.140009c20
lea rax, [rbp - 0x50]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140009b80
mov r9, qword [r14]
mov r8d, 1
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140009be9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009be4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009be4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cc68
movzx eax, bl
jmp 0x140009bf0
xor al, al
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14006cfd0
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400106b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x468
mov rax, qword [0x140143868]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x488]
call fcn.140002610
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], 0
mov r8d, 0x401
mov qword [rsp + 0x20], rbx
mov rbx, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnprintf_s]
test eax, eax
cmovs eax, ebx
cmp eax, ebx
je 0x140010750
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x40]
call fcn.1400098b0
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14006cfd0
add rsp, 0x468
pop rdi
pop rbx
ret

Function at 0x140010770
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x868
mov rax, qword [0x140143868]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x802
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x888]
call fcn.140002610
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], 0
mov r8d, 0x401
mov qword [rsp + 0x20], rbx
mov rbx, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnwprintf_s]
test eax, eax
cmovs eax, ebx
cmp eax, ebx
je 0x140010810
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x40]
call fcn.1400099e0
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14006cfd0
add rsp, 0x868
pop rdi
pop rbx
ret
Function at 0x140018c00
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.14006cff0
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.14006cff0
test rax, rax
je 0x140018c80
mov qword [rax], rdi
lea rcx, [0x140019310]
mov qword [rax + 8], rcx
jmp 0x140018c83
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, [0x140018bd0]
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 0x140018cea
lea rcx, [0x140018f20]
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 0x140029b70
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
jne 0x140029be7
lea edx, [rcx + 0x5d]
mov qword [rsp + 0x30], rbx
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECoreinterfacei18n_ve_i18n_qt.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140029ba9
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
lea rax, str.QtI18n::get_cur_language
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, str.__s:_d__s__init_i18n_first_
mov edx, 2
mov dword [rsp + 0x20], 0x8e
mov ecx, 0x1000
call fcn.14002bc00
mov rbx, qword [rsp + 0x30]
lea rax, [0x1400c3058]
add rsp, 0x38
ret
add rsp, 0x38
jmp fcn.14002a180
Function at 0x14002d140
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14002d165
cvtsi2ss xmm0, rdx
jmp 0x14002d17a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1400c3244]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14002d1a8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14002d1a8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14002d1da
cmp rbx, 0x200
jae 0x14002d1d7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14002d1da
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14002cc40
Function at 0x14005fae0
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 [0x140143868]
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 0x14005fb50
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.140005d20
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 0x14005fbb4
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, rdi
jb 0x14005fba0
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 0x14005fc23
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 0x14005fbf2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x118]
cmp r14, 0x10
cmovae rcx, rsi
cmp rdi, rax
jne 0x14005fc13
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14005fc1e
cmp rbx, rbp
je 0x14005fc23
mov rbx, qword [rbx + 8]
jmp 0x14005fbe0
test rbx, rbx
jne 0x14005fc26
mov rbx, r12
cmp r14, 0x10
jb 0x14005fc5d
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14005fc55
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fce0
mov rcx, rsi
call fcn.14006cc68
cmp rbx, qword [r13 + 8]
je 0x14005fc6d
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
jne 0x14005fce7
mov rdx, qword [0x140143818]
test rdx, rdx
je 0x14005fcc1
lea rcx, [rsp + 0x28]
call fcn.1400653b0
nop
mov rcx, rax
call fcn.140065680
mov rcx, rax
lea rdx, str.Couldnt_translate:
call fcn.14002b9c0
mov rcx, rax
mov rdx, r15
call fcn.14002b9c0
lea rdx, [0x14002bb90]
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.140065470
mov rax, qword [rsp + 0x20]
cmp byte [rax + 0xb0], 0
je 0x14005fcf3
mov r13, qword [rax + 0xb8]
mov qword [rsp + 0x20], r13
jmp 0x14005fb14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rax + 0x18], 0x10
jb 0x14005fcf6
mov rax, qword [rax]
jmp 0x14005fcf6
mov rax, r15
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14006cfd0
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 0x14005fae0
Function at 0x14005fd30
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 [0x140143868]
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 0x14005fb50
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.140005d20
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 0x14005fbb4
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, rdi
jb 0x14005fba0
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 0x14005fc23
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 0x14005fbf2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x118]
cmp r14, 0x10
cmovae rcx, rsi
cmp rdi, rax
jne 0x14005fc13
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14005fc1e
cmp rbx, rbp
je 0x14005fc23
mov rbx, qword [rbx + 8]
jmp 0x14005fbe0
test rbx, rbx
jne 0x14005fc26
mov rbx, r12
cmp r14, 0x10
jb 0x14005fc5d
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14005fc55
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fce0
mov rcx, rsi
call fcn.14006cc68
cmp rbx, qword [r13 + 8]
je 0x14005fc6d
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
jne 0x14005fce7
mov rdx, qword [0x140143818]
test rdx, rdx
je 0x14005fcc1
lea rcx, [rsp + 0x28]
call fcn.1400653b0
nop
mov rcx, rax
call fcn.140065680
mov rcx, rax
lea rdx, str.Couldnt_translate:
call fcn.14002b9c0
mov rcx, rax
mov rdx, r15
call fcn.14002b9c0
lea rdx, [0x14002bb90]
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.140065470
mov rax, qword [rsp + 0x20]
cmp byte [rax + 0xb0], 0
je 0x14005fcf3
mov r13, qword [rax + 0xb8]
mov qword [rsp + 0x20], r13
jmp 0x14005fb14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rax + 0x18], 0x10
jb 0x14005fcf6
mov rax, qword [rax]
jmp 0x14005fcf6
mov rax, r15
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14006cfd0
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 0x14005fae0
Function at 0x140060970
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 0x140060991
mov rdx, qword [r8]
xor r10d, r10d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1400609c4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r10 + rdx]
inc r10
xor r9, rax
imul r9, rcx
cmp r10, r11
jb 0x1400609b0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14002c370
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400609eb
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 0x140066d00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140143868]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140066dd3
cmp byte [rcx + 0x71], 0
je 0x140066dd3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140066dcf
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 0x140066d94
sub eax, 1
je 0x140066d98
cmp eax, 2
jne 0x140066dcf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006cfd0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140066dc6
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 0x140066dcf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140066d7c
xor al, al
jmp 0x140066d7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006cfd0
add rsp, 0x60
pop rbx
ret
Function at 0x140068200
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140143868]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14006822d
xor eax, eax
jmp 0x140068382
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140068258
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140068258
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 0x140068382
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140068375
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14006829b
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 0x1400682c6
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 0x14006837a
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 0x140068335
sub eax, 1
je 0x140068335
cmp eax, 2
jne 0x140068375
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 0x14006837a
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140068363
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 0x140068375
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x14006837a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006cfd0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140068ce0
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 0x140068d11
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.0x140068d28
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 0x140068d50
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140068d52
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140068d84
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 0x140068e21
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140068dc2
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 0x140068e01
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 0x140068e42
cmp rdi, rax
ja 0x140068dd0
test rbx, rbx
je 0x140068e21
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 0x140068e24
outsd dx, dword [rsi]
add ebp, ecx
invalid