joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006e38c
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov ebx, 8
mov rcx, qword [rcx + 0x44]
mov edx, ebx
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [rdi + 0x50], 0
mov r14, rax
jl 0x14006e3d5
mov rcx, rdi
call fcn.14006e25c
mov esi, dword [rdi + 0x54]
test esi, esi
js 0x14006e3e2
mov r15d, dword [rdi + 0x58]
jmp 0x14006e3ec
mov esi, dword [r14 + 0xf6]
xor r15d, r15d
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x14006e40d
mov rcx, qword [0x1400970d8]
lea edx, [rax + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x1400970d8]
mov edx, 9
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x44]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x44]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rbx, qword [0x140097108]
mov rcx, qword [rdi + 0x44]
mov qword [0x140097108], 1
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
mov rcx, rax
lea edx, [r9 + 6]
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rdi + 0x44]
mov qword [0x140097108], rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14005909c
mov ebx, dword [r14 + 0x42]
mov eax, 1
mov edx, dword [r14 + 0xf6]
mov r9d, eax
mov dword [r14 + 0x42], eax
xor r8d, r8d
mov rcx, qword [rdi + 0x44]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call fcn.140025254
mov dword [r14 + 0x42], ebx
mov rcx, qword [rdi + 0x44]
call qword [sym.imp.USER32.dll_UpdateWindow]
and dword [rsp + 0x28], 0
mov ebx, 1
mov rcx, qword [rdi + 0x44]
mov r9d, ebx
movzx r8d, si
mov edx, 0x459
shl r8d, 0x10
movzx eax, r15w
or r8d, eax
mov dword [rsp + 0x20], ebx
call fcn.140026250
mov rcx, qword [r14 + 0xfe]
test rcx, rcx
je 0x14006e542
and dword [rsp + 0x20], 0
mov r9d, ebx
mov r8d, ebx
xor edx, edx
call fcn.1400426a4
mov rcx, qword [rdi + 0x44]
lea edx, [rbx + 4]
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
je 0x14006e542
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, 5
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
jmp fcn.14006d7a8
Function at 0x14006ecac
Capabilities:
Delete file
Get common file path
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140096008]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r15d, r15d
mov r13, rdx
and qword [rdx], r15
mov rsi, rcx
lea r14d, [r15 + 8]
mov edx, r14d
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov rcx, rsi
mov rbx, rax
call fcn.140048cd0
mov rcx, rsi
call fcn.14006412c
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x14006eed5
lea rdx, [rbp + 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.OPWTMP
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
mov rdi, rax
call fcn.140055630
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14006ed6e
mov rcx, rdi
call fcn.1400559ac
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x14006eed1
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
test rax, rax
jne 0x14006ed89
mov eax, 1
jmp 0x14006eed5
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14003d3e0
test eax, eax
jne 0x14006eed5
mov rcx, rdi
call fcn.1400559ac
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14007d020
or r14, 0xffffffffffffffff
mov rsi, rax
cmp rax, r14
jne 0x14006edd5
mov eax, 0x2713
mov dword [rsp + 0x30], eax
jmp 0x14006eec6
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
xor ecx, ecx
or edx, 0xffffffff
mov eax, 0x2713
cmp ebx, edx
cmove ecx, eax
mov dword [rsp + 0x30], ecx
je 0x14006eebd
lea rdx, [rbx + 4]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
jne 0x14006ee1f
mov dword [rsp + 0x30], 0x2714
jmp 0x14006eebd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov dword [rax], ebx
lea r12, [rax + 4]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [rsp + 0x30]
cmp eax, 0xffffffff
cmove ecx, r14d
mov dword [rsp + 0x30], ecx
test ecx, ecx
jne 0x14006ee9e
test ebx, ebx
je 0x14006ee9e
mov eax, 0xfffe
cmp ebx, eax
mov edx, r15d
mov r14d, ebx
lea r9, [rsp + 0x30]
cmova r14d, eax
mov rcx, rsi
and qword [rsp + 0x20], 0
mov r8d, r14d
add rdx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006ee99
and dword [rsp + 0x30], 0
add r15d, r14d
mov eax, 0xfffe
sub ebx, r14d
jne 0x14006ee5b
jmp 0x14006ee9e
or dword [rsp + 0x30], 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [rsp + 0x30], 0
je 0x14006eeb9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov qword [r13], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14008a940
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140073920
Capabilities:
Write clipboard data

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x50
and qword [r11 - 0x28], 0
mov eax, r9d
mov r9d, dword [rsp + 0x80]
mov r14, r8
test r9d, r9d
jg 0x140073958
mov ebx, 1
jmp 0x14007397f
lea rdx, [rsp + 0x38]
mov r8d, eax
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
mov edx, 0x6d
call fcn.1400394d0
mov ebx, eax
test eax, eax
je 0x140073986
mov eax, ebx
jmp 0x140073a8c
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
mov ebx, 1
cmp rsi, rax
je 0x1400739bf
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov ecx, 0xc0000095
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rdx, rbp
mov ecx, esi
call qword [sym.imp.GDI32.dll_SetMetaFileBitsEx]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test rbp, rbp
je 0x14007397f
mov edx, 0x18
lea ecx, [rdx + 0x2a]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor edi, edi
mov rsi, rax
test rsi, rsi
mov eax, 0x2714
cmove edi, eax
test edi, edi
jne 0x140073a73
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
imul ecx, dword [r14], 0x9ec
mov r9d, 0x38e38e39
mov r8, rax
mov dword [rax], 8
mov eax, r9d
imul ecx
mov eax, r9d
mov qword [r8 + 0x10], rbp
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, dword [r14 + 4], 0x9ec
mov dword [r8 + 4], edx
imul ecx
mov rcx, rsi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [r8 + 8], edx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
lea ecx, [rdi + 3]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x140073a8a
mov edi, ebx
test rsi, rsi
je 0x140073a81
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteMetaFile]
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400756f8
Capabilities:
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov dword [0x140096f40], 1
mov esi, ecx
mov qword [rax + 0x18], r14
mov ebx, r14d
lea r8, [rax + 0x18]
lea rcx, [0x14008de75]
mov qword [rax + 0x10], rbx
lea edx, [r14 + 0x61]
call fcn.140063300
mov rdi, qword [rsp + 0x60]
test eax, eax
jne 0x140075881
lea edx, [rax + 8]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
xor r9d, r9d
xor r8d, r8d
mov rbp, rax
mov edx, esi
lea rax, [rsp + 0x58]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400753f4
mov rbx, qword [rsp + 0x58]
test eax, eax
jne 0x140075881
test rbx, rbx
je 0x14007587c
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x1400757a1
mov dword [0x140096f40], r14d
jmp 0x14007588c
cmp esi, 2
jne 0x140075873
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
cmp qword [rax + 0x206], r14
je 0x14007586a
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDC]
mov rdx, qword [rbx + 0x212]
xor r8d, r8d
mov rcx, rax
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectPalette]
mov rdx, qword [rbx + 0x206]
mov ecx, 9
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14007584b
mov r8d, 0x6c
mov qword [rbx + 0x206], r14
mov rdx, rbx
mov qword [rbx + 0x212], r14
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.14003cdf0
mov r8d, 0x6a
mov dword [rsp + 0x20], r14d
mov rdx, rbx
mov rcx, rdi
call fcn.14003cdf0
mov r8d, 0x6e
mov dword [rsp + 0x20], r14d
mov rdx, rbx
mov rcx, rdi
call fcn.14003cdf0
jmp 0x14007585e
mov rdx, qword [rbx + 0x206]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectPalette]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x140096f40], r14d
jmp 0x1400758ba
mov eax, 1
mov dword [0x140096f40], r14d
test eax, eax
je 0x1400758ac
xor edx, edx
lea ecx, [rdx + 0x42]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdx, rax
mov ecx, esi
mov rbx, rax
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
cmovne rbx, r14
test rbx, rbx
je 0x1400758ba
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test rdi, rdi
je 0x1400758c8
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14007ec30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r15d, dword [rsp + 0xa0]
xor esi, esi
mov r13, r8
mov rbp, rdx
mov r14, rcx
cmp dword [rdx + 0x24], r15d
jne 0x14007ec76
mov esi, dword [rdx + 8]
mov edi, dword [rdx + 0x20]
jmp 0x14007edc4
movsxd rdi, dword [rdx + 0x20]
lea r12, [r8 + 0x34]
mov rcx, qword [rcx + 0x1f0]
imul rbx, rdi, 0x58
add r12, rbx
mov rdx, qword [r12]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, qword [rbx + r13 + 0x3c]
mov rcx, qword [r14 + 0x1f8]
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [rbx + r13 + 0x20]
mov r13d, r15d
mov ecx, dword [rbp + 0x24]
sub r13d, ecx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x90]
mov r15d, dword [rbx + rax + 0x30]
add r15d, dword [rbx + rax + 0x2c]
mov rbx, qword [rsp + 0x98]
sub r15d, ecx
cmp r13d, r15d
jle 0x14007ed64
mov ebp, ecx
mov rdx, qword [r14 + 0x1f8]
mov r9d, r15d
mov rcx, qword [r14 + 0x1f0]
movsxd r8, ebp
add r8, rbx
mov dword [rsp + 0x20], r15d
call fcn.14008768c
add esi, eax
add ebp, r15d
mov eax, dword [r14 + 0xf8]
sub r13d, r15d
dec eax
cmp edi, eax
jge 0x14007ed54
mov rcx, qword [r14 + 0x1f0]
add r12, 0x58
inc edi
mov rdx, qword [r12]
mov r15d, dword [r12 - 4]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, qword [r12 + 8]
mov rcx, qword [r14 + 0x1f8]
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [r12 - 0x14]
mov dword [rsp + 0x34], eax
cmp r13d, r15d
jg 0x14007ece2
mov dword [rsp + 0x30], ebp
mov ecx, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x88]
mov rdx, qword [r14 + 0x1f8]
mov r9d, r13d
add esi, dword [rbp + 8]
movsxd r8, ecx
mov rcx, qword [r14 + 0x1f0]
add r8, rbx
mov dword [rsp + 0x20], r15d
call fcn.14008768c
add esi, eax
mov eax, dword [r14 + 0xf8]
dec eax
cmp edi, eax
jge 0x14007edbb
mov r8, qword [rsp + 0x90]
movsxd rax, edi
imul rcx, rax, 0x58
mov eax, dword [rsp + 0xa0]
cmp eax, dword [rcx + r8 + 0x84]
jl 0x14007edbb
inc edi
jmp 0x14007edc4
test r13d, r13d
je 0x14007edc4
sub esi, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
mov eax, esi
mov dword [rcx], edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140084eb0
Capabilities:
Log keystrokes via polling

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 r12
push r14
push r15
sub rsp, 0x50
mov r14, rdx
xor r12d, r12d
xor edx, edx
mov edi, r12d
mov rbp, rcx
mov ebx, 1
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r15, rax
test rax, rax
je 0x140084fac
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rsi, rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr rax, 8
test al, al
je 0x140084f19
mov ebx, r12d
jmp 0x140084fa1
mov r8d, dword [rsi + 0x48]
mov ecx, r8d
and ecx, 4
mov edx, r8d
and edx, 8
je 0x140084f3a
mov eax, dword [rsi + 0xcc]
cmp dword [rsi + 0xb8], eax
cmove edi, ebx
and r8b, 6
mov rax, r14
cmp r8b, 2
cmove edx, r12d
sub rax, 8
je 0x140084f8e
sub rax, 5
je 0x140085081
sub rax, 0x16
je 0x14008506e
sub rax, rbx
je 0x14008505b
sub rax, rbx
je 0x14008503c
sub rax, rbx
je 0x14008500c
sub rax, rbx
je 0x140085000
sub rax, rbx
je 0x140084fcb
cmp rax, 6
jne 0x140084f11
test ecx, ecx
jne 0x140084fa1
lea r8d, [rcx + 3]
mov rdx, r14
mov rcx, rbp
call fcn.140083dfc
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
test edi, edi
je 0x140084fe4
mov eax, dword [rsi + 0xfc]
mov edi, r12d
sub eax, ebx
cmp dword [rsi + 0xbc], eax
sete dil
test edx, edx
jne 0x140084f11
test edi, edi
jne 0x140084f11
test ecx, ecx
jne 0x140084fa1
mov r9d, ebx
xor r8d, r8d
jmp 0x14008504b
test ecx, ecx
jne 0x140084fa1
xor r9d, r9d
mov r8d, ebx
jmp 0x14008504b
test edi, edi
je 0x14008501e
cmp dword [rsi + 0xbc], r12d
mov edi, r12d
sete dil
test edx, edx
jne 0x140084f11
test edi, edi
jne 0x140084f11
test ecx, ecx
jne 0x140084fa1
or r9d, 0xffffffff
jmp 0x140084ffb
test ecx, ecx
jne 0x140084fa1
xor r9d, r9d
or r8d, 0xffffffff
mov rdx, rsi
mov rcx, rbp
call fcn.1400816d0
jmp 0x140084fa1
test ecx, ecx
jne 0x140084fa1
mov r9d, ebx
mov r8d, 0xffff8001
jmp 0x14008504b
test ecx, ecx
jne 0x140084fa1
mov r9d, ebx
mov r8d, 0x7fff
jmp 0x14008504b
test edx, edx
je 0x140084fa1
mov r8d, 0x102
lea rcx, [rsp + 0x20]
mov r9d, r8d
mov rdx, rbp
mov ebx, r12d
call qword [sym.imp.USER32.dll_GetMessageA]
jmp 0x140084fa1
Function at 0x1400861a4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rdx
mov rbp, rcx
xor r13d, r13d
mov rcx, rsi
xor edx, edx
mov r15, r8
mov r14d, r13d
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov rdi, rax
test rax, rax
je 0x14008631a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xor edx, edx
mov rcx, r15
mov rbx, rax
mov qword [rax + 0x1f8], r15
or dword [rax + 0x48], 1
call fcn.14007cd6c
mov rcx, qword [rbx + 0x1f8]
mov edx, 0x18
call qword [sym.imp.GDI32.dll_SetTextAlign]
mov rcx, rdi
call fcn.14007e9a4
lea rax, [rsp + 0x78]
mov r15d, 0x7fff
mov r9d, r15d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
call fcn.14007f318
mov r12d, eax
test eax, eax
jne 0x14008630e
test byte [rbx], 6
je 0x140086273
mov rdx, rbx
mov rcx, rsi
call fcn.14008020c
test eax, eax
je 0x140086273
shr eax, 0x10
lea r14d, [r12 + 1]
test ax, ax
jne 0x140086278
test dword [rbx], 0x100
jne 0x140086278
mov r15d, dword [rsp + 0x78]
cmp dword [rbx + 0x1e8], r13d
je 0x140086284
or dword [rbx], 0x10
mov rdx, rbx
mov rcx, rsi
call fcn.140082088
mov r9d, r15d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
mov rdx, rbx
call fcn.140080db4
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140082128
mov r8d, 0x80
mov rdx, rbx
call fcn.1400813a0
mov rcx, rbp
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14008630e
call qword [sym.imp.USER32.dll_GetClipboardOwner]
cmp rax, rbp
jne 0x140086308
movzx ecx, word [0x14009713c]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x140086308
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
mov qword [rax + 0x48], 1
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, r12d
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400883a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, rdx
mov rdi, rcx
mov rcx, rax
xor edx, edx
xor ebp, ebp
xor esi, esi
xor r14d, r14d
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov qword [rsp + 0x20], rax
mov r12, rax
test rax, rax
je 0x1400885ac
mov rcx, qword [0x1400b8a28]
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, r12
mov dword [0x140096f20], 1
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
mov eax, dword [rax + 0xcc]
cmp dword [rbx + 0xb8], eax
jge 0x140088533
xor edx, edx
mov rcx, rbx
call fcn.1400852a0
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r15, rax
mov eax, dword [rax + 0x18]
test eax, eax
je 0x14008852a
mov rcx, qword [rbx + 0x220]
mov qword [r15 + 0x48], rcx
mov ecx, dword [r15 + 0x14]
lea edx, [rcx*2 + 1]
mov ecx, 0x42
add edx, eax
movsxd rdx, edx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140088524
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, dword [r15 + 0x14]
mov rdi, rax
imul edx, dword [r15 + 0x10], 0x58
lea rax, [r15 + 0x54]
lea ecx, [r8 + r8*2]
shl ecx, 4
add edx, ecx
movsxd rcx, edx
add rax, rcx
xor ecx, ecx
mov dword [rsp + 0x80], ecx
test r8d, r8d
jle 0x140088511
lea r13, [r15 + 0x78]
mov r12, rax
lea eax, [r8 - 1]
cmp ecx, eax
jge 0x1400884b8
mov eax, dword [r13 + 0x30]
jmp 0x1400884bc
mov eax, dword [r15 + 0x18]
sub eax, dword [r13]
test eax, eax
je 0x1400884fa
movsxd rbx, eax
mov rdx, r12
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
add r12, rbx
add rdi, rbx
cmp byte [r12 - 1], 0xd
je 0x1400884e9
mov byte [rdi], 0xd
inc rdi
mov ecx, dword [rsp + 0x80]
mov byte [rdi], 0xa
inc rdi
mov r8d, dword [r15 + 0x14]
inc ecx
add r13, 0x30
mov dword [rsp + 0x80], ecx
cmp ecx, r8d
jl 0x1400884aa
mov r12, qword [rsp + 0x20]
mov rcx, rsi
mov byte [rdi], r14b
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdi, qword [rsp + 0x70]
jmp 0x14008852a
mov r14d, 0x2714
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test rbp, rbp
je 0x1400885a3
mov rcx, rdi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400885a9
call qword [sym.imp.USER32.dll_EmptyClipboard]
movzx ecx, word [0x14009713c]
mov rdx, rbp
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14008858c
test rsi, rsi
je 0x14008859b
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14008859b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14008859b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r14d, 0x2714
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400885a9
mov r14d, 0x2714
mov eax, r14d
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140089ab4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, 1
lea rcx, [0x140000000]
lea r8d, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140089b1c
mov rdx, rax
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140089b1c
mov rdx, rbx
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140089b1c
cmp word [rax + 2], di
je 0x140089b1c
cmp dword [rax + 0x28], 0xfeef04bd
jne 0x140089b1c
add rax, 0x30
jmp 0x140089b23
lea rax, [0x14008e5f8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x416500
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41668b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x0060a590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416565
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416574
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416593
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4165a3
cmp rbx, 0x1000
jae 0x41656b
jmp 0x41660d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4165b5
xor edx, edx
jmp 0x416604
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x0060a590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x416599
jmp 0x416588
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x0060a590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004cef4a]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004cf44c]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004d18d9]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS