joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400eb080
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x200
mov r8, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x1e0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x1402af0f0]
movaps xmmword [rsi], xmm0
lea rdx, str.microsoft_edge:
mov rcx, rsi
call fcn.1400bca20
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
movups xmmword [rsp + 0x188], xmm0
movups xmmword [rsp + 0x198], xmm0
movups xmmword [rsp + 0x1c8], xmm0
movups xmmword [rsp + 0x1b8], xmm0
movups xmmword [rsp + 0x1a8], xmm0
mov qword [rsp + 0x1d8], 0
movabs rax, 0x10000000070
mov qword [rsp + 0x170], rax
lea rax, str.open
mov qword [rsp + 0x180], rax
cmp byte [rsi + 0x17], 0
jns 0x1400eb13c
mov rsi, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x170]
mov qword [rcx + 0x18], rsi
mov dword [rcx + 0x30], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test eax, eax
jne 0x1400eb169
mov ecx, 2
call fcn.14018cad0
test al, al
jne 0x1400eb1a2
cmp byte [rsp + 0x1f7], 0
jns 0x1400eb180
mov rcx, qword [rsp + 0x1e0]
call fcn.1401abf3c
test esi, esi
setne bl
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1401ad700
mov eax, ebx
add rsp, 0x200
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str......._srcchromeinstaller_setupgoogle_chrome_behaviors.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x32
mov r9d, 2
call fcn.1402274c0
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_launch_Edge_for_uninstall_survey
mov r8d, 0x2a
call fcn.1401e9050
mov rcx, rdi
call fcn.140227540
jmp 0x1400eb169
Function at 0x1400ebb30
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1402b1ae8]
mov qword [rcx], rax
add rcx, 8
call fcn.14017e680
lea rcx, [rsi + 0x10]
call fcn.14017e680
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.14017e680
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x1402c8858]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.1401272c0
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.1400b2720
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [reloc.OLEAUT32.dll_SysReAllocString], edx
je 0x1400ebd2b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.140194620
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x1400ebd4f
call fcn.1400ee5f0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.1400ee6a0
mov qword [0x1403033d0], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [reloc.OLEAUT32.dll_VariantClear], edx
jne 0x1400ebd6d
test dword [0x1402c8864], edx
jne 0x1400ebd62
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140127060
jmp 0x1400ebcec
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x14031b008]
jmp 0x1400ebcf9
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x1400ebd44
cmp rax, 0x40
mov eax, 0x100
jmp 0x1400ebce3
Function at 0x1400efb80
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret

Function at 0x1400efbb0
Capabilities:
Delete registry key

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400efc7e
mov r14d, r8d
mov rdi, rdx
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], r15
xor eax, eax
mov qword [rsp + 0x38], rax
mov r12d, dword [rsi + 8]
mov r9d, r12d
or r9d, 0x10001
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rsp + 0x20], rdx
mov rdx, rdi
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400efc5e
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rbx
and r12d, 0x300
mov dword [rsp + 0x30], r12d
test r14b, r14b
je 0x1400efc85
test rbx, rbx
je 0x1400efc4f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, rdi
call fcn.1400efce0
mov ebp, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401ad700
mov eax, ebp
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ebp, 6
jmp 0x1400efc60
lea rdi, [rsp + 0x40]
mov qword [rdi], r15
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.1400efe80
cmp byte [rdi + 4], 0
je 0x1400efcab
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x1400efc60
jmp 0x1400efcc6
mov r8d, dword [rsi + 8]
lea rdx, [0x1402b615a]
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebp, eax
jmp 0x1400efca4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400efc60
Function at 0x1400efce0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov esi, r8d
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], r14
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov r9d, r8d
or r9d, 0x10009
lea rax, [rsp + 0x60]
mov qword [rax], rbx
mov qword [rsp + 0x20], rax
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400efdba
lea rbx, [rsp + 0x60]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x48]
mov qword [rcx], rdi
mov eax, esi
and eax, 0x300
mov dword [rcx + 8], eax
mov qword [rbx], r14
mov rdx, rbx
call fcn.1400efe80
cmp byte [rbx + 4], 0
jne 0x1400efdc2
lea rdx, [0x1402b615a]
xor ebx, ebx
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x1400efdc8
test rdi, rdi
je 0x1400efd97
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401ad700
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp eax, 2
cmovne ebx, eax
jmp 0x1400efd97
mov ebx, dword [rsp + 0x60]
jmp 0x1400efd89
mov ecx, 0x200
call fcn.1401abf7c
mov r14, rax
mov r8d, 0x200
mov rcx, rax
xor edx, edx
call fcn.1401af840
xorps xmm6, xmm6
lea rbx, [rsp + 0x60]
mov r15, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x60], 0x100
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov rcx, rdi
xor edx, edx
mov r8, r14
mov r9, rbx
call r15
test eax, eax
jne 0x1400efe3e
mov eax, dword [rsp + 0x60]
cmp rax, 0x100
jae 0x1400efe6c
cmp word [r14 + rax*2], 0
jne 0x1400efe6f
mov rcx, rdi
mov rdx, r14
mov r8d, esi
call fcn.1400efce0
test eax, eax
je 0x1400efdf4
lea rdx, [0x1402b615a]
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test r14, r14
je 0x1400efd89
mov rcx, r14
call fcn.1401abf84
jmp 0x1400efd89
int3
int3
Function at 0x1400efe80
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x3c]
mov dword [r9], 0
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.SymbolicLinkValue
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x1400efee6
mov byte [rsi], 0
xor eax, eax
mov byte [rsi + 4], al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401ad700
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
test eax, eax
jne 0x1400eff34
cmp dword [rsp + 0x3c], 6
jne 0x1400efec7
mov rcx, qword [rdi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x1400eff3a
mov edi, eax
mov eax, dword [0x140303410]
mov ecx, dword [0x1402fa5e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400eff49
mov rax, qword [0x140303408]
test rax, rax
je 0x1400eff42
mov ecx, edi
call qword [0x14031b008]
mov dword [rsi], eax
mov al, 1
jmp 0x1400efecc
mov dword [rsi], 0
jmp 0x1400eff36
mov eax, 5
jmp 0x1400eff34
lea rcx, [0x140303410]
call fcn.1401ac060
cmp dword [0x140303410], 0xffffffff
jne 0x1400eff20
lea rcx, [0x1402c0c94]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140303408], rax
lea rcx, [0x140303410]
call fcn.1401ac0f8
jmp 0x1400eff20

Function at 0x1400effa0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f0028
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400f0012
cmp dword [rsp + 0x38], 4
jne 0x1400f0012
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401ad700
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1400f0012
Function at 0x1400f0030
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.1401ad6a0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1401af840
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f010b
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x1400f018e
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.1401cfa44
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x1400f0171
cmp rdi, 0xa
jbe 0x1400f010f
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.1400d8b60
jmp 0x1400f0141
mov edi, eax
jmp 0x1400f0143
mov rbx, rsi
test rdi, rdi
je 0x1400f0130
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.1401af190
mov al, byte [rsi + 0x17]
test al, al
js 0x1400f0162
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1401ad700
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi + 8], rdi
jmp 0x1400f013b
mov r9, qword [rsi + 8]
jmp 0x1400f00e3
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x1400f0168
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x1400f0112
cmp eax, 2
jne 0x1400f0231
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1401af840
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1400f023b
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.1401cfa44
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x1400f0210
cmp rdi, 0xa
ja 0x1400f00da
mov rbx, rsi
test rdi, rdi
je 0x1400f0130
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x1400f0125
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x1400f0168
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x1400f01f7
mov edi, 0x3f4
jmp 0x1400f0143
mov edi, 0xea
jmp 0x1400f0143

Function at 0x1400f0250
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov dword [rax], r8d
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401ad700
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x1400f02b0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.1401cfa44
lea eax, [rax*2 + 2]
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400f03b0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx], 0
je 0x1400f04a3
cmp dword [rsi + 8], 0xffffffff
je 0x1400f04a3
lea rdi, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x1400f04d3
mov ebp, dword [rsi + 0x20]
dec ebp
lea rbx, [rsp + 0x44]
mov dword [rbx], ebp
mov eax, dword [rsi + 0x30]
mov r12, qword [rsi + 0x28]
sub eax, r12d
and eax, 0xfffffffe
add eax, 0xfffffffe
lea r14, [rsi + 0x40]
mov dword [rsi + 0x40], eax
lea r15, [rsi + 0x44]
mov edx, ebp
mov rcx, rdi
call fcn.1400f1790
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov r8, rax
mov r9, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
je 0x1400f04dd
test eax, eax
jne 0x1400f04a3
mov eax, dword [rsi + 0x40]
inc rax
shr rax, 1
mov rcx, qword [rsi + 0x28]
mov rdx, qword [rsi + 0x30]
sub rdx, rcx
sar rdx, 1
cmp rdx, rax
jbe 0x1400f056f
mov word [rcx + rax*2], 0
mov sil, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401ad700
mov eax, esi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x1400f04b0
mov rax, qword [rax]
mov word [rax], 0
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
je 0x1400f056f
mov word [rax], 0
mov dword [rsi + 0x40], 0
xor esi, esi
jmp 0x1400f0485
mov ebp, 0xa
jmp 0x1400f03f7
mov edx, dword [rsi + 0x40]
inc rdx
shr rdx, 1
mov r12, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
sub rax, r12
mov rcx, rax
sar rcx, 1
cmp rcx, rdx
ja 0x1400f051e
lea rcx, [rsi + 0x28]
inc rdx
lea r8, [rsp + 0x42]
mov word [r8], 0
call fcn.1400f05e0
mov r12, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
sub rax, r12
and eax, 0xfffffffe
add eax, 0xfffffffe
mov dword [rsi + 0x40], eax
lea rbx, [rsp + 0x44]
cmp dword [rbx], ebp
mov edx, 0x4000
cmovne edx, ebp
mov dword [rbx], edx
mov rcx, rdi
call fcn.1400f1790
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov r8, rax
mov r9, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1400f0458
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_vector
lea r9, str.__n___size__
mov r8d, 0x601
call fcn.1401f6bb0
int3
Function at 0x1400f05c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [rcx + 8]
cmp eax, 0xffffffff
je fcn.1400f03b0
dec eax
mov dword [rcx + 8], eax
jmp fcn.1400f03b0

Function at 0x1400f0670
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x70], rax
or r9d, 0x20019
mov qword [rsp + 0x20], rcx
mov rcx, rdx
mov rdx, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f0745
lea rdi, [rsp + 0x64]
mov dword [rdi], 0
mov rcx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x58], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400f0767
mov edx, dword [rsp + 0x64]
sub edx, 1
setb al
mov dword [rsi + 8], edx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400f074c
test al, al
jne 0x1400f074c
lea r8, [rsi + 0xc]
lea r9, [rsp + 0x6c]
mov dword [r9], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400f0752
jmp 0x1400f074c
mov qword [rsi], 0
mov word [rsi + 0xc], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401ad700
nop
add rsp, 0x78
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400f0745

Function at 0x1400f0800
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, dword [rcx + 8]
cmp edx, 0xffffffff
je 0x1400f088a
sub edx, 1
setb al
mov dword [rsi + 8], edx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400f088a
test al, al
jne 0x1400f088a
lea r8, [rsi + 0xc]
lea r9, [rsp + 0x54]
mov dword [r9], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r10, [rsp + 0x4c]
mov qword [r10], rax
mov qword [rsp + 0x38], r10
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400f088a
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401ad700
nop
add rsp, 0x60
pop rsi
ret
mov word [rsi + 0xc], 0
jmp 0x1400f0876
Function at 0x1400f0f50
Capabilities:
Create thread

Disassembly:
jmp 0x1400f0f50
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.1401abf00
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x1402eadc8]
jne 0x1400f0fbd
mov rcx, r15
call fcn.14016a870
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x1400f13c0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400f1031
test r14, r14
je 0x1400f1026
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401ad700
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400f1000
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x1400f104a
mov ebp, eax
cmp eax, 0x5af
je 0x1400f104a
cmp ebp, 0xe
jne 0x1400f1075
mov rcx, rbx
call fcn.1401ec2a0
test rsi, rsi
je 0x1400f1000
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1402eadc8]
jne 0x1400f106b
call fcn.14016a9c0
mov rcx, rsi
call fcn.1401abf3c
jmp 0x1400f1000
mov eax, dword [0x140303480]
mov ecx, dword [0x1402fa5e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f10f8
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.1400fcbf0
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x1400f10b5
and r8d, 0x7f
jmp 0x1400f10bf
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.14016a4e0
mov rcx, qword [0x140303478]
mov rdx, r14
call fcn.14012a4a0
cmp byte [rsp + 0x4f], 0
jns 0x1400f1052
mov rcx, qword [rsp + 0x38]
call fcn.1401abf3c
jmp 0x1400f1052
lea rcx, [0x140303480]
call fcn.1401ac060
cmp dword [0x140303480], 0xffffffff
jne 0x1400f1096
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14012a480
mov qword [0x140303478], rax
lea rcx, [0x140303480]
call fcn.1401ac0f8
jmp 0x1400f1096

Function at 0x1400f2c10
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x1400f2c57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400f2c71
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400f2c4f
mov qword [rsi], rdi
call fcn.14018d230
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x1400f2c87
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14018d230
mov rcx, qword [rsi]
call fcn.14017db10
mov qword [rsi], 0
jmp 0x1400f2c3d
int3
Function at 0x1400f2f50
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x20], 0
test rdx, rdx
je 0x1400f2ffd
mov rdi, rdx
lea rbx, [rsp + 0x40]
mov qword [rbx], 0xffffffffffffffff
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov r14, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0x400
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rbx, qword [rbx]
cmp qword [rsi], rbx
je 0x1400f2ffd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400f3019
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400f2ff5
mov qword [rsi], rbx
call fcn.14018d230
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401ad700
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14018d230
mov rcx, qword [rsi]
call fcn.14017db10
mov qword [rsi], 0
jmp 0x1400f2fe3