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

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 r12
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov rdi, rdx
mov rsi, rcx
movzx edx, byte [r8]
mov r15d, edx
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x100000001b3
imul r15, rax
mov rcx, qword [rcx + 0x30]
and rcx, r15
add rcx, rcx
mov r8, qword [rsi + 0x18]
mov rax, qword [r8 + rcx*8 + 8]
lea r12, [rsi + 8]
mov rbp, qword [r12]
cmp rax, rbp
je 0x140130ef7
mov r8, qword [r8 + rcx*8]
jmp 0x140130ed7
cmp rax, r8
je 0x140130ef0
mov rax, qword [rax + 8]
cmp dl, byte [rax + 0x10]
jne 0x140130ece
mov rbp, qword [rax]
test rax, rax
je 0x140130ef7
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x140131069
mov rbp, rax
xor eax, eax
jmp 0x140130edf
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 0x10], rax
je 0x14013108b
mov qword [rsp + 0x20], r12
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.14016b0d4
mov rbx, rax
mov qword [rsp + 0x28], rax
mov cl, byte [r14]
mov byte [rax + 0x10], cl
and qword [rax + 0x18], 0
mov r8, qword [rsi + 0x10]
lea rdx, [r8 + 1]
xorps xmm0, xmm0
test rdx, rdx
js 0x140130f4a
cvtsi2ss xmm0, rdx
jmp 0x140130f62
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140130f75
cvtsi2ss xmm1, rcx
jmp 0x140130f8a
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x14013100c
mov rcx, rsi
call fcn.14013ca08
mov rdx, rax
mov rcx, rsi
call fcn.14013cb6c
mov rax, qword [rsi + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rsi + 0x18]
mov rcx, qword [r8 + rax*8 + 8]
mov rdx, qword [r12]
cmp rcx, rdx
jne 0x140130fd4
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
jmp 0x140130ff8
mov rdx, qword [r8 + rax*8]
mov al, byte [rbx + 0x10]
jmp 0x140130fe6
cmp rcx, rdx
je 0x140131044
mov rcx, qword [rcx + 8]
cmp al, byte [rcx + 0x10]
jne 0x140130fdd
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [rsi + 0x10]
mov rbp, qword [rsp + 0x20]
mov rdx, qword [rbp + 8]
lea rax, [r8 + 1]
mov qword [rsi + 0x10], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rdx
mov qword [rdx], rbx
mov qword [rbp + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r12]
jne 0x14013104b
mov qword [rcx + rax*8], rbx
jmp 0x14013105d
mov qword [rsp + 0x20], rcx
jmp 0x140130fcc
cmp r8, rbp
jne 0x140131056
mov qword [rcx + rax*8], rbx
jmp 0x140131062
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140131062
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140148704
int3
Function at 0x140131098
Capabilities:
Hash data using fnv

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 r12
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov rdi, rdx
mov rsi, rcx
movzx edx, byte [r8]
mov r15d, edx
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x100000001b3
imul r15, rax
mov rcx, qword [rcx + 0x30]
and rcx, r15
add rcx, rcx
mov r8, qword [rsi + 0x18]
mov rax, qword [r8 + rcx*8 + 8]
lea r12, [rsi + 8]
mov rbp, qword [r12]
cmp rax, rbp
je 0x14013112f
mov r8, qword [r8 + rcx*8]
jmp 0x14013110f
cmp rax, r8
je 0x140131128
mov rax, qword [rax + 8]
cmp dl, byte [rax + 0x10]
jne 0x140131106
mov rbp, qword [rax]
test rax, rax
je 0x14013112f
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x1401312a1
mov rbp, rax
xor eax, eax
jmp 0x140131117
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 0x10], rax
je 0x1401312c3
mov qword [rsp + 0x20], r12
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.14016b0d4
mov rbx, rax
mov qword [rsp + 0x28], rax
mov cl, byte [r14]
mov byte [rax + 0x10], cl
and qword [rax + 0x18], 0
mov r8, qword [rsi + 0x10]
lea rdx, [r8 + 1]
xorps xmm0, xmm0
test rdx, rdx
js 0x140131182
cvtsi2ss xmm0, rdx
jmp 0x14013119a
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1401311ad
cvtsi2ss xmm1, rcx
jmp 0x1401311c2
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x140131244
mov rcx, rsi
call fcn.14013ca08
mov rdx, rax
mov rcx, rsi
call fcn.14013cb6c
mov rax, qword [rsi + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rsi + 0x18]
mov rcx, qword [r8 + rax*8 + 8]
mov rdx, qword [r12]
cmp rcx, rdx
jne 0x14013120c
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
jmp 0x140131230
mov rdx, qword [r8 + rax*8]
mov al, byte [rbx + 0x10]
jmp 0x14013121e
cmp rcx, rdx
je 0x14013127c
mov rcx, qword [rcx + 8]
cmp al, byte [rcx + 0x10]
jne 0x140131215
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [rsi + 0x10]
mov rbp, qword [rsp + 0x20]
mov rdx, qword [rbp + 8]
lea rax, [r8 + 1]
mov qword [rsi + 0x10], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rdx
mov qword [rdx], rbx
mov qword [rbp + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r12]
jne 0x140131283
mov qword [rcx + rax*8], rbx
jmp 0x140131295
mov qword [rsp + 0x20], rcx
jmp 0x140131204
cmp r8, rbp
jne 0x14013128e
mov qword [rcx + rax*8], rbx
jmp 0x14013129a
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14013129a
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140148704
int3
Function at 0x14013a994
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
call fcn.140142f84
mov rcx, rax
lea rdx, str.Acrobat
call fcn.14006fe48
test al, al
lea rcx, str.SoftwareAdobeAcrobat_ReaderDCPrivileged
lea rax, [rsp + 0x30]
mov r9d, 1
lea rdx, str.SoftwareAdobeAdobe_AcrobatDCPrivileged
mov qword [rsp + 0x20], rax
cmove rdx, rcx
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14013aa45
and dword [rsp + 0x58], eax
lea r9, [rsp + 0x58]
and dword [rsp + 0x60], eax
lea rdx, str.bProtectedMode
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14013aa45
cmp dword [rsp + 0x58], 4
jne 0x14013aa45
cmp dword [rsp + 0x60], ebx
setne al
jmp 0x14013aa47
xor al, al
add rsp, 0x40
pop rbx
ret
Function at 0x14013cb6c
Capabilities:
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
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14013cce8
mov rbx, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, rdi
mov r8, rbx
bsr rcx, rax
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14013c730
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x14013ccac
movzx r8d, byte [rax + 0x10]
movabs r9, 0xcbf29ce484222325
mov r10, qword [rsi + 0x30]
mov ecx, r8d
mov r11, qword [rsi + 0x18]
xor rcx, r9
mov rdx, qword [rdx]
movabs r9, 0x100000001b3
imul rcx, r9
and r10, rcx
add r10, r10
cmp qword [r11 + r10*8], rbx
jne 0x14013cc2d
mov qword [r11 + r10*8], rax
mov qword [r11 + r10*8 + 8], rax
jmp 0x14013cca0
mov rcx, qword [r11 + r10*8 + 8]
cmp r8b, byte [rcx + 0x10]
jne 0x14013cc63
mov rdi, qword [rcx]
cmp rdi, rax
je 0x14013cc26
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov qword [rdi + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x14013cc26
mov rdi, rcx
jmp 0x14013cc75
mov rcx, qword [rcx + 8]
mov rdi, rcx
cmp r8b, byte [rcx + 0x10]
je 0x14013ccc2
cmp qword [r11 + r10*8], rcx
jne 0x14013cc68
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov qword [rdi + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [r11 + r10*8], rax
mov rax, rdx
cmp rdx, rbx
jne 0x14013cbe8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [rcx]
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x14013cca0
lea rcx, str.invalid_hash_bucket_count
call fcn.140148704
int3
Function at 0x14013dd30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140262958]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14013dd62
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14013de64
cmp qword [rdi + 0x10], 0
je 0x14013dec0
xor esi, esi
mov bl, byte [rbp - 0x30]
lea rcx, [0x140202708]
call fcn.1401730d0
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14013dd9b
mov rcx, qword [rdi]
mov byte [rsp + 0x28], bl
mov qword [rsp + 0x20], rax
lea r9, [0x140202708]
mov r8, rsi
mov rdx, qword [rdi + 0x10]
call fcn.1400d51f4
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14013ddc4
mov rsi, qword [rdi + 0x10]
and qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov r9, rsi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400dc4e4
nop
cmp qword [rbp - 0x18], 0
je 0x14013de1f
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14013de1f
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
call fcn.140185d8c
test eax, eax
jne 0x14013de88
inc rsi
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14013de5a
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013de54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013deca
call fcn.14016b110
nop
cmp rsi, qword [rdi + 0x10]
jb 0x14013dd81
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14016b720
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14013dec0
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013deba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013dec4
call fcn.14016b110
nop
xor al, al
jmp 0x14013de66
call fcn.14017266c
nop
call fcn.14017266c
int3
Function at 0x140141ba0
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx]
test rbx, rbx
jne 0x140141bef
lea ecx, [rbx + 0x48]
call fcn.14016b0d4
mov rbx, rax
mov qword [rbp + 0x40], rax
test rax, rax
je 0x140141bea
and dword [rbp + 0x38], 0
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x38]
mov rcx, rax
call fcn.140136e4c
mov byte [rbx + 0x40], 0
jmp 0x140141bec
xor ebx, ebx
mov qword [rsi], rbx
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140141c01
mov rcx, qword [rdi]
mov rdx, rcx
jmp 0x140141c04
mov rdx, rdi
mov rsi, rcx
mov r14, qword [rdi + 0x10]
add r14, rdx
cmp rcx, r14
je 0x140141ce1
movzx ecx, byte [rsi]
mov byte [rbp + 0x30], cl
mov eax, ecx
movabs rdx, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x100000001b3
imul rax, rdx
mov rdx, qword [rbx + 0x30]
and rdx, rax
add rdx, rdx
mov r8, qword [rbx + 0x18]
mov rax, qword [r8 + rdx*8 + 8]
cmp rax, qword [rbx + 8]
je 0x140141c75
mov r8, qword [r8 + rdx*8]
jmp 0x140141c62
cmp rax, r8
je 0x140141c75
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x140141c59
test rax, rax
cmove rax, qword [rbx + 8]
cmp rax, qword [rbx + 8]
jne 0x140141cbe
mov ecx, 0x48
call fcn.14016b0d4
mov rdi, rax
mov qword [rbp + 0x48], rax
test rax, rax
je 0x140141ca5
and dword [rbp + 0x40], 0
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140136e4c
mov byte [rdi + 0x40], 0
jmp 0x140141ca7
xor edi, edi
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140130e60
mov rdx, qword [rax]
mov qword [rdx + 0x18], rdi
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140130e60
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
inc rsi
cmp rsi, r14
jne 0x140141c17
mov byte [rbx + 0x40], 1
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140141d80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140262958]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140141f1b
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call fcn.14014aeac
test eax, eax
jne 0x140141f3e
and qword [rsi + 0x28], 0
and qword [rsi + 0x30], 0
and qword [rsp + 0x50], 0
lea r12, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1401a7275.0]
cmp byte [rdi + 0x20], 0
je 0x140141ece
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x140141ece
test rax, rax
je 0x140141e56
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx edx, word [rdi + rax*2 + 0x30]
mov rcx, rdi
call fcn.140143184
movzx r14d, ax
mov r8, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x28]
cmp r8, rdx
jbe 0x140141e93
sub r8d, edx
add rdx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, r14w
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x50]
cmp rcx, rdx
jbe 0x140141ef3
sub ecx, edx
add rdx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x140141ef3
and dword [rsp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
je 0x140141f12
mov rdx, qword [rsp + 0x58]
call fcn.14004efbc
nop
mov rcx, rbx
call fcn.14014aed0
nop
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14016b720
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.14014b31c
int3
Function at 0x140142cf0
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov rax, qword [0x140262958]
xor rax, rsp
mov qword [rbp + 8], rax
mov rsi, rcx
lea rdi, [rcx + 0x58]
mov rcx, rdi
call fcn.14013da6c
mov rbx, qword [rsi + 0x48]
test rbx, rbx
je 0x140142ea9
lea r14, [rbx - 1]
mov r8, r14
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14013d488
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140142d8c
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140142e9e
inc rdx
mov rcx, qword [rsp + 0x48]
call fcn.14004efbc
jmp 0x140142e9e
mov r8, rbx
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14013d488
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call fcn.1401850d8
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
call fcn.1401851b8
nop
test eax, eax
je 0x140142e34
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call fcn.1401850d8
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
call fcn.1401851b8
nop
test eax, eax
jne 0x140142f02
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140142e4c
inc rdx
mov rcx, qword [rsp + 0x28]
call fcn.14004efbc
and qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140142e9e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140142e98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140142f7c
call fcn.14016b110
nop
mov rbx, r14
test r14, r14
jmp 0x140142d33
cmp qword [rdi + 0x20], 0
je 0x140142ee8
lea rdx, [rdi + 0x10]
mov r8b, 1
mov rcx, rdi
call fcn.1401421fc
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14016b720
lea r11, [rsp + 0x110]
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
lea rdx, str.Failed_re_opening_file___was_not_opened_before
lea rcx, [rsp + 0x48]
call fcn.1400363f0
mov rcx, rax
call fcn.140143fd0
nop
mov dl, 1
mov rcx, rdi
call fcn.140142cb8
and qword [rsi + 0x50], 0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.14013e4a0
mov rbx, rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.14013e4a0
nop
mov r8, rax
lea rdx, str.rotating_file_sink:_failed_renaming
lea rcx, [rbp - 0x58]
call fcn.1400c710c
nop
lea r8, str._to
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400bf5b4
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400bf58c
mov rbx, rax
call fcn.1401727d0
mov edx, dword [rax]
mov rcx, rbx
call fcn.140143fa8
nop
call fcn.14017266c
int3
Function at 0x140143110
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov rbx, r9
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14014317e
mov rax, qword [rsp + 0x78]
mov r9, rbx
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
je 0x140143178
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14014317e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x40
pop rbx
ret

Function at 0x140143cf0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140262958]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
lea rcx, [0x1402029d0]
call fcn.1401730d0
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140143d2d
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, [0x1402029d0]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.1400bf2c0
or r9, 0xffffffffffffffff
cmp rax, r9
je 0x140143e81
lea r8, [rax + 2]
cmp r8, qword [rbx + 0x10]
ja 0x140143e81
and qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400dc4e4
nop
mov r9, qword [rdi]
lea rbx, [rbp - 0x28]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
cmovae rbx, r8
lea rcx, [rbp - 0x28]
cmovae rcx, r8
mov rsi, qword [rbp - 0x18]
add rsi, rcx
cmp rbx, rsi
je 0x140143e4e
mov edi, 1
movzx ecx, byte [rbx]
mov byte [rbp - 0x40], cl
test r9, r9
je 0x140143e9f
mov eax, ecx
movabs rdx, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x100000001b3
imul rax, rdx
mov rdx, qword [r9 + 0x30]
and rdx, rax
add rdx, rdx
mov r8, qword [r9 + 0x18]
mov rax, qword [r8 + rdx*8 + 8]
cmp rax, qword [r9 + 8]
je 0x140143e9f
mov r8, qword [r8 + rdx*8]
jmp 0x140143e0e
cmp rax, r8
je 0x140143e9f
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x140143e01
test rax, rax
je 0x140143e9f
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x38]
mov rcx, r9
call fcn.140130e60
mov rcx, qword [rax]
mov r9, qword [rcx + 0x18]
cmp byte [r9 + 0x40], 0
jne 0x140143ea2
add rbx, rdi
cmp rbx, rsi
jne 0x140143db2
mov rdx, qword [rbp - 0x10]
mov r8, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140143e81
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x140143e78
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140143ee5
mov rcx, r8
call fcn.14016b110
nop
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14016b720
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
xor dil, dil
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140143eda
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140143ed4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140143edf
call fcn.14016b110
nop
mov al, dil
jmp 0x140143e83
call fcn.14017266c
nop
call fcn.14017266c
int3
Function at 0x140144284
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140262958]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, rdx
mov rdi, rcx
mov rbx, qword [rdx + 0x10]
mov r9, qword [rcx + 8]
mov r8, rbx
mov edx, 1
mov rcx, qword [rax + 8]
call fcn.14017d8ac
cmp rax, rbx
jne 0x1401442dc
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14016b720
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x20]
call fcn.14013e4a0
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x40]
call fcn.1400c710c
mov rbx, rax
call fcn.1401727d0
mov edx, dword [rax]
mov rcx, rbx
call fcn.140143fa8
int3

Function at 0x140193300
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140193320
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140172760
or eax, 0xffffffff
jmp 0x140193322
xor eax, eax
add rsp, 0x28
ret