joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400aed00
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13d, r8d
xor edx, edx
mov r15, r9
mov qword [rax - 0x68], 0
mov r12, rcx
lea rcx, [rax + 0x20]
lea r8d, [r13 + 0x2800]
lea r9d, [rdx + 4]
call fcn.140022f30
mov rdi, qword [rsp + 0xa8]
lea rdx, [0x1400cde80]
mov rcx, rdi
mov dword [rsp + 0x20], 0x24
mov r9d, r13d
mov r8, r12
call fcn.1400221c0
mov edx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1400aed7f
mov eax, 9
jmp 0x1400aed9d
mov rcx, rdi
call fcn.140021160
mov rbp, qword [rdi + 0x30]
mov eax, dword [rdi + 0x28]
test rbp, rbp
jne 0x1400aedaa
test eax, eax
mov ecx, 0xa
cmove eax, ecx
xor esi, esi
xor ebx, ebx
xor ebp, ebp
cmp eax, 9
je 0x1400aedba
jmp 0x1400aedb2
mov rsi, qword [rdi + 8]
mov rbx, qword [rdi + 0x18]
mov rcx, rdi
call fcn.140022e30
cmp rbx, r13
jb 0x1400aedd7
mov rcx, rsi
mov rbx, r13
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, r12
xor r9d, r9d
lea rax, [rsp + 0xa0]
mov edx, ebx
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov ecx, dword [rsp + 0xa0]
add ecx, 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, 1
mov edx, ebx
mov rdi, rax
mov rcx, rsi
lea rax, [rsp + 0xa0]
mov r9, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test r15, r15
je 0x1400aee74
cmp qword [r15], 0
je 0x1400aee74
mov edx, dword [rsp + 0xa0]
mov r9b, 1
inc edx
mov dword [rsp + 0x20], 0x100
mov r8, r15
mov rcx, rdi
call fcn.1400aeac0
mov dword [rsp + 0xa0], eax
test eax, eax
jne 0x1400aee6f
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x1400aef33
mov r14, rdi
jmp 0x1400aee80
xor eax, eax
mov r14, rsi
mov dword [rsp + 0xa0], eax
test eax, eax
mov qword [rsp + 0x30], 0x4034b50
mov edx, ebx
mov dword [rsp + 0x38], ebx
cmovne edx, eax
mov dword [rsp + 0x3c], r13d
mov r9d, 4
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x34]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_HashData]
mov eax, dword [rsp + 0xa0]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
add rcx, 0x14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x98]
mov r9d, ebx
movups xmm0, xmmword [rsp + 0x30]
mov rdx, r14
movups xmmword [rax], xmm0
mov qword [rcx], rax
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x10], ecx
lea rcx, [rax + 0x14]
mov r8d, dword [rsp + 0xa0]
test r8d, r8d
cmovne r9d, r8d
mov r8d, r9d
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp rsi, r12
je 0x1400aef24
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0xa0]
test ecx, ecx
cmovne ebx, ecx
lea eax, [rbx + 0x14]
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400aef50
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov r14d, dword [rcx + 8]
mov r13, r9
mov eax, dword [rcx + 0x10]
mov rsi, rdx
mov dword [r11 + 0x18], eax
mov rdi, rcx
cmp r8d, r14d
jb 0x1400af0c3
cmp r8d, eax
jb 0x1400af0c3
xor ebx, ebx
lea r12, [rcx + 0x14]
test eax, eax
lea r8, [r11 + 8]
mov edx, r14d
mov rcx, r12
cmovne edx, eax
lea r9d, [rbx + 4]
call qword [sym.imp.SHLWAPI.dll_HashData]
cmp dword [rdi], 0x4034b50
jne 0x1400af0c3
mov eax, dword [rdi + 4]
cmp dword [rsp + 0x2e0], eax
jne 0x1400af0c3
mov ebp, dword [rdi + 0xc]
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi], rax
test rax, rax
je 0x1400af0c3
mov ecx, dword [rsp + 0x2f0]
test ecx, ecx
je 0x1400af0e0
mov ebx, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x2f0]
mov rdx, r12
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rsp + 0x2f0]
xor r9d, r9d
mov r8, r13
mov dword [rsp + 0x20], 0x100
mov rcx, rdi
call fcn.1400aeac0
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r13d, r13d
xor edx, edx
mov rbx, rax
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x28], r13
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r13 + 1]
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, rbx
cmp ebp, r14d
jne 0x1400af08b
mov rcx, qword [rsi]
mov r8d, ebp
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebp
jmp 0x1400af0c5
mov r8, r14
mov qword [rsp + 0x20], r13
mov r9d, 9
lea rcx, [rsp + 0x40]
call fcn.14001db90
test eax, eax
je 0x1400af123
mov rcx, qword [rsp + 0x40]
call fcn.14001db50
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, r12
cmp ebp, r14d
jne 0x1400af0f7
mov r8, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebp
jmp 0x1400af0c5
xor r13d, r13d
lea rcx, [rsp + 0x40]
mov r8, r14
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 9]
call fcn.14001db90
test eax, eax
je 0x1400af123
mov rcx, qword [rsp + 0x40]
call fcn.14001db50
mov rcx, qword [rsi]
jmp 0x1400af0bd
mov rdi, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov rdx, qword [rsi]
mov rcx, rdi
mov r9d, 1
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x78], rbp
call fcn.14001d850
test eax, eax
je 0x1400af16e
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call fcn.14001db50
test rbx, rbx
je 0x1400af0c3
jmp 0x1400af0ba
mov rcx, rdi
call fcn.14001db50
test rbx, rbx
je 0x1400af184
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebp
jmp 0x1400af0c5
Function at 0x1400af390
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 0x1400af3aa
mov rbx, qword [rdx + 0x10]
cmp byte [rcx + 0x23], 0
jne 0x1400af3b4
mov rdi, qword [rcx + 0x10]
movzx eax, byte [rbx + 0x21]
test al, 0x10
je 0x1400af42f
test al, 8
jne 0x1400af42a
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 0x1400af3f8
cmp ax, 9
je 0x1400af3f8
cmp cx, 0x20
je 0x1400af3f8
cmp cx, 9
je 0x1400af3f8
cmp ax, 0x30
je 0x1400af3f8
cmp ax, 0x2b
jne 0x1400af42a
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rdi
call fcn.1400afca0
test eax, eax
je 0x1400af456
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.1400014c0
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
jmp 0x1400af40f
test al, 0x20
je 0x1400af48e
mov rcx, rdi
test al, 8
jne 0x1400af47a
mov r8, qword [rbx + 0x10]
xor r9d, r9d
mov rdx, qword [rbx + 8]
shr r8, 1
mov byte [rsp + 0x20], 1
call fcn.1400afca0
test eax, eax
jne 0x1400af463
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 0x1400af415
movsd xmm0, qword [rbx]
mov r8b, 0x28
movsd qword [rsp + 0x40], xmm0
mov rdx, qword [rsp + 0x40]
jmp 0x1400af415
test al, 1
je 0x1400af4a7
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400af9d0
test al, 2
je 0x1400af4cc
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.1400b00a0
cmp byte [rbx + 0x23], 0
jne 0x1400af4d8
mov rax, qword [rbx + 0x10]
jmp 0x1400af4db
mov rax, rbx
test byte [rax + 0x21], 4
je 0x1400af4e9
mov rdx, rbx
call fcn.140047830
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.1400afca0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400af510
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 0x1400af5f5
sub r8d, 1
je 0x1400af5e1
sub r8d, 2
je 0x1400af5cf
sub r8d, 1
je 0x1400af56f
cmp r8d, 1
jne 0x1400af5b0
mov rbx, qword [rdx]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + VariantCopy]
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400b00a0
mov rdx, qword [rdx + 8]
test rdx, rdx
je 0x1400af5b0
mov rax, qword [rbx]
cmp word [rax], 0x30
jne 0x1400af5f5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, rax
lea r8, [r9 - 1]
call fcn.1400afca0
test eax, eax
jne 0x1400af5a4
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rbx + 8]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, rdi
jmp 0x1400af5f8
mov rdx, qword [rbx]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400afca0
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.1400af390
movsd xmm0, qword [rdx]
mov r8b, 0x28
movsd qword [rsp + 0x48], xmm0
mov rdx, qword [rsp + 0x48]
jmp 0x1400af5fb
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rdx, qword [rdx]
call fcn.1400014c0
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x1400af9d0
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 0x1400af9f0
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 0
je 0x1400af9e6
cmp byte [rdx + 0x23], 0
jne 0x1400af9fa
mov rdi, qword [rdx + 0x10]
mov rcx, rdi
call fcn.140001560
cmp byte [rbx + 0x23], 1
jne 0x1400afa67
cmp rbx, rdi
je 0x1400afa57
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.1400afca0
test eax, eax
jne 0x1400afa3e
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.1400afa80
Function at 0x1400afa80
Capabilities:
Write clipboard data

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
lea rcx, [0x140105dc0]
call fcn.1400062c0
test eax, eax
jne 0x1400afabd
lea r8, [0x1400cb664]
lea rdx, str.Cant_open_clipboard_for_writing.
lea rcx, [0x140105140]
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.140046d70
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 0x1400afb82
mov r15d, dword [rsi]
test r15d, r15d
je 0x1400afb82
mov rax, rbx
add rbx, 8
cmp rbx, r14
ja 0x1400afb82
mov edi, dword [rax]
mov rsi, rbx
add rbx, rdi
cmp rbx, r14
ja 0x1400afb82
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 0x1400afc40
test rdi, rdi
je 0x1400afb69
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400afbe1
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 0x1400afaf0
cmp dword [0x140105dec], r12d
je 0x1400afbbc
cmp qword [0x140105dd0], r12
je 0x1400afba8
mov rcx, qword [0x140105dc0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140105dd0], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140105dec], r12d
mov qword [0x140105dc0], 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 [0x140105dec], r12d
je 0x1400afc24
cmp qword [0x140105dd0], r12
je 0x1400afc10
mov rcx, qword [0x140105dc0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140105dd0], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140105dec], r12d
mov qword [0x140105dc0], r12
lea r8, [0x1400cb664]
lea rdx, [0x1400cbad8]
lea rcx, [0x140105140]
call fcn.140046d70
jmp 0x1400afbc1
cmp dword [0x140105dec], r12d
je 0x1400afc7a
cmp qword [0x140105dd0], r12
je 0x1400afc66
mov rcx, qword [0x140105dc0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140105dd0], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140105dec], r12d
mov qword [0x140105dc0], r12
lea r8, [0x1400cb664]
lea rdx, str.Out_of_memory.
lea rcx, [0x140105140]
call fcn.140046d70
jmp 0x1400afbc1
Function at 0x1400b0db0
Capabilities:
Log keystrokes

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x38
mov rbx, rcx
test rcx, rcx
je 0x1400b0f8c
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140105110]
mov r15d, eax
je 0x1400b0de9
mov rcx, rbx
call fcn.1400b22b0
test al, al
jne 0x1400b0f8c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400b0e0d
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp rbx, rbp
jne 0x1400b0e1f
mov rax, rbx
add rsp, 0x38
pop r15
pop rsi
pop rbp
pop rbx
ret
cmp byte [0x140102a8c], 0
jne 0x1400b0e3c
mov rdx, rbp
mov rcx, rbx
call fcn.1400b0cf0
test rax, rax
jne 0x1400b0f8e
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 0x1400b0ec0
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r14d, eax
test eax, eax
je 0x1400b0ec5
cmp dword [0x140105110], eax
je 0x1400b0e9c
mov rcx, rbp
call fcn.1400b22b0
test al, al
jne 0x1400b0e9c
mov ecx, dword [0x140105110]
mov r8d, 1
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r12b
test r15d, r15d
je 0x1400b0ec5
cmp r14d, r15d
je 0x1400b0ec5
mov r8d, 1
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r13b
jmp 0x1400b0ec5
mov r14d, dword [rsp + 0x60]
xor edi, edi
nop word [rax + rax]
mov rdx, rbp
mov rcx, rbx
call fcn.1400b0cf0
mov rsi, rax
test rax, rax
jne 0x1400b0f32
inc edi
cmp edi, 5
jl 0x1400b0ed0
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.1400152e0
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.1400152e0
mov rdx, rbp
mov rcx, rbx
call fcn.1400b0cf0
mov rsi, rax
mov rdi, qword [rsp + 0x68]
test r12b, r12b
mov r12, qword [rsp + 0x70]
je 0x1400b0f53
mov ecx, dword [0x140105110]
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r13b, r13b
mov r13, qword [rsp + 0x78]
je 0x1400b0f6c
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 0x1400b0f8c
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 0x1400b10f0
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 0x1400b1110
call fcn.14007a2c0
jmp 0x1400b1120
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 0x1400b1199
mov qword [rsp + 0x30], rbp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword gs:[0x48]
mov ebp, eax
cmp dword [0x140105110], esi
jne 0x1400b1159
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400019b0
jmp 0x1400b1164
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b1181
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rdi + rbp]
sub ecx, eax
cmp ecx, 5
jg 0x1400b1140
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 0x1400b13b0
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.1400c8fe0
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 0x1400b1458
cmp word [rdx + 2], 0
jne 0x1400b1458
cmp word [r8], 0
jne 0x1400b1458
cmp word [r9], 0
jne 0x1400b1458
cmp word [rcx], 0
jne 0x1400b1458
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400b143b
cmp byte [rdi + 0x12a], 0
jne 0x1400b143b
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400b1439
mov rcx, rbx
call fcn.1400b2360
test al, al
je 0x1400b143b
xor ebx, ebx
cmp byte [rbp + 0x11c30], 0
je 0x1400b1450
test rbx, rbx
je 0x1400b1450
mov qword [rdi + 0xf8], rbx
mov rax, rbx
jmp 0x1400b1594
test r10w, r10w
jne 0x1400b147d
cmp word [r8], r10w
jne 0x1400b147d
cmp word [r9], r10w
jne 0x1400b147d
cmp word [rcx], r10w
jne 0x1400b147d
mov rcx, rdi
call fcn.1400b15e0
jmp 0x1400b1594
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, [0x1400cb664]
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.1400b2580
test eax, eax
je 0x1400b1592
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 0x1400b15a9
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x1400b1567
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b1592
mov rdx, qword [rbp + 0xf68]
mov rcx, rdi
call fcn.1400b23f0
test al, al
jne 0x1400b1560
mov rcx, qword [rbp + 0xf68]
lea edx, [rbx - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400b1592
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c8], rax
je 0x1400b1581
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c8], rax
call fcn.1400b2ac0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b2bd0
test rax, rax
jne 0x1400b15bb
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, [0x1400b1690]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp + 0x1790]
cmp byte [rbp + 0x11c30], bl
je 0x1400b1594
test rax, rax
je 0x1400b1594
mov qword [rdi + 0xf8], rax
jmp 0x1400b1594
Function at 0x1400b2ac0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1898]
test rcx, rcx
je 0x1400b2bbc
mov eax, dword [rbx]
test eax, eax
je 0x1400b2bbc
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400b2aff
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400b2b1d
mov r8d, 0x7fff
lea rdx, [rbx + 0x18ac]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400b2b1d
mov word [rbx + 0x18ac], si
mov eax, dword [rbx]
test al, 4
je 0x1400b2b39
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x18a8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rbx]
test al, 0x20
je 0x1400b2b76
mov rcx, qword [rbx + 0x1898]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400b2b76
movzx r9d, byte [rbx + 0x1858]
lea rdx, [rbx + 0x11aac]
mov ecx, dword [rsp + 0x30]
call fcn.140075260
test eax, eax
jne 0x1400b2b76
mov word [rbx + 0x11aac], si
mov eax, dword [rbx]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
test al, 8
je 0x1400b2ba2
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 0x1400b2bbc
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 0x1400b3400
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11ce8
call fcn.1400c8fe0
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400b34dc
xor r9d, r9d
mov byte [rsp + 0x18a8], dl
xorps xmm0, xmm0
mov dword [rsp + 0x20], r9d
lea rcx, [0x1400cb664]
mov byte [rsp + 0x1879], r9b
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400b3da0]
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 0x1400b34dc
mov rax, qword [0x1400fe060]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400b34dc
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140105110], eax
mov rax, qword [0x1400fe060]
mov ecx, dword [rax + 0x74]
je 0x1400b34d2
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add rsp, 0x11ce8
ret
mov edx, 1
call fcn.1400019b0
mov eax, 1
add rsp, 0x11ce8
ret
Function at 0x1400b34f0
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 0x1400b3513
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 [0x1400fe060]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.1400b3b30
cmp byte [rbx], 0
mov rbp, rax
je 0x1400b354a
test rax, rax
jne 0x1400b3553
jmp 0x1400b3618
test rbp, rbp
jne 0x1400b3618
test rdi, rdi
je 0x1400b3618
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 [0x140105110], esi
jne 0x1400b35a9
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400019b0
jmp 0x1400b35b4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b35d7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, r14d
sub ecx, eax
add ecx, 0x1f4
cmp ecx, 5
jg 0x1400b3590
mov rax, qword [0x1400fe060]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400b3618
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140105110], eax
mov rax, qword [0x1400fe060]
mov ecx, dword [rax + 0x74]
je 0x1400b360e
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400b3618
mov edx, 1
call fcn.1400019b0
cmp byte [rbx], 0
movzx edx, r15b
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
je 0x1400b3640
xor r9d, r9d
mov r8, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400b3660
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400b3870