joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a1a0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x9d0]
sub rsp, 0xad0
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rbp + 0x9c0], rax
mov rsi, qword [rbp + 0xa20]
mov rcx, rdx
mov rbx, r9
mov rdi, r8
call fcn.14002fb20
test rax, rax
je 0x14002a319
xor eax, eax
mov dword [rsp + 0x40], 0x70
xorps xmm0, xmm0
mov qword [rbp - 0x5c], rax
mov dword [rbp - 0x54], eax
xor r14d, r14d
mov eax, dword [rbp + 0xa28]
xor r9d, r9d
mov dword [rsp + 0x70], eax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov dword [rsp + 0x44], 0x100
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov qword [rsp + 0x48], r14
movups xmmword [rsp + 0x74], xmm0
mov qword [rsp + 0x50], rdi
movups xmmword [rbp - 0x7c], xmm0
mov qword [rsp + 0x58], rbx
movups xmmword [rbp - 0x6c], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x30], 0x400
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath]
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea r9, str.open
lea rax, [rbp + 0x1c0]
lea r8, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea edx, [r14 + 9]
call qword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jne 0x14002a319
mov r8d, dword [rsp + 0x30]
lea rdx, str.WinWord
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x14002a2ff
mov r8d, dword [rsp + 0x30]
lea rdx, str.Excel
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x14002a2ff
mov r8d, dword [rsp + 0x30]
lea rdx, str.OUTLOOK
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x14002a2ff
mov r8d, dword [rsp + 0x30]
lea rdx, str.POWERPNT
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14002a319
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov ecx, 0x80004005
cmovne ecx, r14d
mov eax, ecx
jmp 0x14002a31e
mov eax, 0x80004005
mov rcx, qword [rbp + 0x9c0]
xor rcx, rsp
call fcn.140039850
add rsp, 0xad0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14002a340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rcx, rdx
mov rbx, r8
call fcn.14002fb20
test rax, rax
jne 0x14002a372
mov eax, 0x80004005
jmp 0x14002a3a6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14002a393
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
jmp 0x14002a3a4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140039850
add rsp, 0x280
pop rbx
ret
Function at 0x14002b4c0
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x8b0
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov rbp, rdx
lea r8, [0x14003e2f0]
mov edx, 0x104
mov rsi, rcx
mov ebx, 1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x14003e2f0]
mov edx, 0x104
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, rsi
lea rcx, [rsp + 0x690]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x14003e3a0]
mov edx, 0x104
lea rcx, [rsp + 0x690]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x690]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002b566
xor eax, eax
jmp 0x14002b6c0
test rdi, rdi
je 0x14002b6b5
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14002b6b5
mov r8, rsi
lea rcx, [rsp + 0x480]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x4c]
mov edx, 0x104
lea rcx, [rsp + 0x480]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, rbp
lea rcx, [rsp + 0x270]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x4c]
mov edx, 0x104
lea rcx, [rsp + 0x270]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002b608
and eax, 0xfffffffe
lea rcx, [rsp + 0x270]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [rsp + 0x20], 0x10
jne 0x14002b636
xor r8d, r8d
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor ecx, ecx
test eax, eax
cmovne ecx, ebx
mov ebx, ecx
jmp 0x14002b570
movzx ecx, word [rsp + 0x4c]
movzx eax, word [rsp + 0x4e]
cmp cx, 0x2e
jne 0x14002b665
test ax, ax
je 0x14002b570
cmp cx, cx
jne 0x14002b665
cmp ax, cx
jne 0x14002b665
cmp word [rsp + 0x50], 0
je 0x14002b570
xor edx, edx
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test eax, eax
jne 0x14002b691
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14002b570
mov ebx, 1
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x480]
call fcn.14002b4c0
test eax, eax
jne 0x14002b570
xor ebx, ebx
jmp 0x14002b570
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.140039850
mov rbx, qword [rsp + 0x8e0]
add rsp, 0x8b0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002b6f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rsi
push rdi
sub rsp, 0x88
lea rax, [rsp + 0x68]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002b8a1
mov ecx, 0x1fe
mov qword [rsp + 0xa0], rbx
mov dword [rsp + 0xb0], 0xff
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14002b88e
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0xb0]
mov qword [rsp + 0x80], rbp
mov r8, rbx
xor ebp, ebp
xor edx, edx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14002b87d
nop
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x58], rbp
xor r9d, r9d
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x48], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14002b87d
mov rcx, qword [rsp + 0x68]
mov rdx, rbx
call fcn.14002b6f0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rbp
xor r9d, r9d
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x48], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14002b87d
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x60], eax
je 0x14002b87d
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0xb0]
mov qword [rsp + 0x30], rbp
mov r8, rbx
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0xb0], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14002b790
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0xa0]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x88
pop rdi
pop rsi
ret
Function at 0x14002bd00
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov eax, r8d
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x50], r9
mov rax, qword [rsp + 0x60]
mov qword [rcx + 0x58], rax
mov rax, qword [rsp + 0x68]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x70]
mov qword [rcx + 0x68], rax
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0x70], rax
mov rax, qword [rsp + 0x80]
mov qword [rcx + 0x78], rax
mov rax, qword [rsp + 0x88]
mov qword [rcx + 0x48], rax
test edx, edx
setne al
mov byte [rcx + 0x3c], al
lea rcx, str.MAPI32.DLL
call fcn.14002f710
mov qword [rdi + 0x30], rax
test rax, rax
je 0x14002be7c
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400395d4
mov rsi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14002bdca
lea rdx, str.MAPIFreeBuffer
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.MAPIAllocateBuffer
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, vtable.MapiAllocator.0
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rbx
jmp 0x14002bdcc
xor esi, esi
mov qword [rdi + 0x28], rsi
lea rdx, str.MAPIInitialize
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 8], rax
lea rdx, str.MAPIUninitialize
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x10], rax
lea rdx, str.MAPILogonEx
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x18], rax
lea rdx, str.HrQueryAllRows
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x20], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x14002be7c
cmp qword [rdi + 0x10], 0
je 0x14002be7c
cmp qword [rdi + 0x18], 0
je 0x14002be7c
xor ecx, ecx
call qword [0x14003c8b8]
mov dword [rdi + 0x38], eax
test eax, eax
js 0x14002be83
mov qword [rsp + 0x20], rdi
mov r9d, 0x63
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rax, qword [rdi + 0x18]
call qword [0x14003c8b8]
mov dword [rdi + 0x38], eax
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rdi + 0x38], 0x80040102
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14002f710
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x48], rdi
cmp dword [0x14004daa4], edi
jne 0x14002f7df
mov eax, dword [0x14004daa0]
test eax, eax
jne 0x14002f7df
mov esi, edi
mov edx, dword [0x14004daac]
test edx, edx
je 0x14002f773
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14004daa0]
mov edx, dword [0x14004daac]
test eax, eax
je 0x14002f780
mov ebx, 1
mov esi, ebx
jmp 0x14002f7ae
test edx, edx
jne 0x14002f792
call fcn.140025a50
test eax, eax
jne 0x14002f792
lea ebx, [rax + 1]
jmp 0x14002f7ae
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ebx, 1
test eax, eax
cmovne esi, ebx
test esi, esi
jne 0x14002f7e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14002f7cf
cmp eax, 0x78
je 0x14002f7cf
cmp eax, 1
je 0x14002f7cf
cmp eax, 0x32
jne 0x14002f7d7
mov dword [0x14004daa0], ebx
mov esi, ebx
test esi, esi
jne 0x14002f7e4
mov ebx, edi
jmp 0x14002f7e4
mov ebx, 1
test ebx, ebx
jne 0x14002f800
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov qword [rsp + 0x20], rax
cmp dword [0x14004daa4], 0
je 0x14002f823
cmp dword [0x14004daa0], 0
jne 0x14002f850
mov ebx, edi
test rsi, rsi
sete bl
test ebx, ebx
je 0x14002f837
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14002f850
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14002f7ea
Function at 0x14002f880
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
xor esi, esi
call fcn.140001830
mov ebx, eax
test eax, eax
jne 0x14002f965
mov rcx, qword [r14]
lea rdx, [0x1400016a0]
xor r8d, r8d
call fcn.1400019d0
mov ebx, eax
test eax, eax
jne 0x14002f965
mov rcx, qword [r14]
lea rdx, [0x1400480b0]
xor r8d, r8d
call fcn.140001a50
mov ebx, eax
test eax, eax
jne 0x14002f965
mov esi, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
mov rdi, rax
sete bl
test rax, rax
je 0x14002f961
xorps xmm0, xmm0
mov qword [rsp + 0x48], 0
lea r9d, [rsi - 0xf]
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x48]
xor edx, edx
movups xmmword [rax], xmm0
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14002f961
mov rcx, qword [rsp + 0x48]
mov r8, rdi
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14002f961
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [r14]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
call fcn.140001ab0
mov ebx, eax
test ebx, ebx
je 0x14002f971
mov rcx, r14
call fcn.140001960
test esi, esi
je 0x14002f97e
mov r8d, esi
xor edx, edx
mov rcx, rdi
call fcn.14003a810
test rdi, rdi
je 0x14002f98c
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14002fef0
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
lea ecx, [rdi + 0x18]
call fcn.1400395d4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx], rax
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea ecx, [rdi + 0x18]
call fcn.1400395d4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 0x10], rax
lea rdx, str.HKEY_CURRENT_USERSoftwareAdobeAdobe_AcrobatDC
mov rcx, rbx
call fcn.140030a80
lea rdx, str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_ReaderDC
mov rcx, rbx
call fcn.140030a80
lea rdx, str.HKEY_CURRENT_USERSoftwareAdobeAdobe_SynchronizerDC
mov rcx, rbx
call fcn.140030a80
mov word [rsp + 0x30], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x32]
call fcn.14003a810
xor r9d, r9d
lea r8d, [rdi + 0x1a]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14002ffcd
lea r8, str.AdobeAcrobatDC
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140030730
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140030009
lea r8, str.AdobeAcrobatDC
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140030730
xor r9d, r9d
lea r8d, [r9 + 0x1a]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140030045
lea r8, str.AdobeLinguisticsDictionaries
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140030730
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov rcx, rbx
call fcn.140030850
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDown
mov rcx, rbx
call fcn.140030850
nop
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140039850
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x140030850
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rbx, rcx
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140030a52
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x890], rdi
lea rdx, str.cAllowedRegistryPaths
mov dword [rsp + 0x30], 0x400
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
test eax, eax
jne 0x140030973
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.tWhiteList
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140030968
mov eax, dword [rsp + 0x30]
add rax, rax
cmp rax, 0x800
jae 0x140030a78
lea r8, [rsp + 0x38]
mov word [rsp + rax + 0x60], di
lea rdx, [0x14003e9d0]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov rdx, rax
mov rcx, rbx
call fcn.140030a80
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, [0x14003e9d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x140030944
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.cAllowedFolderPaths
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140030a3f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.tWhiteList
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], 0x400
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140030a34
mov eax, dword [rsp + 0x30]
add rax, rax
cmp rax, 0x800
jae 0x140030a72
lea r8, [rsp + 0x38]
mov word [rsp + rax + 0x60], di
lea rdx, [0x14003e9d0]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
nop dword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140030730
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, [0x14003e9d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x140030a10
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x890]
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140039850
mov rbx, qword [rsp + 0x898]
add rsp, 0x870
pop rbp
ret
call fcn.140039bf4
int3
call fcn.140039bf4
int3
Function at 0x140035204
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x60
xor r9d, r9d
mov rbx, rcx
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 8], eax
cmp eax, 0xffffffff
je 0x140035242
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, rbx
add rsp, 0x60
pop rbx
ret
lea rdx, str.unable_to_create_tls_index
lea rcx, [rsp + 0x20]
call fcn.1400316d8
lea rdx, [0x1400454c8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400352b4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400352ee
add dword [rax], 0xffffffff
jne 0x1400352e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140035311
add rsp, 0x60
pop rbx
ret
lea rdx, str.likely_unbalanced_enter_exit_monitor_pair__extra_exit_
lea rcx, [rsp + 0x20]
call fcn.1400316d8
lea rdx, [0x1400454c8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.unable_to_set_tls_value
lea rcx, [rsp + 0x20]
call fcn.1400316d8
lea rdx, [0x1400454c8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140035334
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov ecx, dword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140035351
cmp dword [rax], 0
jne 0x14003535b
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rbx
call fcn.140035424
inc dword [rax]
add rsp, 0x20
pop rbx
ret

Function at 0x14003536c
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140035378
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140035391
mov eax, dword [rax]
test eax, eax
je 0x1400353c0
mov rcx, rbx
call fcn.1400352b4
mov ecx, dword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400353b0
cmp dword [rax], 0
jne 0x1400353ba
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x60
pop rbx
ret
lea rdx, str.must_own_monitor_prior_to_calling_exit__
lea rcx, [rsp + 0x20]
call fcn.1400316d8
lea rdx, [0x1400454c8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140035378
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140035378
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140035391
mov eax, dword [rax]
test eax, eax
je 0x1400353c0
mov rcx, rbx
call fcn.1400352b4
mov ecx, dword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400353b0
cmp dword [rax], 0
jne 0x1400353ba
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x60
pop rbx
ret
lea rdx, str.must_own_monitor_prior_to_calling_exit__
lea rcx, [rsp + 0x20]
call fcn.1400316d8
lea rdx, [0x1400454c8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140035424
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140035469
lea edx, [rax + 4]
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140035477
and dword [rax], 0
mov rdx, rax
mov ecx, dword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14003549a
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rdx, str.unable_to_create_tls_data
lea rcx, [rsp + 0x20]
call fcn.1400316d8
lea rdx, [0x1400454c8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.unable_to_set_tls_value
lea rcx, [rsp + 0x20]
call fcn.1400316d8
lea rdx, [0x1400454c8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140035990
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400359b3
call fcn.1400384b0
and qword [rbx + 8], 0
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400389b0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140032b08
xor ebx, ebx
cmp qword [rdi + 8], rbx
je 0x1400389ee
mov rcx, rdi
call fcn.140032b08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400389ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne bl
mov eax, ebx
jmp 0x1400389f0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret