joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14016af88
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14020f568]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14015f4f0
xor ebx, ebx
cmp qword [0x14021c6a8], rbx
mov rdi, rax
jne 0x14016b09b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14016b172
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14016b172
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401cde90]
mov rcx, rsi
mov qword [0x14021c6a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401cde78]
mov rcx, rsi
mov qword [0x14021c6b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14021c6b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14021c6c8], rax
test rax, rax
je 0x14016b092
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14021c6c0], rax
jmp 0x14016b0a2
mov rax, qword [0x14021c6c0]
jmp 0x14016b0a9
mov rax, qword [0x14021c6c0]
mov r11, qword [0x14021c6c8]
cmp rax, rdi
je 0x14016b110
cmp r11, rdi
je 0x14016b110
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14021c6c8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14016b110
test rax, rax
je 0x14016b110
call rsi
test rax, rax
je 0x14016b10a
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14016b10a
test byte [rsp + 0x40], 1
jne 0x14016b110
bts ebp, 0x15
jmp 0x14016b150
mov rcx, qword [0x14021c6b0]
cmp rcx, rdi
je 0x14016b150
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14016b150
call rax
mov rbx, rax
test rax, rax
je 0x14016b150
mov rcx, qword [0x14021c6b8]
cmp rcx, rdi
je 0x14016b150
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14016b150
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14021c6a8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14016b172
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14016b174
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140157300
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400015b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x1400b6010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
call fcn.14005a47c
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400017df
mov edx, eax
sar edx, 9
shl edx, 3
movsxd rdx, edx
mov rcx, qword [0x1400b71e8]
add rcx, 0x10
add rdx, rcx
xor esi, esi
mov qword [rbp - 0x29], rsi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 8]
lea r8, [rbp - 0x29]
mov rcx, qword [0x1400b73e0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400017df
and ebx, 0x1ff
imul edx, ebx, 0x78
add rdx, rcx
mov qword [rbp - 0x21], rsi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 8]
lea r8, [rbp - 0x21]
mov rcx, qword [0x1400b73e0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x21]
test rbx, rbx
je 0x1400017df
xor edx, edx
lea r8d, [rsi + 0x60]
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll_memset
and dword [rbp + 0x13], esi
and dword [rbp + 0x17], esi
and dword [rbp + 0x1b], esi
and dword [rbp + 0x1f], esi
mov byte [rbp + 0x23], sil
mov qword [rbp + 0x2f], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x37], xmm0
mov qword [rbp - 0x11], rbx
lea rcx, [rbp - 0x19]
call fcn.14005a194
lea rcx, [rbp - 0x19]
call fcn.14005a248
mov al, byte [rdi + 0x3c]
cmp byte [rbp + 0x23], al
je 0x1400017d6
cmp dword [rbp - 9], 1
jl 0x1400017d6
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edi, 0x989680
mov eax, dword [rdx + rcx]
cmp dword [0x1400b73d4], eax
jle 0x14000173e
lea rcx, [0x1400b73d4]
call fcn.14005d758
cmp dword [0x1400b73d4], 0xffffffff
jne 0x14000173e
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, rdi
jne 0x140001710
imul rax, rax, 0x64
jmp 0x14000172b
cqo
idiv rbx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, r8
mov qword [0x1400b73e8], rax
lea rcx, [0x1400b73d4]
call fcn.14005d6f8
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, rdi
jne 0x140001758
imul rbx, rax, 0x64
jmp 0x140001774
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
movsxd rax, dword [0x1400b6044]
mov rdx, rbx
sub rdx, qword [0x1400b73e8]
imul r8, rax, 0xf4240
cmp rdx, r8
je 0x140001793
jl 0x1400017d6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400017cf
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x1400b73e8], rbx
lea rcx, [rbp + 0x2f]
call fcn.140001a9c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14005d5e0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000478c
Capabilities:
Create directory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
push r15
sub rsp, 0x60
mov rcx, qword [0x1400b61f0]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
cmp rax, 9
jb 0x14000494d
cmp qword [0x1400b61f8], 0x10
lea r15, [0x1400626c0]
mov qword [r11 - 0x38], 9
lea r9, [0x1400b61e0]
cmovae r9, qword [0x1400b61e0]
mov qword [r11 - 0x40], r15
mov qword [r11 - 0x48], rcx
lea rcx, [r11 - 0x28]
call fcn.14001571c
cmp qword [rsp + 0x58], 0x10
lea rdx, [rsp + 0x40]
cmovae rdx, qword [rsp + 0x40]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov rdx, qword [rsp + 0x58]
mov edi, eax
cmp rdx, 0x10
jb 0x140004853
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000484e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000484e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dbcc
mov rax, qword [0x1400b61f0]
sub rbx, rax
cmp rbx, 9
jb 0x140004947
cmp qword [0x1400b61f8], 0x10
lea r9, [0x1400b61e0]
mov qword [rsp + 0x30], 9
lea rcx, [rsp + 0x40]
cmovae r9, qword [0x1400b61e0]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.14001571c
lea rdx, [rsp + 0x40]
lea rcx, [0x1400b61e0]
call fcn.14000a84c
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400048ec
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048e7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dbcc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test edi, edi
jne 0x14000490f
lea rdx, str._cheat_:_Config_folder_created
call fcn.14000f348
mov rcx, rax
call fcn.14000f4b4
mov al, 1
jmp 0x140004936
cmp edi, 0xb7
jne 0x140004920
lea rdx, str._cheat_:_Config_folder_already_created
jmp 0x1400048fe
lea rdx, str._cheat_:_Cant_create_config_folder
call fcn.14000f348
mov rcx, rax
call fcn.14000f4b4
xor al, al
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop r15
ret
call fcn.1400026b4
int3
call fcn.1400026b4
int3
Function at 0x1400095b8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x1400095e9
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 0x14000965c
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140009600
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140009602
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140009656
test ecx, ecx
jle 0x140009636
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
add r14, rbp
test rbx, rbx
jle 0x140009656
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140009656
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 + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140009678
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000969d
xor eax, eax
jmp 0x140009798
cmp qword [rcx + 0x68], 0
je 0x1400096af
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 0x140009798
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x1400096c6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400096c8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400096f8
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rsi
add r14, rbx
sub rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov r8, rbp
cmp qword [rsi + 0x80], 0
je 0x140009792
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x140009733
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 r15d, 0xfff
mov rbx, r8
cmp r8, r15
jbe 0x14000976c
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x1400097a9
cmp rbp, r15
ja 0x140009741
mov r8, rbx
test rbx, rbx
je 0x140009792
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rbx
sub r8, rax
sub rdi, r8
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rdi, rbp
jmp 0x140009795
Function at 0x140009b80
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 [0x1400b6010]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140009bb9
xor eax, eax
jmp 0x140009ccc
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140009be2
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, qword [rax]
cmp qword [rax], r8
jae 0x140009be2
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 0x140009ccc
cmp qword [rcx + 0x80], 0
je 0x140009cca
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140009c1d
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 0x140009c41
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
cmovne edi, esi
jmp 0x140009cca
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 0x140009c8f
sub eax, 1
je 0x140009c8f
cmp eax, 2
jne 0x140009cca
movsx ecx, byte [rbp - 0x30]
jmp 0x140009c2a
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140009cba
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 0x140009cca
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x140009ccc
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14005d5e0
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 0x14000b984
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400b6010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000b9f3
cmp byte [rcx + 0x71], 0
je 0x14000b9f3
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000ba48
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 0x14000ba0d
sub eax, 1
je 0x14000ba11
cmp eax, 2
jne 0x14000ba48
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005d5e0
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 0x14000ba3f
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 0x14000ba48
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000b9f5
xor al, al
jmp 0x14000b9f5
Function at 0x14001e4c8
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14001e522
mov r11b, 0x23
lea rdi, [0x1400a4e40]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x14001e50c
cmp rdx, 2
jb 0x14001e50c
cmp byte [r10], r11b
jne 0x14001e50c
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x14001e4ea
jmp 0x14001e563
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14001e563
mov r11b, 0x23
lea rdi, [0x1400a4e40]
cmp dl, r11b
jne 0x14001e547
cmp byte [r10], r11b
jne 0x14001e547
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x14001e535
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x14001e6b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001e6d1
and qword [r8], 0
lea rdx, [0x1400aaad8]
call fcn.14001e574
mov rbx, rax
test rax, rax
je 0x14001e791
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14001e788
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001e788
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001e788
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001e788
cmp rdi, 0xffffffffffffffff
je 0x14001e788
mov rcx, rdi
call fcn.140021a3c
mov rsi, rax
test rax, rax
je 0x14001e788
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14001e775
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.140021a88
jmp 0x14001e791
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001e783
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001e793
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14002a2f8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400b6010]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0x100]
mov r11d, 4
mov rax, qword [rcx + 0x108]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1400a4e40]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x14002a337
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x405c], ebx
jne 0x14002a371
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.140033ffc
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005d5e0
add rsp, 0x30
pop rbx
ret

Function at 0x14002a388
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400b6010]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x120]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x124]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0x108]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0x100]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x1400a4e40]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14002a405
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.14005d5e0
add rsp, 0x28
ret

Function at 0x140032d78
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6000], 0
lea rdi, [rcx + 0x6008]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x140032df5
xor edx, edx
call fcn.140034d64
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.14001f048
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x6000]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1400b7266]
movsxd r8, eax
mov rax, qword [rbx + 0x6010]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140032dfa
call fcn.14001f048
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140033444
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400b7378]
mov rbx, rcx
and dword [rax + 0x5f5c], 0
test rcx, rcx
je 0x1400334ad
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400334b8
lea rdx, [0x1400aaadc]
mov rcx, rbx
mov rdi, rax
call fcn.14001e574
mov rbx, rax
test rax, rax
je 0x1400334ad
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140043370
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1400b7378]
test rax, rax
je 0x14004338b
mov rbx, qword [rax + 0x90]
jmp 0x14004338d
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400433b8
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x1401d26f0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2c0
mov rax, qword [0x1401eb040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea r8, [0x1401e3858]
lea rcx, [rsp + 0x28]
call fcn.1401d7340
cmp qword [rax + 0x18], 7
jbe 0x1401d2742
mov rax, qword [rax]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x1401d2798
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d2793
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d2793
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e0a94
movdqa xmm0, xmmword [0x1401e4c10]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x50], r14
cmp rbp, 0xffffffffffffffff
je 0x1401d2880
nop dword [rax]
lea rdx, [rsp + 0x74]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x1401d2861
mov rax, qword [rsp + 0x74]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x8c]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1401d2810
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x1401d2851
mov rsi, rdi
cmp rax, 7
jbe 0x1401d282f
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x8c]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi], r14w
jmp 0x1401d2861
lea r9, [rsp + 0x8c]
mov rcx, rdi
call fcn.1401d8080
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401d27e0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1401e0720
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret