joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140069db0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140069f58
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140069e15
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140069e15
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140069e15
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x140069e4c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140069ea2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140069ea2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140069ea2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140069ea2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140069ea2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140069860
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140069f04
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140045fe0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140069c30
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140069f50
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140045fe0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14006b6c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400a3080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14006b755
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14006b7b6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140045fe0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140080290
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14006b871
sub ecx, 1
je 0x14006b8e4
sub ecx, 1
je 0x14006b820
cmp ecx, 1
je 0x14006b803
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14008bd80]
call fcn.140045fe0
jmp 0x14006b8e4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14006b3f0
test eax, eax
je 0x14006b8e4
jmp 0x14006b78a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14006b8e4
sub rax, rsi
cmp rax, rbp
jae 0x14006b8e4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140046160
jmp 0x14006b8e4
cmp r8d, 4
jle 0x14006b8e4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14006b8e4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140045f00
mov esi, eax
test eax, eax
je 0x14006b8c3
mov edx, 5
mov rcx, rbx
call fcn.14006c3b0
mov eax, esi
jmp 0x14006b78a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400547e0
mov rcx, r14
call fcn.140054ac0
test eax, eax
je 0x14006b788
mov edx, 5
mov rcx, rbx
call fcn.14006c3b0
mov eax, Ordinal_46
jmp 0x14006b78a
Function at 0x14007f9a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14007f9e2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14007fa29
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14007fa82
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14007fa40
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14007fac3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14009302a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14009302b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14007fa90
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14007fadc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007fb16
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007fb1b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007fb64
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14007fb64
dec r8
sub rdx, 1
jne 0x14007fb4a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14007fed4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14007fbf4
mov ebx, eax
test eax, eax
jne 0x14007ff04
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14007ff67
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007ff5e
test al, 0x10
je 0x14007ff5e
bt eax, 0xa
jae 0x14007ff57
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14007ff78
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14007ff53
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14007ff53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14007ff5e
and dword [rsp + 0x3c], 0
jmp 0x14007ff63
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14008110c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140081156
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140081156
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140081156
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140081156
cmp dword [rcx + 0x84], 0xe
jbe 0x140081156
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140081158
xor al, al
add rsp, 0x28
ret
Function at 0x140001203
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000e520
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.1400011c2
test eax, eax
je 0x14000e665
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 0x14000e65b
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 0x14000e651
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, [0x14005d970]
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 0x14000e647
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.14001ccd0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400012c6
Capabilities:
Set registry value

Disassembly:
jmp 0x14000f9e0
sub rsp, 0x38
test r8, r8
jne 0x14000f9f0
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 0x140010a90
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 0x140010c5b
mov qword [rsp + 0x60], rdi
dec edx
je 0x140010bc5
dec edx
je 0x140010b48
dec edx
je 0x140010b2b
dec edx
je 0x140010af9
cmp edx, 2
jne 0x140010c56
mov edx, 6
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400767e0]
call fcn.140001564
jmp 0x140010c56
mov edx, 4
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400767d8]
call fcn.1400014f1
mov rcx, qword [0x1400767d8]
mov r8d, dword [rax + 0x1c]
mov edx, dword [rax + 0x24]
call fcn.1400013f2
jmp 0x140010c56
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [0x1400767c0], 0
jmp 0x140010c56
call fcn.1400014f1
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 0x140010c56
cmp dword [rdi + 8], 0
je 0x140010c56
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 0x140010c56
mov rcx, qword [0x1400767d8]
call fcn.140001172
jmp 0x140010c56
call fcn.1400014f1
cmp dword [rax], 0
je 0x140010c56
cmp dword [rax + 8], 0
jne 0x140010c56
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 0x140010c56
cmp rdi, rbx
je 0x140010c56
test rdi, rdi
je 0x140010c56
lea edx, [rax + 4]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
cmp rax, rbx
je 0x140010c56
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.14001ccd0
add rsp, 0x40
pop rbx
ret
Function at 0x14000142e
Capabilities:
Get graphical window text

Disassembly:
jmp 0x140003250
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 0x140003282
xor eax, eax
jmp 0x14000334b
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.140001541
mov rax, qword [rbp + 0x2d0]
mov edx, dword [rax + rbx*4 + 0x5500]
sub edx, 0x502
cmp edx, 1
ja 0x14000333e
mov rcx, rbp
call fcn.1400010dc
mov rbx, rax
test rax, rax
je 0x140003343
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], ax
call fcn.14001cd00
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 0x14000333e
lea r8, [0x14005d0b4]
mov rdx, rsi
mov rcx, rdi
call fcn.1400013ca
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.1400013ca
mov eax, 1
mov rbx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001ccd0
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001546
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000f960
push rbx
sub rsp, 0x40
mov rbx, r8
test r8, r8
je 0x14000f9bd
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 0x14000f9bd
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
Function at 0x140003250
Capabilities:
Get graphical window text

Disassembly:
jmp 0x140003250
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 0x140003282
xor eax, eax
jmp 0x14000334b
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.140001541
mov rax, qword [rbp + 0x2d0]
mov edx, dword [rax + rbx*4 + 0x5500]
sub edx, 0x502
cmp edx, 1
ja 0x14000333e
mov rcx, rbp
call fcn.1400010dc
mov rbx, rax
test rax, rax
je 0x140003343
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], ax
call fcn.14001cd00
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 0x14000333e
lea r8, [0x14005d0b4]
mov rdx, rsi
mov rcx, rdi
call fcn.1400013ca
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.1400013ca
mov eax, 1
mov rbx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001ccd0
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e2d0
Capabilities:
Terminate thread

Disassembly:
jmp 0x14000e2d0
jmp 0x14000dc40
lea rax, vtable.IToolbarBand.0
mov qword [rcx], rax
jmp 0x140001050
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x2f0]
test rcx, rcx
je 0x14000e315
or edx, 0xffffffff
call qword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov rcx, qword [rbx + 0x2f0]
xor edx, edx
call qword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
mov rcx, qword [rbx + 0x2f0]
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov qword [rbx + 0x2f0], 0
mov rcx, qword [rbx + 0x2f8]
test rcx, rcx
je 0x14000e341
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x2f8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x2f8], 0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000e358
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rbx + 0x18], 0
add rsp, 0x20
pop rbx
ret

Function at 0x14000e520
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000e520
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.1400011c2
test eax, eax
je 0x14000e665
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 0x14000e65b
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 0x14000e651
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, [0x14005d970]
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 0x14000e647
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.14001ccd0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000f960
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000f960
push rbx
sub rsp, 0x40
mov rbx, r8
test r8, r8
je 0x14000f9bd
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 0x14000f9bd
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

Function at 0x14000f9e0
Capabilities:
Set registry value

Disassembly:
jmp 0x14000f9e0
sub rsp, 0x38
test r8, r8
jne 0x14000f9f0
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 0x140010a90
Capabilities:
Check for unmoving mouse cursor

Disassembly:
jmp 0x140010a90
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 0x140010c5b
mov qword [rsp + 0x60], rdi
dec edx
je 0x140010bc5
dec edx
je 0x140010b48
dec edx
je 0x140010b2b
dec edx
je 0x140010af9
cmp edx, 2
jne 0x140010c56
mov edx, 6
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400767e0]
call fcn.140001564
jmp 0x140010c56
mov edx, 4
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400767d8]
call fcn.1400014f1
mov rcx, qword [0x1400767d8]
mov r8d, dword [rax + 0x1c]
mov edx, dword [rax + 0x24]
call fcn.1400013f2
jmp 0x140010c56
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [0x1400767c0], 0
jmp 0x140010c56
call fcn.1400014f1
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 0x140010c56
cmp dword [rdi + 8], 0
je 0x140010c56
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 0x140010c56
mov rcx, qword [0x1400767d8]
call fcn.140001172
jmp 0x140010c56
call fcn.1400014f1
cmp dword [rax], 0
je 0x140010c56
cmp dword [rax + 8], 0
jne 0x140010c56
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 0x140010c56
cmp rdi, rbx
je 0x140010c56
test rdi, rdi
je 0x140010c56
lea edx, [rax + 4]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
cmp rax, rbx
je 0x140010c56
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.14001ccd0
add rsp, 0x40
pop rbx
ret