joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c0124
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
lea r11, [r8 + 0x10]
mov rsi, rdx
lea r9, [r11 + 8]
mov r10, rcx
cmp r9, r11
movabs rax, 0xcbf29ce484222325
mov rdi, r11
sbb rbx, rbx
not rbx
and ebx, 8
cmp r11, r9
ja 0x1401c0181
movzx ecx, byte [rdi]
movabs rdx, 0x100000001b3
xor rax, rcx
inc rdi
mov rcx, rdi
sub rcx, r11
imul rax, rdx
cmp rcx, rbx
jne 0x1401c015f
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x1401c01b9
cmp qword [rcx + rdx*8], r8
jne 0x1401c01ae
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x1401c01b2
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1401c01c6
cmp qword [rcx + rdx*8], r8
jne 0x1401c01c6
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, Compress
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call fcn.140356b5c
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 0x1401c7e6c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movabs rax, 0xcbf29ce484222325
mov rdx, r8
lea r9, [r8 + 8]
cmp r9, r8
sbb r8, r8
not r8
and r8d, 8
cmp rdx, r9
ja 0x1401c7edb
movzx ecx, byte [rdx]
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
inc rdx
mov rcx, rdx
sub rcx, r10
cmp rcx, r8
jne 0x1401c7eb9
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
cmp qword [rcx + r8*8], rdi
je 0x1401c7efb
mov rdi, qword [rcx + r8*8 + 8]
mov rdi, qword [rdi]
mov r9, rdi
cmp r9, qword [rcx + r8*8]
je 0x1401c7f53
mov rdi, qword [rdi + 8]
mov r9, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r10], rax
jne 0x1401c7efe
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
lea rcx, [rbx + 0x18]
call fcn.1401c71d8
mov edx, 0x30
mov rcx, rbx
call fcn.140356b5c
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1401c8078
mov qword [rsp + 0x80], rbx
mov rax, qword [rbx]
cmp r9, rax
je 0x1401c7f90
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], rbx
mov rdx, qword [r9 + 8]
mov rcx, qword [rax + 8]
mov qword [r9 + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x1401c7fad
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1401c7fdc
cmp rax, r9
jne 0x1401c7fb8
mov qword [rdx + r8*8], rbx
jmp 0x1401c7fdc
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1401c7fdc
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 [0x1404202fc]
test rax, rax
jns 0x1401c7ffd
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1401c800e
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1401c806d
cmp rdx, 0x200
jae 0x1401c8026
shl rdx, 3
jmp 0x1401c8038
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1401c8038
add rdx, rdx
mov rcx, rsi
call fcn.14005e790
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1401c806d
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1401c7e6c
cmp rdi, r15
jne 0x1401c804d
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401c808c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movabs rax, 0xcbf29ce484222325
mov rdx, r8
lea r9, [r8 + 8]
cmp r9, r8
sbb r8, r8
not r8
and r8d, 8
cmp rdx, r9
ja 0x1401c80fb
movzx ecx, byte [rdx]
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
inc rdx
mov rcx, rdx
sub rcx, r10
cmp rcx, r8
jne 0x1401c80d9
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
cmp qword [rcx + r8*8], rdi
je 0x1401c811b
mov rdi, qword [rcx + r8*8 + 8]
mov rdi, qword [rdi]
mov r9, rdi
cmp r9, qword [rcx + r8*8]
je 0x1401c8173
mov rdi, qword [rdi + 8]
mov r9, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r10], rax
jne 0x1401c811e
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
lea rcx, [rbx + 0x18]
call fcn.1401c7328
mov edx, 0x30
mov rcx, rbx
call fcn.140356b5c
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1401c8298
mov qword [rsp + 0x80], rbx
mov rax, qword [rbx]
cmp r9, rax
je 0x1401c81b0
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], rbx
mov rdx, qword [r9 + 8]
mov rcx, qword [rax + 8]
mov qword [r9 + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x1401c81cd
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1401c81fc
cmp rax, r9
jne 0x1401c81d8
mov qword [rdx + r8*8], rbx
jmp 0x1401c81fc
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1401c81fc
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 [0x1404202fc]
test rax, rax
jns 0x1401c821d
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1401c822e
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1401c828d
cmp rdx, 0x200
jae 0x1401c8246
shl rdx, 3
jmp 0x1401c8258
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1401c8258
add rdx, rdx
mov rcx, rsi
call fcn.14005e790
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1401c828d
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1401c808c
cmp rdi, r15
jne 0x1401c826d
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401c85b4
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
lea r11, [r8 + 0x10]
mov rdi, r8
lea r8, [r11 + 8]
mov rsi, rdx
cmp r8, r11
mov r9, rcx
movabs rax, 0xcbf29ce484222325
mov rbx, r11
sbb r10, r10
not r10
and r10d, 8
cmp r11, r8
ja 0x1401c8615
movzx ecx, byte [rbx]
movabs rdx, 0x100000001b3
xor rax, rcx
inc rbx
mov rcx, rbx
sub rcx, r11
imul rax, rdx
cmp rcx, r10
jne 0x1401c85f3
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1401c864d
cmp qword [rcx + rdx*8], rdi
jne 0x1401c8642
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1401c8646
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1401c865a
cmp qword [rcx + rdx*8], rdi
jne 0x1401c865a
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [r11 + 8]
dec qword [r9 + 0x10]
call fcn.1401c71d8
mov edx, 0x30
mov rcx, rdi
call fcn.140356b5c
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 0x1401c86a8
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
lea r11, [r8 + 0x10]
mov rdi, r8
lea r8, [r11 + 8]
mov rsi, rdx
cmp r8, r11
mov r9, rcx
movabs rax, 0xcbf29ce484222325
mov rbx, r11
sbb r10, r10
not r10
and r10d, 8
cmp r11, r8
ja 0x1401c8709
movzx ecx, byte [rbx]
movabs rdx, 0x100000001b3
xor rax, rcx
inc rbx
mov rcx, rbx
sub rcx, r11
imul rax, rdx
cmp rcx, r10
jne 0x1401c86e7
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1401c8741
cmp qword [rcx + rdx*8], rdi
jne 0x1401c8736
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1401c873a
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1401c874e
cmp qword [rcx + rdx*8], rdi
jne 0x1401c874e
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [r11 + 8]
dec qword [r9 + 0x10]
call fcn.1401c7328
mov edx, 0x30
mov rcx, rdi
call fcn.140356b5c
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 0x1401d7318
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
xor ebp, ebp
mov esi, ebp
mov dword [rax + 8], ebp
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1401d734d
mov rdx, qword [rdx]
movabs rbx, 0xcbf29ce484222325
mov r8, rdx
lea rcx, [r9 + r9]
lea rax, [rcx + rdx]
cmp rdx, rax
cmova rcx, rbp
test rcx, rcx
je 0x1401d7391
movzx eax, byte [r8]
xor rbx, rax
movabs r10, 0x100000001b3
imul rbx, r10
inc r8
mov rax, r8
sub rax, rdx
cmp rax, rcx
jne 0x1401d736e
test r9, r9
je 0x1401d73d3
mov rcx, qword [0x14055d868]
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
mov rax, qword [rax + 0x58]
call qword [str.p76_]
nop
mov esi, 1
mov dword [rsp + 0x50], esi
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [str.p76_]
test eax, eax
mov dil, bpl
jne 0x1401d73d6
mov dil, 1
test sil, 1
je 0x1401d741e
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1401d741e
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1401d741e
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov edx, esi
lock xadd dword [rbx + 0xc], edx
add edx, esi
jne 0x1401d741e
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 8]
call qword [str.p76_]
mov al, dil
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1401f53d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov rdx, qword [rsi + 0x10]
jb 0x1401f5403
mov r9, qword [rsi]
add rdx, rdx
xor r11d, r11d
movabs rax, 0xcbf29ce484222325
mov r10, r9
lea rcx, [rdx + r9]
cmp r9, rcx
cmova rdx, r11
test rdx, rdx
je 0x1401f5449
movzx ecx, byte [r10]
movabs r11, 0x100000001b3
xor rax, rcx
inc r10
mov rcx, r10
sub rcx, r9
imul rax, r11
cmp rcx, rdx
jne 0x1401f5426
mov rdx, qword [r8 + 0x30]
mov rcx, qword [r8 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1401f5481
cmp qword [rcx + rdx*8], rdi
jne 0x1401f5476
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x1401f547a
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1401f548e
cmp qword [rcx + rdx*8], rdi
jne 0x1401f548e
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x20]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.140055f70
mov rcx, rsi
call fcn.140055f70
mov edx, 0x50
mov rcx, rdi
call fcn.140356b5c
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x1401fcc00
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x47], rax
call fcn.1400550c0
xor ebx, ebx
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x1401fcc66
lea rax, str.Initializing_component
mov qword [rbp + 0x2f], 0x2e
mov qword [rbp + 0x27], rax
lea rax, [rbp + 7]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14048143b]
xor r8d, r8d
mov dword [rsp + 0x20], 3
call fcn.140001208
lea rcx, [rbp - 0x21]
call fcn.1401fd614
cmp qword [rbp - 9], 8
lea rcx, [rbp - 0x21]
cmovae rcx, qword [rbp - 0x21]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
cmp eax, 1
je 0x1401fcd0a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x29], eax
cmp eax, 0xb7
je 0x1401fcd0a
mov byte [0x140548f88], 1
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1401fcd90
lea rax, [rbp - 0x29]
mov qword [rbp + 0x2f], 4
mov qword [rbp + 0x27], rax
lea rax, str.Sample_Cache_Agent_failed_to_create_cache_directory__using_temp_directory.
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], reloc.OLEAUT32.dll_DllRegisterServer
lea rax, [rbp + 7]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x140481297]
xor r8d, r8d
mov dword [rsp + 0x20], 4
call fcn.140001208
jmp 0x1401fcd90
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1401fcd90
cmp qword [rbp - 9], 8
lea rax, str.Using_protected_cache_directory
lea rcx, [rbp - 0x21]
mov qword [rbp + 0x27], rax
cmovae rcx, qword [rbp - 0x21]
lea rdx, [0x1403cb630]
mov qword [rbp + 0x2f], 0x40
mov rax, rbx
test rcx, rcx
je 0x1401fcd59
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1401fcd50
lea eax, [rax*2 + 2]
mov qword [rbp + 0x37], rdx
mov dword [rbp + 0x3f], eax
mov dword [rbp + 0x43], ebx
lea rax, [rbp + 7]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1404812cb]
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov rcx, r10
call fcn.140001208
lea rcx, [rbp - 0x21]
call fcn.140055f70
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
Function at 0x1401fd1f4
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdx, qword [r8]
xor ebx, ebx
mov rcx, qword [rcx]
mov r8d, 0x1000
mov dword [rbp - 0x19], ebx
mov rdi, r9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x1401fd2a4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x19], eax
cmp eax, 0x26
jne 0x1401fd253
mov dword [rdi], ebx
jmp 0x1401fd2a7
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1401fd2a4
lea rax, [rbp - 0x19]
mov qword [rbp + 0x2f], VarR8FromUI1
mov qword [rbp + 0x17], rax
mov edx, 4
lea rax, str.Failed_to_read_sample_file_content
mov qword [rbp + 0x1f], rdx
mov qword [rbp + 0x27], rax
lea rax, [rbp - 9]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], edx
lea rdx, [0x140481297]
call fcn.140001208
mov ebx, dword [rbp - 0x19]
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140356560
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret

Function at 0x1401fd2c8
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov r8d, dword [r8]
lea r9, [rbp - 5]
mov rdx, qword [rdx]
mov rcx, qword [rcx]
and dword [rbp - 5], 0
and dword [rbp - 9], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x1401fd375
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 9], eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1401fd375
and dword [rbp + 0x33], 0
lea rax, [rbp - 9]
and dword [rbp + 0x43], 0
mov edx, 4
mov qword [rbp + 0x27], rax
lea rax, str.Failed_to_write_cache_file
mov qword [rbp + 0x37], rax
mov dword [rbp + 0x2f], edx
mov dword [rbp + 0x3f], 0x36
lea rax, [rbp + 7]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], edx
lea rdx, [0x140481297]
call fcn.140001208
mov eax, dword [rbp - 9]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140356560
add rsp, 0x90
pop rbp
ret
Function at 0x1401fd614
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [0x140548f88], sil
je 0x1401fd699
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14019d860
nop
mov rdx, qword [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140055574
nop
lea rcx, [rsp + 0x30]
call fcn.140097a24
jmp 0x1401fd6f9
lea rcx, [rsp + 0x30]
call fcn.14023e64c
nop
lea rdx, [0x140543898]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x140543898]
mov r8, qword [0x1405438a8]
mov rcx, rax
call fcn.140068814
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rsp + 0x30]
call fcn.140055f70
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rsi
ret

Function at 0x1401fd88c
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x78], xmm0
xor edi, edi
mov word [rsp + 0x68], di
mov edx, 0x104
lea rcx, [r11 - 0x78]
call fcn.14019d860
nop
lea rcx, [rsp + 0x48]
call fcn.1401fd614
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x1403cb630]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
nop dword [rax + rax]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.140055574
nop
lea rcx, [rsp + 0x48]
call fcn.140055f70
nop
lea rcx, [rsp + 0x20]
call fcn.140097a24
nop
lea rcx, [rsp + 0x68]
call fcn.140055f70
mov rax, rbx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x1401fe8d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rax, r8
lea r9, [rbp - 0x25]
mov edi, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x40]
mov r8d, edx
xor esi, esi
mov rdx, qword [rax]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x1401fe9e1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x29], eax
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1401fe9cc
lea rcx, [rbx + 8]
mov qword [rbp + 0xf], 0x7a
cmp qword [rcx + 0x18], 8
lea rax, str.Sample_file_compression_failed___Cannot_read_block_from_file
mov qword [rbp + 7], rax
jb 0x1401fe966
mov rcx, qword [rcx]
lea rdx, [0x1403cb630]
mov rax, rsi
test rcx, rcx
je 0x1401fe985
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x1401fe97c
lea eax, [rax*2 + 2]
mov qword [rbp + 0x17], rdx
mov dword [rbp + 0x1f], eax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x27], rax
mov dword [rbp + 0x23], esi
mov qword [rbp + 0x2f], 4
lea rax, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1404815cb]
xor r8d, r8d
mov dword [rsp + 0x20], 5
mov rcx, r10
call fcn.140001208
mov ecx, dword [rbp - 0x29]
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x1401fea96
cmp dword [rbp - 0x25], edi
je 0x1401fea94
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x29], eax
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1401fe9cc
lea rcx, [rbx + 8]
mov qword [rbp + 0xf], 0x7a
cmp qword [rcx + 0x18], 8
lea rax, str.Sample_file_compression_failed___not_all_bytes_in_block_read
mov qword [rbp + 7], rax
jb 0x1401fea29
mov rcx, qword [rcx]
lea rdx, [0x1403cb630]
mov rax, rsi
test rcx, rcx
je 0x1401fea48
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x1401fea3f
lea eax, [rax*2 + 2]
mov qword [rbp + 0x17], rdx
mov dword [rbp + 0x1f], eax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x27], rax
mov dword [rbp + 0x23], esi
mov qword [rbp + 0x2f], 4
lea rax, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1404815cb]
xor r8d, r8d
mov dword [rsp + 0x20], 5
mov rcx, r10
call fcn.140001208
jmp 0x1401fe9cc
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret