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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, rdx
mov rdi, rdx
xor ebx, ebx
call qword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathGetArgsW]
cmp rax, rbx
je 0x10000e19e
cmp bx, word [rax]
je 0x10000e19e
cmp rax, rdi
jbe 0x10000e19e
mov word [rax - 2], bx
jmp 0x10000e1a1
mov rax, rbx
mov r9, rax
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jae 0x10000e216
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
cmp eax, 0x4c7
je 0x10000e216
movzx eax, ax
or eax, 0x80070000
cmp r11d, ebx
cmovle eax, r11d
mov ebx, eax
mov rcx, qword [0x100025288]
lea rax, [0x100025288]
cmp rcx, rax
je 0x10000e216
test byte [rcx + 0x1c], 4
je 0x10000e216
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006370]
mov edx, 0x1d
mov r9d, ebx
call fcn.100009850
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x10000ee2c
Capabilities:
Check if file exists

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 r14d, r14d
mov r13, rdx
mov rsi, rcx
mov rbx, r14
call qword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
lea rdx, [0x100006910]
mov rcx, rsi
mov rbp, rsi
mov r12d, r14d
call qword [sym.imp.msvcrt.dll_wcscspn]
mov rdi, rsi
or rcx, 0xffffffffffffffff
mov r11, rax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, r11
jbe 0x10000ef54
lea rcx, [rbp + r11*2]
cmp word [rcx], 0x2c
jne 0x10000ef0c
cmp r12d, r14d
jne 0x10000ef18
lea rax, [rbp + r11*2]
cmp rax, r14
je 0x10000ef54
lea rdx, [0x100006918]
mov rcx, rsi
mov word [rax], r14w
mov qword [r13], rax
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r14d
je 0x10000ef34
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
cmp rax, r14
jne 0x10000ef82
mov rcx, qword [0x100025288]
lea rdx, [0x100025288]
cmp rcx, rdx
je 0x10000ef82
test byte [rcx + 0x1c], 4
je 0x10000ef82
mov edx, 0x33
jmp 0x10000ef72
cmp r12d, r14d
mov eax, r14d
sete al
mov r12d, eax
lea rbp, [rcx + 2]
lea rdx, [0x100006910]
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_wcscspn]
mov rdi, rbp
jmp 0x10000ee74
mov rcx, qword [0x100025288]
lea rdx, [0x100025288]
cmp rcx, rdx
je 0x10000ef82
test byte [rcx + 0x1c], 4
je 0x10000ef82
mov edx, 0x34
jmp 0x10000ef72
mov rcx, qword [0x100025288]
lea rdx, [0x100025288]
cmp rcx, rdx
je 0x10000ef82
test byte [rcx + 0x1c], 4
je 0x10000ef82
mov edx, 0x35
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006370]
call fcn.10000a5f4
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x1000111b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x100025108]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor ebx, ebx
call sub.POWRPROF.dll_PowerDeterminePlatformRole
lea edi, [rbx + 1]
cmp eax, 2
je 0x100011200
cmp eax, edi
jne 0x100011202
lea rcx, [rsp + 0x50]
call sub.POWRPROF.dll_GetPwrCapabilities
test al, al
je 0x100011202
cmp byte [rsp + 0x6e], bl
je 0x100011202
cmp byte [rsp + 0x6f], bl
jne 0x100011202
mov ebx, edi
test ebx, ebx
jne 0x100011296
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
lea rdx, [0x100006250]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100011296
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
lea rdx, [0x100006c18]
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001128b
cmp dword [rsp + 0x30], 4
jne 0x10001128b
cmp dword [rsp + 0x34], eax
cmovne ebx, edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.100020bc0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret

Function at 0x1000112c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0xb0
mov rax, qword [0x100025108]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x30]
lea rcx, [0x100006c40]
xor ebx, ebx
and dword [rsp + 0x30], ebx
call sub.slc.dll_SLGetWindowsInformationDWORD
test eax, eax
js 0x1000113c9
lea esi, [rbx + 1]
cmp dword [rsp + 0x30], esi
jne 0x1000113c9
call sub.POWRPROF.dll_PowerDeterminePlatformRole
cmp eax, 2
je 0x100011333
cmp eax, esi
jne 0x100011335
lea rcx, [rsp + 0x50]
call sub.POWRPROF.dll_GetPwrCapabilities
test al, al
je 0x100011335
cmp byte [rsp + 0x6e], bl
je 0x100011335
cmp byte [rsp + 0x6f], bl
jne 0x100011335
mov ebx, esi
test ebx, ebx
jne 0x1000113c9
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
lea rdx, [0x100006cb0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000113c9
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
lea rdx, [0x100006d10]
xor r8d, r8d
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000113be
cmp dword [rsp + 0x34], 4
jne 0x1000113be
cmp dword [rsp + 0x48], eax
cmovne ebx, esi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.100020bc0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rsi
ret
Function at 0x1000142a8
Capabilities:
Check for software breakpoints

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov eax, 0xff515800
mov r13d, r9d
mov rsi, r8
mov r12, rcx
mov ebp, ebx
cmp qword [rsp + 0x60], rax
jne 0x100014511
cmp r8, 0xd
je 0x1000144d7
cmp r8, 0x1b
je 0x10001449f
cmp r8, 0x24
jbe 0x100014511
cmp r8, 0x28
ja 0x100014511
cmp dword [0x1000263e0], ebx
jne 0x1000143d3
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15, rax
cmp dword [0x1000253b4], ebx
je 0x100014344
xor r9d, r9d
mov edx, 0x127
mov r8d, 0x10002
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x1000253b4], ebx
cmp rsi, 0x26
je 0x100014353
mov r14d, ebx
cmp rsi, 0x25
jne 0x100014359
mov r14d, 1
mov r8d, r14d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov r12, rax
cmp rax, rbx
je 0x100014511
mov rsi, rax
mov edx, 0xfffffff4
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
cmp rax, 0xc9
jne 0x1000143a9
mov r8d, r14d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rsi, rax
cmp rax, rbx
je 0x1000143a9
cmp r12, rax
jne 0x100014377
cmp r13d, ebx
je 0x1000143c9
cmp rsi, rbx
je 0x1000143c9
mov r9d, 1
mov r8, rsi
mov rcx, r15
lea edx, [r9 + 0x27]
call qword [sym.imp.USER32.dll_PostMessageW]
mov ebp, 1
jmp 0x100014511
cmp edx, 0xd0
jne 0x100014511
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x14
jae 0x100014511
mov rcx, r12
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
mov rcx, r12
mov r14, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp r14, rbx
je 0x100014511
cmp rsi, 0x25
je 0x10001443a
jbe 0x100014511
cmp rsi, 0x27
jbe 0x100014460
cmp rsi, 0x28
jne 0x100014511
mov ebp, 1
cmp r13d, ebx
jne 0x100014486
add eax, 0xfffffffb
mov edx, 0x405
mov r8, rbp
movsxd r9, eax
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rbp
jmp 0x10001448c
mov ebp, 1
cmp r13d, ebx
jne 0x100014486
add eax, 5
mov edx, 0x405
mov r8, rbp
movsxd r9, eax
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
jmp 0x10001448c
mov r8d, 8
mov r9, r12
mov edx, 0x114
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100014511
cmp edx, 0xc9
je 0x100014511
cmp edx, 0xca
je 0x100014511
cmp edx, 0xcc
je 0x100014511
cmp edx, 0xd1
je 0x100014511
cmp dword [0x1000263e0], ebx
je 0x100014511
mov ebp, 1
cmp r9d, ebx
je 0x100014511
xor edx, edx
xor ecx, ecx
jmp 0x10001450c
cmp edx, 0xc9
je 0x100014511
cmp edx, 0xca
je 0x100014511
cmp edx, 0xcc
je 0x100014511
cmp edx, 0xd1
je 0x100014511
mov ebp, 1
cmp r9d, ebx
je 0x100014511
cmp dword [0x1000263e0], ebx
sete bl
mov edx, ebx
call fcn.1000141a4
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
Function at 0x100014658
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r13
sub rsp, 0x30
mov rsi, rcx
mov rcx, qword [0x100025288]
lea r13, [0x100025288]
cmp rcx, r13
je 0x10001469e
test byte [rcx + 0x1c], 0x10
je 0x10001469e
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006228]
mov edx, 0xa
call fcn.10000a5f4
mov ecx, 0x50
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
test rax, rax
je 0x1000146d4
lea rcx, [rax + 0x30]
and qword [rcx + 0x18], 0
mov qword [rcx], rcx
mov qword [rcx + 8], rcx
mov qword [rcx + 0x10], rcx
and qword [rax], 0
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1000146d6
xor edi, edi
mov qword [rsi + 0x40], rdi
test rdi, rdi
je 0x1000147ca
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi], rax
mov edi, 0x80070000
test rax, rax
jne 0x10001473c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x100025288]
cmp rcx, r13
je 0x10001473c
test byte [rcx + 0x1c], 4
je 0x10001473c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000061e0]
mov edx, 0xa
mov r9d, ebx
call fcn.100009850
test ebx, ebx
js 0x1000147a1
lea rax, [rsi + 0x2d8]
lea r8, [0x10000ba00]
mov r9, rsi
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x2d0], rax
test rax, rax
jne 0x1000147fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x100025288]
cmp rcx, r13
je 0x1000147fc
test byte [rcx + 0x1c], 4
je 0x1000147fc
mov edx, 0xb
mov r9d, ebx
jmp 0x1000147ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x100025288]
cmp rcx, r13
je 0x1000147fc
test byte [rcx + 0x1c], 4
je 0x1000147fc
mov edx, 0xc
jmp 0x10001479c
mov ebx, 0x8007000e
mov rcx, qword [0x100025288]
cmp rcx, r13
je 0x1000147fc
test byte [rcx + 0x1c], 4
je 0x1000147fc
mov edx, 0xd
mov r9d, 0x8007000e
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006228]
call fcn.100009850
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop r13
ret
Function at 0x100014fb4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x100025108]
xor rax, rsp
mov qword [rsp + 0x460], rax
lea rax, [rsp + 0x48]
xor esi, esi
lea rdx, [0x100006250]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
movzx ebx, si
mov qword [rsp + 0x48], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100015160
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea edi, [rsi + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
lea r8, [0x100006238]
mov qword [rsp + 0x28], rax
mov r9d, edi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x200
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, esi
cmovle ecx, eax
cmp ecx, esi
jl 0x100015155
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9d, [rsi + 2]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x260]
lea r8, [0x1000062d0]
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x50], 0x200
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, esi
jne 0x10001512a
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x260]
mov qword [rsp + 0x58], rsi
call fcn.10000ee2c
cmp rax, rsi
je 0x10001512a
or r10, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x60]
mov rcx, r10
lea r9d, [rsi + 1]
lea r8, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
sub rcx, r9
mov rdi, rcx
je 0x100015155
mov edx, dword [rsp + 0x40]
mov eax, 8
cmp ax, bx
jbe 0x100015155
cmp edx, esi
jbe 0x100015155
lea eax, [rdi + rdi]
lea r8, [r8 + rdi*2 + 2]
mov ecx, 0xfffffffe
sub ecx, eax
xor eax, eax
mov rdi, r8
add edx, ecx
mov rcx, r10
add bx, r9w
mov dword [rsp + 0x40], edx
repne scasw ax, word [rdi]
not rcx
sub rcx, r9
mov rdi, rcx
jne 0x1000150eb
jmp 0x100015155
mov rcx, qword [0x100025288]
lea rax, [0x100025288]
cmp rcx, rax
je 0x100015155
test byte [rcx + 0x1c], 4
je 0x100015155
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006228]
mov edx, edi
call fcn.10000a5f4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, bx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.100020bc0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x10001572c
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x710
mov rax, qword [0x100025108]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov rdi, rdx
lea rcx, [rsp + 0xe0]
mov edx, 0x104
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x100015862
xor eax, eax
lea r8d, [rbx + 0x60]
lea rcx, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call sub.msvcrt.dll_memset
lea rax, [0x1000070d8]
lea r8, [0x1000070f0]
cmp rdi, rbx
lea r9, [rsp + 0xe0]
cmovne r8, rax
lea rax, [0x100007018]
lea rcx, [rsp + 0x2f0]
mov edx, 0x208
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x20], rax
call fcn.100009764
lea r11, [rsp + 0x50]
mov qword [rsp + 0x48], r11
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0x2f0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x10001582c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000158a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
mov ebx, ecx
mov rcx, qword [0x100025288]
lea rax, [0x100025288]
cmp rcx, rax
je 0x1000158a9
test byte [rcx + 0x1c], 4
je 0x1000158a9
mov edx, 0xd
jmp 0x100015896
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
mov ebx, ecx
mov rcx, qword [0x100025288]
lea rax, [0x100025288]
cmp rcx, rax
je 0x1000158a9
test byte [rcx + 0x1c], 4
je 0x1000158a9
mov edx, 0xe
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006200]
mov r9d, ebx
call fcn.100009850
mov eax, ebx
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.100020bc0
mov rbx, qword [rsp + 0x720]
add rsp, 0x710
pop rdi
ret

Function at 0x100015974
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea r8, [0x100007180]
mov rdi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x100015a0e
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x100015a0e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test rbp, rbp
je 0x100015a0e
test eax, eax
je 0x100015a0e
lea ecx, [rbx + 2]
mov edx, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x100015a0e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x100015a0e
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1000170e8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x450
mov rax, qword [0x100025108]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov eax, 0xca
mov rdi, rcx
cmp dword [rcx + 0x50], eax
jne 0x1000172f7
mov rcx, qword [rcx + 8]
mov edx, eax
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r15d, r15d
mov rsi, rax
cmp rax, r15
je 0x10001730d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rbp, rax
cmp rax, r15
je 0x10001730d
mov rdx, qword [0x1000261b0]
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ebx, 0x100
lea rdx, [rsp + 0x240]
mov r8d, ebx
mov rcx, rsi
mov r13, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rsp + 0x40]
lea r8, [rdi + 0x460]
sub r8, rax
lea rcx, [rsp + 0x40]
mov edx, r15d
lea rax, [rbx + 0x7ffffefe]
cmp rax, r15
je 0x1000171bb
movzx eax, word [r8 + rcx]
cmp ax, r15w
je 0x1000171bb
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x100017197
cmp rbx, r15
jne 0x1000171c9
sub rcx, 2
mov edx, 0x8007007a
mov word [rcx], r15w
cmp edx, r15d
jne 0x1000172e9
mov ecx, 2
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x34], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x3c], r15d
call fcn.10000988c
mov ebx, eax
mov ecx, 7
add ebx, ebx
call fcn.10000988c
mov ecx, 7
sub eax, ebx
mov dword [rsp + 0x38], eax
call fcn.100009a60
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
or r8d, 0xffffffff
mov rcx, rbp
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x20], 0x18400
call qword [sym.imp.USER32.dll_DrawTextW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r15d
je 0x1000172dd
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r15d
je 0x10001729d
mov rcx, qword [0x100025288]
lea rax, [0x100025288]
cmp rcx, rax
je 0x10001729d
test byte [rcx + 0x1c], 4
je 0x10001729d
mov rcx, qword [rcx + 0x10]
lea r9, [rdi + 0x460]
lea r8, [0x1000061d0]
mov edx, 0x11
call fcn.10000b8e4
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x40]
mov edx, 0xca
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rdi + 0x40]
cmp rcx, r15
je 0x1000172dd
lea rax, [rsp + 0x40]
lea r9, [rdi + 0x460]
mov r8, rsi
mov edx, 1
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call fcn.10001044c
mov rdx, r13
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x10001730d
lea r8, [rcx + 0x460]
mov rcx, qword [rcx + 8]
mov edx, 0xcd
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.100020bc0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x100017c74
Capabilities:
Capture webcam image

Disassembly:
test rcx, rcx
je 0x100017d1f
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor r9d, r9d
xor r8d, r8d
mov edx, 0x41e
mov rbx, rcx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test rax, rax
je 0x100017d15
or eax, 0xffffffff
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x419
mov rcx, rbx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
lea r8, [rsp + 0x40]
mov r9d, 1
cdq
mov rcx, rbx
sub eax, edx
xor edx, edx
sar eax, 1
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x40], eax
call qword [sym.imp.USER32.dll_MapWindowPoints]
movzx r11d, word [rsp + 0x44]
movzx eax, word [rsp + 0x40]
shl r11d, 0x10
xor r8d, r8d
or r11d, eax
mov edx, 0x412
mov rcx, rdi
movsxd r9, r11d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x10001a084
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x100025108]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edi, edi
cmp dword [rdx + 0x10], 0xfffffff4
mov rbx, rdx
mov rsi, rcx
jne 0x10001a220
mov rax, qword [rdx + 8]
cmp rax, 0xca
je 0x10001a1a8
cmp rax, 0xcc
je 0x10001a1a8
cmp rax, 0xc9
jne 0x10001a125
cmp dword [0x1000261d4], edi
je 0x10001a0f0
cmp dword [rdx + 0x18], 1
jne 0x10001a220
mov r9d, dword [rdx + 0x40]
mov edi, 4
mov r8d, r9d
mov eax, r9d
and r9d, 0x10
and r8d, edi
and eax, 0x200
mov dword [rsp + 0x28], r8d
mov r8, qword [rdx]
mov rdx, qword [rdx + 0x20]
mov dword [rsp + 0x20], eax
call fcn.100019d9c
jmp 0x10001a220
cmp rax, 0xd0
jne 0x10001a220
cmp dword [0x1000261d4], edi
je 0x10001a220
call fcn.10000a5cc
test eax, eax
je 0x10001a220
and dword [rsp + 0x20], edi
lea r9, [0x1000257d8]
lea r8, [0x100025240]
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll___RTDynamicCast
test rax, rax
jne 0x10001a220
cmp dword [rbx + 0x18], 1
jne 0x10001a17d
lea edi, [rax + 0x10]
jmp 0x10001a220
cmp dword [rbx + 0x18], 2
jne 0x10001a220
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rdx, qword [rbx + 0x20]
lea r8, [rsp + 0x40]
mov rcx, rsi
call fcn.10001a250
jmp 0x10001a220
cmp dword [0x1000261d4], edi
je 0x10001a220
call fcn.10000a5cc
test eax, eax
je 0x10001a220
cmp dword [rbx + 0x18], 1
jne 0x10001a220
mov rcx, qword [rbx]
lea rdx, [rsp + 0x50]
mov r8d, 0x100
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [rbx + 0x40]
mov r8, qword [rbx + 0x20]
movdqu xmm5, xmmword [rbx + 0x28]
movdqu xmmword [rsp + 0x40], xmm5
mov rdx, qword [rbx]
mov eax, ecx
and ecx, 0x200
and eax, 0x10
lea r9, [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 8]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.10001a3dc
mov edi, 4
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.100020bc0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret