joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3910
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov eax, r8d
lea rbx, [0x1402e83e0]
sub eax, r9d
movzx r10d, dx
imul eax, eax, 0x64
mov r9d, Ordinal_41
mov r11, rcx
cdq
idiv r8d
movsxd r8, eax
movzx eax, r9w
cmp r8, 8
jae 0x1400a395f
cmp r8, 2
jae 0x1400a3950
movzx edx, r10w
jmp 0x1400a39b1
add ax, 0xfff6
add r8, r8
cmp r8, 8
jb 0x1400a3950
jmp 0x1400a399d
cmp r8, 0xff
jbe 0x1400a3981
nop dword [rax + rax]
add ax, r9w
shr r8, 4
cmp r8, 0xff
ja 0x1400a3970
cmp r8, 0xf
jbe 0x1400a399d
nop word [rax + rax]
add ax, 0xa
shr r8, 1
cmp r8, 0xf
ja 0x1400a3990
and r8d, 7
movzx edx, word [rbx + r8*2]
sub dx, 0xa
add dx, ax
add dx, r10w
movzx ecx, word [rcx + 0x3c]
bt cx, 0xe
jae 0x1400a39cd
movzx eax, word [r11 + 0x3e]
cmp ax, r10w
jge 0x1400a39cd
movzx r10d, ax
jmp 0x1400a39e0
bt cx, 8
jae 0x1400a39e0
cmp r10w, 0xa
jle 0x1400a39e7
add r10w, 0xfff6
cmp r10w, 0xa
jg 0x1400a39f6
xor eax, eax
sub ax, 0x32
add ax, dx
mov rbx, qword [rsp + 8]
ret
movsx rax, r10w
cmp rax, 8
jae 0x1400a3a30
cmp rax, 2
jae 0x1400a3a20
mov eax, 0xffffffdf
sub ax, 0x32
add ax, dx
mov rbx, qword [rsp + 8]
ret
add r9w, 0xfff6
add rax, rax
cmp rax, 8
jb 0x1400a3a20
jmp 0x1400a3a6e
cmp rax, 0xff
jbe 0x1400a3a51
nop dword [rax + rax]
add r9w, 0x28
shr rax, 4
cmp rax, 0xff
ja 0x1400a3a40
cmp rax, 0xf
jbe 0x1400a3a6e
nop word [rax + rax]
add r9w, 0xa
shr rax, 1
cmp rax, 0xf
ja 0x1400a3a60
and eax, 7
movzx eax, word [rbx + rax*2]
mov rbx, qword [rsp + 8]
sub ax, 0x2b
add ax, r9w
sub ax, 0x32
add ax, dx
ret
Function at 0x1400baea0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14031a320]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, str.instance
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400bc5b0
lea rdx, [0x1400bc780]
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]
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rbx, [0x1403218a0]
mov eax, dword [rdx + rcx]
cmp dword [0x140321898], eax
jle 0x1400bb00d
lea rcx, [0x140321898]
call fcn.140253168
cmp dword [0x140321898], 0xffffffff
jne 0x1400bb00d
xorps xmm0, xmm0
movdqu xmmword [0x1403218b0], xmm0
movups xmmword [0x1403218a0], xmm0
mov byte [0x1403218b0], 0
mov qword [0x1403218c0], 0x278d00
mov qword [0x1403218c8], 0x93a80
mov qword [0x1403218d0], 0x15180
lea rdx, str.ctor
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400bc5b0
lea rdx, [0x1400bc780]
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]
call fcn.1400bbb50
lea rdx, str.start_db_cleanup
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400bc5b0
lea rdx, [0x1400bc780]
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]
mov ecx, 8
call fcn.140253278
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400bd2c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400bb02a
cmp dword [0x1403218a8], 0
jne 0x1400bb023
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [0x1403218a0], xmm0
lea rcx, [0x1402592c0]
call fcn.1402534ec
nop
lea rcx, [0x140321898]
call fcn.140253108
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140252d20
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400c5020
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14031a320]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov qword [rcx + 0x1a0], rdx
mov qword [rcx + 0x1a8], r8
mov ecx, 0x202
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test eax, eax
jne 0x1400c51ab
mov qword [rdi + 0x198], 0
mov edx, dword [rsp + 0xe0]
lea rcx, [rsp + 0x48]
call fcn.1400bd690
nop
mov qword [rsp + 0x68], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x88], xmm1
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x74], 6
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea r9, [rdi + 0x198]
lea r8, [rsp + 0x68]
lea rcx, str.127.0.0.1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, eax
test eax, eax
jne 0x1400c5151
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400c512b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5126
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5126
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140253504
mov rax, rdi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140252d20
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400d19a0
nop
lea rdx, str.getaddrinfo_failed_with_error:
mov rcx, rbp
call fcn.1400bc5b0
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1402e09ac]
call fcn.1400bc5b0
lea rdx, str.init_socket_failed
lea rcx, [rsp + 0x28]
call fcn.1400bc180
lea rdx, [0x140310e00]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400d19a0
nop
lea rdx, str.WSAStartup_failed_with_error:
mov rcx, qword [rdi + 0x1a0]
call fcn.1400bc5b0
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1402e09ac]
call fcn.1400bc5b0
lea rdx, str.init_socket_failed
lea rcx, [rsp + 0x28]
call fcn.1400bc180
lea rdx, [0x140310e00]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400cbc60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14031a320]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rdx + 0x18], 8
mov rsi, r8
mov rbx, rcx
movzx edi, r9b
jb 0x1400cbc8f
mov rdx, qword [rdx]
xor ebp, ebp
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbp
mov r8, 0xffffffffffffffff
mov word [rsp + 0x30], bp
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], bp
jne 0x1400cbcb0
lea rcx, [rsp + 0x30]
call fcn.1400bc200
cmp qword [rsp + 0x48], 8
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
cmovae rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x54], 4
mov rcx, rbx
mov dword [rsp + 0x50], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, qword [rsp + 0x48]
test eax, eax
mov ebx, eax
cmove edi, dword [rsp + 0x50]
cmp rdx, 8
jb 0x1400cbd52
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cbd4d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cbd4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140253504
test ebx, ebx
jne 0x1400cbd5d
test edi, edi
setne al
mov byte [rsi], al
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140252d20
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400cc240
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14031a320]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rdx
mov qword [rbp + 7], rdx
xor esi, esi
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], si
mov ecx, 0x210
call fcn.140253278
mov r9, rax
mov qword [rbp + 0x1f], 0x104
mov qword [rbp + 0x27], 0x107
movzx eax, si
mov rdi, r9
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [r9 + 0x208], si
mov qword [rbp + 0xf], r9
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, r9
mov r8d, 0x104
lea rcx, str.SystemRoot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1400cc36c
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], al
lea r8d, [rsi + 0x12]
lea rdx, str.c:dci_service.log
mov rcx, rbx
call fcn.1400bc380
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400cc344
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cc33f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cc479
call fcn.140253504
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140252d20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov qword [rbp - 9], rsi
mov qword [rbp - 1], 7
mov word [rbp - 0x19], si
mov r8d, eax
cmp qword [rbp + 0x1f], r8
cmovb r8, qword [rbp + 0x1f]
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
lea rcx, [rbp - 0x19]
call fcn.1400bc200
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x2f]
call fcn.1400c6080
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1400cc3f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cc3ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cc3ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140253504
mov qword [rbp - 9], rsi
mov qword [rbp - 1], 7
mov word [rbp - 0x19], si
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.Logsdci_service.log
lea rcx, [rbp + 0x2f]
call fcn.1400bc4e0
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x3f]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2f], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400cc344
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cc33f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cc33f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400d0130
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 0x1400d0167
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 0x1400d0188
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400d018a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400d01e3
test ecx, ecx
jle 0x1400d01c3
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 0x1400d01e3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400d01e3
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
Function at 0x1400d0210
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 0x1400d0232
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400d0248
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 0x1400d0264
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400d0266
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x1400d02a0
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400d0347
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1400d02db
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x1400d0321
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x1400d0360
cmp rbx, rax
ja 0x1400d02f0
mov r8, rdi
test rdi, rdi
je 0x1400d0347
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x1400d034a
Function at 0x1400d0790
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14031a320]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400d07bd
xor eax, eax
jmp 0x1400d0912
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400d07e8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400d07e8
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 0x1400d0912
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400d0905
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400d082b
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 0x1400d0856
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 0x1400d090a
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
js 0x1400d0905
cmp eax, 1
jle 0x1400d08c5
cmp eax, 3
jne 0x1400d0905
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 0x1400d090a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400d08f3
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 0x1400d0905
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400d090a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140252d20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400d1e40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14031a320]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400d1f13
cmp byte [rcx + 0x71], 0
je 0x1400d1f13
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400d1f0f
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 0x1400d1ed4
sub eax, 1
je 0x1400d1ed8
cmp eax, 2
jne 0x1400d1f0f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140252d20
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400d1f06
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 0x1400d1f0f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400d1ebc
xor al, al
jmp 0x1400d1ebc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140252d20
add rsp, 0x60
pop rbx
ret

Function at 0x1400d25f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r11, [r8 + 0x10]
mov rbx, qword [r11 + 0x10]
mov rsi, rdx
mov rdi, rcx
jb 0x1400d2617
mov r11, qword [r11]
xor r9d, r9d
movabs r10, 0xcbf29ce484222325
test rbx, rbx
je 0x1400d2654
movabs rcx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + r11]
inc r9
xor r10, rax
imul r10, rcx
cmp r9, rbx
jb 0x1400d2640
mov rdx, qword [rdi + 0x30]
and rdx, r10
shl rdx, 4
add rdx, qword [rdi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x1400d2688
cmp rax, r8
jne 0x1400d267e
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400d2693
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x1400d2693
cmp rax, r8
jne 0x1400d2693
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov rdx, r8
dec qword [rdi + 0x10]
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov rax, qword [r8 + 8]
mov qword [rbx + 8], rax
call fcn.1400d3be0
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d26d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r11, [r8 + 0x10]
mov rbx, qword [r11 + 0x10]
mov rsi, rdx
mov rdi, rcx
jb 0x1400d26f7
mov r11, qword [r11]
xor r9d, r9d
movabs r10, 0xcbf29ce484222325
test rbx, rbx
je 0x1400d2734
movabs rcx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + r11]
inc r9
xor r10, rax
imul r10, rcx
cmp r9, rbx
jb 0x1400d2720
mov rdx, qword [rdi + 0x30]
and rdx, r10
shl rdx, 4
add rdx, qword [rdi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x1400d2768
cmp rax, r8
jne 0x1400d275e
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400d2773
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x1400d2773
cmp rax, r8
jne 0x1400d2773
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov rdx, r8
dec qword [rdi + 0x10]
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov rax, qword [r8 + 8]
mov qword [rbx + 8], rax
call fcn.1400d3de0
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400eb6d0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + rdx]
mov rbx, rcx
mov edi, 0x1505
cmp rcx, rsi
jae 0x1400eb37b
movzx ecx, byte [rbx]
call fcn.1400f50f0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400eb360
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400eb706
call fcn.1400eba40
test al, al
jne 0x1400eb706
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400eb9a0
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x1400eb340
xor eax, eax
add rsp, 0x20
pop rbx
ret