joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400876a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rcx, qword [rcx + 0x10]
mov rdi, r8
lea r8, [rsp + 0x38]
mov rbx, r9
call fcn.140089850
test al, al
jne 0x1400876d2
mov eax, 0x57
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x50], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140087722
cmp dword [rsp + 0x60], 4
jne 0x140087722
mov eax, dword [rsp + 0x30]
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x40
pop rdi
ret

Function at 0x140087740
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rcx, qword [rcx + 0x10]
mov rsi, r8
lea r8, [rsp + 0x60]
mov rdi, r9
call fcn.140089850
test al, al
je 0x140087849
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x140087849
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov dword [rsp + 0x50], ecx
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140087834
mov r8d, dword [rsp + 0x50]
mov dword [rbx], r8d
test rdi, rdi
je 0x140087822
lea ecx, [rax + 0x11]
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov qword [rdi], rax
test rax, rax
jne 0x1400877df
mov eax, 0x80004005
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
jne 0x140087822
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rax, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
mov eax, 0x57
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140087860
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [rcx + 0x10]
mov rbx, r8
lea r8, [rsp + 0x30]
call fcn.140089850
test al, al
jne 0x140087886
mov eax, 0x57
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140087dd0
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 [0x14036aa00]
xor rax, rsp
mov qword [rbp + 0x9c0], rax
mov rsi, qword [rbp + 0xa20]
mov rcx, rdx
mov rbx, r9
mov rdi, r8
call fcn.14008d6e0
test rax, rax
je 0x140087f49
xor eax, eax
mov dword [rsp + 0x40], reloc.WS2_32.dll_WSASetLastError
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 0x140087f49
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 0x140087f2f
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 0x140087f2f
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 0x140087f2f
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 0x140087f49
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov ecx, 0x80004005
cmovne ecx, r14d
mov eax, ecx
jmp 0x140087f4e
mov eax, 0x80004005
mov rcx, qword [rbp + 0x9c0]
xor rcx, rsp
call fcn.1402b48e0
add rsp, 0xad0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

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

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x14036aa00]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rcx, rdx
mov rbx, r8
call fcn.14008d6e0
test rax, rax
jne 0x140087fa2
mov eax, 0x80004005
jmp 0x140087fd6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140087fc3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
jmp 0x140087fd4
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.1402b48e0
add rsp, 0x280
pop rbx
ret
Function at 0x1400890f0
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 [0x14036aa00]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov rbp, rdx
lea r8, [0x1402bfbf0]
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, [0x1402bfbf0]
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, [0x1402bfce0]
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 0x140089196
xor eax, eax
jmp 0x1400892f0
test rdi, rdi
je 0x1400892e5
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400892e5
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 0x140089238
and eax, 0xfffffffe
lea rcx, [rsp + 0x270]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [rsp + 0x20], 0x10
jne 0x140089266
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 0x1400891a0
movzx ecx, word [rsp + 0x4c]
movzx eax, word [rsp + 0x4e]
cmp cx, 0x2e
jne 0x140089295
test ax, ax
je 0x1400891a0
cmp cx, cx
jne 0x140089295
cmp ax, cx
jne 0x140089295
cmp word [rsp + 0x50], 0
je 0x1400891a0
xor edx, edx
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test eax, eax
jne 0x1400892c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400891a0
mov ebx, 1
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x480]
call fcn.1400890f0
test eax, eax
jne 0x1400891a0
xor ebx, ebx
jmp 0x1400891a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.1402b48e0
mov rbx, qword [rsp + 0x8e0]
add rsp, 0x8b0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140089320
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 0x1400894d1
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 0x1400894be
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 0x1400894ad
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 0x1400894ad
mov rcx, qword [rsp + 0x68]
mov rdx, rbx
call fcn.140089320
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 0x1400894ad
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x60], eax
je 0x1400894ad
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 0x1400893c0
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 0x140089930
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.14008d340
mov qword [rdi + 0x30], rax
test rax, rax
je 0x140089aac
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1402b4664
mov rsi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400899fa
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 0x1400899fc
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 0x140089aac
cmp qword [rdi + 0x10], 0
je 0x140089aac
cmp qword [rdi + 0x18], 0
je 0x140089aac
xor ecx, ecx
call qword [str.PZ_]
mov dword [rdi + 0x38], eax
test eax, eax
js 0x140089ab3
mov qword [rsp + 0x20], rdi
mov r9d, 0x63
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rax, qword [rdi + 0x18]
call qword [str.PZ_]
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 0x14008d340
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 [0x14036b1e4], edi
jne 0x14008d40f
mov eax, dword [0x14036b1e0]
test eax, eax
jne 0x14008d40f
mov esi, edi
mov edx, dword [0x14036b1ec]
test edx, edx
je 0x14008d3a3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14036b1e0]
mov edx, dword [0x14036b1ec]
test eax, eax
je 0x14008d3b0
mov ebx, 1
mov esi, ebx
jmp 0x14008d3de
test edx, edx
jne 0x14008d3c2
call fcn.140083660
test eax, eax
jne 0x14008d3c2
lea ebx, [rax + 1]
jmp 0x14008d3de
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 0x14008d414
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14008d3ff
cmp eax, 0x78
je 0x14008d3ff
cmp eax, 1
je 0x14008d3ff
cmp eax, 0x32
jne 0x14008d407
mov dword [0x14036b1e0], ebx
mov esi, ebx
test esi, esi
jne 0x14008d414
mov ebx, edi
jmp 0x14008d414
mov ebx, 1
test ebx, ebx
jne 0x14008d430
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 [0x14036b1e4], 0
je 0x14008d453
cmp dword [0x14036b1e0], 0
jne 0x14008d480
mov ebx, edi
test rsi, rsi
sete bl
test ebx, ebx
je 0x14008d467
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 0x14008d480
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14008d41a
Function at 0x14008d8d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14036aa00]
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.1402b4664
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.1402b4664
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.14008e460
lea rdx, str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_ReaderDC
mov rcx, rbx
call fcn.14008e460
lea rdx, str.HKEY_CURRENT_USERSoftwareAdobeAdobe_SynchronizerDC
mov rcx, rbx
call fcn.14008e460
mov word [rsp + 0x30], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x32]
call sub.VCRUNTIME140.dll_memset
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 0x14008d9ad
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.14008e110
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 0x14008d9e9
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.14008e110
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 0x14008da25
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.14008e110
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov rcx, rbx
call fcn.14008e230
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDown
mov rcx, rbx
call fcn.14008e230
nop
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1402b48e0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x14008e230
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x14036aa00]
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 0x14008e432
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 0x14008e353
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 0x14008e348
mov eax, dword [rsp + 0x30]
add rax, rax
cmp rax, 0x800
jae 0x14008e458
lea r8, [rsp + 0x38]
mov word [rsp + rax + 0x60], di
lea rdx, [0x1402c0360]
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.14008e460
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, [0x1402c0360]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x14008e324
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 0x14008e41f
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 0x14008e414
mov eax, dword [rsp + 0x30]
add rax, rax
cmp rax, 0x800
jae 0x14008e452
lea r8, [rsp + 0x38]
mov word [rsp + rax + 0x60], di
lea rdx, [0x1402c0360]
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.14008e110
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, [0x1402c0360]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x14008e3f0
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.1402b48e0
mov rbx, qword [rsp + 0x898]
add rsp, 0x870
pop rbp
ret
call fcn.1402b4c90
int3
call fcn.1402b4c90
int3
Function at 0x140100b20
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, reloc.WS2_32.dll_getservbyport
call fcn.1402b4ee0
sub rsp, rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x28], 0
je 0x140100bc3
cmp qword [rsp + 0x48], 0
je 0x140100bc3
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x30]
and eax, 0
test eax, eax
je 0x140100b8e
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov r9, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov dword [rsp + 0x20], eax
jmp 0x140100bb4
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov r9, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140100bc3
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140111f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1402b4ee0
sub rsp, rax
movzx eax, byte [rsp + 0x38]
and eax, 1
mov dword [rsp], eax
cmp qword [rsp + 0x30], 0
je 0x140111fae
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 8], 0
je 0x140112016
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x38]
xor eax, ecx
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 0x20]
dec rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp]
mov byte [rax], cl
mov eax, dword [rsp]
shr eax, 8
mov dword [rsp], eax
jmp 0x140111fae
add rsp, 0x18
ret