joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015f50
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 0x140015f83
test ecx, ecx
jne 0x140015fd2
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140015f90
test ecx, ecx
jne 0x140015fd2
mov rcx, rdi
call fcn.140015e30
movzx r10d, al
test bl, bl
jne 0x140015fd9
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x140015fc6.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x14001614c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x140015fc6.2
xor r10d, r10d
test bl, bl
je 0x140015fa0
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14001612e
mov r11, qword [rdi]
lea r9, [r11 + rcx]
movzx r8d, byte [rdi + 0x10]
cmp rdx, rcx
jne 0x14001600b
xor edi, edi
jmp 0x140016088
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x140016050
nop word cs:[rax + rax]
cmp byte [rax], 0x5c
je 0x14001606b
inc rsi
dec rax
cmp rsi, 1
jne 0x140016030
jmp 0x140016088
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x14001606b
cmp ebx, 0x5c
je 0x14001606b
inc rsi
dec rax
cmp rsi, 1
jne 0x140016050
jmp 0x140016088
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x14001613c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x1400160b2
mov al, 9
cmp rdx, 2
je 0x1400160b6
cmp rdx, 1
jne 0x1400160c6
cmp byte [r9], 0x2e
jne 0x1400160c6
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400160c6
mov al, 0xa
jmp 0x1400160c6
cmp byte [r9], 0x2e
jne 0x1400160c6
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.0x140015fc6.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.0x140015fc6.2
mov esi, 2
jmp case.0x140015fc6.2
lea r8, str.library_std_srcpath.rs
call fcn.1400599a0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.1400599a0
ud2
Function at 0x14001dbb0
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x14000daa5
cmp rdx, 4
jae 0x14000daa8
xor eax, eax
mov r8, rcx
jmp 0x14000dc04
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 0x14000dc29
mov r10, r9
and r10, 0xfffffffffffffffe
pxor xmm0, xmm0
xor r11d, r11d
movdqa xmm2, xmmword [0x140065160]
movdqa xmm3, xmmword [0x140065170]
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 0x14000daf0
test r9b, 1
je 0x14000dbea
movzx eax, word [rcx + r11]
movd xmm2, eax
movzx eax, word [rcx + r11 + 2]
movd xmm3, eax
movdqa xmm4, xmmword [0x140065160]
pcmpgtb xmm2, xmm4
punpcklbw xmm2, xmm2
pshuflw xmm2, xmm2, 0xd4
pshufd xmm2, xmm2, 0xd4
movdqa xmm5, xmmword [0x140065170]
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 0x14000dc28
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 0x14000dc10
ret
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
test r9b, 1
jne 0x14000db93
jmp 0x14000dbea
cmp rdx, 0x20
jae 0x14001dbbb
jmp 0x14000da90
jmp fcn.14000d3f0
Function at 0x1400248e0
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 0x1400249d1
lea rdx, str.SetCurrentProcessExplicitAppUserModelID
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400aa430], rax
test rax, rax
je 0x1400249d1
lea rcx, str.PROPSYS.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400249d1
lea rdx, str.PropVariantToString
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400aa438], rax
test rax, rax
je 0x1400249d1
lea rcx, str.COMBASE.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400249d1
mov rsi, rax
lea rdx, str.RoGetActivationFactory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400aa440], rax
test rax, rax
je 0x1400249d1
lea rdx, str.WindowsCreateStringReference
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400aa448], rax
test rax, rax
je 0x1400249d1
lea rdx, str.WindowsGetStringRawBuffer
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400aa4a0], rax
test rax, rax
je 0x1400249d1
lea rdx, str.WindowsDeleteString
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400aa450], rax
add rsp, 0x20
pop rsi
ret
Function at 0x14002b4e0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, r8
mov rdi, rdx
mov rax, qword [0x1400aa050]
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 0x14002b64c
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 0x14002b64c
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], 0
mov rbx, qword [rdi + 0x10]
lea rdx, [rbx + 4]
cmp rdx, 8
jb 0x14002b6c2
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.14005b610
mov qword [r14 + 0x10], 0
mov rbx, qword [rdi + 0x10]
mov rax, qword [r14 + 0x18]
cmp qword [rdi + 0x18], 8
jb 0x14002b584
mov rdi, qword [rdi]
cmp rax, rbx
jb 0x14002b664
mov qword [rsp + 0x40], rbx
cmp rax, 8
jb 0x14002b59f
mov r14, qword [rsp + 0x30]
jmp 0x14002b5a4
lea r14, [rsp + 0x30]
lea r8, [rbx + rbx]
mov rcx, r14
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [r14 + rbx*2], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
sub rdx, rax
cmp rdx, 4
jb 0x14002b67e
lea rdx, [rax + 4]
mov qword [rsp + 0x40], rdx
cmp rcx, 8
jb 0x14002b5ea
mov rcx, qword [rsp + 0x30]
jmp 0x14002b5ef
lea rcx, [rsp + 0x30]
movabs rdx, 0x6b006e006c002e
mov qword [rcx + rax*2], rdx
mov word [rcx + rax*2 + 8], 0
cmp qword [rsp + 0x48], 8
jb 0x14002b613
mov r8, qword [rsp + 0x30]
jmp 0x14002b618
lea r8, [rsp + 0x30]
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov rax, qword [rsp + 0x48]
cmp rax, 8
jb 0x14002b64c
mov rcx, qword [rsp + 0x30]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14002b6a2
call fcn.140057960
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140058a80
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r9, rdi
call fcn.14005b730
jmp 0x14002b5ba
mov qword [rsp + 0x20], 4
lea r9, str..lnk
lea rcx, [rsp + 0x30]
mov edx, 4
call fcn.14005b730
jmp 0x14002b604
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14002b6cc
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x14002b647
mov eax, 7
jmp 0x14002b57a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002d220
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, 0x58
mov ebp, r9d
mov r13, r8
mov r12d, edx
mov r14, rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r15, str.0x_X_in__S:_d
mov rcx, r15
call fcn.14005a6d0
inc eax
movsxd rbx, eax
mov rsi, rbx
add rsi, rbx
mov rax, 0xffffffffffffffff
cmovb rsi, rax
mov rcx, rsi
call fcn.140057a8c
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r12d
mov rcx, rdi
mov rdx, rbx
mov r8, 0xffffffffffffffff
mov r9, r15
call fcn.14005a750
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002d302
mov rbx, rax
lea rax, [rsp + 0x48]
mov qword [rax], rdi
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, rbx
mov dx, 1
xor r8d, r8d
mov r9d, r12d
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rdi
call fcn.140057960
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140058a80
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14002d330
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 r12d, r9d
mov r15, r8
mov rsi, rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea r13, [rsp + 0xd0]
mov qword [rsp + 0x50], r13
call fcn.140002660
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], r13
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor edx, edx
xor r8d, r8d
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
test eax, eax
mov ebx, 0xffffffff
cmovns ebx, eax
inc ebx
lea rbp, [rbx + rbx]
mov rcx, rbp
call fcn.140057a8c
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x50], r13
call fcn.140002660
mov rcx, qword [rax]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov r8, rbx
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
lea r13, str.Error:__s___S:_d_
mov rcx, r13
mov rdx, rdi
mov r8, r15
mov r9d, r12d
call fcn.14005a6d0
inc eax
movsxd rbx, eax
mov rbp, rbx
add rbp, rbx
mov rax, 0xffffffffffffffff
cmovb rbp, rax
mov rcx, rbp
call fcn.140057a8c
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov rcx, rsi
mov rdx, rbx
mov r8, 0xffffffffffffffff
mov r9, r13
call fcn.14005a750
xor ecx, ecx
mov rdx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002d4a2
mov rbx, rax
lea rax, [rsp + 0x58]
mov qword [rax], rsi
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, rbx
mov dx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.140057960
mov rcx, rdi
call fcn.140057960
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140058a80
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14002f5b0
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.14005b880
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
cmp rax, rcx
jae 0x14002f75f
lea rdx, [rax + 1]
mov qword [rsp + 0x58], rdx
cmp rcx, 8
jb 0x14002f627
mov rcx, qword [rsp + 0x48]
jmp 0x14002f62c
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.14002ee30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14002f65c
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 0x14002f745
lea rsi, [rax + r8]
mov qword [rsp + 0x58], rsi
cmp rcx, 8
jb 0x14002f689
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 0x14002f6c8
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14002f76e
call fcn.140057960
cmp qword [rsp + 0x60], 8
jb 0x14002f6d7
mov rdx, qword [rsp + 0x48]
jmp 0x14002f6dc
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 0x14002f72a
mov rcx, qword [rsp + 0x48]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14002f791
call fcn.140057960
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140058a80
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.14005b730
jmp 0x14002f69e
lea rcx, [rsp + 0x48]
call fcn.14005d950
jmp 0x14002f639
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002f7b4
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
jmp 0x14002f6c3
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002f7b4
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
jmp 0x14002f725
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140030340
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.140032460
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x140030393
mov dword [rsi], eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140058a80
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.14005b880
cmp qword [rsp + 0x58], 8
jb 0x1400303f0
mov r8, qword [rsp + 0x40]
jmp 0x1400303f5
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x38], 8
jb 0x140030402
mov rbx, qword [rsp + 0x20]
mov rcx, 0xffffffff80000001
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
test eax, eax
je 0x14003043f
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.14002d220
mov dword [rsi], edi
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140030467
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140030496
call fcn.140057960
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x140030375
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x1400304b6
call fcn.140057960
jmp 0x140030375
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400304d6
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140030462
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400304d6
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x14003048c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400328a0
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.140032460
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x1400328fc
mov word [rsi], 0
mov dword [rsi + 4], eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140058a80
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.14005b880
mov dword [rsp + 0x38], 4
cmp qword [rsp + 0x78], 8
jb 0x140032970
mov r8, qword [rsp + 0x60]
jmp 0x140032975
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x58], 8
jb 0x140032982
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 0x1400329ec
mov ecx, 0
cmp eax, 2
je 0x1400329fc
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.14002d220
xor ecx, ecx
jmp 0x1400329fc
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 0x140032a28
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140032a57
call fcn.140057960
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x1400328de
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140032a77
call fcn.140057960
jmp 0x1400328de
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140032a97
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032a23
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140032a97
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032a4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140032aa0
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.140032460
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x140032afd
mov dword [rsi], eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140058a80
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.14005b880
movzx eax, bl
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x78], 8
jb 0x140032b73
mov r8, qword [rsp + 0x60]
jmp 0x140032b78
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x58], 8
jb 0x140032b85
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 0x140032bde
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.14002d220
mov dword [rsi], r14d
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x140032c07
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140032c36
call fcn.140057960
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x140032add
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140032c56
call fcn.140057960
jmp 0x140032add
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140032c76
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032c02
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140032c76
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032c2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140032c80
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.140032460
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x140032cdd
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov dword [rsi + 0x10], eax
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140058a80
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.14005b880
mov dword [rsp + 0x44], 8
cmp qword [rsp + 0x88], 8
jb 0x140032d57
mov r8, qword [rsp + 0x70]
jmp 0x140032d5c
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x68], 8
jb 0x140032d69
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 0x140032da9
cmp eax, 2
jne 0x140032dbe
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140032db5
mov rax, qword [rsp + 0x48]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov dword [rsi + 0x10], 0
jmp 0x140032df0
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.14002d220
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov dword [rsi + 0x10], edi
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x140032e16
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140032e48
call fcn.140057960
mov rax, qword [rsp + 0x88]
cmp rax, 8
jb 0x140032cbf
mov rcx, qword [rsp + 0x70]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x140032e68
call fcn.140057960
jmp 0x140032cbf
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140032e88
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032e11
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140032e88
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
jmp 0x140032e3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3