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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x798]
sub rsp, 0x890
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x18007fea0]
xor rax, rsp
mov qword [rbp + 0x780], rax
xor esi, esi
mov ebx, esi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftInternet_Explorer
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001e683
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], esi
call fcn.180002360
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x18001e566
mov ecx, 0x80004005
call fcn.1800020c0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov word [rbp - 0x80], si
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x7e]
call fcn.18003bd90
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.Version
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18001e5da
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
ja 0x18001e5da
cmp dword [rsp + 0x30], 0
jne 0x18001e5da
mov word [rbp - 0x80], si
lea rcx, [rbp - 0x80]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18001e5e2
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.180002760
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx - 0x10]
test eax, eax
jle 0x18001e66a
mov edx, 0x2e
mov rcx, rbx
call fcn.18003c014
test rax, rax
je 0x18001e66a
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x18001e66a
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.1800112a0
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.18003c000
mov esi, eax
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18001e65f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
jmp 0x18001e66e
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18001e67e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x18001e691
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.18003bc80
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x18001e6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
lea rax, [rsp + 0x68]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001e76c
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x60]
lea rdx, str.EnableLUA
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x50], ebx
setne bl
test rdi, rdi
je 0x18001e75f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rdi, qword [rsp + 0x38]
add rsp, 0x40
pop rbx
ret
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x18001e780
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x18007fea0]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, VarUI4FromDisp
mov dword [rsp + 0x20], VarUI4FromDisp
call fcn.18003bd90
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x24]
cmp eax, 5
jne 0x18001e7ef
cmp dword [rsp + 0x28], 1
jne 0x18001e85b
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x158
ret
cmp eax, 6
jne 0x18001e85b
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x18001e83e
dec eax
je 0x18001e821
dec eax
jne 0x18001e85b
mov eax, 4
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x158
ret
mov eax, 3
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x158
ret
mov eax, 2
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x158
ret
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x158
ret
Function at 0x18002cfd0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x18002cffe
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x18002dc70
cmp byte [0x180085410], 0
jne 0x18002d049
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002d039
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x180085410], 1
mov qword [0x180085408], rax
jmp 0x18002d050
mov rax, qword [0x180085408]
mov byte [0x180085410], 1
jmp 0x18002d050
mov rax, qword [0x180085408]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18002d06f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18002dce4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002dd06
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002dd06
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x18002dd06
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x18002db20
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x18007fea0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x48]
or r9d, 0x2001f
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call fcn.180011380
mov ebx, eax
test eax, eax
jne 0x18002dc37
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18002dc11
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18002db20
mov ebx, eax
test eax, eax
jne 0x18002dc37
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x18002dbc0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18002dc26
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x50], ebp
call fcn.18002cfd0
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18002dc47
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18003bc80
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002dc70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x18002cffe
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x18002dc70
cmp byte [0x180085410], 0
jne 0x18002d049
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002d039
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x180085410], 1
mov qword [0x180085408], rax
jmp 0x18002d050
mov rax, qword [0x180085408]
mov byte [0x180085410], 1
jmp 0x18002d050
mov rax, qword [0x180085408]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18002d06f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18002dce4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002dd06
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002dd06
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x18002dd06
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x18002df00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x18007fea0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call fcn.18002f0f0
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18002df8c
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call fcn.18002f0f0
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18002df8c
call fcn.1800067a0
mov ebx, eax
jmp 0x18002e0b4
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x18002dfad
call fcn.1800067a0
jmp 0x18002e0a3
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x18002dfd0
call fcn.1800067a0
jmp 0x18002e0a3
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x18002dff2
mov ebx, 0x8007000e
jmp 0x18002e0a5
mov ecx, eax
test eax, eax
je 0x18002e02a
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18002e020
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18002e02a
lea rcx, [rsp + 0x70]
call fcn.18002cc50
jmp 0x18002e034
mov ecx, 0x80070216
call fcn.1800020c0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x18002e047
cmp qword [rsp + 0x70], 0
jne 0x18002e056
mov ebx, 0x8007000e
jmp 0x18002e0a5
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x18002e080
call fcn.1800067a0
jmp 0x18002e0a3
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18002dd20
mov ebx, eax
test rdi, rdi
je 0x18002e0b4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18002e0cb
lea rcx, [rsp + 0x70]
call fcn.18002d100
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x18002e9b0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x18002e9c8
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x18002e9d4
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x18002e9d0
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x18002f0f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov edi, r8d
mov rsi, rdx
mov r14, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x58], rbx
mov eax, dword [0x180084c80]
test eax, eax
je 0x18002f13b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180084c80]
test eax, eax
jne 0x18002f144
call fcn.18000d3b0
test eax, eax
je 0x18002f15a
lea rdx, [rsp + 0x58]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18002f15e
xor eax, eax
jmp 0x18002f1a6
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x20], rax
mov edi, ebx
test rax, rax
sete dil
test edi, edi
je 0x18002f18a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18002f1a3
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x180031da0
Capabilities:
Capture webcam image

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18007fea0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov r9, qword [rdi + 0x58]
xor edx, edx
mov r8d, 0x101
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r8d, dword [rdi + 0x30]
xorps xmm0, xmm0
mov rcx, qword [rdi + 0x38]
xor r9d, r9d
mov edx, 0x419
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x38]
lea r9, [rsp + 0x40]
movsxd r8, eax
mov edx, 0x41d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x38]
lea r8, [rsp + 0x40]
mov r9d, 2
xor edx, edx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x40]
mov rdi, qword [rdi + 0x38]
mov edx, esi
call fcn.180033dc0
xor ecx, ecx
mov r9d, esi
mov qword [rsp + 0x30], rcx
lea edx, [rcx + 2]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ecx
mov r8d, eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_TrackPopupMenu]
test rbx, rbx
je 0x180031e6f
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyMenu]
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18003bc80
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x180032cf0
Capabilities:
Capture webcam image

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x18007fea0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x68]
mov rdi, rcx
cmp dword [rax - 0x10], 0
je 0x180032e01
cmp qword [rcx + 0x70], 0
je 0x180032e01
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov r9, qword [rdi + 0x68]
xor edx, edx
mov r8d, 0x101
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r8d, dword [rdi + 0x30]
mov rcx, qword [rdi + 0x38]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r9d, r9d
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x38]
lea r9, [rsp + 0x40]
movsxd r8, eax
mov edx, 0x41d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x38]
lea r8, [rsp + 0x40]
mov r9d, 2
xor edx, edx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x40]
mov rdi, qword [rdi + 0x38]
mov edx, esi
call fcn.180033dc0
xor ecx, ecx
mov r9d, esi
mov qword [rsp + 0x30], rcx
lea edx, [rcx + 2]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ecx
mov r8d, eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_TrackPopupMenu]
mov rsi, qword [rsp + 0x80]
test rbx, rbx
je 0x180032de4
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyMenu]
mov eax, 1
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x60
pop rdi
ret
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x60
pop rdi
ret
Function at 0x180032ee0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rsi, rdx
mov r15, rcx
test r8d, r8d
jne 0x180032f6e
mov r9, qword [rdx]
mov eax, r8d
test r9, r9
setne al
test eax, eax
jne 0x180032f24
mov ecx, 0x80004005
call fcn.1800020c0
int3
mov rax, qword [rcx + 8]
mov rdx, r9
sub rdx, rax
nop
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x180032f44
add rax, 2
test cx, cx
jne 0x180032f30
jmp 0x180032f4b
sbb r8d, r8d
or r8d, 1
test r8d, r8d
jne 0x180032f6e
lea rdx, [r9 - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180032f64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x1800330c6
mov rdx, rsi
lea rcx, [r15 + 8]
call fcn.180005920
mov rcx, qword [r15 + 8]
sub rcx, 0x18
call fcn.180006f50
lea rbx, [rax + 0x18]
mov qword [rsp + 0x88], rbx
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180033056
lea rcx, [rsp + 0x28]
call fcn.18000f030
nop
lea r8, [r15 + 8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180010b00
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x18003301b
cmp dword [rbx + 0x10], 0
jl 0x180033009
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x180033009
call fcn.180006f50
mov rbp, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x180032ffb
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x88], rax
jmp 0x18003301b
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x88]
call fcn.180002760
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180033035
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18003304e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x88]
cmp dword [rbx - 8], 1
jle 0x180033074
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x88]
call fcn.1800021e0
mov rbx, qword [rsp + 0x88]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180001d20
lea rcx, [r15 + 0x40]
mov rdx, rax
call fcn.180030b80
mov rcx, r15
call fcn.180031ea0
mov ebp, eax
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1800330ad
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1800330c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebp
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800352a0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x18007fea0]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, VarUI4FromDisp
call fcn.18003bd90
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180035311
mov eax, dword [rsp + 0x24]
cmp eax, 5
jae 0x1800352f7
cmp eax, 4
jne 0x180035311
cmp dword [rsp + 0x28], 0x5a
jb 0x180035311
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x158
ret
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18003bc80
add rsp, 0x158
ret

Function at 0x1800366b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, r9d
mov r15d, r8d
mov r12d, edx
mov r13d, ecx
xor edi, edi
mov esi, edi
mov qword [rsp + 0x38], rdi
mov rbx, qword [0x180085638]
mov qword [rsp + 0x30], rdi
mov eax, dword [0x180084c80]
test eax, eax
je 0x180036710
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180084c80]
test eax, eax
jne 0x180036719
call fcn.18000d3b0
test eax, eax
je 0x18003672f
lea rdx, [rsp + 0x30]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x180036733
xor eax, eax
jmp 0x1800367a4
test rbx, rbx
jne 0x180036753
lea rcx, str.ImageList_Create
call fcn.1800365f0
mov rbx, rax
test rax, rax
je 0x180036774
mov qword [0x180085638], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov edx, r12d
mov ecx, r13d
call rbx
mov rsi, rax
mov qword [rsp + 0x38], rax
mov ebx, edi
test rsi, rsi
sete bl
test ebx, ebx
je 0x180036788
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1800367a1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret