joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007faa0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
test rcx, rcx
je 0x14007fbfc
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
cmp byte [rcx], 0
mov rbx, rdx
mov rdi, rcx
je 0x14007fbef
or r14, 0xffffffffffffffff
test rdx, rdx
jne 0x14007fada
mov rbx, r14
inc rbx
cmp byte [rcx + rbx], 0
jne 0x14007fad1
mov rcx, qword [0x14015f408]
xor sil, sil
and dword [rsp + 0x70], 0
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x14007fb3a
and qword [rsp + 0x30], 0
lea rcx, str..pipeLOCALArsLexis_Logger
and dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [0x14015f408], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007fbef
mov sil, 1
xor r9d, r9d
mov dword [rsp + 0x78], 2
xor r8d, r8d
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x14007fb64
lea rcx, str.logPipe:_SetNamedPipeHandleState___failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test sil, sil
je 0x14007fbb9
lea rdx, [0x140133550]
lea rcx, str.app:__s_n
call fcn.14007c8d8
mov rsi, rax
test rax, rax
je 0x14007fb93
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x14007fb87
jmp 0x14007fb96
xor r8d, r8d
mov rcx, qword [0x14015f408]
lea r9, [rsp + 0x70]
and qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call fcn.1400feb88
mov rcx, qword [0x14015f408]
lea r9, [rsp + 0x70]
and qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14007fbef
mov rcx, qword [0x14015f408]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14015f408], r14
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14008014c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14015e020]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call fcn.1400eced0
mov r9, rbx
mov dword [rsp + 0x20], edi
lea r8, str._s_d_n
mov edx, 0x200
lea rcx, [rsp + 0x30]
call fcn.14007c734
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400eb9c0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret

Function at 0x14008040c
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov r8d, edx
mov r9, rcx
xor r8d, 0x1505
cmp rdx, 4
jb 0x140080455
mov r10, rdx
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add rdx, rax
imul eax, dword [r9], 0x5bd1e995
add r9, 4
imul r8d, r8d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r8d, ecx
sub r10, 1
jne 0x14008042d
sub rdx, 1
je 0x14008047d
sub rdx, 1
je 0x140080472
cmp rdx, 1
jne 0x14008048b
movzx eax, byte [r9 + 2]
shl eax, 0x10
xor r8d, eax
movzx eax, byte [r9 + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [r9]
xor eax, r8d
imul r8d, eax, 0x5bd1e995
mov eax, r8d
shr eax, 0xd
xor eax, r8d
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
ret

Function at 0x140080ad8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
test rcx, rcx
je 0x140080afc
call fcn.1400804a4
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.140088f60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140080b0e
xor al, al
jmp 0x140080b13
shr eax, 4
and al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140081374
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x450
mov rax, qword [0x14015e020]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400eced0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x14008142a
test rdi, rdi
jne 0x1400813da
lea rdx, [rsp + 0x20]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov ecx, 0xfde9
call fcn.14008902c
jmp 0x14008142c
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call fcn.1400eced0
call fcn.1400804a4
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.140088f60
lea r9, [rsp + 0x230]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14008142a
lea rdx, [rsp + 0x230]
jmp 0x1400813c7
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400eb9c0
add rsp, 0x450
pop rdi
ret
Function at 0x140081538
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov r15, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140081574
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14008159f
call qword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x14008159f
call fcn.1400804a4
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, r15
call fcn.140088f60
lea rdx, [0x14013f80c]
mov rcx, rax
call fcn.1400f2958
mov rsi, rax
test rax, rax
jne 0x1400815ad
and qword [rdi], 0
and qword [rdi + 8], 0
jmp 0x14008168e
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 2]
call fcn.140105fe0
test eax, eax
jne 0x14008167d
mov rcx, rsi
call fcn.140105c80
movsxd r13, eax
mov rbx, r13
lea rdx, [r13 + 3]
cmp r13, rdx
ja 0x14008167d
mov rcx, r14
call fcn.14007ffbc
mov rbp, rax
test rax, rax
je 0x14008167d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140105fe0
test eax, eax
jne 0x14008167d
mov r9, rsi
lea edx, [rax + 1]
mov r8, rbx
mov rcx, rbp
call fcn.1401062dc
mov qword [rsp + 0x68], rax
mov rcx, rsi
cmp rax, rbx
je 0x1400816bc
call fcn.140105d44
mov rcx, rsi
mov r12d, eax
call fcn.140105d18
mov r9d, dword [rsp + 0x68]
lea rcx, str.ReadFileWithAllocator:_fread___failed__path:__s__size:__d__nRead:__d__err:__d__isEof:__d_n
mov dword [rsp + 0x28], eax
mov r8d, r13d
mov rdx, r15
mov dword [rsp + 0x20], r12d
mov ebx, eax
call fcn.14007fe80
test ebx, ebx
jne 0x140081670
test r12d, r12d
jne 0x140081670
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140081670
call qword [sym.imp.KERNEL32.dll_DebugBreak]
test r14, r14
jne 0x1400816ae
mov rcx, rbp
call fcn.1400feb88
and qword [rdi], 0
mov rcx, rsi
and qword [rdi + 8], 0
call fcn.1400f78d0
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [r14]
mov rdx, rbp
mov rcx, r14
call qword [rax + 0x18]
jmp 0x14008167d
mov qword [rdi], rbp
mov qword [rdi + 8], rbx
jmp 0x140081689
Function at 0x1400816c8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
or rdx, 0xffffffffffffffff
call fcn.140080930
and qword [rsp + 0x30], 0
xor r9d, r9d
mov rbp, qword [rbx]
mov edx, 0x40000000
mov rdi, qword [rbx + 8]
mov rcx, rax
mov dword [rsp + 0x28], 0x80
lea esi, [r9 + 1]
mov dword [rsp + 0x20], 2
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14008172a
xor al, al
jmp 0x140081783
and dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
and qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14008176f
mov eax, dword [rsp + 0x58]
cmp rdi, rax
je 0x140081766
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140081766
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [rsp + 0x58]
cmp rdi, rax
je 0x140081772
xor sil, sil
test rbx, rbx
je 0x140081780
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, sil
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140081858
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
test rcx, rcx
jne 0x14008187d
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140081877
call qword [sym.imp.KERNEL32.dll_DebugBreak]
or rax, 0xffffffffffffffff
jmp 0x1400818c7
call fcn.140081798
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400818ad
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400818ad
mov rdi, qword [rsp + 0x30]
jmp 0x1400818bb
or rdi, 0xffffffffffffffff
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400818c4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400818d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
call fcn.140081798
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140081900
xor edi, edi
jmp 0x140081939
mov r8, rsi
xor edx, edx
mov rcx, rbp
call fcn.1400eced0
xor edi, edi
lea r9, [rsp + 0x58]
mov r8d, esi
mov dword [rsp + 0x58], edi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140081935
or edi, 0xffffffff
jmp 0x140081939
mov edi, dword [rsp + 0x58]
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14008194c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140081964
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
test rcx, rcx
jne 0x140081979
xor al, al
jmp 0x1400819a9
or rdx, 0xffffffffffffffff
call fcn.140080930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
sete dil
or edi, ebx
jne 0x1400819a7
xor ecx, ecx
call fcn.140082f5c
jmp 0x140081975
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400819b4
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx esi, r8b
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400819e9
call fcn.1400804a4
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.140088f60
mov rdi, rax
test rbx, rbx
jne 0x1400819f2
xor eax, eax
jmp 0x140081a06
call fcn.1400804a4
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.140088f60
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140081a24
xor ecx, ecx
call fcn.140082f5c
xor al, al
jmp 0x140081a26
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140081be0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
or rdx, 0xffffffffffffffff
call fcn.140080930
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140081c00
mov al, 1
jmp 0x140081c0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
add rsp, 0x28
ret

Function at 0x140081c14
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140080c10
mov rbx, rax
cmp rax, rdi
je 0x140081c6b
test rax, rax
je 0x140081c57
test rdi, rdi
je 0x140081c57
mov rdx, rdi
sub rdx, rax
movzx ecx, byte [rax]
movzx r8d, byte [rax + rdx]
sub ecx, r8d
jne 0x140081c53
inc rax
test r8d, r8d
jne 0x140081c3e
test ecx, ecx
je 0x140081c6b
mov rcx, rbx
call fcn.140081b8c
test al, al
jne 0x140081c6b
mov rcx, rbx
call fcn.140081c14
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140081be0
Function at 0x1400825fc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.1400817f0
test al, al
jne 0x14008261c
xor eax, eax
jmp 0x1400826b5
cmp qword [0x140169b70], 0
jne 0x14008268a
lea rcx, [0x140169b78]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140169ba8], rax
xor r9d, r9d
lea r8, [0x1400821d0]
xor edx, edx
lea rax, [0x140169bb0]
xor ecx, ecx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [0x140169bb0]
lea rcx, str.FileWatcherThread
mov qword [0x140169b70], rax
call fcn.140093614
lea rcx, [0x140169b78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, rdi
mov rcx, rbx
call fcn.140082384
lea rcx, [0x140169b78]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140082f90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov rsi, r8
mov rdi, rdx
mov r14, rcx
test rcx, rcx
jne 0x140082fbb
xor eax, eax
jmp 0x140083113
or r13, 0xffffffffffffffff
test rdi, rdi
jne 0x140082fc9
mov r12, rbx
jmp 0x140082fdf
call fcn.1400804a4
mov r8, rax
mov rdx, r13
mov rcx, rdi
call fcn.140088f60
mov r12, rax
test rsi, rsi
jne 0x140082fe9
mov r15, rbx
jmp 0x140082fff
call fcn.1400804a4
mov r8, rax
mov rdx, r13
mov rcx, rsi
call fcn.140088f60
mov r15, rax
mov rdi, rbx
mov ebp, 0x20019
lea rax, [rsp + 0x98]
mov r9d, ebp
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x1400830c8
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400830ba
mov ecx, dword [rsp + 0x80]
lea edx, [rax + 2]
shr rcx, 1
inc rcx
call fcn.140100dac
mov rcx, qword [rsp + 0x98]
mov rdi, rax
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x1400830ba
lea rcx, [rsp + 0x30]
call fcn.14007c4f0
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x1400830e8
cmp r14, 0xffffffff80000002
jne 0x1400830e8
cmp ebp, 0x20019
jne 0x1400830e8
mov ebp, 0x20219
jmp 0x140083007
test rdi, rdi
je 0x140083108
call fcn.1400804a4
mov r9, rax
mov r8, r13
mov rdx, rdi
mov ecx, 0xfde9
call fcn.14008902c
mov rbx, rax
mov rcx, rdi
call fcn.1400feb88
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400836c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14015e020]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov bl, dl
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.1400eced0
mov edx, edi
lea rax, [rsp + 0x30]
bts edx, 0xf
mov qword [rsp + 0x20], rax
test bl, bl
cmove edx, edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x140083720
xor eax, eax
jmp 0x14008373b
call fcn.1400804a4
mov r9, rax
lea rdx, [rsp + 0x30]
or r8, 0xffffffffffffffff
mov ecx, 0xfde9
call fcn.14008902c
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400eb9c0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x1400839ec
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14015e020]
xor rax, rsp
mov qword [rbp + 0x170], rax
or rdi, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.140088f60
mov rbx, rax
test rax, rax
jne 0x140083a35
xor edi, edi
jmp 0x140083b51
movups xmm0, xmmword [0x1401307f0]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [0x140144a18]
lea rcx, [rsp + 0x50]
movdqu xmmword [rsp + 0x50], xmm0
lea r8d, [rdx + 0x17]
call qword [sym.imp.ole32.dll_CoCreateInstance]
shr eax, 0x1f
xor al, 1
jne 0x140083a78
xor edi, edi
jmp 0x140083b41
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x38]
and qword [rsp + 0x38], 0
lea rdx, [0x140144a38]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jns 0x140083aa1
xor ecx, ecx
mov qword [rsp + 0x38], rcx
jmp 0x140083aa6
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140083b34
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
test eax, eax
js 0x140083b2f
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov rax, qword [rcx]
lea r8d, [rdx + 4]
call qword [rax + 0x98]
test eax, eax
js 0x140083b2f
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1400eced0
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x140083b2f
call fcn.1400804a4
mov r9, rax
lea rdx, [rsp + 0x60]
mov r8, rdi
mov ecx, 0xfde9
call fcn.14008902c
mov rcx, qword [rsp + 0x38]
mov rdi, rax
jmp 0x140083b36
mov rcx, qword [rsp + 0x38]
xor edi, edi
test rcx, rcx
je 0x140083b41
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140083b51
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call fcn.1400feb88
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400eb9c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140083e90
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x90
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
test rcx, rcx
je 0x140083f7d
cmp byte [rcx], 0
je 0x140083f7d
mov ebx, 0x70
lea rcx, [rax - 0x78]
mov r8d, ebx
xor edx, edx
call fcn.1400eced0
mov dword [rsp + 0x20], ebx
or rbx, 0xffffffffffffffff
mov dword [rsp + 0x24], 0x400
test rsi, rsi
jne 0x140083ef1
and qword [rsp + 0x30], rsi
jmp 0x140083f09
call fcn.1400804a4
mov r8, rax
mov rdx, rbx
mov rcx, rsi
call fcn.140088f60
mov qword [rsp + 0x30], rax
call fcn.1400804a4
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140088f60
mov qword [rsp + 0x38], rax
test rbp, rbp
jne 0x140083f2a
xor eax, eax
jmp 0x140083f3d
call fcn.1400804a4
mov r8, rax
mov rdx, rbx
mov rcx, rbp
call fcn.140088f60
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140083f98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rsi
lea rcx, str.LaunchFile:_ShellExecuteExW_path:__s_params:__s_verb:__s_n
mov r8, rbp
mov rdx, rdi
mov ebx, eax
call fcn.14007fe80
mov ecx, ebx
call fcn.140082f5c
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov al, 1
jmp 0x140083f7f

Function at 0x140083f9c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
and qword [rsp + 0x50], 0
mov rbx, rdx
xor edx, edx
mov esi, r8d
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x74]
movups xmmword [rsp + 0x58], xmm0
lea r8d, [rdx + 0x64]
call fcn.1400eced0
mov dword [rsp + 0x70], 0x68
test rdi, rdi
je 0x140083ff9
call fcn.1400804a4
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.140088f60
mov rdi, rax
test rbx, rbx
jne 0x140084002
xor eax, eax
jmp 0x140084016
call fcn.1400804a4
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.140088f60
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], esi
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140084057
xor eax, eax
jmp 0x140084067
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140084710
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov bpl, dl
mov rsi, rcx
test rcx, rcx
je 0x1400847e2
call fcn.1400804a4
or rdi, 0xffffffffffffffff
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call fcn.140088f60
mov r14, rax
test rax, rax
je 0x1400847e2
test bpl, bpl
jne 0x140084778
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400847f2
call qword [sym.imp.USER32.dll_EmptyClipboard]
inc rdi
cmp word [r14 + rdi*2], bx
jne 0x140084778
inc rdi
mov ecx, 2
lea rdx, [rdi + rdi]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x1400847cf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400847b8
mov r8, r14
mov rdx, rdi
mov rcx, rax
call fcn.14007e254
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test bpl, bpl
jne 0x1400847da
call qword [sym.imp.USER32.dll_CloseClipboard]
test rsi, rsi
setne bl
jmp 0x1400847f2
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400847f2
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov rbp, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140084810
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov dil, dl
mov rbx, rcx
test dl, dl
jne 0x14008483f
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400848bc
call qword [sym.imp.USER32.dll_EmptyClipboard]
test rbx, rbx
je 0x1400848af
lea r8, [rsp + 0x30]
mov edx, 0x20
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp qword [rsp + 0x48], 0
je 0x140084898
mov r9d, dword [rsp + 0x38]
xor edx, edx
mov r8d, dword [rsp + 0x34]
mov rcx, rbx
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CopyImage]
mov rdx, rax
mov ecx, 2
mov rbx, rax
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1400848a9
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rsi, rax
test rsi, rsi
setne bl
test dil, dil
jne 0x1400848ba
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140085490
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor r9d, r9d
xor r8d, r8d
mov rdi, rcx
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
lea rbx, [rax*2 + 4]
call fcn.1400804a4
mov rcx, rax
mov rdx, rbx
call fcn.14007ffbc
mov rbx, rax
test rax, rax
je 0x1400854ed
lea r8, [rsi + 1]
mov r9, rbx
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret