joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400af3a0
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 0x1400af3ba
mov rbx, qword [rdx + 0x10]
cmp byte [rcx + 0x23], 0
jne 0x1400af3c4
mov rdi, qword [rcx + 0x10]
movzx eax, byte [rbx + 0x21]
test al, 0x10
je 0x1400af449
test al, 8
jne 0x1400af444
mov rax, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
movzx ecx, word [rax]
shr r8, 1
movzx edx, word [rax + r8*2 - 2]
cmp ecx, 0x20
je 0x1400af402
cmp ecx, 9
je 0x1400af402
cmp edx, 0x20
je 0x1400af402
cmp edx, 9
je 0x1400af402
cmp ecx, 0x30
je 0x1400af402
cmp ecx, 0x2b
jne 0x1400af444
xor r9d, r9d
mov rdx, rax
mov rcx, rdi
mov byte [rsp + 0x20], 1
call fcn.1400b0240
test eax, eax
jne 0x1400af426
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.140001090
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
jmp 0x1400af429
test al, 0x20
je 0x1400af49b
mov rcx, rdi
test al, 8
jne 0x1400af487
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
xor r9d, r9d
shr r8, 1
mov byte [rsp + 0x20], 1
call fcn.1400b0240
test eax, eax
je 0x1400af419
movsd xmm0, qword [rbx]
mov r8b, 0x20
mov rcx, rdi
movsd qword [rsp + 0x40], xmm0
mov rdx, qword [rsp + 0x40]
jmp 0x1400af42f
movsd xmm0, qword [rbx]
mov r8b, 0x28
movsd qword [rsp + 0x40], xmm0
mov rdx, qword [rsp + 0x40]
jmp 0x1400af42f
test al, 1
je 0x1400af4b4
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400aff70
test al, 2
je 0x1400af4d9
mov rbx, qword [rbx]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + VariantCopy]
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400b05c0
cmp byte [rbx + 0x23], 0
jne 0x1400af4e5
mov rax, qword [rbx + 0x10]
jmp 0x1400af4e8
mov rax, rbx
test byte [rax + 0x21], 4
je 0x1400af4f6
mov rcx, rbx
call fcn.1400410d0
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
xor r9d, r9d
mov rcx, rdi
shr r8, 1
mov byte [rsp + 0x20], 1
call fcn.1400b0240
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400aff70
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 0x1400aff90
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 0
je 0x1400aff86
cmp byte [rdx + 0x23], 0
jne 0x1400aff9a
mov rdi, qword [rdx + 0x10]
mov rcx, rdi
call fcn.140001130
cmp byte [rbx + 0x23], 1
jne 0x1400b0007
cmp rbx, rdi
je 0x1400afff7
mov rax, qword [rdi + 0x10]
mov r9b, 1
xor edx, edx
mov r8, rax
and eax, 1
mov rcx, rbx
shr r8, 1
mov byte [rsp + 0x20], 0
add r8, rax
call fcn.1400b0240
test eax, eax
jne 0x1400affde
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, qword [rbx + 8]
add r8, 2
call fcn.1400ca2c0
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.1400b0020
Function at 0x1400b0020
Capabilities:
Write clipboard data

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rsi, rcx
lea rcx, [0x140119da8]
mov rbx, rdx
call fcn.140006660
test eax, eax
jne 0x1400b005d
lea r8, [0x1400e245c]
lea rdx, str.Cant_open_clipboard_for_writing.
lea rcx, [0x140119150]
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.1400404c0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rbp, [rsi + rbx]
lea rbx, [rsi + 4]
xor r14d, r14d
cmp rbx, rbp
ja 0x1400b0122
mov r13d, dword [rsi]
test r13d, r13d
je 0x1400b0122
mov rax, rbx
add rbx, 8
cmp rbx, rbp
ja 0x1400b0122
mov edi, dword [rax]
mov rsi, rbx
add rbx, rdi
cmp rbx, rbp
ja 0x1400b0122
mov rdx, r14
test rdi, rdi
mov ecx, 0x42
sete dl
add rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x1400b01e0
test rdi, rdi
je 0x1400b0109
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400b0181
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call fcn.1400ca2c0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rsi, rbx
mov rdx, r12
mov ecx, r13d
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rbx, [rsi + 4]
cmp rbx, rbp
jbe 0x1400b0090
cmp dword [0x140119dd4], r14d
je 0x1400b015c
cmp qword [0x140119db8], r14
je 0x1400b0148
mov rcx, qword [0x140119da8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140119db8], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140119dd4], r14d
mov qword [0x140119da8], r14
mov eax, 1
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x140119dd4], r14d
je 0x1400b01c4
cmp qword [0x140119db8], r14
je 0x1400b01b0
mov rcx, qword [0x140119da8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140119db8], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140119dd4], r14d
mov qword [0x140119da8], r14
lea r8, [0x1400e245c]
lea rdx, [0x1400e2868]
lea rcx, [0x140119150]
call fcn.1400404c0
jmp 0x1400b0161
cmp dword [0x140119dd4], r14d
je 0x1400b021a
cmp qword [0x140119db8], r14
je 0x1400b0206
mov rcx, qword [0x140119da8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140119db8], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140119dd4], r14d
mov qword [0x140119da8], r14
lea r8, [0x1400e245c]
lea rdx, str.Out_of_memory.
lea rcx, [0x140119150]
call fcn.1400404c0
jmp 0x1400b0161
Function at 0x1400b0690
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
movzx ecx, byte [rcx + 0x23]
mov rbx, rdx
test ecx, ecx
je 0x1400b08d0
dec ecx
mov qword [rsp + 0x50], rsi
je 0x1400b072a
dec ecx
je 0x1400b06f3
dec ecx
je 0x1400b06d7
mov rdx, qword [rdi + 0x28]
mov rcx, rbx
call qword [rdi + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rdx, rdx
je 0x1400b06e1
xor esi, esi
mov word [rdx], si
xor eax, eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x140119da8]
call fcn.140005f20
xor esi, esi
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, rsi
test rbx, rbx
je 0x1400b086d
mov word [rbx + rax*2], si
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140001130
cmp dword [0x1401178a8], 0
jne 0x1400b082b
cmp qword [rdi + 0x10], 0
jne 0x1400b082b
cmp qword [0x14011ace8], rdi
jne 0x1400b0758
test rbx, rbx
jne 0x1400b07d7
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400b07d2
xor esi, esi
mov qword [0x14011ace8], rsi
test rbx, rbx
je 0x1400b07c0
mov edx, dword [0x140117884]
test edx, edx
je 0x1400b07a2
mov r9, qword [rdi + 0x28]
lea r8, str.An_environment_variable_is_being_accessed__see_NoEnv.
lea rcx, [0x140119150]
mov qword [rsp + 0x20], rsi
call fcn.140040f70
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call fcn.1400ad980
mov rsi, qword [rsp + 0x50]
mov eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
dec eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x1400b0812
cmp byte [rdi + 0x23], 0
jne 0x1400b07e3
mov rax, qword [rdi + 0x10]
jmp 0x1400b07e6
mov rax, rdi
test byte [rax + 0x21], 4
je 0x1400b07f4
mov rcx, rdi
call fcn.1400410d0
xor esi, esi
xor eax, eax
mov word [rbx], si
mov qword [0x14011ace8], rsi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x50]
mov qword [0x14011ace8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rdi + 0x10]
mov qword [rsp + 0x48], rbp
mov rbp, r8
shr rbp, 1
test rbx, rbx
je 0x1400b08cb
test r8, r8
jne 0x1400b087d
xor esi, esi
mov rax, rdi
cmp byte [rdi + 0x23], sil
cmove rax, rsi
test byte [rax + 0x21], 4
je 0x1400b0863
mov rcx, rdi
call fcn.1400410d0
mov word [rbx], si
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdi + 8]
cmp rbx, rdx
je 0x1400b08cb
cmp r8, 0x186a0
jae 0x1400b08bd
movzx eax, word [rdx]
test ax, ax
je 0x1400b08b3
nop word [rax + rax]
add rdx, 2
mov word [rbx], ax
add rbx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x1400b08a0
xor esi, esi
mov rax, rbp
mov word [rbx], si
jmp 0x1400b0868
mov rcx, rbx
call fcn.1400ca2c0
xor esi, esi
mov word [rbx + rbp*2], si
mov rax, rbp
jmp 0x1400b0868
mov rcx, qword [rdi + 0x10]
call fcn.1400b0690
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b13c0
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x1400b13d6
xor eax, eax
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x40], r13
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140119128]
mov r13d, eax
je 0x1400b1407
mov rcx, rbx
call fcn.1400b2fe0
test al, al
je 0x1400b1407
xor eax, eax
mov r13, qword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x68], rbp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400b1430
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp rbx, rbp
jne 0x1400b1448
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x50
pop rbx
ret
cmp byte [0x140117878], 0
jne 0x1400b1465
mov rdx, rbp
mov rcx, rbx
call fcn.1400b1320
test rax, rax
jne 0x1400b15b0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
xor r15b, r15b
xor r14b, r14b
test rbp, rbp
je 0x1400b14ee
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r12d, eax
test eax, eax
je 0x1400b14f3
cmp dword [0x140119128], eax
je 0x1400b14ca
mov rcx, rbp
call fcn.1400b2fe0
test al, al
jne 0x1400b14ca
mov ecx, dword [0x140119128]
mov r8d, 1
mov edx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r14b
test r13d, r13d
je 0x1400b14f3
cmp r12d, r13d
je 0x1400b14f3
mov r8d, 1
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r15b
jmp 0x1400b14f3
mov r12d, dword [rsp + 0x60]
xor edi, edi
mov rdx, rbp
mov rcx, rbx
call fcn.1400b1320
mov rsi, rax
test rax, rax
jne 0x1400b1557
inc edi
cmp edi, 5
jl 0x1400b14f5
xor r8d, r8d
lea ecx, [rax + 2]
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140017230
xor r8d, r8d
lea ecx, [rsi + 2]
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140017230
mov rdx, rbp
mov rcx, rbx
call fcn.1400b1320
mov rsi, rax
mov rdi, qword [rsp + 0x78]
test r14b, r14b
mov r14, qword [rsp + 0x38]
je 0x1400b1578
mov ecx, dword [0x140119128]
xor r8d, r8d
mov edx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r15b, r15b
mov r15, qword [rsp + 0x30]
je 0x1400b1591
xor r8d, r8d
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r12, qword [rsp + 0x48]
test rsi, rsi
je 0x1400b15a9
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rax, rsi
jmp 0x1400b15ab
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
Function at 0x1400b1710
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test r8b, r8b
je 0x1400b172b
call fcn.1400816d0
jmp 0x1400b173b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
test edi, edi
js 0x1400b17ae
je 0x1400b17ae
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001ac0
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b179b
add edi, esi
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x1400b179b
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001ac0
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400b1770
mov rax, rbx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b19c0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11be0]
mov eax, 0x11ce0
call fcn.1400d1910
sub rsp, rax
movzx eax, word [rdx]
mov rdi, rcx
mov rcx, qword [rbp + 0x11c10]
cmp ax, 0x41
je 0x1400b19f9
cmp ax, 0x61
jne 0x1400b1a63
cmp word [rdx + 2], 0
jne 0x1400b1a63
cmp word [r8], 0
jne 0x1400b1a63
cmp word [r9], 0
jne 0x1400b1a63
cmp word [rcx], 0
jne 0x1400b1a63
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400b1a46
cmp byte [rdi + 0x12a], 0
jne 0x1400b1a46
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400b1a44
mov rcx, rbx
call fcn.1400b3090
test al, al
je 0x1400b1a46
xor ebx, ebx
cmp byte [rbp + 0x11c20], 0
je 0x1400b1a5b
test rbx, rbx
je 0x1400b1a5b
mov qword [rdi + 0xf8], rbx
mov rax, rbx
jmp 0x1400b1bd1
test ax, ax
jne 0x1400b1a86
cmp word [r8], ax
jne 0x1400b1a86
cmp word [r9], ax
jne 0x1400b1a86
cmp word [rcx], ax
jne 0x1400b1a86
mov rcx, rdi
call fcn.1400b1bf0
jmp 0x1400b1bd1
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea rax, [0x1400e245c]
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov dword [rsp + 0x30], ebx
mov qword [rbp + 0xf48], rax
mov byte [rbp + 0x1781], bl
mov dword [rbp + 0x1784], ebx
mov qword [rbp + 0x1788], rbx
mov qword [rbp + 0x1790], rbx
mov qword [rbp + 0x1798], rbx
mov dword [rbp + 0x17a0], ebx
mov qword [rbp + 0x17a8], rbx
mov qword [rbp + 0x17b8], rbx
mov qword [rbp + 0x17c0], rbx
call fcn.1400b32b0
test eax, eax
je 0x1400b1ba0
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c18]
mov byte [rbp + 0x1781], al
mov rax, qword [rbp + 0x11c28]
mov qword [rbp + 0x1798], rax
mov eax, dword [rbp + 0x11c30]
mov dword [rbp + 0x17a0], eax
je 0x1400b1ba4
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x1400b1b75
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b1ba0
mov rdx, qword [rbp + 0xf68]
mov rcx, rdi
call fcn.1400b3120
test al, al
jne 0x1400b1b6e
mov rcx, qword [rbp + 0xf68]
lea edx, [rbx - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400b1ba0
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rax
je 0x1400b1b8f
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c0], rax
call fcn.1400b37d0
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.1400b38c0
test rax, rax
jne 0x1400b1bb6
xor eax, eax
jmp 0x1400b1bd1
lea rdx, [rsp + 0x30]
lea rcx, [0x1400b1ca0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp + 0x1788]
cmp byte [rbp + 0x11c20], bl
je 0x1400b1bd1
test rax, rax
je 0x1400b1bd1
mov qword [rdi + 0xf8], rax
lea r11, [rsp + 0x11ce0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400b37d0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x1400b38ad
mov eax, dword [rbx]
test eax, eax
je 0x1400b38ad
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400b380f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400b382d
lea rdx, [rbx + 0x189c]
mov r8d, 0x7fff
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400b382d
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x1400b3846
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x1400b3884
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400b3884
movzx r8d, byte [rbx + 0x1850]
mov ecx, dword [rsp + 0x30]
lea rdx, [rbx + 0x11a9c]
call fcn.1400790f0
test eax, eax
jne 0x1400b3884
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x1400b38ad
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
add rsp, 0x20
pop rbx
ret

Function at 0x1400b4160
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11cd8
call fcn.1400d1910
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400b421e
xor r9d, r9d
lea rcx, [0x1400e245c]
mov byte [rsp + 0x18a0], dl
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400b4a70]
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x1871], r9b
mov dword [rsp + 0x1874], r9d
mov qword [rsp + 0x1878], r9
mov qword [rsp + 0x1880], r9
mov qword [rsp + 0x1888], r9
mov dword [rsp + 0x1890], r9d
mov qword [rsp + 0x18a8], r9
mov qword [rsp + 0x18b0], r9
mov qword [rsp + 0x1898], rax
mov dword [rsp + 0x18a4], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1878], 0
je 0x1400b421e
mov rax, qword [0x140112488]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400b421e
mov edx, 1
call fcn.140001ac0
mov eax, 1
add rsp, 0x11cd8
ret
Function at 0x1400b4230
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push r12
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
movzx r12d, dl
mov rbx, rcx
jne 0x1400b425a
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140112488]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.1400b47d0
cmp byte [rbx], 0
mov rbp, rax
je 0x1400b4291
test rax, rax
jne 0x1400b429a
jmp 0x1400b4332
test rax, rax
jne 0x1400b432d
test rdi, rdi
je 0x1400b432d
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001ac0
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b430f
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rsi + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x1400b430f
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001ac0
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400b42e0
mov rax, qword [0x140112488]
mov rsi, qword [rsp + 0x38]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400b432d
mov edx, 1
call fcn.140001ac0
cmp byte [rbx], 0
je 0x1400b4346
xor r9d, r9d
mov r8, rbp
movzx edx, r12b
mov rcx, rbx
call fcn.1400b4370
jmp 0x1400b4352
movzx edx, r12b
mov rcx, rbx
call fcn.1400b4540
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1400b4540
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11ce0
call fcn.1400d1910
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x1400b4705
xor edx, edx
call fcn.1400b4720
test eax, eax
jne 0x1400b4580
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
mov qword [rsp + 0x11cf0], rbp
mov qword [rsp + 0x11cf8], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140112488]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.1400b47d0
mov ecx, dword [0x14011910c]
xor ebp, ebp
test rax, rax
lea rax, [0x1400e245c]
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x1884], ebp
mov qword [rsp + 0x1888], rbp
mov qword [rsp + 0x1890], rbp
mov dword [0x14011910c], ecx
mov qword [rsp + 0x18b8], rbp
mov qword [rsp + 0x18c0], rbp
test dil, dil
je 0x1400b460a
mov byte [rsp + 0x1881], bpl
test ecx, ecx
je 0x1400b4612
mov byte [rsp + 0x1881], 1
mov rax, qword [0x140119118]
mov dword [rsp + 0x18a0], ecx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x1898], rax
mov rax, qword [rbx + 0x10]
lea rcx, [0x1400b48f0]
mov qword [rsp + 0x18a8], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1888]
test rax, rax
je 0x1400b46c9
lea rdx, [rsp + 0x20]
lea rcx, [0x1400b2f20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400b4690
mov rcx, qword [rsp + 0x1888]
call fcn.1400b3e30
mov qword [rsp + 0x1888], rbx
jmp 0x1400b4698
mov rbx, qword [rsp + 0x1888]
mov rcx, rbx
call fcn.1400b13c0
mov rcx, qword [rsp + 0x1888]
call fcn.1400b3e30
mov r11, qword [0x140112488]
mov ecx, dword [r11 + 0x74]
cmp ecx, 0xffffffff
jle 0x1400b46f5
mov edx, 1
call fcn.140001ac0
jmp 0x1400b46f5
mov eax, dword [0x14011910c]
test eax, eax
je 0x1400b46f5
cmp eax, 1
mov dword [0x14011910c], ebp
setg al
test al, al
je 0x1400b46f5
mov rcx, rsi
call fcn.1400b3e30
xor edx, edx
mov rcx, rbx
call fcn.1400b4540
mov rsi, qword [rsp + 0x11cf8]
mov rbp, qword [rsp + 0x11cf0]
mov eax, 1
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret