joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400021f0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r13, qword [rdx + 8]
test r13, r13
je 0x140002401
mov r15, r8
mov r12, rdx
mov r14, rcx
lea rsi, [rdx + 0x10]
mov rbp, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov rax, r13
jmp 0x140002240
mov rax, qword [rsi]
add rsi, 8
test rax, rax
je 0x140002401
movzx ecx, byte [rax]
or cl, 2
cmp cl, 0x2f
jne 0x140002230
lea rdi, [rax + 1]
lea rcx, [rax + 2]
xor edx, edx
cmp byte [rax + 1], 0x2d
sete dl
cmove rdi, rcx
movsx ecx, byte [rdx + rax + 1]
test ecx, ecx
je 0x140002230
call rbp
cmp al, 0x6f
jne 0x140002230
movsx ecx, byte [rdi + 1]
test ecx, ecx
je 0x140002230
call rbp
cmp al, 0x73
jne 0x140002230
movsx ecx, byte [rdi + 2]
test ecx, ecx
je 0x140002230
call rbp
cmp al, 0x69
jne 0x140002230
movsx ecx, byte [rdi + 3]
test ecx, ecx
je 0x140002230
call rbp
cmp al, 0x6e
jne 0x140002230
movsx ecx, byte [rdi + 4]
test ecx, ecx
je 0x140002230
call rbp
cmp al, 0x74
jne 0x140002230
cmp byte [rdi + 5], 0
jne 0x140002230
cmp dword [r14], 4
jne 0x140002412
mov al, byte [r13]
or al, 2
cmp al, 0x2f
jne 0x140002412
lea rsi, [r13 + 1]
lea rax, [r13 + 2]
xor ecx, ecx
cmp byte [r13 + 1], 0x2d
sete cl
cmove rsi, rax
movsx ecx, byte [rcx + r13 + 1]
test ecx, ecx
je 0x140002412
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp al, 0x6f
jne 0x140002412
movsx ecx, byte [rsi + 1]
test ecx, ecx
je 0x140002412
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp al, 0x73
jne 0x140002412
movsx ecx, byte [rsi + 2]
test ecx, ecx
je 0x140002412
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp al, 0x69
jne 0x140002412
movsx ecx, byte [rsi + 3]
test ecx, ecx
je 0x140002412
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp al, 0x6e
jne 0x140002412
movsx ecx, byte [rsi + 4]
test ecx, ecx
je 0x140002412
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp al, 0x74
jne 0x140002412
cmp byte [rsi + 5], 0
jne 0x140002412
lea rax, [r12 + 0x10]
mov rcx, qword [rax]
mov qword [rax - 8], rcx
add rax, 8
test rcx, rcx
jne 0x14000236e
add dword [r14], 0xffffffff
mov rax, qword [r12 + 8]
mov cl, byte [rax]
or cl, 2
cmp cl, 0x2f
jne 0x140002412
lea r14, [rax + 1]
lea rcx, [rax + 2]
cmp byte [rax + 1], 0x2d
cmove r14, rcx
mov rdi, qword [r15]
jmp 0x1400023b7
cmp byte [rsi], 0
je 0x1400023f4
mov rdi, qword [r15 + 8]
add r15, 8
test rdi, rdi
je 0x140002412
mov bl, byte [rdi]
mov rsi, r14
test bl, bl
je 0x1400023aa
add rdi, 1
mov rsi, r14
nop dword [rax]
movsx ecx, byte [rsi]
test ecx, ecx
je 0x1400023af
call rbp
movsx eax, al
movsx ecx, bl
cmp eax, ecx
jne 0x1400023af
add rsi, 1
movzx ebx, byte [rdi]
add rdi, 1
test bl, bl
jne 0x1400023d0
jmp 0x1400023aa
mov rax, qword [r12 + 0x10]
mov al, byte [rax]
or al, 2
cmp al, 0x2f
je 0x140002412
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x7f
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x1400024a0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10050
call fcn.1400c12cc
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov r15, qword [0x1400f6380]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x10048], rax
lea r8, [rsp + 0x38]
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14000257c
test rbx, rbx
je 0x14000250c
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14000257c
test rdi, rdi
je 0x140002568
mov ebx, 0x10000
lea r14, [rsp + 0x40]
lea r12, [rsp + 0x34]
mov r13, qword [sym.imp.KERNEL32.dll_ReadFile]
nop word [rax + rax]
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, r14
mov r8d, 0x10000
mov r9, r12
call r13
test eax, eax
je 0x140002568
cmp dword [rsp + 0x34], 0x10000
jne 0x140002568
lea rax, [rbx + 0x10000]
cmp rbx, rdi
mov rbx, rax
jb 0x140002530
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rax, qword [rsp + 0x10048]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x1400025a2
add rsp, 0x10050
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140072349
int3
Function at 0x1400040d0
Capabilities:
Parse pe header

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov r14, rdx
mov rsi, rcx
mov rbx, qword [0x1400f6380]
mov rax, qword [rbx]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x28], r8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and rax, 0xfffffffffffffffc
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x50], 0
je 0x14000415b
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14000415b
movsxd rdx, dword [rax + 0x3c]
lea rcx, [rax + rdx]
mov qword [rsp + 0x40], rcx
cmp dword [rax + rdx], 0x4550
jne 0x14000415b
movzx edx, word [rcx + 0x18]
cmp edx, 0x20b
jne 0x14000415b
mov r8d, dword [rcx + 0x50]
cmp r8d, 0x148
jae 0x14000419e
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [rsi], rax
movabs rax, 0x800700c1000000b6
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x90]
xor rax, rsp
mov rcx, qword [rbx]
cmp rcx, rax
jne 0x14000423b
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, [rsp + 0x38]
lea edi, [r8 - 1]
add rax, rdi
mov qword [rsp + 0x48], rax
cmp dword [rcx + 0x84], 2
jb 0x1400041c4
cmp dword [rcx + 0x90], r8d
setae byte [rsp + 0x50]
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x78]
call fcn.1400151b0
cmp byte [rsp + 0x88], 0
je 0x1400041e8
movups xmm0, xmmword [rsp + 0x78]
jmp 0x140004210
mov r9, qword [0x1400f6dc0]
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x28]
mov r8d, 0xc0000000
call fcn.140015370
cmp byte [rsp + 0x70], 0
je 0x14000421c
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x10], 1
jmp 0x140004177
lea r8, [rsp + 0x28]
mov rcx, rsi
mov rdx, r14
xor r9d, r9d
call fcn.140003af0
xor ecx, ecx
call fcn.140015060
jmp 0x140004177
call fcn.140072349
int3
Function at 0x140004250
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x108
mov rsi, rcx
mov r12, qword [0x1400f6380]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0x100], rax
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.140004370
lea rcx, [rsp + 0xe8]
mov rdx, rdi
call fcn.1400044a0
lea rdx, str.Firefox
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14000433a
mov r14, rax
mov rcx, qword [rsi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r15, rax
lea rdi, [rax + 8]
mov rcx, rdi
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call sub.ntdll.dll_memset
mov eax, dword [rsi + 0xc]
mov dword [rbx], eax
mov eax, dword [rsi + 8]
mov dword [rbx + 4], eax
lea rcx, [rbx + 8]
mov rdx, qword [rsi]
mov r8, r15
call sub.ntdll.dll_memcpy
mov r9d, dword [rsi + 0xc]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x38], 0
mov word [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, r14
mov dx, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call sub.mozglue.dll_free
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea rcx, [rsp + 0x48]
call fcn.140004660
mov rax, qword [rsp + 0x100]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x140004369
add rsp, 0x108
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140072349
int3
Function at 0x1400044a0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov r14, rcx
mov r15, qword [0x1400f6380]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, qword [rdx + 0x20]
test rbx, rbx
je 0x1400044db
movzx ecx, byte [rdi + 0x58]
mov eax, ecx
and al, 1
jne 0x140004542
shr rcx, 1
jmp 0x140004546
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMozillaFirefoxLauncher
mov rcx, 0xffffffff80000001
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400045f0
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x79
jmp 0x140004622
mov rcx, qword [rdi + 0x60]
lea rsi, [rdi + 0x58]
test rcx, rcx
jne 0x140004579
lea rdx, [rdi + 0x28]
mov rcx, rsi
call fcn.14007bb60
lea rdx, str.Browser
mov r8d, 8
mov rcx, rsi
call fcn.14007a800
mov al, byte [rdi + 0x58]
and al, 1
mov rbx, qword [rdi + 0x20]
mov qword [rsp + 0x50], 0
test al, al
je 0x14000458c
mov rsi, qword [rdi + 0x68]
jmp 0x140004590
add rsi, 2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400045e2
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [r14 + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [r14], rax
mov dword [r14 + 8], 0x4e
jmp 0x140004635
mov byte [0x14012c008], 0
mov byte [r14 + 0x10], 0
jmp 0x140004639
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140004604
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi + 0x20], rbx
mov eax, dword [rsp + 0x4c]
add eax, 0xffffffff
cmp eax, 1
jbe 0x1400044cc
mov ecx, 0x80070507
mov eax, 0x88
mov byte [r14 + 0x10], 1
lea rdx, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [r14], rdx
mov dword [r14 + 8], eax
mov dword [r14 + 0xc], ecx
mov rax, qword [rsp + 0x58]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x140004658
mov rax, r14
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140072349
int3
Function at 0x1400058c0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rbx, r8
mov rdi, rdx
mov r12, rcx
mov rbp, qword [0x1400f6380]
mov rax, qword [rbp]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x4c], 0
lea r15, [rsp + 0x4c]
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
mov rcx, rdi
mov r9d, 0x10002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140005939
cmp eax, 2
jne 0x1400059bb
mov byte [r12 + 0x10], 0
mov byte [r12], 0
jmp 0x140005a97
mov esi, dword [rsp + 0x4c]
add rsi, rsi
mov rcx, rsi
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call sub.ntdll.dll_memset
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
mov rcx, rdi
mov r8, rbx
mov r9d, 0x10002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400059ed
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [r12 + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_browser_app_winlauncher_LaunchUnelevated.cpp
mov qword [r12], rax
mov dword [r12 + 8], 0x65
mov dword [r12 + 0xc], ecx
jmp 0x140005a8f
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [r12 + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_browser_app_winlauncher_LaunchUnelevated.cpp
mov qword [r12], rax
mov dword [r12 + 8], 0x59
mov dword [r12 + 0xc], ecx
jmp 0x140005a97
mov rax, qword [0x1400f6a8e]
mov qword [rsp + 0x5e], rax
movaps xmm0, xmmword [str.RUNASADMIN]
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 0x20
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x140005a76
lea r15, [rsp + 0x50]
mov rsi, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
lea rbx, [rsp + 0x48]
lea rdi, [rsp + 0x40]
mov rbp, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
nop dword [rax + rax]
mov r8d, 0xb
mov rcx, rax
mov rdx, r15
call rsi
test eax, eax
je 0x140005a7b
xor r13d, r13d
xor ecx, ecx
mov rdx, rbx
mov r8, rdi
call rbp
test rax, rax
jne 0x140005a50
jmp 0x140005a7e
xor r13d, r13d
jmp 0x140005a85
mov r13b, 1
mov rbp, qword [0x1400f6380]
mov byte [r12 + 0x10], 0
mov byte [r12], r13b
mov rcx, r14
call sub.mozglue.dll_free
mov rax, qword [rsp + 0x70]
xor rax, rsp
mov rcx, qword [rbp]
cmp rcx, rax
jne 0x140005abc
mov rax, r12
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140072349
int3
Function at 0x140007740
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rax, qword [rdx + 8]
test rax, rax
je 0x140007983
mov r15, r8
mov rsi, rdx
mov r14, rcx
lea rbx, [rdx + 0x10]
jmp 0x140007780
mov rax, qword [rbx]
add rbx, 8
test rax, rax
je 0x140007983
movzx ecx, word [rax]
or ecx, 2
cmp cx, 0x2f
jne 0x140007770
lea rdi, [rax + 2]
lea rcx, [rax + 4]
xor edx, edx
cmp word [rax + 2], 0x2d
sete dl
cmove rdi, rcx
movzx ecx, word [rax + rdx*2 + 2]
test cx, cx
je 0x140007770
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x6f
jne 0x140007770
movzx ecx, word [rdi + 2]
test cx, cx
je 0x140007770
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x73
jne 0x140007770
movzx ecx, word [rdi + 4]
test cx, cx
je 0x140007770
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x69
jne 0x140007770
movzx ecx, word [rdi + 6]
test cx, cx
je 0x140007770
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x6e
jne 0x140007770
movzx ecx, word [rdi + 8]
test cx, cx
je 0x140007770
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x74
jne 0x140007770
cmp word [rdi + 0xa], 0
jne 0x140007770
cmp dword [r14], 4
jne 0x14000798f
mov rax, qword [rsi + 8]
movzx ecx, word [rax]
or ecx, 2
cmp cx, 0x2f
jne 0x14000798f
lea rdi, [rax + 2]
lea rcx, [rax + 4]
xor edx, edx
cmp word [rax + 2], 0x2d
sete dl
cmove rdi, rcx
movzx ecx, word [rax + rdx*2 + 2]
test cx, cx
je 0x14000798f
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x6f
jne 0x14000798f
movzx ecx, word [rdi + 2]
test cx, cx
je 0x14000798f
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x73
jne 0x14000798f
movzx ecx, word [rdi + 4]
test cx, cx
je 0x14000798f
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x69
jne 0x14000798f
movzx ecx, word [rdi + 6]
test cx, cx
je 0x14000798f
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x6e
jne 0x14000798f
movzx ecx, word [rdi + 8]
test cx, cx
je 0x14000798f
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, 0x74
jne 0x14000798f
cmp word [rdi + 0xa], 0
jne 0x14000798f
lea rax, [rsi + 0x10]
mov rcx, qword [rax]
mov qword [rax - 8], rcx
add rax, 8
test rcx, rcx
jne 0x1400078ee
add dword [r14], 0xffffffff
mov rax, qword [rsi + 8]
movzx ecx, word [rax]
or ecx, 2
cmp cx, 0x2f
jne 0x14000798f
lea r14, [rax + 2]
lea rcx, [rax + 4]
cmp word [rax + 2], 0x2d
cmove r14, rcx
mov rbx, qword [r15]
jmp 0x14000793a
cmp word [rdi], 0
je 0x140007973
mov rbx, qword [r15 + 8]
add r15, 8
test rbx, rbx
je 0x14000798f
cmp word [rbx], 0
mov rdi, r14
je 0x14000792c
add rbx, 2
mov rdi, r14
nop
movzx ecx, word [rdi]
test cx, cx
je 0x140007932
call sub.api_ms_win_crt_string_l1_1_0.dll_towlower
cmp ax, word [rbx - 2]
jne 0x140007932
add rdi, 2
cmp word [rbx], 0
lea rbx, [rbx + 2]
jne 0x140007950
jmp 0x14000792c
mov rax, qword [rsi + 0x10]
movzx eax, word [rax]
or eax, 2
cmp ax, 0x2f
je 0x14000798f
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 0x7f
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140008470
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, edx
mov rdi, rcx
xor ebx, ebx
mov r14d, 0
cmp edx, 0xffffffff
je 0x14000849b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
mov r15, qword [sym.imp.KERNEL32.dll_SetLastError]
mov r12, qword [sym.imp.USER32.dll_WaitForInputIdle]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
je 0x1400084cb
nop word cs:[rax + rax]
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub ebx, r14d
cmp ebx, esi
setb bpl
jae 0x140008509
xor ecx, ecx
call r15
mov edx, esi
sub edx, ebx
mov rcx, rdi
call r12
cmp eax, 0xffffffff
jne 0x140008503
call r13
cmp eax, 0x5bf
jne 0x140008507
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0xffffffff
jne 0x1400084c0
jmp 0x1400084cb
test eax, eax
je 0x140008509
xor ebp, ebp
mov eax, ebp
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140009300
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov r15, qword [0x1400f6380]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx ecx, byte [rdx + 0x58]
mov eax, ecx
and al, 1
jne 0x140009335
shr rcx, 1
jmp 0x140009339
mov rcx, qword [rdi + 0x60]
lea rbx, [rdi + 0x58]
test rcx, rcx
jne 0x140009368
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007bb60
lea rdx, str.Browser
mov r8d, 8
mov rcx, rbx
call fcn.14007a800
mov al, byte [rdi + 0x58]
and al, 1
mov qword [rsp + 0x30], r14
mov rcx, qword [rdi + 0x20]
test al, al
je 0x14000937b
mov rbx, qword [rdi + 0x68]
jmp 0x14000937f
add rbx, 2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
xor edi, edi
mov rdx, rbx
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400093ce
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x4e
mov dword [rsi + 0xc], ecx
mov dil, 1
mov byte [rsi + 0x10], dil
mov rax, qword [rsp + 0x38]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x1400093f1
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140072349
int3
Function at 0x140009b20
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x1400f6380]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx ecx, byte [rdx + 0x40]
mov eax, ecx
and al, 1
jne 0x140009b50
shr rcx, 1
jmp 0x140009b54
mov rcx, qword [rdi + 0x48]
lea rbx, [rdi + 0x40]
test rcx, rcx
jne 0x140009b83
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007bb60
lea rdx, str.Image
mov r8d, 6
mov rcx, rbx
call fcn.14007a800
mov al, byte [rdi + 0x40]
and al, 1
mov dword [rsp + 0x38], 4
mov rcx, qword [rdi + 0x20]
test al, al
je 0x140009b99
mov rbx, qword [rdi + 0x50]
jmp 0x140009b9d
add rbx, 2
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov rdx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140009bdb
cmp eax, 2
jne 0x140009bf2
mov byte [rsi + 0x10], 0
mov byte [rsi], 0
mov dword [rsi + 1], 0
jmp 0x140009c36
cmp dword [rsp + 0x34], 4
jne 0x140009c1a
mov eax, dword [rsp + 0x3c]
mov byte [rsi + 0x10], 0
mov dword [rsi], eax
mov byte [rsi + 4], 1
jmp 0x140009c36
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3b
mov dword [rsi + 0xc], ecx
jmp 0x140009c36
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d0000003f
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x40]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x140009c53
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140072349
int3
Function at 0x140009c60
Capabilities:
Delete registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x1400f6380]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
call fcn.1400090c0
cmp byte [rsp + 0x38], 0
jne 0x140009c9d
cmp dword [rsp + 0x28], 2
je 0x140009d93
movzx ecx, byte [rdi + 0x70]
mov eax, ecx
and al, 1
jne 0x140009cac
shr rcx, 1
jmp 0x140009cb0
mov rcx, qword [rdi + 0x78]
lea rbx, [rdi + 0x70]
test rcx, rcx
jne 0x140009cdf
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007bb60
lea rdx, str.Launcher
mov r8d, 9
mov rcx, rbx
call fcn.14007a800
mov al, byte [rdi + 0x70]
and al, 1
mov rcx, qword [rdi + 0x20]
test al, al
je 0x140009cf0
mov rbx, qword [rdi + 0x80]
jmp 0x140009cf4
add rbx, 2
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
or ecx, 2
cmp ecx, 2
jne 0x140009d99
movzx ecx, byte [rdi + 0x58]
mov eax, ecx
and al, 1
jne 0x140009d1a
shr rcx, 1
jmp 0x140009d1e
mov rcx, qword [rdi + 0x60]
lea rbx, [rdi + 0x58]
test rcx, rcx
jne 0x140009d4d
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007bb60
lea rdx, str.Browser
mov r8d, 8
mov rcx, rbx
call fcn.14007a800
mov al, byte [rdi + 0x58]
and al, 1
mov rcx, qword [rdi + 0x20]
test al, al
je 0x140009d5b
mov rbx, qword [rdi + 0x68]
jmp 0x140009d5f
add rbx, 2
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
or ecx, 2
cmp ecx, 2
jne 0x140009d99
lea rax, [rdi + 0x10]
cmp byte [rdi + 0x18], 0
je 0x140009d80
mov byte [rdi + 0x18], 0
mov cl, byte [rax + 8]
mov byte [rdi + 8], cl
mov rax, qword [rax]
mov qword [rdi], rax
mov byte [0x14012c008], 1
mov byte [rsi + 0x10], 0
jmp 0x140009dbf
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x5c
mov dword [rsi + 0xc], ecx
mov rax, qword [rsp + 0x40]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x140009ddc
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140072349
int3
Function at 0x140009ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x1400f6380]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx ecx, byte [rdx + 0x70]
mov eax, ecx
and al, 1
jne 0x140009f20
shr rcx, 1
jmp 0x140009f24
mov rcx, qword [rdi + 0x78]
lea rbx, [rdi + 0x70]
test rcx, rcx
jne 0x140009f53
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007bb60
lea rdx, str.Launcher
mov r8d, 9
mov rcx, rbx
call fcn.14007a800
mov al, byte [rdi + 0x70]
and al, 1
mov dword [rsp + 0x34], 8
mov rcx, qword [rdi + 0x20]
test al, al
je 0x140009f6c
mov rbx, qword [rdi + 0x80]
jmp 0x140009f70
add rbx, 2
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rdx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140009faf
cmp eax, 2
jne 0x140009fc8
mov byte [rsi + 0x10], 0
mov qword [rsi], 0
mov byte [rsi + 8], 0
jmp 0x14000a00c
cmp dword [rsp + 0x30], 0xb
jne 0x140009ff0
mov rax, qword [rsp + 0x38]
mov byte [rsi + 0x10], 0
mov qword [rsi], rax
mov byte [rsi + 8], 1
jmp 0x14000a00c
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3b
mov dword [rsi + 0xc], ecx
jmp 0x14000a00c
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d0000003f
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x40]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14000a029
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140072349
int3