joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d1370
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d2450
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d1d72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f4108]
test eax, eax
je 0x2fc4d1e0a
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f4110]
mov qword [rbp - 8], rax
jmp 0x2fc4d1dee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d1de2
cmp qword [rbp - 0x10], 0
je 0x2fc4d1de2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d1da8
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d1e0b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d1f10
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d1f38
mov eax, 0
jmp 0x2fc4d1f86
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d1f61
mov eax, 0
jmp 0x2fc4d1f86
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d1f81
mov eax, 0
jmp 0x2fc4d1f86
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d1f8c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d200a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2001
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d2001
mov rax, qword [rbp - 8]
jmp 0x2fc4d201f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d1fd4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000c080
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14000c330
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14000cfb0
nop
lea rax, [0x14000d030]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140003be0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14000c12d
lea rcx, [rsp + 0x40]
call fcn.14000c460
jmp 0x14000c145
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.14000c490
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x58
ret
Function at 0x14000dd40
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x320
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x310], rax
lea rdx, [0x140025140]
lea rcx, [0x140025160]
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000de78
lea r8, [rsp + 0x60]
mov rdx, qword [str.SOFTWAREAdobeAcrobat_DistillerDCInstallPath]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000de78
mov dword [rsp + 0xf0], 0x208
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xf4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000de6d
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
lea rdx, str.AcroTray.exe
lea rcx, [rsp + 0x100]
call fcn.14000ab00
mov dword [rsp + 0x80], 0x70
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x100]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xb0], 1
mov dword [rsp + 0x84], 0x100
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x1400251a0]
lea rcx, str.AcrobatTrayIcon
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000dea0
xor eax, eax
jmp 0x14000df56
mov eax, dword [rsp + 0x330]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x338], 0
jne 0x14000decf
mov qword [rsp + 0x48], 0
jmp 0x14000df2c
cmp dword [rsp + 0x340], 0
je 0x14000dee7
mov eax, dword [rsp + 0x340]
mov qword [rsp + 0x40], rax
jmp 0x14000df22
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x14000defd
mov rax, qword [rsp + 0x30]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x70], eax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 0x4a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x320
pop rdi
ret
Function at 0x140010bf0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rax, [rsp + 0x34]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400093b0
lea rax, [rax + rax + 2]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call fcn.1400093c0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x80]
call fcn.140009380
movzx eax, al
test eax, eax
je 0x140010c59
mov qword [rsp + 0x40], 0
jmp 0x140010c6b
mov rcx, qword [rsp + 0x80]
call fcn.1400093c0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400093c0
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call fcn.140003330
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.140005280
nop
mov rcx, qword [rsp + 0x78]
call fcn.140009460
nop
mov rcx, qword [rsp + 0x80]
call fcn.140009460
nop
mov rcx, qword [rsp + 0x88]
call fcn.140009460
add rsp, 0x68
ret

Function at 0x140010cf0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400093c0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400093c0
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140003330
mov edx, dword [rax]
lea rcx, [rsp + 0x24]
call fcn.140005280
nop
mov rcx, qword [rsp + 0x58]
call fcn.140009460
nop
mov rcx, qword [rsp + 0x60]
call fcn.140009460
add rsp, 0x48
ret
Function at 0x140015610
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140015679
jmp 0x140015741
cmp qword [rsp + 0x48], 0
jne 0x140015686
jmp 0x140015741
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0x100
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 0
je 0x1400156e4
jmp 0x140015741
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x1400156f7
mov rax, qword [rsp + 0x30]
cmp rax, 0x26
je 0x14001571a
jmp 0x140015741
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jge 0x140015733
jmp 0x140015741
mov al, 1
jmp 0x140015743
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x170
pop rdi
ret
Function at 0x140015a30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov eax, 2
mov rcx, qword [rsp + 0x50]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001f9c8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xd0]
shl rax, 1
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov rcx, qword [rsp + 0x60]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0xd0]
shl rax, 1
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x30], 0x20019
cmp dword [rsp + 0xc8], 0
je 0x140015ae5
mov eax, dword [rsp + 0x30]
bts eax, 8
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140015bb0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x84]
xor r8d, r8d
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140015b8f
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x140015b61
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0xd0]
dec ecx
mov ecx, ecx
shl rcx, 1
cmp rax, rcx
jb 0x140015b9d
mov qword [rsp + 0xc0], 0
jmp 0x140015bb0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14001f6f0
cmp qword [rsp + 0x48], 0
jne 0x140015be2
mov qword [rsp + 0x70], 0
jmp 0x140015bf5
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x90
pop rdi
ret
Function at 0x140015c10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ecx, 0x208
call fcn.14001f9c8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x30], 0x20019
cmp dword [rsp + 0xb0], 0
je 0x140015c90
mov eax, dword [rsp + 0x30]
bts eax, 8
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140015cf7
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140015cf7
mov dword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14001f6f0
cmp qword [rsp + 0x40], 0
jne 0x140015d29
mov qword [rsp + 0x50], 0
jmp 0x140015d3c
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x80
pop rdi
ret
Function at 0x140015d60
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x50], 0xf003f
cmp dword [rsp + 0xb8], 0
je 0x140015dc8
mov eax, dword [rsp + 0x50]
bts eax, 8
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x50]
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140015e97
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x64]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x58], 1
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x88
ret

Function at 0x140015eb0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ecx, 0x208
call fcn.14001f9c8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140015f52
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140015f61
mov dword [rsp + 0x34], 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14001f6f0
cmp qword [rsp + 0x40], 0
jne 0x140015f93
mov qword [rsp + 0x50], 0
jmp 0x140015fa6
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x70
pop rdi
ret
Function at 0x140016080
Capabilities:
Query environment variable

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
lea rcx, str.TEMP
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jbe 0x1400160b9
mov dword [rsp + 0x20], 0
jmp 0x1400160c1
mov dword [rsp + 0x20], 0x80070057
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
add rsp, 0x38
ret

Function at 0x1400160e0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push rdi
sub rsp, 0x8c0
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x490]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x6a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [0x140025c90]
lea rcx, [rsp + 0x6a0]
call fcn.14000aa90
mov dword [rsp + 0x30], 0x104
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x280]
mov qword [rsp + 0x20], rax
lea r9, str.KillSwitchOverrideUrlFolderWatcherSynchronizer
lea r8, [rsp + 0x6a0]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x60]
call fcn.140015a30
lea rax, [rsp + 0x280]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x1400161a6
mov rax, qword [rsp + 0x48]
test rax, rax
jbe 0x1400161dd
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x490]
call fcn.14000aa90
jmp 0x1400161f1
lea rdx, str.https:__armmf.adobe.com_manifest_arm_manifests_win_DC_acrobat_Logging_killswitch_cs_fw.txt
lea rcx, [rsp + 0x490]
call fcn.14000aa90
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.140016080
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x140016293
lea rdx, str._adnme_ks_cs.txt
lea rcx, [rsp + 0x70]
call fcn.14000ab00
lea rcx, [rsp + 0x70]
call fcn.140016000
test eax, eax
je 0x140016246
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x490]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x14001627a
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x70]
call fcn.140016000
test eax, eax
je 0x140016293
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x8c0
pop rdi
ret
Function at 0x140016620
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x1048
call fcn.140020440
sub rsp, rax
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea r8, [rsp + 0x28]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x14001666d
xor eax, eax
jmp 0x1400166f1
mov eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], 0
jmp 0x140016693
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jae 0x1400166ef
mov eax, dword [rsp + 0x20]
cmp dword [rsp + rax*4 + 0x30], 0
je 0x1400166ed
mov eax, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x1058]
mov rdx, qword [rsp + 0x1050]
mov ecx, dword [rsp + rax*4 + 0x30]
call fcn.1400162b0
test eax, eax
je 0x1400166ed
cmp qword [rsp + 0x1060], 0
je 0x1400166e6
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1060]
mov eax, dword [rsp + rax*4 + 0x30]
mov dword [rcx], eax
mov eax, 1
jmp 0x1400166f1
jmp 0x140016689
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x1048
ret

Function at 0x140018070
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x3c], 1
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0xff
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, [0x140027190]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140018108
cmp dword [rsp + 0x3c], 1
jne 0x140018108
mov dword [rsp + 0x30], 1
jmp 0x140018110
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x160
pop rdi
ret