joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017dbd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rsi, rcx
xor r14d, r14d
mov rcx, qword [rcx + 0x30]
mov rbx, r8
mov rdi, rdx
test rcx, rcx
je 0x14017dd67
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], r14d
jb 0x14017dc26
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8d, eax
cmp eax, 2
je 0x14017dd48
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14017dd48
test r8d, r8d
jne 0x14017dd92
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 8
jb 0x14017dc77
mov rax, qword [rbx]
jmp 0x14017dc7a
mov rax, rbx
mov word [rax], r14w
cmp dword [rsp + 0x30], 2
ja 0x14017dc8c
mov al, 1
jmp 0x14017dd4a
mov edx, dword [rsp + 0x30]
shr rdx, 1
dec rdx
cmp rdx, qword [rbx + 0x10]
ja 0x14017dcb6
mov qword [rbx + 0x10], rdx
cmp qword [rbx + 0x18], 8
jb 0x14017dcac
mov rax, qword [rbx]
jmp 0x14017dcaf
mov rax, rbx
mov word [rax + rdx*2], r14w
jmp 0x14017dcc5
sub rdx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, rbx
call fcn.14000b4a0
cmp qword [rbx + 0x18], 8
jb 0x14017dcd1
mov rax, qword [rbx]
jmp 0x14017dcd4
mov rax, rbx
cmp qword [rdi + 0x18], 8
jb 0x14017dce0
mov rdx, qword [rdi]
jmp 0x14017dce3
mov rdx, rdi
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x34]
mov rcx, qword [rsi + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017ddc8
mov edx, dword [rsp + 0x30]
shr rdx, 1
dec rdx
cmp rdx, qword [rbx + 0x10]
ja 0x14017dd34
mov qword [rbx + 0x10], rdx
cmp qword [rbx + 0x18], 8
jb 0x14017dd2a
mov rbx, qword [rbx]
mov word [rbx + rdx*2], r14w
jmp 0x14017dc85
sub rdx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, rbx
call fcn.14000b4a0
jmp 0x14017dc85
xor al, al
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140135130
add rsp, 0x3e0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r9, rdx
lea r8, str.ORegistryKey.GetValue_failure:_Cannot_get_value._The_tregistry_key_is_closed_or_not_set
mov edx, 0x3a
lea rcx, [rsp + 0x40]
call fcn.140179944
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
lea rax, [rsi + 0x10]
mov qword [rsp + 0x28], rdi
lea r9, str.ORegistryKey.GetValue_failure:_Cannot_get_registry__s_value__s
mov qword [rsp + 0x20], rax
mov edx, 0xf
lea rcx, [rsp + 0x40]
call fcn.140179730
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
lea rcx, [rsi + 0x10]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea r9, str.ORegistryKey.GetValue_failure:_Cannot_get_registry__s_value__s
lea rcx, [rsp + 0x40]
mov r8d, eax
mov edx, 0xf
call fcn.140179730
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
Function at 0x14017de04
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rdi, rcx
mov rsi, r8
mov rcx, qword [rcx + 0x30]
mov rbx, rdx
test rcx, rcx
je 0x14017df07
and dword [rsp + 0x30], 0
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x34], 3
jb 0x14017de59
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x14017dee3
cmp dword [rsp + 0x34], 3
jne 0x14017dee3
test eax, eax
jne 0x14017df32
mov edx, dword [rsp + 0x30]
mov rcx, rsi
call fcn.1400639c8
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
neg rax
sbb rcx, rcx
and rcx, qword [rsi]
cmp qword [rbx + 0x18], 8
jb 0x14017deb3
mov rdx, qword [rbx]
jmp 0x14017deb6
mov rdx, rbx
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017df66
mov al, 1
jmp 0x14017dee5
xor al, al
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x418]
add rsp, 0x3e0
pop rdi
pop rsi
pop rbp
ret
mov r9, rdx
lea r8, str.ORegistryKey.GetValue_failure:_Cannot_get_value._The_tregistry_key_is_closed_or_not_set
mov edx, 0x3a
lea rcx, [rsp + 0x40]
call fcn.140179944
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
lea rax, [rdi + 0x10]
mov r9, rbx
lea r8, str.ORegistryKey.GetValue_failure:_Cannot_get_the_binary_value___s__in_registry_key__s.
mov qword [rsp + 0x20], rax
mov edx, 0x2b
lea rcx, [rsp + 0x40]
call fcn.140179890
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
lea rax, [rdi + 0x10]
mov r9, rbx
lea r8, str.ORegistryKey.GetValue_failure:_Cannot_get_the_binary_value___s__in_registry_key__s.
mov qword [rsp + 0x20], rax
mov edx, 0x2b
lea rcx, [rsp + 0x40]
call fcn.140179890
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
Function at 0x140180270
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x103d0
call fcn.140135910
sub rsp, rax
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x103c0], rax
xor ebx, ebx
mov rax, rdx
cmp qword [rdx + 0x18], 8
mov rdi, rcx
mov dword [rsp + 0x20], ebx
jb 0x1401802ab
mov rax, qword [rdx]
mov r8d, 0x7fff
lea rdx, [rsp + 0x3c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7ffe
ja 0x140180333
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x3c0], bx
je 0x1401802fc
lea rcx, [rsp + 0x3c0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1401802f0
mov rbx, rax
mov r8, rbx
lea rdx, [rsp + 0x3c0]
mov rcx, rdi
call fcn.14000b6f8
mov rax, rdi
mov rcx, qword [rsp + 0x103c0]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x103f0]
add rsp, 0x103d0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Failed_to_expand_environment_variables
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14017edbc
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3
Function at 0x140180ccc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x3f0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
mov rdi, rcx
mov dword [rsp + 0x40], r8d
mov rcx, qword [rcx + 0x30]
mov rbx, rdx
test rcx, rcx
je 0x140180d56
cmp qword [rdx + 0x10], 0x3fff
ja 0x140180d7e
cmp qword [rdx + 0x18], 8
jb 0x140180d13
mov rdx, qword [rdx]
mov r9d, 4
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140180da6
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x418]
add rsp, 0x3f0
pop rdi
ret
lea r8, str.ORegistryKey.SetValue_failure:_Cannot_set_DWORD_value._The_registry_key_is_closed_or_not_set
mov edx, 0x3a
lea rcx, [rsp + 0x50]
call fcn.1401799e0
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x50]
call fcn.1401377ec
int3
lea r8, str.ORegistryKey.SetValue_failure:_Cannot_set_DWORD_value._value_name_is_too_long
mov edx, 0x1d
lea rcx, [rsp + 0x50]
call fcn.14017eff8
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x50]
call fcn.1401377ec
int3
lea rcx, [rdi + 0x10]
mov r8d, eax
mov qword [rsp + 0x30], rcx
lea r9, str.ORegistryKey.SetValue_failure:_Cannot_set_DWORD_name___s__value___i__in_registry_key__s
lea rcx, [rsp + 0x40]
mov edx, 0xf
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
call fcn.14017f080
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x50]
call fcn.1401377ec
int3
Function at 0x14018cc64
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, r8
mov r15, rdx
mov r14, rcx
mov r10, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14018cc99
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
add r10, r10
je 0x14018ccc8
movzx eax, byte [r8 + rcx]
xor rdx, rax
movabs r11, 0x100000001b3
imul rdx, r11
inc rcx
cmp rcx, r10
jb 0x14018ccaa
mov rsi, qword [r14 + 0x30]
and rsi, rdx
mov rax, qword [r14 + 8]
add rsi, rsi
mov rdi, qword [r14 + 0x18]
cmp qword [rdi + rsi*8], rax
jne 0x14018cce5
mov rdi, rax
jmp 0x14018cced
mov rdi, qword [rdi + rsi*8 + 8]
mov rdi, qword [rdi]
mov rax, qword [r14 + 0x18]
cmp rdi, qword [rax + rsi*8]
je 0x14018cd3f
mov rdi, qword [rdi + 8]
lea r9, [rdi + 0x10]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x14018cd0d
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
mov r8, qword [rbx + 0x10]
xor edx, edx
mov rcx, rbx
call fcn.14000b8a0
nop
test eax, eax
je 0x14018cd2f
mov r9b, byte [rsp + 0x88]
jmp 0x14018cced
mov qword [r15], rdi
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14018cdef
mov r8, rbx
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.14018cbe0
mov rbx, qword [rsp + 0x80]
mov rax, qword [rbx]
cmp rdi, rax
je 0x14018cd8f
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8]
cmp rax, qword [r14 + 8]
jne 0x14018cdac
mov qword [rdx + rsi*8], rbx
mov rax, qword [r14 + 0x18]
mov qword [rax + rsi*8 + 8], rbx
jmp 0x14018cddb
cmp rax, rdi
jne 0x14018cdb7
mov qword [rdx + rsi*8], rbx
jmp 0x14018cddb
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rbx
je 0x14018cddb
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.14018f270
nop
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14018ce00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, r9
mov r15, r8
mov r12, rdx
mov r14, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14018ce3d
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
add r9, r9
je 0x14018ce6c
movzx eax, byte [r8 + rcx]
xor rdx, rax
movabs r10, 0x100000001b3
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x14018ce4e
mov rsi, qword [r14 + 0x30]
and rsi, rdx
mov rax, qword [r14 + 8]
add rsi, rsi
mov rdi, qword [r14 + 0x18]
cmp qword [rdi + rsi*8], rax
jne 0x14018ce89
mov rdi, rax
jmp 0x14018ce91
mov rdi, qword [rdi + rsi*8 + 8]
mov rdi, qword [rdi]
mov rax, qword [r14 + 0x18]
cmp rdi, qword [rax + rsi*8]
je 0x14018cf12
mov rdi, qword [rdi + 8]
lea r9, [rdi + 0x10]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x14018ceb1
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
mov r8, qword [r15 + 0x10]
xor edx, edx
mov rcx, r15
call fcn.14000b8a0
nop
mov rbx, qword [rsp + 0x88]
test eax, eax
jne 0x14018ce91
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [r8], rax
mov r8, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [r8 + 8], rax
dec qword [r14 + 0x10]
lea rcx, [rbx + 0x10]
xor r8d, r8d
mov dl, 1
call fcn.14000b190
mov rcx, rbx
call fcn.14015729c
mov qword [r12], rdi
mov byte [r12 + 8], 0
mov rax, r12
jmp 0x14018cfb1
mov qword [rsp + 0x80], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x14018cf4f
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8]
cmp rax, qword [r14 + 8]
jne 0x14018cf6c
mov qword [rdx + rsi*8], rbx
mov rax, qword [r14 + 0x18]
mov qword [rax + rsi*8 + 8], rbx
jmp 0x14018cf9b
cmp rax, rdi
jne 0x14018cf77
mov qword [rdx + rsi*8], rbx
jmp 0x14018cf9b
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rbx
je 0x14018cf9b
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.14018f270
nop
mov qword [r12], rbx
mov byte [r12 + 8], 1
mov rax, r12
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14018f9cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rdx, qword [r8 + 0x20]
add r8, 0x10
mov r9, rcx
cmp qword [r8 + 0x18], 8
jb 0x14018f9fb
mov r8, qword [r8]
xor ecx, ecx
movabs r10, 0xcbf29ce484222325
add rdx, rdx
je 0x14018fa2a
movzx eax, byte [r8 + rcx]
movabs r11, 0x100000001b3
xor r10, rax
inc rcx
imul r10, r11
cmp rcx, rdx
jb 0x14018fa0c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r10
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14018fa62
cmp qword [rcx + rdx*8], rdi
jne 0x14018fa5c
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14018fa6f
mov rax, qword [rdi + 8]
jmp 0x14018fa55
cmp qword [rcx + rdx*8], rdi
jne 0x14018fa74
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rdi]
mov dl, 1
mov qword [rax], rbx
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [r8 + 8], rax
xor r8d, r8d
dec qword [r9 + 0x10]
call fcn.14000b190
mov rcx, rdi
call fcn.14015729c
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 0x14018fabc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push r15
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14018faf4
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x14018fb23
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14018fb05
mov r15, qword [rsi + 0x30]
and r15, rcx
add r15, r15
mov rbx, qword [rsi + 0x18]
mov rbx, qword [rbx + r15*8]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x18]
cmp qword [rcx + r15*8], rax
je 0x14018fb4b
mov rax, qword [rcx + r15*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14018fbb4
lea rcx, [rbx + 0x10]
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x14018fb64
mov r9, qword [rdi]
jmp 0x14018fb67
mov r9, rdi
mov qword [rsp + 0x20], rax
mov r8, qword [rcx + 0x10]
xor edx, edx
call fcn.14000b8a0
nop
test eax, eax
je 0x14018fb81
mov rbx, qword [rbx]
jmp 0x14018fb35
lea r9, [rbx + 0x10]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x14018fb93
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
mov r8, qword [rdi + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.14000b8a0
nop
test eax, eax
je 0x14018fbaf
mov rbx, qword [rsi + 8]
mov qword [r14], rbx
jmp 0x14018fbbb
mov rax, qword [rsi + 8]
mov qword [r14], rax
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x140190c7c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor r14d, r14d
mov rdi, rcx
mov rcx, qword [rcx + 0x30]
mov sil, r9b
mov dword [rsp + 0x40], r14d
mov rbx, r8
cmp rcx, 0xffffffffffffffff
je 0x140190d22
mov eax, 0xffffffff
cmp rbx, rax
ja 0x140190d4a
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140190d81
mov ecx, dword [rsp + 0x40]
cmp rcx, rbx
je 0x140190cf9
test sil, sil
jne 0x140190dd3
mov eax, ecx
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea r8, str.trying_to_read_from_a_file_thats_not_open
mov edx, 0x15
lea rcx, [rsp + 0x50]
call fcn.14000bee8
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x50]
call fcn.1401377ec
int3
lea rdx, [0x140294a58]
mov dword [rsp + 0x50], 0x5d
lea rcx, [rsp + 0x50]
mov dword [rbp + 0x154], r14d
mov word [rbp + 0x258], r14w
mov word [rbp + 0x158], r14w
mov word [rsp + 0x54], r14w
call fcn.1401377ec
int3
mov dword [rsp + 0x44], ebx
lea rbx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Failed_to_read__d_bytes_from__s._Number_of_bytes_read___d
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1401901b8
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x50]
call fcn.1401377ec
int3
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x28], rcx
lea rax, [rdi + 0x10]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
mov edx, 0x21
lea r8, str.Failed_to_read__d_bytes_from__s._Number_of_bytes_read___d
call fcn.1401900fc
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x50]
call fcn.1401377ec
int3
Function at 0x140194eb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
cmp qword [rcx + 8], 0xffffffffffffffff
mov rdi, rdx
mov rbx, rcx
je 0x140194ee7
xor edx, edx
call fcn.140194fa0
test al, al
je 0x140194f47
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140194ef7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rbx + 0x20]
lea rax, [rbx + 0x2c]
mov qword [rsp + 0x28], rax
mov r9, rdi
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
je 0x140194f6f
mov dword [rbx + 0x28], 0x103
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3d0
pop rdi
ret
lea r8, str.Attempting_to_start_a_new_thread_when_the_thread_has_already_been_started
mov edx, 0x53
lea rcx, [rsp + 0x30]
call fcn.14019121c
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Failed_to_start_thread.
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140190e18
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3

Function at 0x14019504c
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x3e8
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov rcx, qword [rcx + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x1401950a1
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1401950c9
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.140135130
add rsp, 0x3e8
ret
lea r8, str.trying_to_write_to_a_file_thats_not_opened
mov edx, 0x15
lea rcx, [rsp + 0x40]
call fcn.140191058
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.write_to_file_failed
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140175968
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
Function at 0x14019bd50
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x38]
sub rsp, 0x120
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov rcx, rdi
call fcn.1401a0cb0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
mov dword [rsp + 0x30], eax
cmp qword [rsi + 0x18], 8
jb 0x14019bda8
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rsi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._s.Approximate_duration_:__d_milliseconds.
lea rcx, [rsp + 0x60]
call fcn.14019c250
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x14019bdd5
mov rbx, qword [rax]
lea rcx, [rbp - 0x80]
call fcn.14017bf78
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x40], rcx
lea rcx, str.ContextData
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str.MonitoredScope::ExecuteUnderStopWatch
mov edx, 0x3b0
mov ecx, 0x51054a
mov r8d, 0x32
call fcn.14000cf28
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.14000b190
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.14000b190
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.14000b190
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14000b190
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14000b190
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
lea rdx, [rsp + 0x20]
call fcn.1401ae41c
mov rcx, rax
cmp qword [rax + 0x18], 8
mov r9, qword [rax + 0x10]
jb 0x1401a124a
mov rcx, qword [rax]
xor r8d, r8d
movabs rbx, 0xcbf29ce484222325
add r9, r9
je 0x1401a127a
movzx eax, byte [r8 + rcx]
movabs r10, 0x100000001b3
xor rbx, rax
inc r8
imul rbx, r10
cmp r8, r9
jb 0x1401a125c
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov dl, 1
call fcn.14000b190
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140135130
add rsp, 0x50
pop rbx
ret
Function at 0x1401a1440
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov al, r8b
mov r9, rdx
mov rdi, rcx
je 0x1401a147c
lea r8, [rcx + 0x20]
mov ecx, 3
lea rdx, str.Mutex__s_already_created
call fcn.14019ecf0
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rbx, [rcx + 0x20]
cmp qword [rbx + 0x18], 8
jb 0x1401a148c
mov r8, qword [rbx]
jmp 0x1401a148f
mov r8, rbx
movzx edx, al
lea rcx, [r9 + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp eax, 0xb7
jne 0x1401a14c5
mov r8, rbx
lea rdx, str.Got_handle_to_existing_mutex__s
mov ecx, 3
call fcn.14019ed54
cmp qword [rdi + 8], 0
jne 0x1401a146f
lea r9, [rsp + 0x30]
mov r8, rbx
lea rdx, str.Failed_to_create_the_mutex__s:_LastError:_0x_x
mov ecx, 3
call fcn.14019edac
xor al, al
jmp 0x1401a1471