joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044590
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
mov rbx, r8
mov rsi, rdx
mov r8, rcx
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
movzx eax, byte [r9 + rbx + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, rdx
cmp r9, 4
jb 0x1400445b5
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x14004460d
cmp qword [rcx + rdx*8], rbx
jne 0x140044602
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140044606
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14004461a
cmp qword [rcx + rdx*8], rbx
jne 0x14004461a
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r8 + 0x10]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004464e
and qword [rbx + 0x18], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140089b1f.8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400459e8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x140045a20
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x140045a65
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x140045ac9
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov eax, dword [rdi + 0x10]
cmp dword [r9], eax
jne 0x140045a68
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]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140045ab0
and qword [rbx + 0x18], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140089b1f.8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140045bee
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x140045b03
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140045b23
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140045b52
cmp rax, rdx
jne 0x140045b2e
mov qword [r9 + r8*8], rbx
jmp 0x140045b52
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140045b52
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 [0x140195be0]
test rax, rax
jns 0x140045b73
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140045b84
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140045be3
cmp rdx, 0x200
jae 0x140045b9c
shl rdx, 3
jmp 0x140045bae
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140045bae
add rdx, rdx
mov rcx, rsi
call fcn.140032944
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140045be3
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400459e8
cmp rdi, r15
jne 0x140045bc3
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140049800
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov r14, rdx
mov r15, rcx
mov r11, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 8
jb 0x140049836
mov r9, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r10, [r11 + r11]
xor ecx, ecx
test r10, r10
je 0x140049869
movzx eax, byte [rcx + r9]
xor rdx, rax
movabs rbx, 0x100000001b3
imul rdx, rbx
inc rcx
cmp rcx, r10
jb 0x14004984b
mov rsi, qword [r15 + 0x30]
and rsi, rdx
mov rdi, rsi
add rdi, rdi
mov rax, qword [r15 + 0x18]
mov rbx, qword [r15 + 8]
mov r12, qword [rax + rdi*8]
cmp r12, rbx
jne 0x14004988c
mov rdi, rbx
jmp 0x140049894
mov rdi, qword [rax + rdi*8 + 8]
mov rdi, qword [rdi]
cmp rdi, r12
je 0x140049909
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400498af
mov rax, qword [rax]
mov r9, r8
cmp qword [r8 + 0x18], 8
jb 0x1400498bc
mov r9, qword [r8]
cmp r11, rcx
jne 0x140049894
mov r10, r11
test r11, r11
je 0x1400498f9
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x140049894
sub r9, rax
cmp cx, dx
ja 0x140049894
cmp r10, 1
je 0x1400498f9
dec r10
add rax, 2
movzx ecx, word [r9 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x1400498db
jmp 0x140049894
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400499fa
mov rbx, qword [rbx]
mov r12, qword [rbx + 8]
mov r9, r8
mov r8, r12
mov rdx, rbx
call fcn.140049f24
mov rdx, rax
mov rax, qword [r15 + 0x10]
movabs rcx, 0x555555555555554
sub rcx, rax
cmp rcx, 1
jae 0x140049946
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rax
mov qword [r15 + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [r12], rdx
mov rax, qword [r15 + 8]
mov rbx, qword [rax]
mov qword [rsp + 0x70], rbx
mov rdx, qword [rbx]
cmp rdi, rdx
je 0x14004999a
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
mov qword [rbx + 8], rcx
mov rax, qword [r15 + 8]
add rsi, rsi
mov rdx, qword [r15 + 0x18]
cmp qword [rdx + rsi*8], rax
jne 0x1400499b6
mov qword [rdx + rsi*8], rbx
mov rax, qword [r15 + 0x18]
mov qword [rax + rsi*8 + 8], rbx
jmp 0x1400499e6
cmp qword [rdx + rsi*8], rdi
jne 0x1400499c2
mov qword [rdx + rsi*8], rbx
jmp 0x1400499e6
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rbx
je 0x1400499e6
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r15
call fcn.140036a00
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140049a10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rdi, rdx
mov r11, qword [r8 + 0x10]
mov r10, r8
jb 0x140049a3f
mov r10, qword [r8]
lea rdx, [r11 + r11]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140049a72
movzx eax, byte [rcx + r10]
movabs rbx, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rbx
cmp rcx, rdx
jb 0x140049a54
and r9, qword [0x1401defc0]
mov r12, qword [0x1401defa8]
mov rbx, qword [0x1401def98]
shl r9, 4
mov rax, qword [r9 + r12]
cmp qword [r9 + r12], rbx
jne 0x140049a9a
mov rcx, rbx
jmp 0x140049aa2
mov rcx, qword [r9 + r12 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140049b72
cmp qword [r8 + 0x18], 8
lea rcx, [rax + 0x10]
mov rdx, r8
jb 0x140049abc
mov rdx, qword [r8]
mov r15, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
cmp r15, 8
jb 0x140049acd
mov rcx, qword [rcx]
cmp rbp, r11
jne 0x140049b0b
mov r14, rbp
test rbp, rbp
je 0x140049b13
movzx r10d, word [rcx]
movzx esi, word [rdx]
cmp r10w, si
jb 0x140049b0b
sub rcx, rdx
cmp r10w, si
ja 0x140049b0b
cmp r14, 1
je 0x140049b13
add rdx, 2
dec r14
movzx r10d, word [rcx + rdx]
movzx esi, word [rdx]
cmp r10w, si
jae 0x140049aee
mov rax, qword [rax]
jmp 0x140049a8f
lea rcx, [rax + 0x10]
cmp r15, 8
jb 0x140049b20
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
mov rdx, r8
jb 0x140049b2d
mov rdx, qword [r8]
cmp r11, rbp
jne 0x140049b6a
test r11, r11
je 0x140049b6d
movzx r9d, word [rdx]
movzx r10d, word [rcx]
cmp r9w, r10w
jb 0x140049b6a
sub rdx, rcx
cmp r9w, r10w
ja 0x140049b6a
cmp r11, 1
je 0x140049b6d
add rcx, 2
dec r11
movzx r9d, word [rdx + rcx]
movzx r10d, word [rcx]
cmp r9w, r10w
jae 0x140049b4c
mov rax, rbx
mov rcx, rax
jmp 0x140049b78
mov rax, rbx
mov rcx, rbx
cmp rcx, rbx
jne 0x140049bf9
mov rbx, qword [rbx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], r8
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rsi, qword [rbx + 8]
mov r8, rsi
call fcn.1400370a8
mov rdx, rax
movabs rcx, 0x492492492492491
mov rax, qword [0x1401defa0]
sub rcx, rax
cmp rcx, 1
jae 0x140049bc9
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rax
lea rcx, [0x1401def90]
mov qword [0x1401defa0], rax
mov qword [rbx + 8], rdx
mov qword [rsi], rdx
mov rdx, rdi
mov r9, qword [0x1401def98]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.140035ff0
jmp 0x140049c00
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov rbx, qword [rsp + 0x68]
mov rax, rdi
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140049c1c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x140049c54
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x140049c99
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x140049ce1
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov eax, dword [rdi + 0x10]
cmp dword [r9], eax
jne 0x140049c9c
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]
mov rdx, rbx
call fcn.1400492f4
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140049e06
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x140049d1b
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140049d3b
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140049d6a
cmp rax, rdx
jne 0x140049d46
mov qword [r9 + r8*8], rbx
jmp 0x140049d6a
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140049d6a
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 [0x140195be0]
test rax, rax
jns 0x140049d8b
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140049d9c
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140049dfb
cmp rdx, 0x200
jae 0x140049db4
shl rdx, 3
jmp 0x140049dc6
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140049dc6
add rdx, rdx
mov rcx, rsi
call fcn.140032944
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140049dfb
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140049c1c
cmp rdi, r15
jne 0x140049ddb
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140049e70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 4
jb 0x140049e8d
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140049ee5
cmp qword [rcx + rdx*8], r8
jne 0x140049eda
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140049ede
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140049ef2
cmp qword [rcx + rdx*8], r8
jne 0x140049ef2
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rdx, r8
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
call fcn.1400492f4
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14004bd18
Capabilities:
Write file on windows

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, 0x80
xor r15d, r15d
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], r15
je 0x14004bf11
test rdx, rdx
je 0x14004bf11
test r8, r8
je 0x14004bf11
cmp qword [rcx + 0x18], 8
jb 0x14004bd68
mov rcx, qword [rcx]
mov dword [rsp + 0x38], 1
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_361]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rbx, 0xffffffffffffffff
jne 0x14004bed1
cmp eax, 3
jne 0x14004be5d
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14004bdbf
mov rcx, qword [rdi]
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_887]
test eax, eax
jne 0x14004be19
lea rax, str.Message
mov word [rbp - 0x28], r15w
mov qword [rbp - 0x38], rax
mov ecx, 0x15068ce
lea rax, str.Failed_to_create_a_directory_for_cache_file
mov r8d, 0xa
mov qword [rbp - 0x30], rax
lea rax, method.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.virtual_0
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, str._ServiceCacheRecord__WriteData
mov qword [rsp + 0x20], rax
call fcn.1400347c4
jmp 0x14004bf11
cmp qword [rdi + 0x18], 8
jb 0x14004be23
mov rdi, qword [rdi]
mov dword [rsp + 0x38], 1
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rdi
mov dword [rsp + 0x20], 2
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_361]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14004bed1
lea rax, [0x14013ab50]
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x84f4c1
mov word [rbp - 0x2c], r15w
mov dword [rbp - 0x30], eax
lea rax, method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0
mov qword [rbp - 0x40], rax
lea rax, str.Message
mov qword [rbp - 0x18], rax
lea rax, str.Failed_to_open_cache_file
mov qword [rbp - 0x10], rax
lea rax, method.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.virtual_0
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, str._ServiceCacheRecord__WriteData
mov qword [rsp + 0x20], rax
mov word [rbp - 8], r15w
call fcn.14004fa90
jmp 0x14004bf11
lea r9, [rbp + 0x20]
mov qword [rsp + 0x20], r15
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14004bf02
mov ecx, dword [rbp + 0x20]
cmp rcx, rsi
jne 0x14004bf02
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14004bf13
cmp rbx, 0xffffffffffffffff
je 0x14004bf11
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
lea r11, [rsp + 0x80]
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
Function at 0x14004bf30
Capabilities:
Get file size
Read file on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov r14, rdx
cmp qword [rcx + 0x30], 0
jne 0x14004bf58
xor al, al
jmp 0x14004c00b
add rcx, 0x20
cmp qword [rcx + 0x18], 8
jb 0x14004bf66
mov rcx, qword [rcx]
mov edi, 1
mov dword [rsp + 0x38], edi
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, edi
mov edx, 0x80000000
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_361]
mov rbx, rax
mov qword [rsp + 0x88], rax
cmp rax, 0xffffffffffffffff
je 0x14004bff6
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14004bff6
mov esi, dword [rsp + 0x80]
and dword [rsp + 0x70], 0
mov edx, esi
mov rcx, r14
call fcn.140044c58
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, esi
mov rdx, qword [r14]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004bff6
cmp esi, dword [rsp + 0x70]
je 0x14004bff9
xor dil, dil
cmp rbx, 0xffffffffffffffff
je 0x14004c008
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x14004fe6c
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
mov rdi, r8
mov rsi, rdx
mov r8, rcx
lea r9, [rdi + 0x10]
cmp qword [r9 + 0x18], 8
mov r10, r9
mov r11, qword [r9 + 0x10]
jb 0x14004fe99
mov r10, qword [r9]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r11, r11
je 0x14004fec8
movzx eax, byte [rdx + r10]
movabs rbx, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, rbx
cmp rdx, r11
jb 0x14004feaa
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14004ff00
cmp qword [rcx + rdx*8], rdi
jne 0x14004fef5
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x14004fef9
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14004ff0d
cmp qword [rcx + rdx*8], rdi
jne 0x14004ff0d
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rcx, r9
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.14002e21c
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
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 0x140050244
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
mov rdi, r8
mov rsi, rdx
mov r8, rcx
lea r9, [rdi + 0x10]
cmp qword [r9 + 0x18], 8
mov r10, r9
mov r11, qword [r9 + 0x10]
jb 0x140050271
mov r10, qword [r9]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r11, r11
je 0x1400502a0
movzx eax, byte [rdx + r10]
movabs rbx, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, rbx
cmp rdx, r11
jb 0x140050282
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1400502d8
cmp qword [rcx + rdx*8], rdi
jne 0x1400502cd
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x1400502d1
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400502e5
cmp qword [rcx + rdx*8], rdi
jne 0x1400502e5
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rcx, r9
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.14001e6c4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
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 0x140052774
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movzx r10d, word [r8]
xor r9d, r9d
mov word [rsp + 8], r10w
movabs r8, 0xcbf29ce484222325
movzx eax, byte [rsp + r9 + 8]
movabs r11, 0x100000001b3
xor r8, rax
inc r9
imul r8, r11
cmp r9, 2
jb 0x14005278b
mov r9, qword [rcx + 0x30]
mov r11, qword [rcx + 0x18]
and r9, r8
mov r8, qword [rcx + 8]
add r9, r9
mov rax, qword [r11 + r9*8]
cmp qword [r11 + r9*8], r8
jne 0x1400527cc
mov rcx, r8
jmp 0x1400527d4
mov rcx, qword [r11 + r9*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400527ea
cmp word [rax + 0x10], r10w
je 0x1400527e5
mov rax, qword [rax]
jmp 0x1400527c1
mov qword [rdx], rax
jmp 0x1400527ed
mov qword [rdx], r8
mov rax, rdx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov r11, r8
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x14005280c
mov r8, qword [rbx + 0x30]
mov r10, qword [rbx + 0x18]
and r8, r9
add r8, r8
mov r9, qword [r10 + r8*8]
mov rcx, r9
cmp r9, qword [rbx + 8]
jne 0x14005284c
mov rax, qword [rbx + 8]
jmp 0x140052854
mov rax, qword [r10 + r8*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140052867
mov rax, qword [r11]
cmp qword [rcx + 0x10], rax
je 0x14005286b
mov rcx, qword [rcx]
jmp 0x140052840
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret
Function at 0x140053280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx eax, word [r8 + 0x10]
mov rdi, r8
mov word [rsp + 0x30], ax
mov rsi, rdx
mov r10, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [rsp + r9 + 0x30]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 2
jb 0x1400532af
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x140053307
cmp qword [rcx + rdx*8], rdi
jne 0x1400532fc
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x140053300
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140053314
cmp qword [rcx + rdx*8], rdi
jne 0x140053314
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, [rdi + 0x18]
dec qword [r10 + 0x10]
call fcn.140051e88
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret