joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f110
Capabilities:
Delete registry key

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov ebp, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x48]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rdi
call fcn.14005b130
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
cmp rax, rcx
jae 0x14002f2bf
lea rdx, [rax + 1]
mov qword [rsp + 0x58], rdx
cmp rcx, 8
jb 0x14002f187
mov rcx, qword [rsp + 0x48]
jmp 0x14002f18c
lea rcx, [rsp + 0x48]
mov word [rcx + rax*2], 0x5c
mov word [rcx + rax*2 + 2], 0
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
mov r8d, ebp
call fcn.14002e990
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14002f1bc
mov rbx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, rcx
sub rdx, rax
cmp rdx, r8
jb 0x14002f2a5
lea rsi, [rax + r8]
mov qword [rsp + 0x58], rsi
cmp rcx, 8
jb 0x14002f1e9
mov rdi, qword [rsp + 0x48]
lea rcx, [rdi + rax*2]
add r8, r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rsi*2], 0
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x14002f228
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14002f2ce
call fcn.140057540
cmp qword [rsp + 0x60], 8
jb 0x14002f237
mov rdx, qword [rsp + 0x48]
jmp 0x14002f23c
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov ecx, eax
and ecx, 0xfffffffd
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test ecx, ecx
cmove edx, ecx
mov dword [r14], edx
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x14002f28a
mov rcx, qword [rsp + 0x48]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14002f2f1
call fcn.140057540
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140058660
mov rax, r14
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x48]
mov rdx, r8
mov r9, rbx
call fcn.14005afe0
jmp 0x14002f1fe
lea rcx, [rsp + 0x48]
call fcn.14005d200
jmp 0x14002f199
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002f314
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
jmp 0x14002f223
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002f314
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
jmp 0x14002f285
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002fea0
Capabilities:
Delete registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rdi, [rsp + 0x60]
mov rcx, rdi
call fcn.140031fc0
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x14002fef3
mov dword [rsi], eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140058660
mov rax, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
xor edi, edi
mov qword [rsp + 0x70], rdi
mov eax, 7
mov qword [rsp + 0x78], rax
mov word [rsp + 0x60], di
lea rbx, [rsp + 0x20]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rax
mov word [rbx], di
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rbx
call fcn.14005b130
cmp qword [rsp + 0x58], 8
jb 0x14002ff50
mov r8, qword [rsp + 0x40]
jmp 0x14002ff55
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x38], 8
jb 0x14002ff62
mov rbx, qword [rsp + 0x20]
mov rcx, 0xffffffff80000001
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
test eax, eax
je 0x14002ff9f
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.RegistryDeleteValue
mov edx, edi
mov r9d, 0x13f
call fcn.14002cd80
mov dword [rsi], edi
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x14002ffc7
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14002fff6
call fcn.140057540
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x14002fed5
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140030016
call fcn.140057540
jmp 0x14002fed5
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140030036
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x14002ffc2
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140030036
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x14002ffec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140032400
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea rdi, [rsp + 0x80]
mov rcx, rdi
call fcn.140031fc0
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x14003245c
mov word [rsi], 0
mov dword [rsi + 4], eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140058660
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
xor edi, edi
mov qword [rsp + 0x90], rdi
mov eax, 7
mov qword [rsp + 0x98], rax
mov word [rsp + 0x80], di
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rax
mov word [rbx], di
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rbx
call fcn.14005b130
mov dword [rsp + 0x38], 4
cmp qword [rsp + 0x78], 8
jb 0x1400324d0
mov r8, qword [rsp + 0x60]
jmp 0x1400324d5
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x58], 8
jb 0x1400324e2
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov rcx, 0xffffffff80000001
mov rdx, rbx
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x14003254c
mov ecx, 0
cmp eax, 2
je 0x14003255c
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.RegistryGetValueBool
mov edx, edi
mov r9d, 0x98
call fcn.14002cd80
xor ecx, ecx
jmp 0x14003255c
xor ecx, ecx
cmp dword [rsp + 0x3c], 0
setne cl
or ecx, 0x100
mov word [rsi], cx
mov dword [rsi + 4], edi
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x140032588
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x1400325b7
call fcn.140057540
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x14003243e
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x1400325d7
call fcn.140057540
jmp 0x14003243e
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400325f7
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032583
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400325f7
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x1400325ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140032600
Capabilities:
Set registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov ebx, r9d
mov rsi, rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rdi, [rsp + 0x88]
mov rcx, rdi
call fcn.140031fc0
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x14003265d
mov dword [rsi], eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140058660
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
xor r14d, r14d
mov qword [rsp + 0x98], r14
mov eax, 7
mov qword [rsp + 0xa0], rax
mov word [rsp + 0x88], r14w
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], rax
mov word [rdi], r14w
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rdi
call fcn.14005b130
movzx eax, bl
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x78], 8
jb 0x1400326d3
mov r8, qword [rsp + 0x60]
jmp 0x1400326d8
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x58], 8
jb 0x1400326e5
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
mov rcx, 0xffffffff80000001
mov rdx, rdi
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x14003273e
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.RegistrySetValueBool
mov edx, r14d
mov r9d, 0xb3
call fcn.14002cd80
mov dword [rsi], r14d
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x140032767
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140032796
call fcn.140057540
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x14003263d
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x1400327b6
call fcn.140057540
jmp 0x14003263d
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400327d6
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032762
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400327d6
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x14003278c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400327e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
call fcn.140031fc0
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x14003283d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov dword [rsi + 0x10], eax
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140058660
mov rax, rsi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
xor ebx, ebx
mov qword [rsp + 0xa0], rbx
mov eax, 7
mov qword [rsp + 0xa8], rax
mov word [rsp + 0x90], bx
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rax
mov word [rdi], bx
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rdi
call fcn.14005b130
mov dword [rsp + 0x44], 8
cmp qword [rsp + 0x88], 8
jb 0x1400328b7
mov r8, qword [rsp + 0x70]
jmp 0x1400328bc
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x68], 8
jb 0x1400328c9
mov rdi, qword [rsp + 0x50]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov rcx, 0xffffffff80000001
mov rdx, rdi
mov r9d, 0x40
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140032909
cmp eax, 2
jne 0x14003291e
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140032915
mov rax, qword [rsp + 0x48]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov dword [rsi + 0x10], 0
jmp 0x140032950
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.RegistryGetValueQword
mov edx, edi
mov r9d, 0xd2
call fcn.14002cd80
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov dword [rsi + 0x10], edi
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x140032976
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x1400329a8
call fcn.140057540
mov rax, qword [rsp + 0x88]
cmp rax, 8
jb 0x14003281f
mov rcx, qword [rsp + 0x70]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x1400329c8
call fcn.140057540
jmp 0x14003281f
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400329e8
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032971
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400329e8
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x14003299e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400329f0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], 0
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rbx, rax
lea rcx, [rsp + 0x68]
cmp rax, 7
ja 0x140032a64
mov qword [rcx + 0x10], rbx
mov r8, rbx
add r8, rbx
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx*2 + 0x68], 0
jmp 0x140032a6f
mov rdx, rbx
mov r9, rdi
call fcn.14005b130
movzx eax, word [rsp + 0x68]
mov rcx, qword [rsp + 0x6a]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x5e], rcx
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov word [rsp + 0x68], ax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x5e]
mov qword [rsp + 0x6a], rax
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rbx
lea rdi, [rsp + 0x38]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rdi
call fcn.14005b130
cmp rbx, 8
jb 0x140032af6
mov r8, qword [rsp + 0x68]
jmp 0x140032afb
lea r8, [rsp + 0x68]
cmp qword [rsp + 0x50], 8
jb 0x140032b08
mov rdi, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
mov rcx, 0xffffffff80000001
mov rdx, rdi
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x140032b5f
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.RegistrySetValueQword
mov edx, edi
mov r9d, 0xed
call fcn.14002cd80
jmp 0x140032b61
xor edi, edi
mov dword [rsi], edi
mov rax, qword [rsp + 0x50]
cmp rax, 8
jb 0x140032b89
mov rcx, qword [rsp + 0x38]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140032bd0
call fcn.140057540
mov rax, qword [rsp + 0x80]
cmp rax, 8
jb 0x140032bb2
mov rcx, qword [rsp + 0x68]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140032bf0
call fcn.140057540
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140058660
mov rax, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140032c10
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032b84
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140032c10
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032bad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14003deb0
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov al, 1
cmp byte [rcx + 8], 0
jne 0x14003df94
mov rsi, rcx
mov rdi, qword [rcx]
test rdi, rdi
jne 0x14003df00
lea r8, str.MozillaFirefoxDefaultBrowserAgentRegistryMutex
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14003def4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], rdi
test rdi, rdi
je 0x14003df9b
mov rcx, rdi
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14003df47
cmp eax, 0x80
je 0x14003df69
test eax, eax
je 0x14003df89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [rsp + 0x20], eax
lea rdx, str.Failed_to_wait_on_registry_mutex:__X
lea r8, str.Acquire
mov r9d, 0xb9
jmp 0x14003df62
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rdx, str.Timed_out_waiting_for_registry_mutex
lea r8, str.Acquire
mov r9d, 0xac
call fcn.14002ce90
jmp 0x14003df8d
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rdx, str.Found_abandoned_registry_mutex._Continuing...
lea r8, str.Acquire
mov r9d, 0xb3
call fcn.14002ce90
mov byte [rsi + 8], 1
cmp byte [rsi + 8], 0
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [rsp + 0x20], eax
lea rdx, str.Couldnt_open_registry_mutex:__X
lea r8, str.Acquire
mov r9d, 0xa2
call fcn.14002ce90
xor eax, eax
jmp 0x14003df94

Function at 0x14003e8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rdi, [rsp + 0x70]
mov qword [rdi], 0
mov qword [rsp + 0x20], rdi
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
xor ebx, ebx
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdi, qword [rdi]
test rdi, rdi
je 0x14003e9bf
lea rax, [rsp + 0x6c]
mov dword [rax], ebx
lea rcx, [rsp + 0x68]
mov dword [rcx], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rcx
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rax
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, 2
test eax, eax
jne 0x14003e9b4
lea rbx, [rsp + 0x64]
mov dword [rbx], 0xffffffff
lea rax, [rsp + 0x60]
mov dword [rax], 4
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8, rsi
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor ecx, ecx
cmp dword [rbx], 0
sete cl
test eax, eax
mov ebx, 2
cmove ebx, ecx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003e9c4
mov ebx, 2
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140058660
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
Function at 0x140056da0
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, qword [0x1400aa568]
test rdi, rdi
jne 0x140056eef
lea rcx, [0x14007d37d]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x140056e07
mov rsi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056e07
mov rbx, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056e07
mov r15, rax
mov esi, 1
jmp 0x140056e94
lea rcx, [0x14007d338]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x140056efe
mov rbx, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056efe
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rbx
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056efe
mov r15, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rbx
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056efe
mov r14, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
mov rax, rdi
call qword [case.0x14005783e.0]
test eax, eax
jne 0x140056efe
mov rbx, qword [rsp + 0x28]
xor esi, esi
mov ecx, 0x20
mov edx, 8
call fcn.1400180a0
test rax, rax
je 0x140056f03
mov rdi, rax
mov qword [rax], rsi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r14
xor eax, eax
lock cmpxchg qword [0x1400aa568], rdi
je 0x140056eef
mov rsi, rax
cmp qword [rdi], 0
jne 0x140056ed9
mov rcx, qword [rdi + 8]
call sub.KERNEL32.dll_CloseHandle
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call fcn.140018130
mov rdi, rsi
mov rax, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140063c40
mov ecx, 0x20
mov edx, 8
call fcn.1400594f0
int3
Function at 0x14005a090
Capabilities:
Create process on windows
Get common file path

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2f8
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor esi, esi
lea rdi, [rsp + 0xe0]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14005a0fc
lea rcx, [rsp + 0xe0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add rax, 0xffffffffffffff07
cmp rax, 0xfffffffffffffefc
jae 0x14005a11f
xor esi, esi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140058660
mov eax, esi
add rsp, 0x2f8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rdx, str.control.exe
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor esi, esi
test eax, eax
je 0x14005a0fc
lea rdi, [rsp + 0xd8]
mov qword [rdi], rsi
mov rcx, rdi
call fcn.140059e60
mov r15, qword [rdi]
lea r14, str.control.exe__name_Microsoft.DefaultPrograms__page_pageDefaultProgrampageAdvancedSettings_pszAppName_s
mov rcx, r14
mov rdx, r15
call fcn.140059f80
inc eax
movsxd rbx, eax
mov rdi, rbx
add rdi, rbx
mov rax, 0xffffffffffffffff
cmovb rdi, rax
mov rcx, rdi
call fcn.14005766c
mov r12, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r15
mov rcx, r12
mov rdx, rbx
mov r8, 0xffffffffffffffff
mov r9, r14
call fcn.14005a000
xorps xmm0, xmm0
lea rax, [rsp + 0x70]
movaps xmmword [rax], xmm0
movaps xmmword [rax + 0x30], xmm0
movaps xmmword [rax + 0x40], xmm0
mov qword [rax + 0x60], rsi
movaps xmmword [rax + 0x50], xmm0
movaps xmmword [rax + 0x20], xmm0
movaps xmmword [rax + 0x10], xmm0
mov dword [rax], 0x68
mov dword [rax + 0x3c], 1
mov word [rax + 0x40], 0xa
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], rsi
movaps xmmword [rcx], xmm0
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0xe0]
mov rdx, r12
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test eax, eax
je 0x14005a235
mov rcx, qword [rsp + 0x50]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rdi
mov rcx, qword [rsp + 0x58]
call rdi
test esi, esi
setne sil
mov rcx, r12
call fcn.140057540
test r15, r15
je 0x14005a0fc
mov rcx, r15
call fcn.140057540
jmp 0x14005a0fc