joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d1f20
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x860
mov rbx, r8
mov rsi, rcx
mov r8d, 0x800
lea rcx, [rsp + 0x60]
xor edx, edx
movzx ebp, r9b
call sub.VCRUNTIME140.dll_memset
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400d210e
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400d210e
xor edi, edi
test rbx, rbx
je 0x1400d1ff0
cmp qword [rbx], rdi
je 0x1400d1ff0
mov edx, edi
lea r9, [0x140125af0]
mov r8d, edi
lea r10, [0x140113d30]
mov rax, rbx
cmp rbx, r9
jne 0x1400d1fd5
lea eax, [rdx + rdx*4]
lea rax, [r10 + rax*2]
jmp 0x1400d1fd8
mov rax, qword [rax]
movzx eax, word [rax]
inc edx
mov word [rsp + r8*2 + 0x60], ax
mov r8d, edx
cmp qword [rbx + rdx*8], rdi
lea rax, [rbx + rdx*8]
jne 0x1400d1fc7
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x1400d2000
mov rcx, qword [rsp + 0x40]
lea r8d, [rax + rax]
xor r9d, r9d
lea rdx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400d210e
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp + 0x890]
mov r9d, eax
shl r9d, 0x10
cmp eax, 0x80
jne 0x1400d2058
mov edi, 0x660e
jmp 0x1400d2067
cmp eax, 0xc0
setne dil
add edi, 0x660f
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov edx, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1400d210e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x1400d210e
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
test bpl, bpl
je 0x1400d20d5
mov eax, dword [rsp + 0x878]
add eax, 0x10
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x878]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [0x140127aa8]
jmp 0x1400d20ed
lea rax, [rsp + 0x878]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [0x140127aa0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rsp + 0x878]
jmp 0x1400d2110
xor eax, eax
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400d2860
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp byte [rdx + 0x23], 0
mov rbx, rdx
mov rdi, rcx
jne 0x1400d287a
mov rbx, qword [rdx + 0x10]
cmp byte [rcx + 0x23], 0
jne 0x1400d2884
mov rdi, qword [rcx + 0x10]
movzx eax, byte [rbx + 0x21]
test al, 0x10
je 0x1400d28ff
test al, 8
jne 0x1400d28fa
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
shr r8, 1
movzx eax, word [rdx]
movzx ecx, word [rdx + r8*2 - 2]
cmp ax, 0x20
je 0x1400d28c8
cmp ax, 9
je 0x1400d28c8
cmp cx, 0x20
je 0x1400d28c8
cmp cx, 9
je 0x1400d28c8
cmp ax, 0x30
je 0x1400d28c8
cmp ax, 0x2b
jne 0x1400d28fa
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rdi
call fcn.1400d3350
test eax, eax
je 0x1400d2926
mov r8b, reloc.WSOCK32.dll_recv
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.140001580
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
jmp 0x1400d28df
test al, 0x20
je 0x1400d295e
mov rcx, rdi
test al, 8
jne 0x1400d294a
mov r8, qword [rbx + 0x10]
xor r9d, r9d
mov rdx, qword [rbx + 8]
shr r8, 1
mov byte [rsp + 0x20], 1
call fcn.1400d3350
test eax, eax
jne 0x1400d2933
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
movsd xmm0, qword [rbx]
mov r8b, 0x20
movsd qword [rsp + 0x40], xmm0
mov rcx, rdi
mov rdx, qword [rsp + 0x40]
jmp 0x1400d28e5
movsd xmm0, qword [rbx]
mov r8b, 0x28
movsd qword [rsp + 0x40], xmm0
mov rdx, qword [rsp + 0x40]
jmp 0x1400d28e5
test al, 1
je 0x1400d2977
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400d3080
test al, 2
je 0x1400d299c
mov rbx, qword [rbx]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400d38a0
cmp byte [rbx + 0x23], 0
jne 0x1400d29a8
mov rax, qword [rbx + 0x10]
jmp 0x1400d29ab
mov rax, rbx
test byte [rax + 0x21], 4
je 0x1400d29b9
mov rdx, rbx
call fcn.140060a30
mov r8, qword [rbx + 0x10]
xor r9d, r9d
mov rdx, qword [rbx + 8]
mov rcx, rdi
shr r8, 1
mov byte [rsp + 0x20], 1
call fcn.1400d3350
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d29e0
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov r8d, dword [rdx + 0x10]
mov rbx, rdx
mov rdi, rcx
sub r8d, 1
je 0x1400d2ac5
sub r8d, 1
je 0x1400d2ab1
sub r8d, 2
je 0x1400d2a9f
sub r8d, 1
je 0x1400d2a3f
cmp r8d, 1
jne 0x1400d2a80
mov rbx, qword [rdx]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400d38a0
mov rdx, qword [rdx + 8]
test rdx, rdx
je 0x1400d2a80
mov rax, qword [rbx]
cmp word [rax], 0x30
jne 0x1400d2ac5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, rax
lea r8, [r9 - 1]
call fcn.1400d3350
test eax, eax
jne 0x1400d2a74
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rbx + 8]
mov r8b, reloc.WSOCK32.dll_recv
mov rcx, rdi
jmp 0x1400d2ac8
mov rdx, qword [rbx]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400d3350
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400d2860
movsd xmm0, qword [rdx]
mov r8b, 0x28
movsd qword [rsp + 0x48], xmm0
mov rdx, qword [rsp + 0x48]
jmp 0x1400d2acb
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rdx, qword [rdx]
call fcn.140001580
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x1400d2ae0
Capabilities:
Read clipboard data

Disassembly:
movzx eax, byte [rcx + 0x23]
cmp al, 2
jne 0x1400d2aee
mov eax, 1
ret
test al, al
jne 0x1400d2af6
mov rcx, qword [rcx + 0x10]
xor r8d, r8d
xor edx, edx
jmp fcn.1400d2b00
Function at 0x1400d3080
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x23], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1400d30a0
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 0
je 0x1400d3096
cmp byte [rdx + 0x23], 0
jne 0x1400d30aa
mov rdi, qword [rdx + 0x10]
mov rcx, rdi
call fcn.140001620
cmp byte [rbx + 0x23], 1
jne 0x1400d3117
cmp rbx, rdi
je 0x1400d3107
mov rax, qword [rdi + 0x10]
mov r9b, 1
mov r8, rax
mov byte [rsp + 0x20], 0
shr r8, 1
and eax, 1
add r8, rax
xor edx, edx
mov rcx, rbx
call fcn.1400d3350
test eax, eax
jne 0x1400d30ee
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
add r8, 2
mov rcx, qword [rbx + 8]
call sub.VCRUNTIME140.dll_memcpy
or byte [rbx + 0x21], 1
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400d3130
Function at 0x1400d3130
Capabilities:
Write clipboard data

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
lea rcx, [0x14012bc48]
call fcn.140007900
test eax, eax
jne 0x1400d316d
lea r8, [0x1400ef7e4]
lea rdx, str.Cant_open_clipboard_for_writing.
lea rcx, [0x14012afc0]
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.14005fed0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea r14, [rsi + rbx]
xor r12d, r12d
lea rbx, [rsi + 4]
cmp rbx, r14
ja 0x1400d3232
mov r15d, dword [rsi]
test r15d, r15d
je 0x1400d3232
mov rax, rbx
add rbx, 8
cmp rbx, r14
ja 0x1400d3232
mov edi, dword [rax]
mov rsi, rbx
add rbx, rdi
cmp rbx, r14
ja 0x1400d3232
mov rdx, r12
test rdi, rdi
mov ecx, 0x42
sete dl
add rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x1400d32f0
test rdi, rdi
je 0x1400d3219
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400d3291
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rsi, rbx
mov rdx, rbp
mov ecx, r15d
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rbx, [rsi + 4]
cmp rbx, r14
jbe 0x1400d31a0
cmp dword [0x14012bc74], r12d
je 0x1400d326c
cmp qword [0x14012bc58], r12
je 0x1400d3258
mov rcx, qword [0x14012bc48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012bc58], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012bc74], r12d
mov qword [0x14012bc48], r12
mov eax, 1
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x14012bc74], r12d
je 0x1400d32d4
cmp qword [0x14012bc58], r12
je 0x1400d32c0
mov rcx, qword [0x14012bc48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012bc58], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012bc74], r12d
mov qword [0x14012bc48], r12
lea r8, [0x1400ef7e4]
lea rdx, [0x1400efe78]
lea rcx, [0x14012afc0]
call fcn.14005fed0
jmp 0x1400d3271
cmp dword [0x14012bc74], r12d
je 0x1400d332a
cmp qword [0x14012bc58], r12
je 0x1400d3316
mov rcx, qword [0x14012bc48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012bc58], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012bc74], r12d
mov qword [0x14012bc48], r12
lea r8, [0x1400ef7e4]
lea rdx, str.Out_of_memory.
lea rcx, [0x14012afc0]
call fcn.14005fed0
jmp 0x1400d3271
Function at 0x1400d4520
Capabilities:
Log keystrokes

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x38
mov rbx, rcx
test rcx, rcx
je 0x1400d46fc
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x14012af90]
mov r15d, eax
je 0x1400d4559
mov rcx, rbx
call fcn.1400d5bd0
test al, al
jne 0x1400d46fc
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400d457d
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp rbx, rbp
jne 0x1400d458f
mov rax, rbx
add rsp, 0x38
pop r15
pop rsi
pop rbp
pop rbx
ret
cmp byte [0x140127b76], 0
jne 0x1400d45ac
mov rdx, rbp
mov rcx, rbx
call fcn.1400d4460
test rax, rax
jne 0x1400d46fe
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
xor r12b, r12b
mov qword [rsp + 0x78], r13
xor r13b, r13b
mov qword [rsp + 0x30], r14
test rbp, rbp
je 0x1400d4630
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r14d, eax
test eax, eax
je 0x1400d4635
cmp dword [0x14012af90], eax
je 0x1400d460c
mov rcx, rbp
call fcn.1400d5bd0
test al, al
jne 0x1400d460c
mov ecx, dword [0x14012af90]
mov r8d, 1
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r12b
test r15d, r15d
je 0x1400d4635
cmp r14d, r15d
je 0x1400d4635
mov r8d, 1
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r13b
jmp 0x1400d4635
mov r14d, dword [rsp + 0x60]
xor edi, edi
nop word [rax + rax]
mov rdx, rbp
mov rcx, rbx
call fcn.1400d4460
mov rsi, rax
test rax, rax
jne 0x1400d46a2
inc edi
cmp edi, 5
jl 0x1400d4640
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [rax + 2]
call fcn.140020500
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [rsi + 2]
call fcn.140020500
mov rdx, rbp
mov rcx, rbx
call fcn.1400d4460
mov rsi, rax
mov rdi, qword [rsp + 0x68]
test r12b, r12b
mov r12, qword [rsp + 0x70]
je 0x1400d46c3
mov ecx, dword [0x14012af90]
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r13b, r13b
mov r13, qword [rsp + 0x78]
je 0x1400d46dc
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14, qword [rsp + 0x30]
test rsi, rsi
je 0x1400d46fc
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rax, rsi
add rsp, 0x38
pop r15
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
add rsp, 0x38
pop r15
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d4870
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
test r8b, r8b
je 0x1400d4890
call fcn.140096f80
jmp 0x1400d48a0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test esi, esi
cmovns edi, esi
test edi, edi
je 0x1400d4919
mov qword [rsp + 0x30], rbp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword gs:[0x48]
mov ebp, eax
cmp dword [0x14012af90], esi
jne 0x1400d48d9
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001a20
jmp 0x1400d48e4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400d4901
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rdi + rbp]
sub ecx, eax
cmp ecx, 5
jg 0x1400d48c0
mov rbp, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d4b30
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11bf0]
mov eax, 0x11cf0
call fcn.1400ecec0
sub rsp, rax
movzx r10d, word [rdx]
mov r11d, 0xffdf
mov rdi, rcx
mov rcx, qword [rbp + 0x11c20]
lea eax, [r10 - 0x41]
test r11w, ax
jne 0x1400d4bd8
cmp word [rdx + 2], 0
jne 0x1400d4bd8
cmp word [r8], 0
jne 0x1400d4bd8
cmp word [r9], 0
jne 0x1400d4bd8
cmp word [rcx], 0
jne 0x1400d4bd8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400d4bbb
cmp byte [rdi + 0x12a], 0
jne 0x1400d4bbb
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400d4bb9
mov rcx, rbx
call fcn.1400d5c80
test al, al
je 0x1400d4bbb
xor ebx, ebx
cmp byte [rbp + 0x11c30], 0
je 0x1400d4bd0
test rbx, rbx
je 0x1400d4bd0
mov qword [rdi + 0xf8], rbx
mov rax, rbx
jmp 0x1400d4d2d
test r10w, r10w
jne 0x1400d4bfd
cmp word [r8], r10w
jne 0x1400d4bfd
cmp word [r9], r10w
jne 0x1400d4bfd
cmp word [rcx], r10w
jne 0x1400d4bfd
mov rcx, rdi
call fcn.1400d4d80
jmp 0x1400d4d2d
xor ebx, ebx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
mov qword [rsp + 0x20], r9
mov r9, r8
mov dword [rsp + 0x30], ebx
mov r8, rdx
mov byte [rbp + 0x1789], bl
lea rax, [0x1400ef7e4]
mov dword [rbp + 0x178c], ebx
mov rdx, rdi
mov qword [rbp + 0xf48], rax
lea rcx, [rsp + 0x30]
movdqa xmmword [rbp + 0x1790], xmm0
mov qword [rbp + 0x17a0], rbx
mov dword [rbp + 0x17a8], ebx
mov qword [rbp + 0x17b0], rbx
movdqa xmmword [rbp + 0x17c0], xmm0
call fcn.1400d5e60
test eax, eax
je 0x1400d4d2b
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c28]
mov byte [rbp + 0x1789], al
mov rax, qword [rbp + 0x11c38]
mov qword [rbp + 0x17a0], rax
mov eax, dword [rbp + 0x11c40]
mov dword [rbp + 0x17a8], eax
je 0x1400d4d42
mov rbx, qword [rbp + 0xf68]
cmp rbx, 0xffff
je 0x1400d4d00
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400d4d2b
cmp byte [rdi + 0x12a], 0
mov rbx, qword [rbp + 0xf68]
jne 0x1400d4d00
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400d4ce1
mov rcx, rbx
call fcn.1400d5c80
test al, al
je 0x1400d4cf9
mov rcx, qword [rbp + 0xf68]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400d4d2b
mov rbx, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c8], rbx
je 0x1400d4d1a
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c8], rbx
call fcn.1400d6320
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400d6430
test rax, rax
jne 0x1400d4d54
xor eax, eax
lea r11, [rsp + 0x11cf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [rsp + 0x30]
lea rcx, [0x1400d4e70]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rbp + 0x11c30], 0
mov rax, qword [rbp + 0x1790]
je 0x1400d4d2d
test rax, rax
je 0x1400d4d2d
mov qword [rdi + 0xf8], rax
jmp 0x1400d4d2d
Function at 0x1400d6320
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1898]
test rcx, rcx
je 0x1400d641c
mov eax, dword [rbx]
test eax, eax
je 0x1400d641c
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400d635f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400d637d
mov r8d, 0x7fff
lea rdx, [rbx + 0x18ac]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400d637d
mov word [rbx + 0x18ac], si
mov eax, dword [rbx]
test al, 4
je 0x1400d6399
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x18a8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rbx]
test al, 0x20
je 0x1400d63d6
mov rcx, qword [rbx + 0x1898]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400d63d6
movzx r9d, byte [rbx + 0x1858]
lea rdx, [rbx + 0x11aac]
mov ecx, dword [rsp + 0x30]
call fcn.140092f00
test eax, eax
jne 0x1400d63d6
mov word [rbx + 0x11aac], si
mov eax, dword [rbx]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
test al, 8
je 0x1400d6402
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x118aa]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [rbx]
bt eax, 8
jae 0x1400d641c
mov rcx, qword [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rbx + 0x18a0], rax
add rsp, 0x20
pop rbx
ret

Function at 0x1400d6c10
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11ce8
call fcn.1400ecec0
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400d6cec
xor r9d, r9d
mov byte [rsp + 0x18a8], dl
xorps xmm0, xmm0
mov dword [rsp + 0x20], r9d
lea rcx, [0x1400ef7e4]
mov byte [rsp + 0x1879], r9b
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400d76b0]
mov dword [rsp + 0x187c], r9d
movdqa xmmword [rsp + 0x1880], xmm0
mov qword [rsp + 0x1890], r9
mov dword [rsp + 0x1898], r9d
movdqa xmmword [rsp + 0x18b0], xmm0
mov qword [rsp + 0x18a0], rax
mov dword [rsp + 0x18ac], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1880], 0
je 0x1400d6cec
mov rax, qword [0x140124200]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400d6cec
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x14012af90], eax
mov rax, qword [0x140124200]
mov ecx, dword [rax + 0x74]
je 0x1400d6ce2
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add rsp, 0x11ce8
ret
mov edx, 1
call fcn.140001a20
mov eax, 1
add rsp, 0x11ce8
ret
Function at 0x1400d6d00
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push rbx
push r15
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
movzx r15d, dl
mov rbx, rcx
jne 0x1400d6d23
mov eax, 1
add rsp, 0x28
pop r15
pop rbx
ret
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140124200]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.1400d7440
cmp byte [rbx], 0
mov rbp, rax
je 0x1400d6d5a
test rax, rax
jne 0x1400d6d63
jmp 0x1400d6e28
test rbp, rbp
jne 0x1400d6e28
test rdi, rdi
je 0x1400d6e28
xor r9d, r9d
mov qword [rsp + 0x48], rsi
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rcx, rdi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword gs:[0x48]
mov r14d, eax
nop word [rax + rax]
cmp dword [0x14012af90], esi
jne 0x1400d6db9
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001a20
jmp 0x1400d6dc4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400d6de7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, r14d
sub ecx, eax
add ecx, 0x1f4
cmp ecx, 5
jg 0x1400d6da0
mov rax, qword [0x140124200]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400d6e28
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x14012af90], eax
mov rax, qword [0x140124200]
mov ecx, dword [rax + 0x74]
je 0x1400d6e1e
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400d6e28
mov edx, 1
call fcn.140001a20
cmp byte [rbx], 0
movzx edx, r15b
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
je 0x1400d6e50
xor r9d, r9d
mov r8, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400d6e70
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400d7110
Function at 0x1400d7110
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x11cf0
call fcn.1400ecec0
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx esi, dl
mov rdi, rcx
je 0x1400d7364
xor edx, edx
call fcn.1400d7380
test eax, eax
jne 0x1400d7150
mov rsi, qword [rsp + 0x11d10]
add rsp, 0x11cf0
pop rdi
ret
mov qword [rsp + 0x11d00], rbx
mov qword [rsp + 0x11d08], rbp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140124200]
mov rcx, rdi
mov rdx, rax
mov rbp, rax
call fcn.1400d7440
mov ecx, dword [0x140129f34]
xor ebx, ebx
test rax, rax
mov dword [rsp + 0x30], ebx
lea rax, [0x1400ef7e4]
mov dword [rsp + 0x188c], ebx
cmovne ecx, ebx
mov qword [rsp + 0x1048], rax
mov dword [0x140129f34], ecx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1890], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x18c0], xmm1
test sil, sil
je 0x1400d71d1
mov byte [rsp + 0x1889], bl
test ecx, ecx
je 0x1400d71d9
mov byte [rsp + 0x1889], 1
mov rax, qword [0x140129f40]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x18a0], rax
mov rax, qword [rdi + 0x10]
mov dword [rsp + 0x18a8], ecx
lea rcx, [0x1400d7540]
mov qword [rsp + 0x18b0], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1890]
test rax, rax
je 0x1400d731c
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400d5b70]
mov qword [rsp + 0x28], rbx
call qword [sym.imp.USER32.dll_EnumWindows]
mov r9, qword [rsp + 0x28]
test r9, r9
je 0x1400d7290
movsxd rdx, dword [0x140129f34]
mov ecx, ebx
mov r8, qword [rsp + 0x1890]
mov r10, qword [0x140129f40]
test edx, edx
jle 0x1400d7272
mov rax, r10
cmp qword [rax], r8
je 0x1400d7286
inc ecx
add rax, 8
cmp ecx, edx
jl 0x1400d7263
cmp edx, 0x1f4
jge 0x1400d7286
mov qword [r10 + rdx*8], r8
inc edx
mov dword [0x140129f34], edx
mov qword [rsp + 0x1890], r9
jmp 0x1400d7298
mov r9, qword [rsp + 0x1890]
mov rcx, r9
call fcn.1400d4520
movsxd rcx, dword [0x140129f34]
mov rdx, qword [rsp + 0x1890]
mov r8, qword [0x140129f40]
test ecx, ecx
jle 0x1400d72cf
mov rax, r8
nop dword [rax]
cmp qword [rax], rdx
je 0x1400d72e3
inc ebx
add rax, 8
cmp ebx, ecx
jl 0x1400d72c0
cmp ecx, 0x1f4
jge 0x1400d72e3
mov qword [r8 + rcx*8], rdx
inc ecx
mov dword [0x140129f34], ecx
mov rax, qword [0x140124200]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400d7354
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x14012af90], eax
mov rax, qword [0x140124200]
mov ecx, dword [rax + 0x74]
je 0x1400d7310
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400d7354
mov edx, 1
call fcn.140001a20
jmp 0x1400d7354
mov ecx, dword [0x140129f34]
test ecx, ecx
je 0x1400d7354
cmp ecx, 1
mov dword [0x140129f34], ebx
setg cl
test cl, cl
je 0x1400d7354
mov rcx, qword [0x140129f40]
xor edx, edx
mov dword [0x140129f34], 1
mov qword [rcx], rbp
mov rcx, rdi
call fcn.1400d7110
mov rbx, qword [rsp + 0x11d00]
mov rbp, qword [rsp + 0x11d08]
mov rsi, qword [rsp + 0x11d10]
mov eax, 1
add rsp, 0x11cf0
pop rdi
ret