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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov r15, rcx
mov dword [r11 + 0x20], 4
lea rax, [r11 + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [r11 + 0x18]
mov qword [rsp + 0x28], rax
xor esi, esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 0x18]
lea r8, [0x01007008]
lea rdi, [0x01007040]
mov rdx, rdi
mov r12, 0xffffffff80000001
mov rcx, r12
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegGetValueW]
mov ecx, dword [rsp + 0xd0]
lea r14d, [rsi + 1]
cmp eax, esi
cmovne ecx, r14d
mov dword [rsp + 0xd0], ecx
mov eax, ecx
and eax, r14d
mov dword [r15 + 0x44], eax
mov dword [r15 + 0x40], eax
shr ecx, 1
and ecx, r14d
mov dword [r15 + 0x50], ecx
mov dword [r15 + 0x4c], ecx
mov dword [rsp + 0xc8], esi
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r13d, [rsi + 0x20]
mov r9d, r13d
lea r8, [0x01006fd8]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegGetValueW]
cmp eax, esi
jne 0x1019ebb
mov rbx, rsi
mov ecx, dword [rsp + 0xc8]
cmp rcx, rsi
jne 0x1019d81
mov rcx, rsi
jmp 0x1019d97
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1019eb2
add rcx, rcx
call qword [sym.imp.msvcrt.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x50], rax
cmp rax, rsi
je 0x1019eb2
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, r13d
lea r8, [0x01006fd8]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegGetValueW]
cmp eax, esi
jne 0x1019eb2
mov r12, rbx
mov qword [rsp + 0x40], rbx
cmp word [r12], si
je 0x1019eb2
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, r12
mov rcx, qword [0x01031110]
call fcn.0101b9c0
cmp eax, esi
jne 0x1019e26
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x14], r14d
mov dword [rcx + 0x10], r14d
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1019e91
lea rdi, [r15 + 0x60]
mov qword [rsp + 0x60], rdi
mov r13, qword [rdi + 8]
mov qword [rsp + 0x68], r13
cmp r13, qword [rdi + 0x10]
jb 0x1019e59
lea rdx, [r13 + 1]
mov rcx, rdi
call fcn.0101ad74
cmp al, sil
jne 0x1019e59
mov ecx, 0x8007000e
call fcn.010112f4
mov rax, qword [rdi]
lea rcx, [rax + r13*8]
mov qword [rsp + 0x70], rcx
cmp rcx, rsi
je 0x1019e73
mov rdx, r12
call fcn.01015d8c
nop
add qword [rdi + 8], r14
jmp 0x1019e91
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
lea r12, [r12 + rcx*2 + 2]
mov qword [rsp + 0x40], r12
jmp 0x1019deb
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x101aa10
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x178
mov rax, qword [0x01030138]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov r12, rdx
mov edx, r8d
mov r13d, r9d
mov ebp, r8d
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rsi + 8]
mov edx, ebp
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
lea r9d, [rbx + 2]
lea r8, [rsp + 0x50]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [rsi + 8]
mov edx, ebp
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x60]
mov r8d, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [0x01007260]
xor ecx, ecx
call qword [sym.imp.UxTheme.dll_OpenThemeData]
mov rdi, rax
cmp rax, rbx
je 0x101ab00
lea rax, [rsp + 0x50]
lea r9d, [rbx + 1]
mov r8d, r13d
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], 0x8014
or dword [rsp + 0x28], 0xffffffff
mov rdx, r12
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.UxTheme.dll_DrawThemeText]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.UxTheme.dll_CloseThemeData]
jmp 0x101ab1a
mov rcx, qword [rsi + 8]
mov edx, ebp
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.01027250
add rsp, 0x178
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x101f1dc
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rbx, rcx
mov rax, qword [rcx + 0x40]
cmp dword [rax + 0x8c], 0
je 0x101f226
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
lea r9, [0x010074b0]
lea r8, [0x01007108]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x101f306
cmp dword [rcx + 0x3f8], 0
je 0x101f2ba
lea rcx, [0x01030100]
mov rax, qword [0x01030100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov r8, qword [rbx + 0x400]
lea rdx, [0x010074d8]
lea rcx, [rsp + 0x40]
call fcn.01016934
nop
jmp 0x101f26f
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
mov rbx, qword [rsp + 0x40]
mov r9, rbx
lea r8, [0x01007108]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x101f29d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x101f306
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x101f306
cmp dword [rcx + 0x42c], 0
je 0x101f306
mov rcx, qword [rcx + 0x420]
test rcx, rcx
je 0x101f306
mov edx, 4
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x30], 0x13
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x01031080]
mov rcx, qword [rbx + 0x420]
call qword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
add rsp, 0x60
pop rbx
ret
Function at 0x101f314
Capabilities:
Capture webcam image

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0xc0]
mov rsi, r8
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x64
sub edi, eax
jne 0x101f355
and dword [rbx + 0xa4], edi
jmp 0x101f3f3
movss xmm1, dword [rbx + 0xa8]
ucomiss xmm1, dword [0x01007c90]
jp 0x101f368
je 0x101f38c
mulss xmm1, dword [0x01007980]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
comiss xmm0, dword [0x01007964]
movss dword [rbx + 0xa4], xmm0
jbe 0x101f3f3
mov rcx, qword [0x01031080]
movsxd r8, edi
mov r9, rbx
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbx + 0xa4], 0x3f800000
xor edx, edx
movd xmm5, edi
lea r8d, [rdx + 1]
cvtdq2ps xmm5, xmm5
divss xmm5, dword [0x01007980]
movss dword [rbx + 0xa8], xmm5
mov rcx, qword [rbx + 0xc0]
movss dword [rbx + 0x18c], xmm5
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0xc0]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [0x01031080]
movsxd r8, edi
mov r9, rbx
mov edx, 0x41f
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0xc0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x438
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
movss xmm1, dword [rbx + 0xa4]
call fcn.0101f114
cmp si, 8
jne 0x101f469
mov rax, qword [rbx + 0x40]
cmp dword [rax + 0x8c], 0
je 0x101f469
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.WINMM.dll_PlaySoundW]
lea rcx, [0x01007508]
xor edx, edx
mov r8d, 0x290003
call qword [sym.imp.WINMM.dll_PlaySoundW]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1020a84
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov dword [rsp + 0x20], ecx
xor eax, eax
xor ebx, ebx
lea rcx, [0x01020964]
mov qword [rsp + 0x28], rax
mov qword [rdx], rbx
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_EnumWindows]
mov r11, qword [rsp + 0x28]
cmp r11, rbx
je 0x1020ac5
mov qword [rdi], r11
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1020ad8
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x730
mov rax, qword [0x01030138]
xor rax, rsp
mov qword [rsp + 0x720], rax
mov rsi, rdx
mov rdi, rcx
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x510]
xor edx, edx
mov rcx, rsi
xor ebx, ebx
mov dword [rsp + 0x34], 0x104
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
cmp eax, ebx
je 0x1020bda
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x300]
lea rcx, [rsp + 0x510]
xor r8d, r8d
xor edx, edx
mov word [rsp + 0x300], bx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x105
call qword [sym.imp.SHLWAPI.dll_Ordinal_348]
cmp eax, ebx
je 0x1020b7c
cmp word [rsp + 0x300], bx
je 0x1020b7c
mov qword [rdi], rbx
lea rcx, [rsp + 0x300]
jmp 0x1020bcd
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x510]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp eax, ebx
je 0x1020bad
mov qword [rdi], rbx
lea rcx, [rsp + 0x50]
jmp 0x1020bcd
lea rcx, [rsp + 0x510]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov qword [rdi], rbx
cmp rax, rbx
jne 0x1020bca
mov eax, 0x80070057
jmp 0x1020bd5
mov rcx, rax
mov rdx, rdi
call fcn.010266c4
cmp eax, ebx
setge bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x720]
xor rcx, rsp
call fcn.01027250
lea r11, [rsp + 0x730]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1020d18
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x520
mov rax, qword [0x01030138]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov rdi, rdx
mov rsi, rcx
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x300]
xor edx, edx
mov rcx, rdi
xor ebx, ebx
mov dword [rsp + 0x30], 0x104
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x1020d9a
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x300]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, rax
test eax, eax
je 0x1020d9a
mov rdx, qword [rsp + 0x40]
mov qword [rsi], rdx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.01027250
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1021138
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov r13, rdx
mov r14, rcx
lea rdx, [0x01007578]
xor ecx, ecx
call qword [sym.imp.UxTheme.dll_OpenThemeData]
mov qword [r14 + 0x50], rax
lea rdx, [rsp + 0x58]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetParent]
mov rdx, rax
mov r9d, 2
lea r8, [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor r12d, r12d
mov qword [rsp + 0xa0], r12
lea ebx, [rax + 1]
movsxd rcx, ebx
test ebx, ebx
jne 0x10211c0
xor ecx, ecx
jmp 0x10211d2
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x10211f7
add rcx, rcx
call qword [sym.imp.msvcrt.dll_malloc]
mov r12, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x10211f7
mov r8d, ebx
mov rdx, rax
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0xfffffff4
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov edx, 0xffffffec
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov ebp, eax
mov edx, 0xfffffff0
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
mov rcx, r13
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
mov rcx, qword [0x01030830]
mov qword [0x01030830], rcx
lea rdx, [r14 + 0x40]
lea rcx, [0x010307e0]
call fcn.0100d470
mov ecx, 0x56000000
test esi, esi
cmove esi, ecx
mov rcx, r12
neg rcx
sbb r9, r9
and r9, r12
and qword [rsp + 0x40], 0
mov word [rsp + 0x38], ax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], esi
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, r14
call fcn.0100d628
mov rbx, rax
test rax, rax
je 0x10212fa
mov edi, 0xffffffe6
mov edx, edi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassLongW]
and eax, 0xfffffffc
mov r8d, eax
mov edx, edi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetClassLongW]
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x4b]
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9d, [rdi + 0x1b]
mov r8, rax
lea edx, [rdi + 0x4a]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [r14 + 0x58]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
nop
mov rcx, r12
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
jmp 0x1021308
mov rcx, r12
call qword [sym.imp.msvcrt.dll_free]
mov eax, 0x80004005
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1021854
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x01031180]
test rcx, rcx
jne 0x102187a
call fcn.01021908
test eax, eax
je 0x10218a1
mov rcx, qword [0x01031180]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x10218f5
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 0x10218a5
xor eax, eax
jmp 0x10218f5
mov eax, dword [rax]
mov rcx, qword [0x01031180]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x10218d2
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x10218f5
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x01031180]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x10218d9
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1023240
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x40
and dword [rax - 0x28], 0
and dword [rax - 0x24], 0
and dword [rax - 0x20], 0
and dword [rax - 0x1c], 0
mov rsi, rcx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
xor ecx, ecx
xor edi, edi
mov r12d, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
cmp qword [rsi + 0x88], rdi
je 0x1023293
test r12d, r12d
jne 0x10232b6
mov rcx, qword [rsi + 8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdi, rax
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r13d, [rax + 1]
mov eax, 2
mov ecx, r13d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
mov rbp, rax
test rax, rax
je 0x1023315
mov rcx, qword [rsi + 8]
mov r8d, r13d
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r11, [rsp + 0x30]
mov r9d, r12d
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], r11
call fcn.0102312c
mov rcx, rbp
call sub.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x102333c
test rdi, rdi
je 0x1023333
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [rsp + 0x3c]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
sub eax, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x10237c0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, edx
mov rbx, rcx
xor r9d, r9d
mov dword [rcx + 0x5c], edi
mov rcx, qword [rcx + 8]
xor r8d, r8d
mov edx, 0x423
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rbx + 0x80], rax
test rax, rax
je 0x1023819
mov edx, 0xfffffff0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [rbx + 0x80]
mov edx, 0xfffffff0
or eax, 2
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [rbx + 0x5c]
and dword [rsp + 0x20], 0
mov r9d, 2
mov edx, ecx
mov r8d, 0xa021
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
movzx ecx, di
xor r8d, r8d
mov qword [rbx + 0x68], rax
mov eax, ecx
mov edx, 0x41f
shl eax, 0x10
movsxd r9, eax
or r9, rcx
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rbx + 0x68]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, 0x430
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r9d, r9d
lea r8d, [r9 + 0x20]
mov edx, 0x41e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x455
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r8d, r8d
bts rax, 7
mov edx, 0x454
mov r9, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
mov edx, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.USER32.dll_ShowWindow]

Function at 0x1024a78
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 0x1024b05
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 0x1024b4a
cvttss2si eax, dword [rdi + 0xe0]
sub r8d, eax
mov dword [rdi + 0x70], r8d
jmp 0x1024b4a
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 0x1024b4a
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
Function at 0x1026738
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r13d, r13d
cmp word [rcx], 0x40
mov esi, r9d
mov r12, r8
mov rbp, rdx
mov qword [rax + 0x18], r13
mov rdi, r13
jne 0x102676b
add rcx, 2
lea r14, [0x01031910]
mov r15d, 0x80070000
cmp rcx, r13
jne 0x1026784
mov ebx, 0x80004003
jmp 0x10267be
mov r8d, 0x10e
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, r13d
jne 0x10267ab
call sub.KERNEL32.dll_GetLastError
movzx ebx, ax
or ebx, r15d
cmp eax, r13d
cmovle ebx, eax
jmp 0x10267be
cmp word [0x01031910], r13w
mov ebx, r13d
mov eax, 0x8007007a
cmove ebx, eax
cmp ebx, r13d
jl 0x10268ff
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp rax, r13
je 0x1026839
lea rdx, [0x01007720]
mov rcx, rax
call sub.msvcrt.dll__wcsicmp
cmp eax, r13d
jne 0x1026839
or dword [rbp], 0xffffffff
mov r9d, esi
mov r8d, 1
mov rdx, r14
xor ecx, ecx
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsp + 0x90], rax
cmp rax, r13
jne 0x10268ff
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x90], rax
cmp rax, r13
jmp 0x10268ec
mov edx, dword [rbp]
mov rcx, r14
cmp edx, r13d
jge 0x10268b1
xor edx, edx
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
cmp rax, r13
je 0x10268ee
mov eax, dword [rbp]
mov r9d, esi
mov r8d, esi
cdq
mov rcx, rdi
xor eax, edx
sub eax, edx
mov dword [rbp], eax
movzx edx, ax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.COMCTL32.dll_Ordinal_381]
cmp eax, r13d
mov ebx, eax
jge 0x10268ff
movzx edx, word [rbp]
mov r9d, esi
mov r8d, 1
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_LoadImageW]
jmp 0x1026829
mov dword [rsp + 0x38], r13d
lea rax, [rsp + 0x80]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov r9d, esi
mov r8d, esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_PrivateExtractIconsW]
cmp eax, r13d
je 0x10268ee
cmp eax, 0xffffffff
jne 0x10268ff
call sub.KERNEL32.dll_GetLastError
movzx ebx, ax
or ebx, r15d
cmp eax, r13d
cmovle ebx, eax
mov rax, qword [rsp + 0x90]
mov qword [r12], rax
cmp rdi, r13
je 0x1026918
mov rcx, rdi
call sub.KERNEL32.dll_FreeLibrary
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1026b6c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x01030138]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call sub.msvcrt.dll_memset
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x01000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x1026bff
cmp dword [rsp + 0x24], 5
jb 0x1026c19
jmp 0x1026c15
cmp dword [rsp + 0x30], esi
jne 0x1026c19
cmp dword [rsp + 0x24], 4
ja 0x1026c15
jne 0x1026c19
cmp dword [rsp + 0x28], 0
jbe 0x1026c19
mov byte [rbx + 0x18], sil
lea rax, [0x01001c80]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.0100e254
movzx ecx, byte [0x010314a8]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x010314a8], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.01027250
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1027250
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x01030138]
jne 0x102726b
rol rcx, 0x10
test cx, 0xffff
jne 0x1027267
ret 0
ror rcx, 0x10
jmp 0x10278f0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x01030b80]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x01030c78]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1027975
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, [0x01030b80]
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.ntdll.dll_RtlVirtualUnwind
jmp 0x1027997
mov rax, qword [rsp + 0x88]
mov qword [0x01030c78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x01030c18], rax
mov rax, qword [0x01030c78]
mov qword [0x01030af0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x01030c00], rax
mov dword [0x01030ae0], 0xc0000409
mov dword [0x01030ae4], 1
mov rax, qword [0x01030138]
mov qword [rsp + 0x68], rax
mov rax, qword [0x01030140]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x01001d68]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret