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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x1400efe3d
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbp, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
lea r12, [rsi + 0x18]
bsr rcx, rax
mov ebx, 1
mov r8, rbp
inc ecx
shl rbx, cl
mov rcx, r12
lea rdx, [rbx + rbx]
call fcn.1400eef18
lea rax, [rbx - 1]
mov qword [rsi + 0x38], rbx
mov qword [rsi + 0x30], rax
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x1400efff4
mov rdi, qword [rdi]
lea r15, [rbx + 0x10]
cmp qword [r15 + 0x18], 0x10
mov r8, r15
mov r13, qword [r15 + 0x10]
jb 0x1400efea1
mov r8, qword [r15]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r13, r13
je 0x1400efed0
movzx eax, byte [rdx + r8]
movabs r9, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r9
cmp rdx, r13
jb 0x1400efeb2
mov r14, qword [rsi + 0x30]
mov r12, qword [r12]
and r14, rcx
add r14, r14
cmp qword [r12 + r14*8], rbp
jne 0x1400efef2
mov qword [r12 + r14*8], rbx
mov qword [r12 + r14*8 + 8], rbx
jmp 0x1400effe4
mov rsi, qword [r12 + r14*8 + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0x10
mov rax, qword [rdx + 0x10]
jb 0x1400eff09
mov rdx, qword [rdx]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x1400eff16
mov rcx, qword [r15]
cmp r13, rax
jne 0x1400eff5a
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400eff5a
mov r8, qword [rsi]
cmp r8, rbx
je 0x1400eff50
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8 + 8], rbx
jmp 0x1400effdf
cmp qword [r12 + r14*8], rsi
je 0x1400effba
mov rsi, qword [rsi + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0x10
mov rax, qword [rdx + 0x10]
jb 0x1400eff76
mov rdx, qword [rdx]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x1400eff83
mov rcx, qword [r15]
cmp r13, rax
jne 0x1400eff5a
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400eff5a
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x1400effdf
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8], rbx
mov rsi, qword [rsp + 0x20]
lea r12, [rsi + 0x18]
mov rbx, rdi
cmp rdi, rbp
jne 0x1400efe89
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.1400f001c
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f00f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r15, rdx
mov qword [rsp + 0x20], rcx
mov rbp, r8
mov rdx, rcx
cmp r15, r8
je 0x1400f0297
mov rax, qword [rcx + 8]
mov rsi, r15
mov r12, qword [rcx + 0x18]
lea rcx, [r15 + 0x10]
cmp qword [rcx + 0x18], 0x10
mov r14, qword [r15 + 8]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
jb 0x1400f0149
mov rcx, qword [rcx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r10, r10
je 0x1400f0179
movzx eax, byte [r8 + rcx]
inc r8
xor r9, rax
imul r9, r11
cmp r8, r10
jb 0x1400f0165
mov r13, qword [rdx + 0x30]
and r13, r9
add r13, r13
mov rax, qword [r12 + r13*8]
mov qword [rsp + 0x28], rax
mov rax, qword [r12 + r13*8 + 8]
mov qword [rsp + 0x38], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.14005a684
mov edx, 0x50
mov rcx, rbx
call fcn.1400f6a6c
mov r8, qword [rsp + 0x20]
dec qword [r8 + 0x10]
cmp rbx, qword [rsp + 0x38]
je 0x1400f01de
cmp rsi, rbp
jne 0x1400f0196
cmp qword [rsp + 0x28], r15
jne 0x1400f0290
mov qword [r12 + r13*8], rsi
jmp 0x1400f0290
cmp qword [rsp + 0x28], r15
jne 0x1400f01f3
mov rdx, qword [rsp + 0x30]
mov qword [r12 + r13*8], rdx
mov rax, rdx
jmp 0x1400f01f6
mov rax, r14
mov qword [r12 + r13*8 + 8], rax
cmp rsi, rbp
je 0x1400f0290
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 0x10
mov r10, qword [rcx + 0x10]
jb 0x1400f0216
mov rcx, qword [rcx]
xor r9d, r9d
movabs rdx, 0xcbf29ce484222325
test r10, r10
je 0x1400f024b
movabs r8, 0x100000001b3
movzx eax, byte [r9 + rcx]
inc r9
xor rdx, rax
imul rdx, r8
cmp r9, r10
jb 0x1400f0232
mov r8, qword [rsp + 0x20]
mov r15, qword [r8 + 0x30]
and r15, rdx
add r15, r15
mov r13, qword [r12 + r15*8 + 8]
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.14005a684
mov edx, 0x50
mov rcx, rbx
call fcn.1400f6a6c
mov r8, qword [rsp + 0x20]
dec qword [r8 + 0x10]
cmp rbx, r13
je 0x1400f02b8
cmp rsi, rbp
jne 0x1400f025a
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rbp
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rsp + 0x30]
mov qword [r12 + r15*8], rax
mov qword [r12 + r15*8 + 8], rax
jmp 0x1400f01fb
Function at 0x1400f09c4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140153040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x48], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400f0ae9
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1400f0ae9
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
xor edx, edx
mov qword [rbp - 0x18], rdx
mov ecx, dword [rax + rsi + 0xb0]
test ecx, ecx
jne 0x1400f0a42
and qword [rbx], rdx
and qword [rbx + 8], rdx
and qword [rbx + 0x10], rdx
lea rcx, [rbp - 0x28]
call fcn.14003b78c
jmp 0x1400f0af7
lea rdi, [rsi + rcx]
mov r14d, dword [rax + rsi + 0xb4]
add r14, rdi
mov rcx, qword [rbp - 0x20]
mov eax, dword [rdi]
test eax, eax
je 0x1400f0ac6
mov r8d, eax
cmp r8, r14
jae 0x1400f0ac6
cmp dword [rdi + 4], 0
je 0x1400f0ac6
lea rax, [r8 + rsi]
mov qword [rbp - 0x40], rax
lea rax, [rdi + 8]
mov qword [rbp - 0x38], rax
mov eax, dword [rdi + 4]
sub rax, 8
shr rax, 1
mov dword [rbp - 0x30], eax
cmp rcx, rdx
je 0x1400f0aa6
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rbp - 0x20], rcx
jmp 0x1400f0abe
lea r8, [rbp - 0x40]
mov rdx, rcx
lea rcx, [rbp - 0x28]
call fcn.1400f1154
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov eax, dword [rdi + 4]
add rdi, rax
jmp 0x1400f0a55
and qword [rbp - 0x18], 0
and qword [rbp - 0x20], 0
mov rax, qword [rbp - 0x28]
and qword [rbp - 0x28], 0
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
jmp 0x1400f0a34
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f68d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400f2cc8
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140153040]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
lea r9, [rbp - 0x30]
and dword [rbp - 0x30], ebx
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea edi, [rbx + 0xb]
mov ecx, edi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, 0xc0000004
jmp 0x1400f2d50
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x30]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp - 0x30]
lea r9, [rbp - 0x30]
mov rdx, rax
mov ecx, edi
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, esi
je 0x1400f2d14
test eax, eax
js 0x1400f2e31
xor esi, esi
cmp dword [rbx], esi
jbe 0x1400f2e31
and qword [rbp - 0x28], 0
and qword [rbp - 0x18], 0
mov eax, esi
imul r15, rax, 0x128
mov qword [rbp - 0x10], 0xf
movzx r9d, word [r15 + rbx + 0x2e]
add r9, 0x30
add r9, r15
add r9, rbx
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x1400f2d95
lea rcx, [rbp - 0x28]
cmp rdi, 0xf
ja 0x1400f2dbf
mov r8, rdi
mov qword [rbp - 0x18], rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rdi - 0x28], 0
jmp 0x1400f2dc7
mov rdx, rdi
call fcn.14003c1c0
cmp qword [r14 + 0x18], 0x10
mov rdx, r14
jb 0x1400f2dd4
mov rdx, qword [r14]
cmp qword [rbp - 0x10], 0x10
lea rcx, [rbp - 0x28]
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400f2e6a
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400f2e27
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f2e22
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f2eb2
call fcn.1400f6a6c
inc esi
cmp esi, dword [rbx]
jb 0x1400f2d66
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f68d0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rdi, qword [r15 + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400f2ebe
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f2eb9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f2eb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6a6c
mov rax, rdi
jmp 0x1400f2e44
Function at 0x1400f3178
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x1400f31a2
call 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]
jmp 0x1400f3215
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400f31b9
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400f31bb
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400f320f
test ecx, ecx
jle 0x1400f31ef
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x1400f320f
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400f320f
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
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1400f3228
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x1400f3248
xor eax, eax
jmp 0x1400f332c
cmp qword [rcx + 0x68], 0
je 0x1400f325a
call 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]
jmp 0x1400f332c
mov rax, qword [rcx + 0x38]
mov rdi, rsi
mov rdx, qword [rax]
test rdx, rdx
je 0x1400f3271
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400f3273
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400f32a0
cmp rax, rsi
mov rbx, rsi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rbp
add r14, rbx
sub rdi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
je 0x1400f3326
mov r8, qword [rbp + 0x18]
lea rax, [rbp + 0x70]
cmp qword [r8], rax
jne 0x1400f32d7
mov rcx, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbp + 0x38]
mov qword [rax], rcx
mov rax, qword [rbp + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400f3301
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x1400f3326
cmp rdi, rbx
ja 0x1400f32de
test rdi, rdi
je 0x1400f3326
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rax, rsi
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f383c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140153040]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x1400f3875
xor eax, eax
jmp 0x1400f3984
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1400f389e
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, qword [rax]
cmp qword [rax], r8
jae 0x1400f389e
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], sil
mov eax, esi
jmp 0x1400f3984
cmp qword [rcx + 0x80], 0
je 0x1400f3982
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400f38d9
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 0x1400f38fa
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x1400f397f
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
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 0x1400f3948
sub eax, 1
je 0x1400f3948
cmp eax, 2
jne 0x1400f3982
movsx ecx, byte [rbp - 0x30]
jmp 0x1400f38e6
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x1400f3973
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x1400f3982
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f68d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400f3b10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140153040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400f3b7f
cmp byte [rcx + 0x71], 0
je 0x1400f3b7f
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400f3bd4
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 0x1400f3b99
sub eax, 1
je 0x1400f3b9d
cmp eax, 2
jne 0x1400f3bd4
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f68d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400f3bcb
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 0x1400f3bd4
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400f3b81
xor al, al
jmp 0x1400f3b81
Function at 0x1400f4928
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rsi, r8
mov r14, rcx
xor r15d, r15d
test r8, r8
je 0x1400f4b2f
cmp qword [0x140153d30], r15
jne 0x1400f4b10
mov eax, 0xe
mov dword [rbp - 0x29], eax
movdqa xmm0, xmmword [0x14014a880]
movdqu xmmword [rbp - 0x25], xmm0
mov edx, r15d
test eax, eax
je 0x1400f4993
mov ecx, edx
lea eax, [rdx - 0x1b]
xor byte [rbp + rcx - 0x25], al
inc edx
mov eax, dword [rbp - 0x29]
cmp edx, eax
jb 0x1400f4981
mov byte [rbp + rax - 0x25], r15b
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x27], r15
mov r12d, 0xf
mov qword [rbp + 0x2f], r12
mov byte [rbp + 0x17], r15b
lea rax, [rbp - 0x25]
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rax + rdi], r15b
jne 0x1400f49b9
lea rcx, [rbp + 0x17]
cmp rdi, r12
ja 0x1400f49e2
mov qword [rbp + 0x27], rdi
mov r8, rdi
lea rdx, [rbp - 0x25]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi + 0x17], r15b
jmp 0x1400f49ef
lea r9, [rbp - 0x25]
mov rdx, rdi
call fcn.14003c1c0
nop
mov eax, 0xc
mov dword [rbp - 0x29], eax
movdqa xmm0, xmmword [0x14014a770]
movdqu xmmword [rbp - 0x25], xmm0
mov edx, r15d
test eax, eax
je 0x1400f4a1d
mov ecx, edx
lea eax, [rdx - 0x1b]
xor byte [rbp + rcx - 0x25], al
inc edx
mov eax, dword [rbp - 0x29]
cmp edx, eax
jb 0x1400f4a0b
mov byte [rbp + rax - 0x25], r15b
mov qword [rbp - 0x11], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r12
mov byte [rbp - 0x11], r15b
lea rax, [rbp - 0x25]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x1400f4a36
lea rcx, [rbp - 0x11]
cmp rbx, r12
ja 0x1400f4a5f
mov qword [rbp - 1], rbx
mov r8, rbx
lea rdx, [rbp - 0x25]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x11], r15b
jmp 0x1400f4a6c
lea r9, [rbp - 0x25]
mov rdx, rbx
call fcn.14003c1c0
nop
lea rcx, [rbp - 0x11]
call fcn.1400f2cc8
mov rdx, rax
lea r8, [rbp + 0x17]
mov rcx, r14
call fcn.1400f4d68
mov qword [0x140153d30], rax
mov ebx, 0x1000
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400f4aca
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rbx
jb 0x1400f4ac5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f4ac5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6a6c
mov qword [rbp - 1], r15
mov qword [rbp + 7], r12
mov byte [rbp - 0x11], r15b
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x1400f4b10
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, rbx
jb 0x1400f4b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f4b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6a6c
mov qword [rbp + 0xf], r15
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0xf]
mov rcx, r14
call fcn.1400f583c
test al, al
je 0x1400f4b2f
mov rax, qword [rbp + 0xf]
jmp 0x1400f4b31
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400f4b50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
test rdx, rdx
jne 0x1400f4b81
xor al, al
jmp 0x1400f4d4c
cmp qword [0x140153d38], r15
jne 0x1400f4d41
mov eax, 0xa
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], 0x9aa19ea0
mov dword [rbp - 0x58], 0x83bb8f8c
mov dword [rbp - 0x54], 0xef8282
mov edx, r15d
test eax, eax
je 0x1400f4bc4
mov ecx, edx
lea eax, [rdx - 0x1b]
xor byte [rbp + rcx - 0x5c], al
inc edx
mov eax, dword [rbp - 0x60]
cmp edx, eax
jb 0x1400f4bb2
mov byte [rbp + rax - 0x5c], r15b
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov r12d, 0xf
mov qword [rbp - 0x10], r12
mov byte [rbp - 0x28], r15b
lea rax, [rbp - 0x5c]
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rax + rdi], r15b
jne 0x1400f4bea
lea rcx, [rbp - 0x28]
cmp rdi, r12
ja 0x1400f4c13
mov qword [rbp - 0x18], rdi
mov r8, rdi
lea rdx, [rbp - 0x5c]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x28], r15b
jmp 0x1400f4c20
lea r9, [rbp - 0x5c]
mov rdx, rdi
call fcn.14003c1c0
nop
mov eax, 0xc
mov dword [rbp - 0x60], eax
movdqa xmm0, xmmword [0x14014a770]
movdqu xmmword [rbp - 0x5c], xmm0
mov edx, r15d
test eax, eax
je 0x1400f4c4e
mov ecx, edx
lea eax, [rdx - 0x1b]
xor byte [rbp + rcx - 0x5c], al
inc edx
mov eax, dword [rbp - 0x60]
cmp edx, eax
jb 0x1400f4c3c
mov byte [rbp + rax - 0x5c], r15b
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r12
mov byte [rbp - 0x48], r15b
lea rax, [rbp - 0x5c]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x1400f4c67
lea rcx, [rbp - 0x48]
cmp rbx, r12
ja 0x1400f4c90
mov qword [rbp - 0x38], rbx
mov r8, rbx
lea rdx, [rbp - 0x5c]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x48], r15b
jmp 0x1400f4c9d
lea r9, [rbp - 0x5c]
mov rdx, rbx
call fcn.14003c1c0
nop
lea rcx, [rbp - 0x48]
call fcn.1400f2cc8
mov rdx, rax
lea r8, [rbp - 0x28]
mov rcx, r14
call fcn.1400f4d68
mov qword [0x140153d38], rax
mov ebx, 0x1000
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400f4cfb
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rbx
jb 0x1400f4cf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f4cf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6a6c
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r12
mov byte [rbp - 0x48], r15b
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400f4d41
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rbx
jb 0x1400f4d3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f4d3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6a6c
mov r9, rsi
mov rcx, r14
call fcn.1400f6090
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret