joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002700
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004450]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000271f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002728
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002740
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004450]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002760
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002768
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002760
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002760
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400027b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400027c0
add rdx, 0x28
cmp rdx, r9
jne 0x1400027a0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400027d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004450]
xor r8d, r8d
cmp word [r11], 0x5a4d
mov r10d, ecx
jne 0x1400027f4
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x140002800
mov rax, r8
ret
cmp word [rcx + 0x18], 0x20b
jne 0x1400027f4
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1400027f4
movzx edx, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r9w, r9w
je 0x1400027f4
lea ecx, [r9 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rdx + 0xc]
mov rcx, r8
cmp rax, r8
jb 0x14000284c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002860
add rdx, 0x28
cmp r9, rdx
jne 0x140002838
xor r8d, r8d
mov rax, r8
ret
add rax, r11
jmp 0x140002870
sub r10d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14000287e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002855
test r10d, r10d
jg 0x140002868
mov r8d, dword [rax + 0xc]
add r8, r11
mov rax, r8
ret
Function at 0x140001990
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd rsi, dword [rcx + 0x3c]
xor r12d, r12d
add rsi, rcx
mov r14, r8
mov r15, rdx
mov rbp, rcx
mov r9d, r12d
mov edi, r12d
movzx eax, word [rsi + 0x14]
lea rbx, [rsi + 0x18]
add rbx, rax
cmp r12w, word [rsi + 6]
jae 0x140001a18
cmp dword [rbx], 0x45474150
je 0x1400019ee
cmp dword [rbx], 0x7865742e
jne 0x140001a0a
cmp byte [rbx + 4], 0x74
jne 0x140001a0a
mov ecx, dword [rbx + 0xc]
mov r9, r14
mov edx, dword [rbx + 8]
add rcx, rbp
mov r8, r15
call fcn.140001914
mov r9, rax
test rax, rax
jne 0x140001a18
movzx ecx, word [rsi + 6]
inc edi
add rbx, 0x28
cmp edi, ecx
jl 0x1400019d8
mov rbx, qword [rsp + 0x40]
mov rax, r9
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140001a3c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
xor ebx, ebx
lea r9, [rax + 0x10]
mov r14, rcx
mov dword [rax + 0x10], ebx
xor r8d, r8d
lea rdx, [rax + 0x10]
lea esi, [rbx + 0xb]
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140001b7a
mov edx, dword [rsp + 0x178]
xor ecx, ecx
mov r8d, 0x6f616d4c
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140001b7a
mov r8d, dword [rsp + 0x178]
xor r9d, r9d
mov rdx, rax
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
js 0x140001b6a
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x140001b6a
lea rbp, [rdi + 8]
mov rax, rbp
lea rcx, [rsp + 0x20]
mov edx, 2
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001ad4
movups xmm0, xmmword [rax]
mov rdx, r14
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140001b65
inc esi
add rbp, 0x128
movsxd rax, esi
cmp rax, qword [rdi]
jb 0x140001ac7
jmp 0x140001b6a
mov rbx, qword [rsp + 0x30]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
jmp 0x140001b7c
xor eax, eax
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140001c10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, rcx
test edx, edx
jne 0x140001c1a
xor eax, eax
ret
movzx eax, byte [rcx]
xor eax, 0x4b9ace2f
imul ecx, eax, 0x1000193
cmp edx, 1
jbe 0x140001c47
inc r8
dec edx
movzx eax, byte [r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
sub rdx, 1
jne 0x140001c32
mov eax, ecx
ret

Function at 0x140001e94
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov esi, r8d
mov ebx, ecx
mov edx, r8d
mov rcx, rdi
call fcn.140001c10
xor ebx, eax
test esi, esi
je 0x140001eda
mov ecx, esi
imul ebx, ebx, 0x41c64e6d
add ebx, 0x3039
mov eax, ebx
shr eax, 0x10
xor byte [rdi], al
inc rdi
sub rcx, 1
jne 0x140001ebe
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001f20
Capabilities:
Check if file exists
Load windows common language runtime

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
lea rax, [r11 + 0x10]
xor ebp, ebp
xor esi, esi
xor ebx, ebx
mov r12, rcx
test rax, rax
je 0x140001fd9
and qword [r11 + 0x10], rbx
lea rcx, str.mscoree.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x140001f86
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140001f7f
cmp eax, 0x7e
je 0x140001f7f
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140001fc5
mov edi, 0x80040641
jmp 0x140001fc5
lea rdx, str.CLRCreateInstance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140001fa0
lea edi, [rax + 1]
jmp 0x140001fc5
lea r8, [rsp + 0x48]
lea rdx, [0x140012fe0]
lea rcx, [0x140012808]
call rax
mov edi, eax
test eax, eax
js 0x140001fc5
mov rbx, qword [rsp + 0x48]
and qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140001fd5
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
je 0x140002036
lea rcx, str.mscoree.dll
xor edi, edi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
test rax, rax
jne 0x140002017
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140002010
cmp eax, 0x7e
je 0x140002010
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000207e
mov edi, 0x80040641
jmp 0x14000207e
lea rdx, str.CorBindToRuntimeEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140002036
mov edi, 0x8000ffff
jmp 0x140002070
mov qword [r12 + 0x10], rsi
mov rsi, rbx
mov qword [r12], rbp
xor ebp, ebp
xor ebx, ebx
cmp qword [r12 + 8], rsi
je 0x14000208c
test rsi, rsi
je 0x14000205b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x14000206b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r12 + 8], rsi
test rbp, rbp
je 0x14000207e
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14000208c
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x140002400
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
mov ebx, esi
test rcx, rcx
je 0x1400024ad
mov word [rcx], si
mov rdx, rcx
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000244d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400024a2
cmp eax, 0x104
jb 0x14000245b
mov ebx, 0x8007000e
jmp 0x1400024a6
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x14000246f
mov ebx, 0x80004005
jmp 0x1400024a6
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140002468
lea rdx, str.vstoee.dll
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x140002468
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400024a9
mov ebx, 0x8000ffff
test ebx, ebx
jns 0x1400024a9
mov word [rdi], si
mov eax, ebx
jmp 0x1400024b2
mov eax, 0x80004003
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400029b0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor r13d, r13d
cmp ecx, 1
mov r12, rdx
mov edx, 0x80070057
mov eax, r13d
mov rsi, r8
cmovl eax, edx
test r12, r12
cmove eax, edx
test r8, r8
jne 0x1400029f9
mov eax, 0x80004003
jmp 0x140002abf
mov qword [r8], r13
test eax, eax
js 0x140002abf
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
or r8, 0xffffffffffffffff
mov rbx, rax
xor eax, eax
mov rcx, r8
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdx, rcx
cmp rcx, 1
jb 0x140002a87
mov rdi, qword [r12]
mov ebp, r13d
lea r14d, [rax + 0x22]
cmp r14w, word [rbx]
mov rcx, r8
sete bpl
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ebp, ebp
je 0x140002a5a
lea rax, [rcx + 2]
cmp rdx, rax
jb 0x140002a87
cmp rdx, rcx
jb 0x140002a87
mov rax, r13
mov r8, rcx
mov rcx, qword [r12]
test ebp, ebp
setne al
lea rdx, [rbx + rax*2]
call fcn.140004154
test eax, eax
jne 0x140002a87
test ebp, ebp
je 0x140002a91
cmp r14w, word [rbx + rdi*2 + 2]
je 0x140002a91
mov eax, 0x8000ffff
mov qword [rsi], r13
jmp 0x140002abf
neg ebp
mov edx, 0x20
sbb rax, rax
and eax, 2
add rax, rdi
lea rcx, [rbx + rax*2]
jmp 0x140002ab1
cmp r13w, ax
je 0x140002ab9
add rcx, 2
movzx eax, word [rcx]
cmp dx, ax
je 0x140002aa7
mov qword [rsi], rcx
mov eax, r13d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x140002ae4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140015070]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor esi, esi
cmp ecx, 1
mov eax, 0x80070057
mov ebx, esi
mov rdi, r8
cmovl ebx, eax
test rdx, rdx
cmove ebx, eax
test r8, r8
jne 0x140002b33
mov ebx, 0x80004003
jmp 0x140002c5e
or dword [r8], 0xffffffff
test ebx, ebx
js 0x140002c5e
lea r8, [rsp + 0x28]
mov qword [rsp + 0x28], rsi
mov qword [rbp - 0x58], rsi
call fcn.1400029b0
mov ebx, eax
test eax, eax
js 0x140002c48
lea rax, [rbp - 0x50]
test rax, rax
je 0x140002c43
lea rcx, [rbp - 0x50]
mov word [rbp - 0x50], si
mov qword [rsp + 0x30], rsi
call fcn.140003b18
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test rcx, rcx
je 0x140002b8d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jns 0x140002b9a
mov word [rbp - 0x50], si
jmp 0x140002c48
mov ebx, 0x70
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, ebx
call fcn.140006d70
lea rax, [rsp + 0x40]
test rax, rax
je 0x140002c09
or dword [rsp + 0x44], 0x2000140
lea rax, [rbp - 0x50]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x70], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140002c23
mov rcx, qword [rbp - 0x58]
or ebx, 0xffffffff
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
test eax, eax
je 0x140002c10
cmp eax, ebx
je 0x140002c23
mov ebx, 0x8000ffff
jmp 0x140002c48
mov rcx, qword [rbp - 0x58]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140002c39
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140002c48
mov eax, dword [rsp + 0x20]
mov ebx, esi
mov dword [rdi], eax
jmp 0x140002c48
mov ebx, 0x80004003
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140002c57
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jns 0x140002c5e
or dword [rdi], 0xffffffff
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140003ec0
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400035a8
Capabilities:
Check if file exists
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
mov rax, qword [0x140015070]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r15d, r15d
mov r12d, 0x104
lea rdx, [rsp + 0x40]
mov r8d, r12d
xor ecx, ecx
mov qword [0x140017758], r15
mov qword [rsp + 0x30], r15
mov word [rsp + 0x38], r15w
mov esi, r15d
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000362e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
jmp 0x140003791
cmp eax, r12d
jne 0x14000363d
mov eax, 0x8007007a
jmp 0x140003791
lea rcx, [rsp + 0x40]
mov edx, 0x5c
call fcn.14000df64
mov r14, rax
test rax, rax
jne 0x14000365e
mov eax, 0x8000ffff
jmp 0x140003791
lea rcx, str.MSO.dll
movzx ebx, r15w
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000368c
lea rdx, str._MsoGetUILcid_0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400036a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400036a6
call rax
mov ebx, eax
test edi, edi
js 0x1400036ce
test bx, bx
je 0x1400036ce
mov eax, 0x3ff
mov word [rsp + 0x30], bx
mov esi, 2
and bx, ax
mov eax, 0x400
or bx, ax
mov word [rsp + 0x32], bx
movsxd rbx, esi
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
inc esi
mov word [rsp + rbx*2 + 0x30], ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movsxd rcx, esi
inc esi
mov word [rsp + rcx*2 + 0x30], ax
mov ecx, 0x409
movsxd rax, esi
inc esi
mov word [rsp + rax*2 + 0x30], cx
cmp esi, 5
ja 0x140003654
lea rcx, [rsp + 0x40]
lea rax, [r14 + 2]
mov rbx, r15
sub rax, rcx
movsxd rdi, esi
sar rax, 1
sub r12d, eax
test esi, esi
jle 0x14000378c
movsxd rsi, r12d
movzx eax, word [rsp + rbx*2 + 0x30]
lea rcx, str.VSTOInstallerUI.dll
lea r9, str._u_s
mov qword [rsp + 0x28], rcx
lea rcx, [r14 + 2]
mov r8, rsi
mov rdx, rsi
mov dword [rsp + 0x20], eax
call fcn.14000df98
test eax, eax
js 0x140003633
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x1400037c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
cmp eax, 2
je 0x140003784
cmp eax, 3
je 0x140003784
cmp eax, 0x7e
jne 0x14000361a
inc rbx
cmp rbx, rdi
jl 0x140003725
mov eax, 0x80004005
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140003ec0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [0x140017758], rax
xor eax, eax
jmp 0x140003791
Function at 0x140003b18
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x140015070]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebp, ebp
mov rbx, rcx
test rcx, rcx
je 0x140003cd2
lea rax, [rsp + 0x30]
mov word [rcx], bp
test rax, rax
je 0x140003cc4
lea rax, [rsp + 0x30]
lea edx, [rbp + 0x2c]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov word [rsp + 0x30], bp
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r11d, eax
cmp eax, 0x80004005
jne 0x140003ba6
lea rax, [rsp + 0x30]
lea edx, [rbp + 0x2b]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r11d, eax
mov r12d, 0x8000ffff
test r11d, r11d
js 0x140003bba
cmovne r11d, r12d
test r11d, r11d
jns 0x140003bc8
mov word [rsp + 0x30], bp
test r11d, r11d
js 0x140003cca
lea rdx, str.Microsoft_SharedVSTO
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x140003be6
mov r11d, r12d
jmp 0x140003cca
lea rsi, [rsp + 0x30]
mov edi, 0x104
mov rcx, rbx
sub rsi, rbx
mov edx, edi
mov r11d, ebp
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140003c1c
movzx eax, word [rsi + rcx]
test ax, ax
je 0x140003c1c
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140003bfb
test rdx, rdx
jne 0x140003c2b
sub rcx, 2
mov r11d, 0x8007007a
mov word [rcx], bp
test r11d, r11d
js 0x140003cca
lea rdx, str.10.0VSTOInstaller.exe
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x140003bde
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r11d, ebp
test eax, eax
jne 0x140003ccd
mov rcx, rbx
lea rax, [rdi + 0x7ffffefa]
test rax, rax
je 0x140003c7f
movzx eax, word [rsi + rcx]
test ax, ax
je 0x140003c7f
mov word [rcx], ax
add rcx, 2
dec rdi
jne 0x140003c5e
test rdi, rdi
jne 0x140003c8e
sub rcx, 2
mov r11d, 0x8007007a
mov word [rcx], bp
test r11d, r11d
js 0x140003cca
lea rdx, str.9.0VSTOInstaller.exe
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x140003bde
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140003bde
mov r11d, ebp
jmp 0x140003ccd
mov r11d, 0x80004003
mov word [rbx], bp
mov eax, r11d
jmp 0x140003cd7
mov eax, 0x80004003
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140003ec0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x1400047c0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140004628
Function at 0x140005c27
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140015070]
jne 0x140003eda
rol rcx, 0x10
test cx, 0xffff
jne 0x140003ed6
repz ret
ror rcx, 0x10
jmp 0x140005b80
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140016cc0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140016db8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140005c05
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140016cc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140005c27
mov rax, qword [rsp + 0x88]
mov qword [0x140016db8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140016d58], rax
mov rax, qword [0x140016db8]
mov qword [0x140016c30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140016d40], rax
mov dword [0x140016c20], 0xc0000409
mov dword [0x140016c24], 1
mov rax, qword [0x140015070]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140015078]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140016cb8], eax
mov ecx, 1
call fcn.1400096a4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140010fa0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140016cb8], 0
jne 0x140005cae
mov ecx, 1
call fcn.1400096a4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140009040
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140015070]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400056b0
xor ebx, ebx
cmp qword [0x140017460], rbx
mov rdi, rax
jne 0x140009153
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000922a
lea rdx, [0x140011508]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000922a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140017460], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140017468], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140017470], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140017480], rax
test rax, rax
je 0x14000914a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140017478], rax
jmp 0x14000915a
mov rax, qword [0x140017478]
jmp 0x140009161
mov rax, qword [0x140017478]
mov r11, qword [0x140017480]
cmp rax, rdi
je 0x1400091c8
cmp r11, rdi
je 0x1400091c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140017480]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400091c8
test rax, rax
je 0x1400091c8
call rsi
test rax, rax
je 0x1400091c2
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400091c2
test byte [rsp + 0x40], 1
jne 0x1400091c8
bts ebp, 0x15
jmp 0x140009208
mov rcx, qword [0x140017468]
cmp rcx, rdi
je 0x140009208
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009208
call rax
mov rbx, rax
test rax, rax
je 0x140009208
mov rcx, qword [0x140017470]
cmp rcx, rdi
je 0x140009208
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009208
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140017460]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000922a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000922c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003ec0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret