joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a480
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00447ae0]
call qword [sym.imp.kernel32.dll_EnterCriticalSection]
mov rbx, qword [0x00447ac0]
test rbx, rbx
je 0x43a4d4
mov rdi, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rsi, qword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x43a4cb
test r12, r12
je 0x43a4cb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x43a4b0
lea rcx, [0x00447ae0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.kernel32.dll_LeaveCriticalSection]

Function at 0x43a810
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00441f30]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x43a889
mov rcx, r10
call fcn.0043a6e0
test eax, eax
je 0x43a889
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x43a886
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x43a87d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x43a889
add r8, 0x28
cmp r8, r9
jne 0x43a868
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140017434
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x1400211a8], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1400211b8]
jne 0x140017481
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x1400211e0], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1400211a8], 1
mov ecx, dword [0x1400211e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x140017556
mov rcx, qword [0x1400204bc]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140017581
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400211b0]
test rax, rax
je 0x1400174d1
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1400211b0], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14001759c]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x1400211e0]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1400204bc]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140017581
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x140001930
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000197a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000197a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000197a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000197a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000197a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000197c
xor al, al
add rsp, 0x28
ret
Function at 0x14000edc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x14000ee3a
mov r11, rdx
mov rdx, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rbx, r11
movzx edi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x14000ee30
cmp r10, rax
jb 0x14000eecd
cmp r10, rdx
ja 0x14000eee1
add rax, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14000ee32
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x14000ee10
jmp 0x14000eea2
ja 0x14000ee3a
mov rax, r10
cmp r11, r8
jne 0x14000ede0
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14000eea6
mov rsi, qword [rsp + 0x78]
add rdx, rsi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [rsi + 1]
movzx edi, byte [rsi]
test dil, dil
js 0x14000ee80
mov rsi, rbx
sub ecx, edi
jns 0x14000ee99
jmp 0x14000eea8
cmp rbx, rdx
je 0x14000eeb3
movzx ebp, byte [rsi + 1]
add rsi, 2
and edi, 0x7f
shl edi, 8
or edi, ebp
sub ecx, edi
js 0x14000eea8
xor al, 1
cmp rsi, rdx
jne 0x14000ee60
jmp 0x14000eea8
xor eax, eax
jmp 0x14000eea8
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140066d49]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400588d0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, rax
mov rdx, r10
call fcn.140058d40
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140058d30
ud2
Function at 0x140013c90
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 0x140013d30
jmp 0x140013d1f
jae 0x140013dee
cmp r8, 0x201
jae 0x140013d30
lea rbx, [rbp - 0x58]
mov r14d, 0x200
mov rsi, r8
jmp 0x140013d87
sub r8, rdi
sub r13, rdi
cmp r13, r8
jae 0x140013d5f
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 0x140013daf
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140013e56
mov r8d, r15d
cmp rsi, r8
jne 0x140013d10
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140013e79
add rsi, rsi
mov eax, 0xffffffff
cmp rsi, rax
cmovae rsi, rax
mov r8, rsi
cmp r8, 0x201
jb 0x140013d1f
jmp 0x140013d30
cmp r14, r8
jb 0x140013e93
lea rcx, [rbp + 0x3a8]
mov rdx, rbx
call fcn.140015430
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 0x140013e3f
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 0x140013e27
jmp 0x140013e3f
lea rcx, [0x140068de3]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400588d0
jmp 0x140013ea8
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140058d30
ud2
Function at 0x140015d10
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 0x140015d43
test ecx, ecx
jne 0x140015d92
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140015d50
test ecx, ecx
jne 0x140015d92
mov rcx, rdi
call fcn.140015bf0
movzx r10d, al
test bl, bl
jne 0x140015d99
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x140015d86.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x140015f0c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x140015d86.2
xor r10d, r10d
test bl, bl
je 0x140015d60
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140015eee
mov r11, qword [rdi]
lea r9, [r11 + rcx]
cmp rdx, rcx
jne 0x140015dcb
movzx r8d, byte [rdi + 0x10]
xor edi, edi
jmp 0x140015e48
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 0x140015e10
nop dword [rax + rax]
cmp byte [rax], 0x5c
je 0x140015e2b
inc rsi
dec rax
cmp rsi, 1
jne 0x140015df0
jmp 0x140015e48
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x140015e2b
cmp ebx, 0x5c
je 0x140015e2b
inc rsi
dec rax
cmp rsi, 1
jne 0x140015e10
jmp 0x140015e48
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x140015efc
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x140015e72
mov al, 9
cmp rdx, 2
je 0x140015e76
cmp rdx, 1
jne 0x140015e86
cmp byte [r9], 0x2e
jne 0x140015e86
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140015e86
mov al, 0xa
jmp 0x140015e86
cmp byte [r9], 0x2e
jne 0x140015e86
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.0x140015d86.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.0x140015d86.2
mov esi, 2
jmp case.0x140015d86.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 0x14001d600
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x14000df65
cmp rdx, 4
jae 0x14000df68
xor eax, eax
mov r8, rcx
jmp 0x14000e0c4
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 0x14000e0e9
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 0x14000dfb0
test r9b, 1
je 0x14000e0aa
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 0x14000e0e8
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 0x14000e0d0
ret
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
test r9b, 1
jne 0x14000e053
jmp 0x14000e0aa
cmp rdx, 0x20
jae 0x14001d60b
jmp 0x14000df50
jmp fcn.14000d8b0
Function at 0x140024420
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 0x140024511
lea rdx, str.SetCurrentProcessExplicitAppUserModelID
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab450], rax
test rax, rax
je 0x140024511
lea rcx, str.PROPSYS.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140024511
lea rdx, str.PropVariantToString
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab458], rax
test rax, rax
je 0x140024511
lea rcx, str.COMBASE.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140024511
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 0x140024511
lea rdx, str.WindowsCreateStringReference
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab468], rax
test rax, rax
je 0x140024511
lea rdx, str.WindowsGetStringRawBuffer
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ab4c0], rax
test rax, rax
je 0x140024511
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 0x14002aa20
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 0x14002abc6
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 0x14002abc6
movabs rax, 0x7fffffffffffffec
mov r15, qword [rdi + 0x10]
lea rcx, [r15 + rax]
add rcx, 0x19
cmp rcx, 3
jbe 0x14002abe5
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 0x14002ab2d
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 0x14002ab17
cmp r12, rax
jae 0x14002abea
add rcx, 0x29
call fcn.140056c48
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14002ab23
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 0x14002ab71
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 0x14002abc6
mov rcx, qword [rsp + 0x30]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002abc1
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002abef
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 0x14002cc90
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.140001120
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.140001120
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 0x14002ce09
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 0x14002e210
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 0x14002e3e3
lea rdx, [rax + 1]
mov qword [rsp + 0x58], rdx
cmp rcx, 8
jb 0x14002e289
mov rcx, qword [rsp + 0x48]
jmp 0x14002e28e
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.14002d8d0
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
jb 0x14002e2be
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 0x14002e3f2
lea rbx, [rax + r8]
mov qword [rsp + 0x58], rbx
cmp rcx, 8
jb 0x14002e2eb
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 0x14002e348
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002e343
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002e40c
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
cmp qword [rsp + 0x60], 8
jb 0x14002e357
mov rdx, qword [rsp + 0x48]
jmp 0x14002e35c
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 0x14002e3c7
mov rcx, qword [rsp + 0x48]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002e3c2
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002e40c
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 0x14002e29b
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x48]
mov rdx, r8
mov r9, r15
call fcn.14005ac50
jmp 0x14002e300
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002ec90
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.1400305e0
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x14002ecf8
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 0x14002ed56
mov r8, qword [rsp + 0x70]
jmp 0x14002ed5b
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x68], 8
jb 0x14002ed68
mov rbx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000001
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
test eax, eax
jne 0x14002ee1e
mov dword [rsi], edi
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x14002edca
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002edc5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002ef15
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
mov rax, qword [rsp + 0x88]
cmp rax, 8
jb 0x14002ecd1
mov rcx, qword [rsp + 0x70]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002ee14
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002ef15
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
jmp 0x14002ecd1
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 0x14002ef08
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 0x14002ed80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3