joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1803b9a94
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1803b9ac4
xor eax, eax
jmp 0x1803b9b87
mov rbp, rbx
cmp word [rax], si
je 0x1803b9ae9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1803b9ad0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1803b9acc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1803b7aa8
movsxd r14, eax
test eax, eax
jne 0x1803b9b27
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1803b9abd
mov rcx, r14
call fcn.1803b3e70
mov rdi, rax
test rax, rax
jne 0x1803b9b40
xor ecx, ecx
call fcn.1803b3100
jmp 0x1803b9b1c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1803b7aa8
test eax, eax
jne 0x1803b9b71
mov rcx, rdi
call fcn.1803b3100
jmp 0x1803b9b7b
xor ecx, ecx
call fcn.1803b3100
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1803b9ba4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1803b9c2b
mov rsi, rbx
cmp word [rax], bp
je 0x1803b9bea
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1803b9bd4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1803b9bd0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1803b3e70
mov rdi, rax
test rax, rax
je 0x1803b9c18
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1803c2fa0
mov rbp, rdi
xor ecx, ecx
call fcn.1803b3100
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1803c26d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1803c26f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1803c26f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x62ba70
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x62ba7d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x62ba8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x62ba75
lea eax, [rcx + 1]
jmp 0x62ba9b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x62baae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x62ba94
sub eax, 3
jb 0x62bace
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x62bb1d
sar eax, 1
movsxd rbp, eax
jb 0x62bb04
jmp 0x62badc
add ebx, ebx
jne 0x62bada
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x62bb04
inc ecx
add ebx, ebx
jne 0x62baea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x62bb04
call r11
adc ecx, ecx
add ebx, ebx
jne 0x62bafd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x62baec
add ecx, 2
jmp 0x62bb09
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0062ba32
jmp 0x62ba7d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xc8400
mov dl, 0x22
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x62bb69
cmp rsi, rcx
jae 0x62bb71
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x62bb50
cmp al, 0x8f
ja 0x62bb50
cmp byte [rsi - 2], 0xf
je 0x62bb56
sub al, 0xe8
cmp al, 1
ja 0x62bb3a
cmp rsi, rcx
jae 0x62bb71
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x62bb40
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x62bb71
lodsb al, byte [rsi]
jmp 0x62bb50
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x227000]
mov eax, dword [rdi]
or eax, eax
je 0x62bbce
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x22b000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x62bb7e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x62bbc8
mov qword [rbx], rax
add rbx, 8
jmp 0x62bb9e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x62bc08
cmp al, 0xef
ja 0x62bbfa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x62bbda
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x62bbe9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x62bc5c
sub rsp, 0xffffffffffffff80
jmp 0x465620
Function at 0x1400039f0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140003a90
jmp 0x140003a7f
jae 0x140003b50
cmp r8, 0x201
jae 0x140003a90
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140003ae8
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x140003abf
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140019590
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140003b11
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003bb8
mov r8d, r14d
cmp r15, r8
jne 0x140003a70
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003be5
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140003a7f
jmp 0x140003a90
cmp rsi, r8
jb 0x140003bff
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140005a10
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140003ba1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140001270
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140003b89
jmp 0x140003ba1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140019fa0
jmp 0x140003c14
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001a3f0
ud2
Function at 0x1400179b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140017a2a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140017a20
cmp r11, r10
ja 0x140017ac1
cmp r10, rdx
ja 0x140017ad3
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140017a22
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140017a00
jmp 0x140017a97
ja 0x140017a2a
mov r11, r10
cmp rax, r8
jne 0x1400179d2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140017a9b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140017a70
mov r8, r10
sub ecx, r9d
jns 0x140017a8e
jmp 0x140017a9d
cmp r10, rdx
je 0x140017aa9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140017a9d
xor al, 1
cmp r8, rdx
jne 0x140017a50
jmp 0x140017a9d
xor eax, eax
jmp 0x140017a9d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14001edbb]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140019fa0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001a470
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001a3f0
int3

Function at 0x140018ffc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140019046
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140019046
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140019046
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140019046
cmp dword [rcx + 0x84], 0xe
jbe 0x140019046
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140019048
xor al, al
add rsp, 0x28
ret
Function at 0x14000c070
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x14000c24a
push rdi
sub rsp, 0x60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x14000c245
mov eax, 0x5a4d
mov qword [rsp + 0x50], r15
mov r15d, dword [rsp + 0x38]
cmp word [rdi], ax
jne 0x14000c240
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r15
jae 0x14000c240
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0x80], rbp
lea rbp, [rcx + rdi]
jne 0x14000c238
movzx eax, word [rbp + 4]
mov ecx, 0x14c
mov qword [rsp + 0x88], rsi
xor esi, esi
mov qword [rsp + 0x58], r14
cmp cx, ax
jne 0x14000c11c
xor r14d, r14d
jmp 0x14000c14e
mov ecx, 0x200
mov r8d, 0xaa64
cmp cx, ax
je 0x14000c140
mov ecx, 0x8664
cmp cx, ax
je 0x14000c140
cmp r8w, ax
jne 0x14000c22b
cmp r8w, ax
mov r14d, 1
sete sil
mov qword [rsp + 0x78], rbx
mov ebx, dword [rbp + 0x28]
add rbx, rdi
je 0x14000c226
cmp rbx, rdi
jbe 0x14000c226
lea rax, [r15 + rdi]
cmp rbx, rax
jae 0x14000c226
mov rcx, rbx
call fcn.14000cde0
test eax, eax
je 0x14000c226
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov rdx, rdi
mov rcx, rbp
call fcn.14000ce50
mov edx, 0x14
mov dword [rsp + 0x70], 0
lea r9, [rsp + 0x70]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000c226
test r14d, r14d
jne 0x14000c1d6
mov eax, dword [0x1400dbcd0]
mov dword [rbx], eax
movzx eax, byte [0x1400dbcd4]
mov byte [rbx + 4], al
jmp 0x14000c1fa
test esi, esi
je 0x14000c1e6
mov rax, qword [0x1400dbcc8]
mov qword [rbx], rax
jmp 0x14000c1fa
movzx eax, word [0x1400dbcc4]
mov word [rbx], ax
movzx eax, byte [0x1400dbcc6]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0x70]
lea r9, [rsp + 0x70]
mov edx, 0x14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x80]
mov r15, qword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
Function at 0x1400104f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140010520
xor al, al
jmp 0x1400105f7
test r8w, r8w
jne 0x1400105ec
cmp dword [rdx + 4], edi
jle 0x140010545
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0xc], eax
call fcn.140010434
inc dword [rax + 0x1a4]
inc dword [rbx]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x10]
cmp eax, 0x3e8
jbe 0x14001059c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [rbx]
mov dword [rbx + 0x10], eax
call fcn.140010434
mov ecx, dword [rax + 0x1bc]
test ecx, ecx
je 0x140010576
cmp ecx, ebp
cmovle ecx, ebp
mov ebp, ecx
mov dword [rax + 0x1bc], ebp
mov ebp, dword [rbx]
call fcn.140010434
mov ecx, dword [rax + 0x1c0]
test ecx, ecx
je 0x140010594
cmp ecx, ebp
cmovge ecx, ebp
mov ebp, ecx
mov dword [rax + 0x1c0], ebp
mov dword [rbx], edi
mov al, byte [rsi + 1]
cmp byte [rbx + 4], al
je 0x1400105b7
mov rdx, rsi
mov rcx, rbx
call fcn.1400106a0
mov cl, byte [rsi + 1]
mov byte [rbx + 4], cl
jmp 0x1400105de
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 8]
cmp eax, 0x3a98
jbe 0x1400105cc
cmp dword [rsi + 4], edi
jg 0x1400105d3
cmp eax, 0x4268
jbe 0x1400105f4
mov rdx, rsi
mov rcx, rbx
call fcn.1400106a0
mov dil, al
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 8], eax
jmp 0x1400105f4
call fcn.140010904
mov dil, al
mov al, dil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140010890
Capabilities:
Get graphical window text

Disassembly:
test rdx, rdx
je 0x140010901
push rbx
sub rsp, 0x130
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [rsp + 0x20]
mov r8d, 0x100
call qword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x1400108e9
lea rcx, [rbx + 0x214]
mov byte [rsp + 0x3f], 0
lea r8, [rsp + 0x20]
mov edx, 0x40
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14007e630
add rsp, 0x130
pop rbx
ret
Function at 0x1400119bc
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xa40
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0xa30], rax
mov rsi, r8
mov r14, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x20]
xor ebx, ebx
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, [0x140088b80]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140011a31
xor al, al
jmp 0x140011ad0
mov edi, 0x400
lea rcx, [rsp + 0x230]
mov r8d, edi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, edi
lea rcx, [rsp + 0x630]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov edi, ebx
mov r8d, 0x1ff
lea rdx, [rsp + 0x630]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x140011a89
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x32
jl 0x140011a5c
mov r8d, 0x1ff
lea rdx, [rsp + 0x230]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x630], bx
je 0x140011ace
cmp word [rsp + 0x230], bx
je 0x140011ace
lea r8, [rsp + 0x230]
mov rcx, rbp
lea rdx, [rsp + 0x630]
call fcn.140012164
mov bl, al
mov al, bl
mov rcx, qword [rsp + 0xa30]
xor rcx, rsp
call fcn.14007e630
lea r11, [rsp + 0xa40]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140011cf0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x440
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbp, rdx
mov rsi, rcx
xor r14d, r14d
mov edi, r14d
call fcn.140012238
test al, al
je 0x140011e4f
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov ebx, r14d
mov r8d, 0x1ff
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x140011d6f
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x140011d45
cmp word [rsp + 0x30], r14w
je 0x140011e4f
mov rdx, rbp
mov rcx, rsi
call fcn.1400120d4
test al, al
je 0x140011dd9
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140011408
test al, al
je 0x140011dd9
mov edi, 3
lea rbx, [rsi + 0x40]
mov qword [rsp + 0x20], rbx
cmp dword [rbx + 0x28], r14d
je 0x140011dbb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x28], 1
mov qword [rsi + 8], rbp
cmp dword [rbx + 0x28], r14d
je 0x140011e4f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140011e4f
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001130c
test al, al
je 0x140011df4
mov edi, 2
jmp 0x140011e4f
lea rdx, [0x140086970]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x140011e4a
lea rdx, str.___Microsoft_PowerPoint
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x140011e4a
lea rdx, str.PowerPoint
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x140011e4a
lea rdx, str.Microsoft_PowerPoint
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x140011e4f
mov edi, 1
mov eax, edi
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14007e630
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140011fbc
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rbx, rdx
mov r8d, 0xff
mov rcx, rbx
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x1400120b9
lea rdx, str.OpusApp
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x1400120b9
mov r8d, 0xff
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1400120b9
lea rax, [rsp + 0x20]
lea rdx, str.Word
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140012050
add rax, 2
test r8d, r8d
jne 0x14001203a
test ecx, ecx
je 0x1400120b5
lea rax, [rsp + 0x20]
lea rdx, str.Microsoft_Word
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140012079
add rax, 2
test r8d, r8d
jne 0x140012063
test ecx, ecx
je 0x1400120b5
mov r8d, 6
lea rdx, str.Word__
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x1400120b5
mov r8d, reloc.zCrashReport64.dll_Ordinal_16
lea rdx, str.Microsoft_Word__
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x1400120b9
mov al, 1
jmp 0x1400120bb
xor al, al
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14007e630
add rsp, 0x230
pop rbx
ret

Function at 0x1400124a8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x440
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov r14b, r8b
mov rbp, rdx
mov rsi, rcx
lea rdi, [rcx + 0x40]
mov qword [rsp + 0x20], rdi
cmp dword [rdi + 0x28], 0
je 0x1400124f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, 1
mov byte [rsp + 0x28], bl
test r14b, r14b
jne 0x140012504
cmp rbp, qword [rsi + 8]
sete bl
jmp 0x14001255e
mov rdx, rbp
mov rcx, rsi
call fcn.140012238
test al, al
je 0x14001255c
mov rdx, rbp
mov rcx, rsi
call fcn.1400120d4
test al, al
je 0x14001255c
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x1ff
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140011408
test al, al
jne 0x14001255e
xor bl, bl
cmp dword [rdi + 0x28], 0
je 0x14001256d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14007e630
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140012a44
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x950]
sub rsp, 0xa50
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rbp + 0x940], rax
mov r15, r9
mov esi, r8d
mov r12, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x330]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x330]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, [rbp + 0x330]
mov rcx, rbx
call fcn.140012598
xor r13d, r13d
test al, al
je 0x140012c84
mov dil, r13b
mov r14d, 0x400
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x540]
call sub.VCRUNTIME140.dll_memset
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r14d, r13d
mov r8d, 0x1ff
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x140012b1c
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r14d
cmp r14d, 0x32
jl 0x140012af0
cmp word [rsp + 0x30], r13w
je 0x140012c81
mov r8d, 0x1ff
lea rdx, [rbp + 0x540]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x140012c81
cmp esi, 1
jne 0x140012c0a
lea r8, [rbp + 0x540]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001130c
test al, al
je 0x140012be1
lea rdx, str.PodiumParent
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140012b9b
lea rdx, str.screenClass
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140012c81
call fcn.140011b6c
cmp qword [rax + 8], 1
seta dil
lea rsi, [rbx + 0x40]
mov qword [rsp + 0x20], rsi
cmp dword [rsi + 0x28], r13d
je 0x140012bc1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x28], 1
mov qword [rbx], r15
cmp dword [rsi + 0x28], r13d
je 0x140012c81
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140012c81
mov rdx, r15
mov rcx, rbx
call fcn.1400120d4
test al, al
je 0x140012c81
lea r8, [rbp + 0x540]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140011408
jmp 0x140012c7a
cmp esi, 3
jne 0x140012c39
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x540]
mov rcx, rbx
call fcn.140011408
test al, al
je 0x140012c81
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001130c
jmp 0x140012c66
cmp esi, 2
jne 0x140012c81
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x540]
mov rcx, rbx
call fcn.14001130c
test al, al
je 0x140012c81
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140011408
test al, al
jne 0x140012c7e
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001123c
test al, al
je 0x140012c81
mov dil, 1
mov al, dil
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.14007e630
mov rbx, qword [rsp + 0xaa0]
add rsp, 0xa50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret