joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d418
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
lea rdx, [rsp + 0x58]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x14000d47e
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov edx, 1
mov qword [rsp + 0x28], rdi
movzx r9d, al
lea r8, [0x140013c80]
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4c]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000d530
mov rcx, qword [rsi + 0x20]
call fcn.14000bc10
mov rcx, qword [rsp + 0x58]
mov rbx, rax
call fcn.14000bc10
mov rdi, rax
test rbx, rbx
je 0x14000d4d7
test rax, rax
je 0x14000d4d7
lea rcx, [0x14006e140]
call qword [sym.imp.ntoskrnl.exe_KeAcquireGuardedMutex]
mov rdx, qword [rbx]
cmp qword [rbx + 8], rdx
jne 0x14000d4c8
mov rax, qword [rdi]
mov qword [rbx + 8], rdi
mov qword [rbx], rax
mov qword [rdi], rbx
mov qword [rax + 8], rbx
lea rcx, [0x14006e140]
call qword [sym.imp.ntoskrnl.exe_KeReleaseGuardedMutex]
jmp 0x14000d525
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov rcx, qword [rsp + 0x58]
lea r8, [0x140013d00]
mov qword [rsp + 0x38], rcx
mov edx, 1
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
lea ecx, [rdx + 0x4c]
movzx r9d, al
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00404480]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x00404490]
mov dword [rax], 1
mov rax, qword [0x004044a0]
mov dword [rax], 1
mov rax, qword [0x00404470]
mov dword [rax], 1
mov rax, qword [0x00404340]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010d0
mov rax, qword [0x00404460]
mov dword [0x00407020], ecx
mov eax, dword [rax]
test eax, eax
je 0x4010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x00404420]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x00404400]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x004042f0]
cmp dword [rax], 1
je 0x401108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401120
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067

Function at 0x4018c0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x401930
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x004070c4]
mov r12, rcx
test ebx, ebx
jle 0x401a60
mov rax, qword [0x004070c8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x40197c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401a03
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x401960
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x401a82
mov rax, qword [0x004070c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004070c8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401a67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x4019fc
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x401a10
add dword [0x004070c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x004070c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4019fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x401987
mov rax, qword [0x004070c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x401f50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00407100]
test rbx, rbx
je 0x401fa4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x401f9b
test r12, r12
je 0x401f9b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x401f80
lea rcx, [0x00407120]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4021c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x4021d8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x4021e0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x4021f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x40223c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x402233
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x40223e
add rax, 0x28
cmp rax, r9
jne 0x402220
xor eax, eax
ret

Function at 0x402240
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x4022d0
mov rdx, qword [0x00404340]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x4022be
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x4022be
cmp word [rax + 0x18], 0x20b
jne 0x4022be
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x4022d0
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x4022a9
add r12, 0x28
cmp r12, rsi
je 0x4022d0
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x4022a0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x4022e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x00404340]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x402300
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x402308
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402300
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x402355
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x40234c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402300
add rax, 0x28
cmp rax, r9
jne 0x402338
xor eax, eax
ret

Function at 0x402360
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00404340]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402380
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x402388
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x402380
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x4023a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x00404340]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x4023c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x4023c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x4023c0
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x402408
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x4023ff
test rcx, rcx
je 0x4023c0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x4023f0
xor eax, eax
ret

Function at 0x402410
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00404340]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402430
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x402438
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x402450
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x00404340]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402470
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x402478
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x402470
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x402470
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x4024b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4024c8
add rax, 0x28
cmp r9, rax
jne 0x4024a0
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x4024e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x00404340]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x402502
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x402510
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402502
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x402502
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x402502
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x40255d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x402570
add rdx, 0x28
cmp r10, rdx
jne 0x402548
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x40257f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x40258f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x402566
test ecx, ecx
jg 0x402578
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001720
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002560
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002560
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001790
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140051094]
test esi, esi
mov rbx, rcx
jle 0x1400018c0
mov rax, qword [0x140051098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400017db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001865
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400017c0
mov rcx, rbx
call fcn.140002200
test rax, rax
mov rdi, rax
je 0x1400018e2
mov rax, qword [0x140051098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002340
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140051098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400018c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000185e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001870
add dword [0x140051094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140051098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000185e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001720
nop dword [rax]
xor esi, esi
jmp 0x1400017e8
mov rax, qword [0x140051098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.140001720
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.140001720
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001e50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140051100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400510e0]
test rbx, rbx
je 0x140001eac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001ea3
test rsi, rsi
je 0x140001ea3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001e88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400020c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002200
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14004e390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002220
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002228
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002220
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000227d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140002274
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002220
add rax, 0x28
cmp rax, r9
jne 0x140002260
xor eax, eax
ret

Function at 0x140002280
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14004e390]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000229f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000229f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14004e390]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000235f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400011fe
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000e4b0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140074150]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor eax, eax
xor esi, esi
mov rdi, rcx
mov dword [rdx], esi
mov qword [rdx + 4], rax
mov dword [rdx + 0xc], eax
mov rcx, qword [rcx + 0x2d0]
mov rbx, rdx
lea rdx, [rbp + 0x1f]
mov qword [rbp + 0x1f], rsi
call fcn.1400011bd
test eax, eax
je 0x14000e5f5
mov rcx, qword [rbp + 0x1f]
lea rax, [rbp + 0x17]
lea rdx, str.Toolbar
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xf]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov qword [rbp + 0xf], rsi
mov dword [rbp + 0x17], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000e5eb
mov rcx, qword [rbp + 0xf]
lea rax, [rbp + 7]
lea rdx, [rdi + 0x24]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 1]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov qword [rbp - 1], rsi
mov dword [rbp + 7], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000e5e1
mov rcx, qword [rbp - 1]
lea rax, [rbp + 0x27]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2f]
lea r9, [rbp - 9]
movdqu xmmword [rbp + 0x2f], xmm0
lea rdx, [0x14005d940]
xor r8d, r8d
mov dword [rbp + 0x27], 0x10
mov qword [rsp + 0x20], rax
mov dword [rbp - 9], 3
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000e5d7
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [rbx], xmm0
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001cc60
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400012c1
Capabilities:
Set registry value

Disassembly:
jmp 0x14000f970
sub rsp, 0x38
test r8, r8
jne 0x14000f980
xor eax, eax
add rsp, 0x38
ret
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9d, 4
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x38
ret
Function at 0x140001316
Capabilities:
Check for unmoving mouse cursor

Disassembly:
jmp 0x140010a20
push rbx
sub rsp, 0x40
mov rax, qword [0x140074150]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rcx, qword [0x1400767d8]
test rcx, rcx
je 0x140010beb
mov qword [rsp + 0x60], rdi
dec edx
je 0x140010b55
dec edx
je 0x140010ad8
dec edx
je 0x140010abb
dec edx
je 0x140010a89
cmp edx, 2
jne 0x140010be6
mov edx, 6
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400767e0]
call fcn.140001569
jmp 0x140010be6
mov edx, 4
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400767d8]
call fcn.1400014f6
mov rcx, qword [0x1400767d8]
mov r8d, dword [rax + 0x1c]
mov edx, dword [rax + 0x24]
call fcn.1400013f7
jmp 0x140010be6
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [0x1400767c0], 0
jmp 0x140010be6
call fcn.1400014f6
mov edx, 2
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.USER32.dll_KillTimer]
lea rdx, [rsp + 0x28]
xorps xmm0, xmm0
mov rcx, rbx
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [rdi], 0
je 0x140010be6
cmp dword [rdi + 8], 0
je 0x140010be6
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x140010be6
mov rcx, qword [0x1400767d8]
call fcn.14000116d
jmp 0x140010be6
call fcn.1400014f6
cmp dword [rax], 0
je 0x140010be6
cmp dword [rax + 8], 0
jne 0x140010be6
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x28]
mov rcx, rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov rdi, rax
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x140010be6
cmp rdi, rbx
je 0x140010be6
test rdi, rdi
je 0x140010be6
lea edx, [rax + 4]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
cmp rax, rbx
je 0x140010be6
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400767d8]
call fcn.14000135c
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001cc60
add rsp, 0x40
pop rbx
ret
Function at 0x140001433
Capabilities:
Get graphical window text

Disassembly:
jmp 0x140003260
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140074150]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, r9
mov rdi, r8
mov rbp, rcx
test r8, r8
jne 0x140003292
xor eax, eax
jmp 0x14000335b
sub edx, dword [rcx + 0x31c]
mov qword [rsp + 0x248], rbx
lea r8, [0x14005d0ac]
lea r9, [rdx + 0x1f]
mov ebx, edx
mov rdx, rsi
lea r9, [r9 + r9*4]
shl r9, 5
add r9, qword [rcx + 0x2d0]
mov rcx, rdi
call fcn.140001546
mov rax, qword [rbp + 0x2d0]
mov edx, dword [rax + rbx*4 + 0x5500]
sub edx, 0x502
cmp edx, 1
ja 0x14000334e
mov rcx, rbp
call fcn.1400010dc
mov rbx, rax
test rax, rax
je 0x140003353
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], ax
call fcn.14001cc90
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x14000334e
lea r8, [0x14005d0b4]
mov rdx, rsi
mov rcx, rdi
call fcn.1400013cf
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.1400013cf
mov eax, 1
mov rbx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001cc60
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000154b
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000f8f0
push rbx
sub rsp, 0x40
mov rbx, r8
test r8, r8
je 0x14000f94d
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000f94d
mov eax, dword [rsp + 0x60]
mov dword [rbx], eax
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret