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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov r9, rcx
movzx edx, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [r8 + 0x11]
mov r10, qword [r9 + 0x30]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x13]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x14]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x15]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x16]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x17]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r9 + 0x18]
and r10, rdx
shl r10, 4
add rcx, r10
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x140060883
cmp rax, r8
jne 0x140060879
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [r10 + rcx + 8], rax
jmp 0x14006088e
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x14006088e
cmp rax, r8
jne 0x14006088e
mov rax, qword [r8]
mov qword [rcx], rax
mov rcx, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rcx], rbx
mov rdx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
mov edx, 0x40
dec qword [r9 + 0x10]
mov rcx, r8
call fcn.1401eb394
mov rax, rdi
mov qword [rdi], rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1401eb080
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140061b90
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
mov qword [r11 - 0x58], rdx
mov qword [r11 - 0x40], rbx
xor r15d, r15d
mov dword [r11 - 0x68], r15d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
add rcx, 0x48
call sub.KERNEL32.dll_AcquireSRWLockShared
mov eax, r15d
xchg byte [rbp + 0x50], al
mov rcx, rbx
shr rcx, 8
movzx edx, cl
movzx eax, bl
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r8, 0x100000001b3
imul rax, r8
xor rdx, rax
imul rdx, r8
mov rax, rbx
shr rax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rbx
shr rax, 0x18
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rbx
shr rax, 0x20
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rbx
shr rax, 0x28
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rbx
shr rax, 0x30
movzx ecx, al
xor rdx, rcx
imul rdx, r8
shr rbx, 0x38
xor rdx, rbx
imul rdx, r8
mov rcx, qword [rbp + 0x38]
and rcx, rdx
mov r8, qword [rbp + 0x20]
mov rax, rcx
add rax, rax
mov rax, qword [r8 + rax*8]
add rcx, rcx
lea r11, [rcx*8 + 8]
mov rdx, qword [rbp + 0x10]
mov r9, qword [r8 + rcx*8]
mov r10, qword [rsp + 0x48]
cmp r9, rdx
jne 0x140061caf
mov rcx, rdx
jmp 0x140061cb6
mov rcx, qword [r11 + r8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140061cc6
cmp qword [rax + 0x10], r10
je 0x140061cc9
mov rax, qword [rax]
jmp 0x140061ca5
mov rax, rdx
cmp rax, rdx
je 0x140061cef
mov rbx, qword [rax + 0x20]
test rbx, rbx
je 0x140061cdf
lock inc dword [rbx + 8]
mov rbx, qword [rax + 0x20]
mov rsi, qword [rax + 0x18]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rbx
jmp 0x140061cf9
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
lea rcx, [rbp + 0x48]
call sub.KERNEL32.dll_ReleaseSRWLockShared
test rsi, rsi
jne 0x140061d13
mov qword [rdi], r15
mov qword [rdi + 8], rbx
jmp 0x140061da8
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.140061f90
cmp eax, 0x100cf
jne 0x140061d97
lea rcx, [rbp + 0x48]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
lea rcx, [rbp + 8]
lea rdx, [rsp + 0x48]
call fcn.140063480
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov dword [rsp + 0x20], 1
lea rcx, [rbp + 0x48]
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140061d95
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140061d95
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140061d95
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140061da8
mov rax, qword [rsp + 0x38]
mov qword [rdi], rax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 8], rax
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401eb080
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140063480
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r11, rdx
mov rbp, rcx
movzx ecx, byte [rdx]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [r11 + 1]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 2]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 3]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 4]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 5]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 6]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 7]
xor rcx, rax
imul rcx, rdx
mov rax, qword [rbp + 0x30]
and rax, rcx
mov rsi, rax
add rsi, rsi
mov r10, qword [rbp + 0x18]
mov rbx, qword [r10 + rsi*8]
add rax, rax
lea rcx, [rax*8 + 8]
mov rdx, qword [rbp + 8]
mov r9, qword [r10 + rax*8]
nop dword [rax + rax]
cmp r9, rdx
jne 0x14006355a
mov rax, rdx
jmp 0x140063561
mov rax, qword [rcx + r10]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400635a7
mov r8, qword [r11]
cmp qword [rbx + 0x10], r8
je 0x140063574
mov rbx, qword [rbx]
jmp 0x140063550
mov rcx, rbx
mov rdi, rbx
nop word [rax + rax]
cmp r9, rdx
jne 0x14006358a
mov rax, rdx
jmp 0x140063592
mov rax, qword [r10 + rsi*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400635a2
cmp r8, qword [rbx + 0x10]
jne 0x1400635a2
mov rbx, qword [rbx]
jmp 0x140063580
cmp rcx, rbx
jne 0x1400635ad
mov rdi, rdx
mov rbx, rdx
mov rax, rdi
xor esi, esi
cmp rdi, rbx
je 0x1400635cb
nop word [rax + rax]
inc rsi
mov rax, qword [rax]
cmp rax, rbx
jne 0x1400635c0
cmp rdi, qword [rdx]
jne 0x1400635ee
cmp rbx, rdx
jne 0x1400635ee
lea rcx, [rbp + 8]
call fcn.140063700
mov edx, 8
mov rcx, rbp
call fcn.14005e810
nop
jmp 0x140063618
cmp rdi, rbx
je 0x140063618
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.140063820
cmp rdi, rbx
jne 0x140063600
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401eb080
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140063820
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov r9, rcx
movzx edx, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [r8 + 0x11]
mov r10, qword [r9 + 0x30]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x13]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x14]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x15]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x16]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x17]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r9 + 0x18]
and r10, rdx
shl r10, 4
add rcx, r10
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x1400638f3
cmp rax, r8
jne 0x1400638e9
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [r10 + rcx + 8], rax
jmp 0x1400638fe
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x1400638fe
cmp rax, r8
jne 0x1400638fe
mov rax, qword [r8]
mov qword [rcx], rax
mov rcx, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rcx], rbx
mov rdx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
mov rdx, r8
dec qword [r9 + 0x10]
call fcn.1400637b0
mov rax, rdi
mov qword [rdi], rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1401eb080
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140064030
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
movzx edx, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [r8 + 1]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 2]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 3]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 4]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 5]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 6]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 7]
xor rdx, rax
imul rdx, rcx
mov r8, qword [rsi + 0x30]
and r8, rdx
mov rbx, qword [rsi + 8]
mov rax, r8
add rax, rax
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rdx + rax*8]
cmp rbx, rcx
je 0x140064143
mov rbx, qword [rdx + rax*8 + 8]
mov rbx, qword [rbx]
nop
cmp rbx, rcx
je 0x140064143
mov rbx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
cmp qword [r9], rax
jne 0x140064100
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
mov qword [rdx], rcx
mov rdx, qword [rdi]
mov rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
dec qword [rsi + 0x10]
mov rdx, rdi
call fcn.1400637b0
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14006426c
mov qword [rsp + 0x40], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14006417d
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
add r8, r8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14006419d
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x1400641cc
cmp rax, rbx
jne 0x1400641a8
mov qword [rdx + r8*8], rdi
jmp 0x1400641cc
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x1400641cc
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140247424]
test rax, rax
jns 0x1400641ed
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1400641fe
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140064261
cmp rdx, 0x200
jae 0x14006421a
lea rdx, [rdx*8]
jmp 0x14006422c
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14006422c
add rdx, rdx
mov rcx, rsi
call fcn.14005e810
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140064261
mov r15, qword [rax + 8]
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140064030
cmp rbx, r15
jne 0x140064241
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401eb080
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14009ee90
Capabilities:
Move file

Disassembly:
sub rsp, 0x258
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp qword [rcx + 0x10], 0
je 0x14009efda
cmp qword [rdx + 0x10], 0
je 0x14009efda
cmp qword [rdx + 0x18], 0x10
jb 0x14009eed2
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0x10
jb 0x14009eedc
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x14009efc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov qword [rsp + 0x28], rax
lea rax, str.RenameFile
mov qword [rsp + 0x20], rax
lea r9, str.FileUtils__s:_rename_error:__s
mov edx, 0x100
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x140]
call fcn.14001f090
test eax, eax
js 0x14009ef9b
lea rcx, [rsp + 0x40]
call fcn.14001f120
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x50]
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b10]
call fcn.140020db0
mov rcx, rax
lea rdx, str.HarmonyOS::DistributedFs::FileUtils::RenameFile
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b0c]
call fcn.140020db0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x40]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rsp + 0x40]
call fcn.14001f1f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call fcn.14009db60
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401eb080
add rsp, 0x258
ret
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401eb080
add rsp, 0x258
ret
lea rax, str.RenameFile
mov qword [rsp + 0x20], rax
lea r9, str.FileUtils__s:_path_is_empty
mov edx, 0x100
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x140]
call fcn.14001f090
test eax, eax
js 0x14009f078
lea rcx, [rsp + 0x40]
call fcn.14001f120
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x50]
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b10]
call fcn.140020db0
mov rcx, rax
lea rdx, str.HarmonyOS::DistributedFs::FileUtils::RenameFile
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b0c]
call fcn.140020db0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x40]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rsp + 0x40]
call fcn.14001f1f0
mov eax, 0x10016
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401eb080
add rsp, 0x258
ret
Function at 0x14009f850
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14, r9
mov rsi, r8
mov ebp, ecx
test ecx, ecx
js 0x14009f995
test edx, edx
js 0x14009f995
test r9, r9
je 0x14009f995
xor ebx, ebx
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseek]
test rsi, rsi
je 0x14009f8d2
nop word [rax + rax]
mov r8d, esi
sub r8d, ebx
mov rdx, r14
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rdi, eax
test eax, eax
js 0x14009f8d9
je 0x14009f8d2
add rbx, rdi
cmp rbx, rsi
jb 0x14009f8b0
mov eax, ebx
jmp 0x14009fa45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
lea rax, [0x14021c810]
mov qword [rsp + 0x20], rax
lea r9, str.FileUtils__s:_failed_to_read_file__d__error:__s
mov edx, 0x100
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x150]
call fcn.14001f090
test eax, eax
js 0x14009f98e
lea rcx, [rsp + 0x50]
call fcn.14001f120
nop
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x60]
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b10]
call fcn.140020db0
mov rcx, rax
lea rdx, str.HarmonyOS::DistributedFs::FileUtils::ReadFile
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b0c]
call fcn.140020db0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.14001f1f0
mov eax, edi
jmp 0x14009fa45
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ebp
lea rax, [0x14021c810]
mov qword [rsp + 0x20], rax
lea r9, str.FileUtils__s:_invalid_params__fd__d__offset__ld__size__lu__or_buf_is_null
mov edx, 0x100
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x150]
call fcn.14001f090
test eax, eax
js 0x14009fa40
lea rcx, [rsp + 0x50]
call fcn.14001f120
nop
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x60]
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b10]
call fcn.140020db0
mov rcx, rax
lea rdx, str.HarmonyOS::DistributedFs::FileUtils::ReadFile
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b0c]
call fcn.140020db0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.14001f1f0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401eb080
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a0480
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x258
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp qword [rcx + 0x10], 0
jne 0x1400a0568
lea rax, str.RemoveDirectoryW
mov qword [rsp + 0x20], rax
lea r9, str.FileUtils__s:_path_is_empty
mov edx, 0x100
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x140]
call fcn.14001f090
test eax, eax
js 0x1400a054b
lea rcx, [rsp + 0x40]
call fcn.14001f120
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x50]
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b10]
call fcn.140020db0
mov rcx, rax
lea rdx, str.HarmonyOS::DistributedFs::FileUtils::RemoveDirectoryW
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b0c]
call fcn.140020db0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x40]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rsp + 0x40]
call fcn.14001f1f0
mov eax, 0x10016
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401eb080
add rsp, 0x258
ret
cmp qword [rcx + 0x18], 0x10
jb 0x1400a0572
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__rmdir]
test eax, eax
je 0x1400a0665
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 2
je 0x1400a0665
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov qword [rsp + 0x28], rax
lea rax, str.RemoveDirectoryW
mov qword [rsp + 0x20], rax
lea r9, str.FileUtils__s:_failed_to_rmdir__error:__s
mov edx, 0x100
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x140]
call fcn.14001f090
test eax, eax
js 0x1400a0640
lea rcx, [rsp + 0x40]
call fcn.14001f120
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x50]
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b10]
call fcn.140020db0
mov rcx, rax
lea rdx, str.HarmonyOS::DistributedFs::FileUtils::RemoveDirectoryW
call fcn.140020a40
mov rcx, rax
lea rdx, [0x140216b0c]
call fcn.140020db0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x40]
mov edx, 3
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rsp + 0x40]
call fcn.14001f1f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call fcn.14009db60
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401eb080
add rsp, 0x258
ret
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401eb080
add rsp, 0x258
ret
Function at 0x1400a1090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor ebp, ebp
mov rax, qword [rsp + 0x50]
mov r12, r9
mov r11, qword [rsp + 0x60]
mov r13, r8
mov r14, rdx
mov qword [rsi], r8
mov qword [r11], rax
mov rax, qword [rsi]
cmp rax, r9
je 0x1400a1224
mov r15, qword [rsp + 0x58]
lea r8d, [rbp + 1]
mov rbx, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
cmp rbx, r15
je 0x1400a1224
movzx edx, word [r14]
xor dil, dil
movzx ecx, word [rax]
cmp r8w, dx
jae 0x1400a112a
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x1400a124a
movzx eax, dx
movzx ecx, cx
shl eax, 0xa
sub ecx, 0xdc00
or eax, ecx
jmp 0x1400a1146
mov edx, 0x2800
movzx eax, cx
add cx, dx
cmp cx, r9w
ja 0x1400a1146
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x1400a1159
movzx r9d, al
mov r10d, ebp
mov r8d, ebp
jmp 0x1400a11a3
mov r9d, eax
cmp eax, 0x800
jae 0x1400a1170
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
jmp 0x1400a11a3
cmp eax, 0x10000
jae 0x1400a118a
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov r8d, r10d
jmp 0x1400a11a3
shr r9d, 0x12
mov r10d, 3
movzx r8d, dil
or r9b, 0xf0
xor r8d, 1
add r8d, r8d
inc r8d
mov rdx, r15
sub rdx, rbx
mov ecx, r8d
cmp rdx, rcx
jl 0x1400a1224
add qword [rsi], 2
test dil, dil
jne 0x1400a11c3
cmp r10d, 3
jae 0x1400a11cf
mov rcx, qword [r11]
mov byte [rcx], r9b
inc qword [r11]
dec r8d
test r8d, r8d
jle 0x1400a1201
lea r9d, [r10 + r10*2]
add r9d, r9d
nop dword [rax + rax]
sub r9d, 6
mov edx, eax
mov ecx, r9d
dec r8d
shr edx, cl
mov rcx, qword [r11]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [r11]
test r8d, r8d
jg 0x1400a11e0
mov r8d, 1
test dil, dil
je 0x1400a1211
shr eax, 0xa
jmp 0x1400a1214
mov eax, r8d
mov word [r14], ax
mov rax, qword [rsi]
cmp rax, r12
jne 0x1400a10e1
cmp r13, qword [rsi]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x1400a122d