joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000d0a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
movabs rdi, sym.imp.KERNEL32.dll_LocalFree
movabs rax, sym.imp.KERNEL32.dll_LocalAlloc
mov edx, 0x5f5e100
mov rdi, qword [rdi]
mov rax, qword [rax]
xor ecx, ecx
mov dword [rbp - 0x20], 0x51675a71
mov dword [rbp - 0x1c], 0x5a425424
mov dword [rbp - 0x18], 0x28397162
mov qword [rbp + 0x40], rdi
mov dword [rbp - 0x14], 0x363c3e74
mov dword [rbp - 0x10], 0x342a785a
mov dword [rbp - 0xc], 0x3f352867
mov word [rbp - 8], 0x64
call rax
xor r10d, r10d
mov r9, rax
mov ecx, r10d
nop word [rax + rax]
mov byte [rcx + rax], cl
inc rcx
cmp rcx, 0x5f5e100
jb 0x18000d120
movzx ecx, byte [rax + 0x64]
movabs rax, 0x18001e1f2
mov esi, 0x190
lea edx, [rcx + rcx*4]
movabs rdi, 0x18001e5dd
mov r11d, 2
add edx, edx
movabs r15, 0x18001e5da
movabs r14, 0x4ec4ec4ec4ec4ec5
movsxd rbx, edx
movabs r12, 0x18001e5db
movabs r13, 0x18001e5dc
add rbx, rax
mov qword [rbp + 0x48], rbx
movabs rbx, 0x18001e5de
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
mov r8, r10
sub r8, rax
lea eax, [r11 - 2]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 3
imul rax, rdx, 0x1a
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
xor byte [r8 + r15], al
movzx eax, byte [r9]
mov r8, r10
sub r8, rax
lea eax, [r11 - 1]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 3
imul rax, rdx, 0x1a
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
movsxd rcx, r11d
xor byte [r8 + r12], al
movzx eax, byte [r9]
mov r8, r10
sub r8, rax
mov rax, r14
mul rcx
shr rdx, 3
imul rax, rdx, 0x1a
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
xor byte [r8 + r13], al
movzx eax, byte [r9]
mov r8, r10
sub r8, rax
lea eax, [r11 + 1]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 3
imul rax, rdx, 0x1a
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
xor byte [r8 + rdi], al
movzx eax, byte [r9]
mov r8, r10
sub r8, rax
lea eax, [r11 + 2]
add r11d, 5
movsxd rcx, eax
mov rax, r14
Function at 0x18000d840
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc70
mov rax, qword [0x1800a2de8]
xor rax, rsp
mov qword [rsp + 0xc60], rax
mov r14d, r8d
mov r12, rdx
mov ebx, ecx
mov r15, qword [rsp + 0xcc0]
mov edi, 1
call fcn.180006f70
mov ecx, 0x400
mov edx, 0x1000
cmp eax, 0x10
cmova ecx, edx
mov r8d, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x18000d9da
mov r8d, 0x400
lea rdx, [rsp + 0x460]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x18000d9d1
mov ecx, 0x208
call fcn.180053ad4
mov rbx, rax
mov qword [rsp + 0x50], rax
mov r8d, 0x104
mov rdx, rax
lea rcx, [rsp + 0x460]
call fcn.18000da10
test eax, eax
jne 0x18000d9c9
test r14d, r14d
je 0x18000d99f
xor r14d, r14d
mov word [rsp + 0x60], r14w
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x62]
call fcn.180056c20
mov word [rsp + 0x260], r14w
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x262]
call fcn.180056c20
mov qword [rsp + 0x40], 0x100
lea rax, [rsp + 0x260]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1800533b8
lea r8, [rsp + 0x60]
mov edx, 0x104
mov rcx, r15
call fcn.180054b48
lea r8, [rsp + 0x260]
mov edx, 0x104
mov rcx, r15
call fcn.18005384c
jmp 0x18000d9b2
mov r8, rbx
mov edx, 0x104
mov rcx, r15
call fcn.180054b48
xor r14d, r14d
mov r8d, 0x104
mov rdx, r15
mov rcx, r12
call fcn.180055034
test eax, eax
cmovne edi, r14d
mov rcx, rbx
call fcn.180053a94
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0xc60]
xor rcx, rsp
call fcn.180052be0
mov rbx, qword [rsp + 0xcb0]
add rsp, 0xc70
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18000de30
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
dec edx
jne 0x18000df64
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov rcx, rax
mov r9d, 0x18
mov rdx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x18000df58
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
lea edi, [rax + 0x1e]
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x18000deda
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdi, qword [rsp + 0x68]
lea eax, [rsi + 0x1e]
mov rsi, qword [rsp + 0x60]
add rsp, 0x50
pop rbx
ret
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x18000df22
lea r9, str.DllMain
lea rcx, str...ApiNA.cpp
mov edx, 0x87
mov r8d, 1
mov dword [rsp + 0x28], edi
mov byte [rbx + 0xffff], 0
mov qword [rsp + 0x20], rbx
call fcn.180001b40
jmp 0x18000df3d
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, edi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov rdi, qword [rsp + 0x68]
lea eax, [rsi + 0x1e]
mov rsi, qword [rsp + 0x60]
add rsp, 0x50
pop rbx
ret
mov rax, qword [rsp + 0x30]
mov qword [0x1800a7160], rax
mov eax, 1
add rsp, 0x50
pop rbx
ret
Function at 0x180017390
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x1800a4278]
test eax, eax
je 0x18001747a
cmp eax, 0x10
jne 0x180017626
mov dword [0x1800a4278], 0x11
call fcn.18000dce0
test al, al
je 0x1800173d1
xor ebx, ebx
mov dword [0x1800a4278], ebx
jmp 0x18001747c
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x1800173fe
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180017470
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x18001744a
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 0x11
mov qword [rsp + 0x20], rbx
lea r9, [0x18008c048]
mov edx, 0x26c
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x180017468
mov edx, 0x11
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov eax, 0x11
jmp 0x180017626
xor ebx, ebx
mov rcx, qword [0x1800a6d10]
test rcx, rcx
je 0x180017582
cmp dword [rcx], 0x1234abcd
jne 0x180017582
add rcx, 8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [0x1800a6d10]
mov rcx, qword [rdi + 0x6268]
test rcx, rcx
je 0x1800174c1
call fcn.180053a94
mov qword [rdi + 0x6268], rbx
mov dword [rdi + 0x6260], ebx
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
xor eax, eax
jmp 0x180017626
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x1800175af
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180017621
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x1800175fb
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rbx
lea r9, [0x18008c048]
mov edx, 0x26e
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x180017619
mov edx, 8
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov eax, 8
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180018c20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], rsp
mov rdi, rdx
mov rbx, rcx
mov eax, dword [0x1800a4278]
test eax, eax
je 0x180018d17
cmp eax, 0x10
jne 0x180018eba
mov dword [0x1800a4278], 0x11
call fcn.18000dce0
test al, al
je 0x180018c6e
mov dword [0x1800a4278], 0
jmp 0x180018d17
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x180018c9b
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180018d0d
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x180018ce7
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 0x11
mov qword [rsp + 0x20], rbx
lea r9, [0x18008c200]
mov edx, 0x343
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x180018d05
mov edx, 0x11
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov eax, 0x11
jmp 0x180018eba
test rbx, rbx
je 0x180018d50
test rdi, rdi
je 0x180018d50
mov rax, qword [0x1800a6d10]
test rax, rax
je 0x180018d3d
cmp dword [rax], 0x1234abcd
jne 0x180018d3d
mov dword [rbx], 1
jmp 0x180018d43
mov dword [rbx], 0
mov eax, dword [rax + 0x30]
mov dword [rdi], eax
nop
xor eax, eax
jmp 0x180018eba
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x180018d7d
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180018def
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x180018dc9
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rbx
lea r9, [0x18008c200]
mov edx, 0x349
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x180018de7
mov edx, 8
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x30], 8
lea rdx, [0x180018e0b]
mov rcx, qword [rsp + 0x38]
call fcn.180057580
nop
nop
nop
mov eax, 8
jmp 0x180018eba
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001bef0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xor eax, eax
lea rcx, str.kernel32.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
test rax, rax
je 0x18001bf4d
call rax
xor eax, eax
cmp word [rsp + 0x20], 9
sete al
add rsp, 0x58
ret
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp word [rsp + 0x20], 9
sete al
add rsp, 0x58
ret

Function at 0x18001bf70
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1800a2de8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, ecx
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x18001c026
lea r8, [rsp + 0x3c]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
mov dword [rsp + 0x38], 1
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
neg ebx
lea r8, [rsp + 0x38]
mov r9d, 0x10
sbb eax, eax
xor edx, edx
mov qword [rsp + 0x28], 0
and eax, 2
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x44], eax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180052be0
add rsp, 0x50
pop rbx
ret
mov eax, 0x507
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180052be0
add rsp, 0x50
pop rbx
ret
Function at 0x18001c750
Capabilities:
Print debug messages
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1800a2de8]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r13d, r13d
mov r12, rdx
lea rax, [rsp + 0x48]
mov r15, rcx
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
lea r9d, [r13 + 8]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x48], r13
mov esi, r13d
mov ebp, r13d
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r14d, eax
test eax, eax
je 0x18001c8df
mov ecx, 0x1000a
mov qword [rsp + 0x50], r13
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x18001c8a4
test rax, rax
je 0x18001c8a4
lea r9, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
lea r8, str.MM:_Cannot_open__s_key.
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18001c88c
lea rdx, [r13 - 2]
mov rcx, rbx
mov word [rbx + 0x1fffe], r13w
call fcn.180053398
lea rcx, [rsp + 0x50]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001c862
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, r14d
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str._GetUserProfilesSIDs
lea rcx, str...MacroManager.cpp
mov edx, 0xa3
mov r8d, 1
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x18001c8bd
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, r14d
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001c8b7
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rdi, rdi
je 0x18001c8ca
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18001c8d7
mov rcx, rbx
call fcn.180053a94
mov eax, r14d
jmp 0x18001c9b0
lea r14, str.S_1_0
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov edx, esi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18001c988
mov ebx, r13d
mov rdi, r14
nop dword [rax]
mov rdx, qword [rdi]
lea rcx, [rsp + 0x60]
mov r8d, 0xff
call fcn.180055034
test eax, eax
je 0x18001c981
inc ebx
add rdi, 8
cmp ebx, 0x40
jb 0x18001c930
cmp ebp, dword [r12]
jae 0x18001c978
test r15, r15
je 0x18001c978
mov eax, ebp
lea r8, [rsp + 0x60]
mov edx, 0xff
imul rcx, rax, 0x208
add rcx, r15
call fcn.180054b48
inc esi
inc ebp
jmp 0x18001c8f0
inc esi
jmp 0x18001c8f0
cmp eax, 0x103
jne 0x18001c8f0
cmp dword [r12], ebp
mov rcx, qword [rsp + 0x48]
sbb ebx, ebx
and ebx, 0xea
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [r12], ebp
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180052be0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001c9e0
Capabilities:
Print debug messages
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x480
mov rax, qword [0x1800a2de8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov qword [rsp + 0x60], rsp
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov ebx, r14d
mov dword [rsp + 0x48], r14d
test rcx, rcx
jne 0x18001ca2c
lea eax, [rcx + 0x57]
jmp 0x18001cc42
lea rax, str.SoftwareMicrosoftOffice
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [0x180088bf0]
mov edx, 0xff
mov r8d, edx
lea rcx, [rsp + 0x70]
call fcn.180053a28
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov dword [rsp + 0x4c], eax
test eax, eax
je 0x18001cbc0
mov qword [rsp + 0x50], r14
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
mov ecx, 0x2000a
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x18001cb6a
test rax, rax
je 0x18001cb6a
lea r9, [rsp + 0x70]
lea r8, str.MM:_Cannot_open__s_key.
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18001cb53
mov word [rbx + 0x1fffe], r14w
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.180053398
lea r8, [rax + 1]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r9, rbx
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180054798
test eax, eax
je 0x18001cb2a
mov r8d, esi
mov rdx, rbx
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
lea r9, str._DisableProfileOfficeMacros
mov edx, 0xd9
mov r8d, 1
lea rcx, str...MacroManager.cpp
call fcn.180001b40
jmp 0x18001cb83
mov edx, esi
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001cb7d
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rdi, rdi
je 0x18001cb90
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18001cb9d
mov rcx, rbx
call fcn.180053a94
lea rdx, [0x18001cbb0]
mov rcx, qword [rsp + 0x60]
call fcn.180057580
nop
nop
mov eax, dword [rsp + 0x4c]
jmp 0x18001cc42
mov dword [rsp + 0x48], 0xff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x270]
mov edx, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test eax, eax
jne 0x18001cc24
lea rcx, [rsp + 0x270]
call fcn.180055e18
test eax, eax
je 0x18001cc24
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x40]
call fcn.18001cc70
inc ebx
mov dword [rsp + 0x58], ebx
cmp edi, 0x103
jne 0x18001cbc0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x103
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180052be0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x18001cc70
Capabilities:
Set registry value

Disassembly:
push r12
push r13
push r15
sub rsp, 0x480
mov rax, qword [0x1800a2de8]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r15, rdx
mov r12, rcx
mov rdx, 0xfffffffffffffffe
mov rcx, r15
mov r13, r8
mov qword [rsp + 0x40], 0
call fcn.180053398
test rax, rax
jne 0x18001ccbf
mov eax, 0x57
jmp 0x18001ce40
mov qword [rsp + 0x478], rbp
mov qword [rsp + 0x470], rsi
mov qword [rsp + 0x460], r14
mov qword [rsp + 0x4b8], rbx
lea rsi, str.Access
mov r14d, 6
mov qword [rsp + 0x468], rdi
lea rax, str.Security
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi]
mov edx, 0xff
mov qword [rsp + 0x28], rax
lea r9, [0x18008d8e0]
lea rcx, [rsp + 0x50]
mov r8d, edx
mov qword [rsp + 0x20], r15
call fcn.180053a28
lea rax, [rsp + 0x50]
mov edx, 0xff
mov qword [rsp + 0x28], rax
lea r9, [0x180088bf0]
lea rcx, [rsp + 0x250]
mov r8d, edx
mov qword [rsp + 0x20], r13
call fcn.180053a28
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test eax, eax
jne 0x18001ce02
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.18001c3e0
mov edi, eax
cmp eax, 4
je 0x18001cddb
mov edx, 1
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x48]
xchg dword [0x1800a7598], edx
lea r9d, [rbp + 4]
lea rdx, str.VBAWarnings
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
xor eax, eax
xchg dword [0x1800a7598], eax
lea rcx, [rsp + 0x250]
call fcn.18001d930
lea rcx, [rsp + 0x250]
mov edx, edi
call fcn.18001ce60
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsi, 8
lea rax, str.Security
dec r14
jne 0x18001cd00
mov r14, qword [rsp + 0x460]
mov rdi, qword [rsp + 0x468]
mov rsi, qword [rsp + 0x470]
mov rbx, qword [rsp + 0x4b8]
mov eax, ebp
mov rbp, qword [rsp + 0x478]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180052be0
add rsp, 0x480
pop r15
pop r13
pop r12
ret
Function at 0x18001d930
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x30
mov rbx, rcx
mov ecx, 0x218
call fcn.180053ad4
mov rsi, rax
test rax, rax
je 0x18001da95
lea rcx, [rax + 8]
mov r8, rbx
mov edx, 0x104
call fcn.180054b48
mov rax, qword [0x1800a75a0]
test rax, rax
jne 0x18001d988
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1800a75a0], rax
mov qword [rsi], rax
lea rax, [0x1800a7598]
mov qword [rsp + 0x40], rdi
mov qword [rsi + 0x210], rax
mov rax, qword [0x1800a75a8]
test rax, rax
jne 0x18001d9c7
lea ecx, [rax + 0x50]
call fcn.180053ad4
mov ebx, 0xa
mov dword [0x1800a7594], ebx
mov edi, ebx
mov dword [0x1800a759c], ebx
jmp 0x18001d9f9
mov ebx, dword [0x1800a7594]
mov edi, dword [0x1800a759c]
test ebx, ebx
jne 0x18001da00
add edi, 0xa
mov ebx, 0xa
mov rcx, rax
mov edx, edi
mov dword [0x1800a759c], edi
mov dword [0x1800a7594], ebx
shl rdx, 3
call fcn.180055d44
mov qword [0x1800a75a8], rax
test rax, rax
je 0x18001da78
lea r8, [0x18001d460]
sub edi, ebx
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [0x1800a75b0], edi
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x1800a75b0]
dec dword [0x1800a7594]
mov rdx, rax
mov rax, qword [0x1800a75a8]
mov qword [rax + rcx*8], rdx
test rdx, rdx
jne 0x18001da66
mov eax, 0x236
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
xor eax, eax
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
mov rdi, qword [rsp + 0x40]
dec ebx
mov eax, 0x25a
mov dword [0x1800a7594], ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
dec dword [0x1800a7594]
mov rbx, qword [rsp + 0x48]
mov eax, 0xe
add rsp, 0x30
pop rsi
ret