joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013ba0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor r12d, r12d
xor r13d, r13d
xor edi, edi
cmp r8, 0x201
jae 0x140013c40
jmp 0x140013c2f
jae 0x140013cfe
cmp r8, 0x201
jae 0x140013c40
lea rbx, [rbp - 0x58]
mov r14d, 0x200
mov rsi, r8
jmp 0x140013c97
sub r8, rdi
sub r13, rdi
cmp r13, r8
jae 0x140013c6f
lea rcx, [rbp + 0x3c8]
mov rdx, rdi
call fcn.140059030
mov r12, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp r12, rax
mov edi, 0xffffffff
cmovb rdi, r12
mov qword [rbp + 0x3d8], rdi
mov r13, r12
mov rbx, qword [rbp + 0x3e8]
mov r14, rdi
mov rsi, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, esi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r15d, eax
test eax, eax
jne 0x140013cbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140013d66
mov r8d, r15d
cmp rsi, r8
jne 0x140013c20
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140013d89
add rsi, rsi
mov eax, 0xffffffff
cmp rsi, rax
cmovae rsi, rax
mov r8, rsi
cmp r8, 0x201
jb 0x140013c2f
jmp 0x140013c40
cmp r14, r8
jb 0x140013da3
lea rcx, [rbp + 0x3a8]
mov rdx, rbx
call fcn.140015340
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test r12, r12
je 0x140013d4f
add r12, r12
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, r12
call fcn.140048060
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test r12, r12
jne 0x140013d37
jmp 0x140013d4f
lea rcx, [0x140068de3]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400588d0
jmp 0x140013db8
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140058d30
ud2
Function at 0x140015c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140015c53
test ecx, ecx
jne 0x140015ca2
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140015c60
test ecx, ecx
jne 0x140015ca2
mov rcx, rdi
call fcn.140015b00
movzx r10d, al
test bl, bl
jne 0x140015ca9
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x140015c96.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x140015e1c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x140015c96.2
xor r10d, r10d
test bl, bl
je 0x140015c70
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140015dfe
mov r11, qword [rdi]
lea r9, [r11 + rcx]
cmp rdx, rcx
jne 0x140015cdb
movzx r8d, byte [rdi + 0x10]
xor edi, edi
jmp 0x140015d58
movzx r8d, byte [rdi + 0x10]
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x140015d20
nop dword [rax + rax]
cmp byte [rax], 0x5c
je 0x140015d3b
inc rsi
dec rax
cmp rsi, 1
jne 0x140015d00
jmp 0x140015d58
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x140015d3b
cmp ebx, 0x5c
je 0x140015d3b
inc rsi
dec rax
cmp rsi, 1
jne 0x140015d20
jmp 0x140015d58
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x140015e0c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x140015d82
mov al, 9
cmp rdx, 2
je 0x140015d86
cmp rdx, 1
jne 0x140015d96
cmp byte [r9], 0x2e
jne 0x140015d96
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140015d96
mov al, 0xa
jmp 0x140015d96
cmp byte [r9], 0x2e
jne 0x140015d96
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x140015c96.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x140015c96.2
mov esi, 2
jmp case.0x140015c96.2
lea r8, str.library_std_srcpath.rs
call fcn.140058d20
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140058d20
ud2
Function at 0x14001d510
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x14000de75
cmp rdx, 4
jae 0x14000de78
xor eax, eax
mov r8, rcx
jmp 0x14000dfd4
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
lea rax, [r8 - 4]
mov r9, rax
shr r9, 2
inc r9
test rax, rax
je 0x14000dff9
mov r10, r9
and r10, 0xfffffffffffffffe
pxor xmm0, xmm0
xor r11d, r11d
movdqa xmm2, xmmword [0x140066110]
movdqa xmm3, xmmword [0x140066120]
pxor xmm1, xmm1
nop dword [rax + rax]
movzx eax, word [rcx + r11]
movd xmm4, eax
movzx eax, word [rcx + r11 + 2]
movd xmm5, eax
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm4, xmm0
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm0, xmm5, 0xd4
pshufd xmm5, xmm0, 0xd4
pand xmm5, xmm3
paddq xmm5, xmm1
movzx eax, word [rcx + r11 + 4]
movd xmm0, eax
movzx eax, word [rcx + r11 + 6]
movd xmm1, eax
pcmpgtb xmm0, xmm2
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0xd4
pshufd xmm0, xmm0, 0xd4
pand xmm0, xmm3
paddq xmm0, xmm4
pcmpgtb xmm1, xmm2
punpcklbw xmm1, xmm1
pshuflw xmm1, xmm1, 0xd4
pshufd xmm1, xmm1, 0xd4
pand xmm1, xmm3
paddq xmm1, xmm5
add r11, 8
add r10, 0xfffffffffffffffe
jne 0x14000dec0
test r9b, 1
je 0x14000dfba
movzx eax, word [rcx + r11]
movd xmm2, eax
movzx eax, word [rcx + r11 + 2]
movd xmm3, eax
movdqa xmm4, xmmword [0x140066110]
pcmpgtb xmm2, xmm4
punpcklbw xmm2, xmm2
pshuflw xmm2, xmm2, 0xd4
pshufd xmm2, xmm2, 0xd4
movdqa xmm5, xmmword [0x140066120]
pand xmm2, xmm5
paddq xmm0, xmm2
pcmpgtb xmm3, xmm4
punpcklbw xmm3, xmm3
pshuflw xmm2, xmm3, 0xd4
pshufd xmm2, xmm2, 0xd4
pand xmm2, xmm5
paddq xmm1, xmm2
paddq xmm0, xmm1
pshufd xmm1, xmm0, 0xee
paddq xmm1, xmm0
movq rax, xmm1
cmp r8, rdx
je 0x14000dff8
add r8, rcx
add rcx, rdx
nop word [rax + rax]
xor edx, edx
cmp byte [r8], 0xc0
lea r9, [r8 + 1]
setge dl
add rax, rdx
mov r8, r9
cmp r9, rcx
jne 0x14000dfe0
ret
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
test r9b, 1
jne 0x14000df63
jmp 0x14000dfba
cmp rdx, 0x20
jae 0x14001d51b
jmp 0x14000de60
jmp fcn.14000d7c0
Function at 0x140024330
Capabilities:
Link many functions at runtime

Disassembly:
push rsi
sub rsp, 0x20
lea rcx, str.SHELL32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140024421
lea rdx, str.SetCurrentProcessExplicitAppUserModelID
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab450], rax
test rax, rax
je 0x140024421
lea rcx, str.PROPSYS.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140024421
lea rdx, str.PropVariantToString
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab458], rax
test rax, rax
je 0x140024421
lea rcx, str.COMBASE.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140024421
mov rsi, rax
lea rdx, str.RoGetActivationFactory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab460], rax
test rax, rax
je 0x140024421
lea rdx, str.WindowsCreateStringReference
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab468], rax
test rax, rax
je 0x140024421
lea rdx, str.WindowsGetStringRawBuffer
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab4c0], rax
test rax, rax
je 0x140024421
lea rdx, str.WindowsDeleteString
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab470], rax
add rsp, 0x20
pop rsi
ret
Function at 0x14002a930
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, r8
mov rdi, rdx
mov rax, qword [0x1400ab080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdx, r8
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14002aad6
lea r8, str.MicrosoftWindowsStart_MenuPrograms_
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
jne 0x14002aad6
movabs rax, 0x7fffffffffffffec
mov r15, qword [rdi + 0x10]
lea rcx, [r15 + rax]
add rcx, 0x19
cmp rcx, 3
jbe 0x14002aaf5
mov rdx, qword [rdi]
mov r13, qword [rdi + 0x18]
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
lea rbp, [r15 + 4]
mov r12d, 7
mov r14, rbx
cmp rbp, 8
jb 0x14002aa3d
mov rcx, rbp
or rcx, 7
cmp rcx, 0xb
mov r12d, 0xa
cmovae r12, rcx
movabs rcx, 0x7ffffffffffffffe
cmp r12, rcx
cmovae r12, rcx
lea rcx, [r12 + r12]
cmp r12, 0x7ff
mov qword [rsp + 0x28], rdx
jb 0x14002aa27
cmp r12, rax
jae 0x14002aafa
add rcx, 0x29
call fcn.140056c48
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14002aa33
add rcx, 2
call fcn.140056c48
mov r14, rax
mov qword [rsp + 0x30], r14
mov rdx, qword [rsp + 0x28]
cmp r13, 8
cmovae rdi, rdx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r12
lea r8, [r15 + r15]
mov rcx, r14
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x6b006e006c002e
mov qword [r14 + r15*2], rax
mov word [r14 + r15*2 + 8], 0
cmp qword [rsp + 0x48], 8
jb 0x14002aa81
mov rbx, qword [rsp + 0x30]
mov edx, 0x104
mov rcx, rsi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov rax, qword [rsp + 0x48]
cmp rax, 8
jb 0x14002aad6
mov rcx, qword [rsp + 0x30]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002aad1
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002aaff
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140057bf0
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14005aa20
call fcn.14005aa40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002cba0
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebp, r9d
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [0x1400ab080]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea r13, [rsp + 0xd0]
mov qword [rsp + 0x50], r13
call fcn.140001370
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], r13
xor esi, esi
mov qword [rsp + 0x20], rsi
xor edx, edx
xor r8d, r8d
mov r9, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
test eax, eax
mov r15d, 0xffffffff
cmovns r15d, eax
inc r15d
lea r12, [r15 + r15]
mov rcx, r12
call fcn.140056c40
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x50], r13
call fcn.140001370
mov rcx, qword [rax]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov r8, r15
mov r9, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
lea r15, str.Error:__s___S:_d_
mov rcx, r15
mov rdx, rdi
mov r8, rbx
mov r9d, ebp
call fcn.140059a40
cdqe
lea r12, [rax + 1]
lea r13, [rax + rax]
add r13, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl r13, rax
mov rcx, r13
call fcn.140056c40
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, r13
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov rcx, r14
mov rdx, r12
mov r8, 0xffffffffffffffff
mov r9, r15
call fcn.140059ac0
xor ecx, ecx
mov rdx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002cd19
mov rsi, rax
lea rax, [rsp + 0x58]
mov qword [rax], r14
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rsi
mov dx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, r14
call fcn.140056c84
mov rcx, rdi
call fcn.140056c84
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140057bf0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14002e120
Capabilities:
Delete registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1400ab080]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
lea rdi, [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], 0
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rdi
call fcn.14005ab20
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
cmp rax, rcx
jae 0x14002e2f3
lea rdx, [rax + 1]
mov qword [rsp + 0x58], rdx
cmp rcx, 8
jb 0x14002e199
mov rcx, qword [rsp + 0x48]
jmp 0x14002e19e
lea rcx, [rsp + 0x48]
mov word [rcx + rax*2], 0x5c
mov word [rcx + rax*2 + 2], 0
lea r15, [rsp + 0x28]
mov rcx, r14
mov rdx, r15
mov r8d, ebx
call fcn.14002d7e0
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
jb 0x14002e1ce
mov r15, qword [rsp + 0x28]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, rcx
sub rdx, rax
cmp rdx, r8
jb 0x14002e302
lea rbx, [rax + r8]
mov qword [rsp + 0x58], rbx
cmp rcx, 8
jb 0x14002e1fb
mov rdi, qword [rsp + 0x48]
lea rcx, [rdi + rax*2]
add r8, r8
mov rdx, r15
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx*2], 0
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x14002e258
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002e253
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002e31c
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
cmp qword [rsp + 0x60], 8
jb 0x14002e267
mov rdx, qword [rsp + 0x48]
jmp 0x14002e26c
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 [rsi], edx
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x14002e2d7
mov rcx, qword [rsp + 0x48]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002e2d2
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002e31c
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140057bf0
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
call fcn.14005d570
jmp 0x14002e1ab
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x48]
mov rdx, r8
mov r9, r15
call fcn.14005ac50
jmp 0x14002e210
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002eba0
Capabilities:
Access the windows event log
Delete registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rsi, rcx
mov rax, qword [0x1400ab080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
call fcn.1400304f0
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x14002ec08
mov dword [rsi], eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140057bf0
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
xor edi, edi
lea rbx, [rsp + 0x50]
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], 0
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rbx
call fcn.14005ab20
cmp qword [rsp + 0x88], 8
jb 0x14002ec66
mov r8, qword [rsp + 0x70]
jmp 0x14002ec6b
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x68], 8
jb 0x14002ec78
mov rbx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000001
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
test eax, eax
jne 0x14002ed2e
mov dword [rsi], edi
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x14002ecda
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002ecd5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002ee25
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
mov rax, qword [rsp + 0x88]
cmp rax, 8
jb 0x14002ebe1
mov rcx, qword [rsp + 0x70]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002ed24
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002ee25
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
jmp 0x14002ebe1
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov r14, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r15, str.0x_X_in__S:_d
lea r12, str.RegistryDeleteValue
mov rcx, r15
mov edx, edi
mov r8, r12
mov r9d, 0x140
call fcn.140059a40
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl rbp, rax
mov rcx, rbp
call fcn.140056c40
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x140
mov rcx, rbx
mov rdx, r13
mov r8, 0xffffffffffffffff
mov r9, r15
call fcn.140059ac0
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002ee18
mov r14, rax
lea rax, [rsp + 0xb8]
mov qword [rax], rbx
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, r14
mov dx, 1
xor r8d, r8d
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rbx
call fcn.140056c84
jmp 0x14002ec90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14003d020
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov al, 1
cmp byte [rcx + 8], 0
jne 0x14003d104
mov rsi, rcx
mov rdi, qword [rcx]
test rdi, rdi
jne 0x14003d070
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 0x14003d064
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], rdi
test rdi, rdi
je 0x14003d10b
mov rcx, rdi
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14003d0b7
cmp eax, 0x80
je 0x14003d0d9
test eax, eax
je 0x14003d0f9
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, 0xbb
jmp 0x14003d0d2
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rdx, str.Timed_out_waiting_for_registry_mutex
lea r8, str.Acquire
mov r9d, 0xae
call fcn.14002cba0
jmp 0x14003d0fd
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rdx, str.Found_abandoned_registry_mutex._Continuing...
lea r8, str.Acquire
mov r9d, 0xb5
call fcn.14002cba0
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, 0xa4
call fcn.14002cba0
xor eax, eax
jmp 0x14003d104
Function at 0x14003dda0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rax, qword [0x1400ab080]
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 0x14003de8f
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 0x14003de84
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 0x14003de94
mov ebx, 2
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140057bf0
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
Function at 0x140056520
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r14, qword [0x1400ab588]
test r14, r14
jne 0x140056671
lea rcx, [0x14007e795]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x140056588
mov rsi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056588
mov rbx, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056588
mov rsi, rax
mov r15d, 1
jmp 0x140056616
lea rcx, [0x14007e750]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x140056680
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056680
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056680
mov rsi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140056680
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
mov rax, rbx
call qword [0x1400af010]
test eax, eax
jne 0x140056680
mov rbx, qword [rsp + 0x28]
xor r15d, r15d
mov ecx, 0x20
mov edx, 8
call fcn.140018180
test rax, rax
je 0x140056685
mov r14, rax
mov qword [rax], r15
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
xor eax, eax
lock cmpxchg qword [0x1400ab588], r14
je 0x140056671
mov rsi, rax
cmp qword [r14], 0
jne 0x14005665b
mov rcx, qword [r14 + 8]
call sub.KERNEL32.dll_CloseHandle
mov edx, 0x20
mov r8d, 8
mov rcx, r14
call fcn.140018210
mov r14, rsi
mov rax, r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140065340
mov ecx, 0x20
mov edx, 8
call fcn.140058e80
int3