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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
lea rax, [r11 - 0x10]
mov rdi, r8
lea rdx, [0x100006280]
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x10], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x100011e46
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea rdx, [0x100006da8]
xor r8d, r8d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100011df6
cmp dword [rsp + 0x68], 4
jne 0x100011df6
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x68]
mov dword [rsi], eax
lea rax, [rsp + 0x34]
lea rdx, [0x100006dd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100011df6
cmp dword [rsp + 0x68], 4
jne 0x100011df6
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x68]
mov dword [rsi + 4], eax
lea rax, [rsp + 0x34]
lea rdx, [0x100006df0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100011df6
cmp dword [rsp + 0x68], 4
jne 0x100011df6
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x68]
mov dword [rsi + 8], eax
lea rax, [rsp + 0x34]
lea rdx, [0x100006e18]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100011df6
cmp dword [rsp + 0x68], 4
jne 0x100011df6
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x68]
mov dword [rsi + 0xc], eax
lea rax, [rsp + 0x34]
lea rdx, [0x100006d68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100011df6
cmp dword [rsp + 0x68], 4
jne 0x100011df6
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x68]
mov dword [rdi], eax
lea rax, [rsp + 0x34]
lea rdx, [0x100006d88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100011df6
cmp dword [rsp + 0x68], 4
jne 0x100011df6
mov eax, dword [rsp + 0x30]
mov ebx, 1
mov dword [rdi + 4], eax
jmp 0x100011e3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x100025288]
lea rdx, [0x100025288]
cmp rcx, rdx
je 0x100011e3b
test byte [rcx + 0x1c], 4
je 0x100011e3b
mov rcx, qword [rcx + 0x10]
movzx r9d, ax
lea r8, [0x100006360]
or r9d, 0x80070000
cmp eax, ebx
mov edx, 0x13
cmovle r9d, eax
call fcn.100009880
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1000142d8
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 0x100014541
cmp r8, 0xd
je 0x100014507
cmp r8, 0x1b
je 0x1000144cf
cmp r8, 0x24
jbe 0x100014541
cmp r8, 0x28
ja 0x100014541
cmp dword [0x1000263e0], ebx
jne 0x100014403
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15, rax
cmp dword [0x1000253b4], ebx
je 0x100014374
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 0x100014383
mov r14d, ebx
cmp rsi, 0x25
jne 0x100014389
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 0x100014541
mov rsi, rax
mov edx, 0xfffffff4
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
cmp rax, 0xc9
jne 0x1000143d9
mov r8d, r14d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rsi, rax
cmp rax, rbx
je 0x1000143d9
cmp r12, rax
jne 0x1000143a7
cmp r13d, ebx
je 0x1000143f9
cmp rsi, rbx
je 0x1000143f9
mov r9d, 1
mov r8, rsi
mov rcx, r15
lea edx, [r9 + 0x27]
call qword [sym.imp.USER32.dll_PostMessageW]
mov ebp, 1
jmp 0x100014541
cmp edx, 0xd0
jne 0x100014541
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x14
jae 0x100014541
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 0x100014541
cmp rsi, 0x25
je 0x10001446a
jbe 0x100014541
cmp rsi, 0x27
jbe 0x100014490
cmp rsi, 0x28
jne 0x100014541
mov ebp, 1
cmp r13d, ebx
jne 0x1000144b6
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 0x1000144bc
mov ebp, 1
cmp r13d, ebx
jne 0x1000144b6
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 0x1000144bc
mov r8d, 8
mov r9, r12
mov edx, 0x114
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100014541
cmp edx, 0xc9
je 0x100014541
cmp edx, 0xca
je 0x100014541
cmp edx, 0xcc
je 0x100014541
cmp edx, 0xd1
je 0x100014541
cmp dword [0x1000263e0], ebx
je 0x100014541
mov ebp, 1
cmp r9d, ebx
je 0x100014541
xor edx, edx
xor ecx, ecx
jmp 0x10001453c
cmp edx, 0xc9
je 0x100014541
cmp edx, 0xca
je 0x100014541
cmp edx, 0xcc
je 0x100014541
cmp edx, 0xd1
je 0x100014541
mov ebp, 1
cmp r9d, ebx
je 0x100014541
cmp dword [0x1000263e0], ebx
sete bl
mov edx, ebx
call fcn.1000141d4
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 0x100014688
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 0x1000146ce
test byte [rcx + 0x1c], 0x10
je 0x1000146ce
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006258]
mov edx, 0xa
call fcn.10000a624
mov ecx, 0x50
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
test rax, rax
je 0x100014704
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 0x100014706
xor edi, edi
mov qword [rsi + 0x40], rdi
test rdi, rdi
je 0x1000147fa
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 0x10001476c
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 0x10001476c
test byte [rcx + 0x1c], 4
je 0x10001476c
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006210]
mov edx, 0xa
mov r9d, ebx
call fcn.100009880
test ebx, ebx
js 0x1000147d1
lea rax, [rsi + 0x2d8]
lea r8, [0x10000ba30]
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 0x10001482c
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 0x10001482c
test byte [rcx + 0x1c], 4
je 0x10001482c
mov edx, 0xb
mov r9d, ebx
jmp 0x10001481c
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 0x10001482c
test byte [rcx + 0x1c], 4
je 0x10001482c
mov edx, 0xc
jmp 0x1000147cc
mov ebx, 0x8007000e
mov rcx, qword [0x100025288]
cmp rcx, r13
je 0x10001482c
test byte [rcx + 0x1c], 4
je 0x10001482c
mov edx, 0xd
mov r9d, 0x8007000e
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006258]
call fcn.100009880
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 0x100014fe4
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, [0x100006280]
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 0x100015190
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea edi, [rsi + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
lea r8, [0x100006268]
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 0x100015185
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9d, [rsi + 2]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x260]
lea r8, [0x100006300]
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 0x10001515a
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x260]
mov qword [rsp + 0x58], rsi
call fcn.10000ee5c
cmp rax, rsi
je 0x10001515a
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 0x100015185
mov edx, dword [rsp + 0x40]
mov eax, 8
cmp ax, bx
jbe 0x100015185
cmp edx, esi
jbe 0x100015185
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 0x10001511b
jmp 0x100015185
mov rcx, qword [0x100025288]
lea rax, [0x100025288]
cmp rcx, rax
je 0x100015185
test byte [rcx + 0x1c], 4
je 0x100015185
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006258]
mov edx, edi
call fcn.10000a624
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.100020bf0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x10001575c
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 0x100015892
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, [0x100007108]
lea r8, [0x100007120]
cmp rdi, rbx
lea r9, [rsp + 0xe0]
cmovne r8, rax
lea rax, [0x100007048]
lea rcx, [rsp + 0x2f0]
mov edx, 0x208
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x20], rax
call fcn.100009794
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 0x10001585c
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 0x1000158d9
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 0x1000158d9
test byte [rcx + 0x1c], 4
je 0x1000158d9
mov edx, 0xd
jmp 0x1000158c6
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 0x1000158d9
test byte [rcx + 0x1c], 4
je 0x1000158d9
mov edx, 0xe
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006230]
mov r9d, ebx
call fcn.100009880
mov eax, ebx
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.100020bf0
mov rbx, qword [rsp + 0x720]
add rsp, 0x710
pop rdi
ret

Function at 0x1000159a4
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, [0x1000071b0]
mov rdi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x100015a3e
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x100015a3e
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 0x100015a3e
test eax, eax
je 0x100015a3e
lea ecx, [rbx + 2]
mov edx, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x100015a3e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x100015a3e
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 0x100017118
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 0x100017327
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 0x10001733d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rbp, rax
cmp rax, r15
je 0x10001733d
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 0x1000171eb
movzx eax, word [r8 + rcx]
cmp ax, r15w
je 0x1000171eb
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x1000171c7
cmp rbx, r15
jne 0x1000171f9
sub rcx, 2
mov edx, 0x8007007a
mov word [rcx], r15w
cmp edx, r15d
jne 0x100017319
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.1000098bc
mov ebx, eax
mov ecx, 7
add ebx, ebx
call fcn.1000098bc
mov ecx, 7
sub eax, ebx
mov dword [rsp + 0x38], eax
call fcn.100009a90
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 0x10001730d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r15d
je 0x1000172cd
mov rcx, qword [0x100025288]
lea rax, [0x100025288]
cmp rcx, rax
je 0x1000172cd
test byte [rcx + 0x1c], 4
je 0x1000172cd
mov rcx, qword [rcx + 0x10]
lea r9, [rdi + 0x460]
lea r8, [0x100006200]
mov edx, 0x11
call fcn.10000b914
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 0x10001730d
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.10001047c
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 0x10001733d
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.100020bf0
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 0x100017ca4
Capabilities:
Capture webcam image

Disassembly:
test rcx, rcx
je 0x100017d4f
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 0x100017d45
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 0x10001a0b4
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 0x10001a250
mov rax, qword [rdx + 8]
cmp rax, 0xca
je 0x10001a1d8
cmp rax, 0xcc
je 0x10001a1d8
cmp rax, 0xc9
jne 0x10001a155
cmp dword [0x1000261d4], edi
je 0x10001a120
cmp dword [rdx + 0x18], 1
jne 0x10001a250
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.100019dcc
jmp 0x10001a250
cmp rax, 0xd0
jne 0x10001a250
cmp dword [0x1000261d4], edi
je 0x10001a250
call fcn.10000a5fc
test eax, eax
je 0x10001a250
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 0x10001a250
cmp dword [rbx + 0x18], 1
jne 0x10001a1ad
lea edi, [rax + 0x10]
jmp 0x10001a250
cmp dword [rbx + 0x18], 2
jne 0x10001a250
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.10001a280
jmp 0x10001a250
cmp dword [0x1000261d4], edi
je 0x10001a250
call fcn.10000a5fc
test eax, eax
je 0x10001a250
cmp dword [rbx + 0x18], 1
jne 0x10001a250
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.10001a40c
mov edi, 4
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.100020bf0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x10001e3d8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x100026710]
test rcx, rcx
jne 0x10001e3fe
call fcn.10001e48c
test eax, eax
je 0x10001e425
mov rcx, qword [0x100026710]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x10001e479
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x10001e429
xor eax, eax
jmp 0x10001e479
mov eax, dword [rax]
mov rcx, qword [0x100026710]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x10001e456
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x10001e479
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x100026710]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x10001e45d
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x10001e844
Capabilities:
Capture webcam image

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rdx, [rcx + 0x60]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x41a
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rdi + 0xa4], 0
je 0x10001e8d1
cvttss2si ecx, dword [rdi + 0xec]
cvttss2si edx, dword [rdi + 0xdc]
mov eax, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x24]
sub eax, ecx
sub r8d, ecx
mov dword [rdi + 0x78], eax
mov eax, dword [rsp + 0x20]
mov dword [rdi + 0x70], r8d
lea ecx, [rdx + rax]
mov eax, dword [rsp + 0x28]
sub eax, edx
cmp dword [rdi + 0x94], 0
mov dword [rdi + 0x74], ecx
mov dword [rdi + 0x7c], eax
je 0x10001e916
cvttss2si eax, dword [rdi + 0xe0]
sub r8d, eax
mov dword [rdi + 0x70], r8d
jmp 0x10001e916
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x70]
call qword [sym.imp.USER32.dll_CopyRect]
cvttss2si r11d, dword [rdi + 0xec]
cvttss2si eax, dword [rdi + 0xdc]
add dword [rdi + 0x74], r11d
add dword [rdi + 0x7c], r11d
add dword [rdi + 0x70], eax
sub dword [rdi + 0x78], eax
cmp dword [rdi + 0x94], 0
je 0x10001e916
cvttss2si eax, dword [rdi + 0xe0]
add eax, dword [rdi + 0x7c]
mov dword [rdi + 0x7c], eax
mov rcx, qword [rdi + 8]
lea r9, [rdi + 0x80]
xor r8d, r8d
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret