joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400559a8
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
lea rax, vtable.CDataRecoveryHandler.0
mov qword [rcx], rax
cmp qword [rcx + 0x138], 0
je 0x140055a1b
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x120]
call fcn.1400f4168
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140055a11
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rbx + 0x138], 0
jne 0x1400559d3
mov rdx, qword [rbx + 0x180]
xor ecx, ecx
call qword [sym.imp.USER32.dll_KillTimer]
nop
mov rdx, qword [rbx + 0x160]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140055a4d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbx + 0x158]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140055a6f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbx + 0x120]
call fcn.1400f3c94
nop
lea rcx, [rbx + 0xe8]
lea rdi, vtable.CMap_class_CDocument____ptr64__class_CDocument____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64_.0
mov qword [rcx], rdi
call fcn.140057c44
nop
lea rcx, [rbx + 0xb0]
mov qword [rcx], rdi
call fcn.140057c44
nop
lea rcx, [rbx + 0x78]
lea rax, vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64__bool__bool_.0
mov qword [rcx], rax
call fcn.140057e30
nop
lea rcx, [rbx + 0x40]
lea rax, vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64__class_CDocument____ptr64__class_CDocument____ptr64_.0
mov qword [rcx], rax
call fcn.140057ce0
nop
lea rcx, [rbx + 8]
lea rax, vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64_.0
mov qword [rcx], rax
call fcn.140057d78
nop
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140056638
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x14005666a
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005666a
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.1400f3d6c
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14005667c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400566a2
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14002d2b0
jmp 0x140056709
cmp byte [0x14029eaf0], 0
jne 0x1400566e6
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400566d6
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14029eae8], rax
jmp 0x1400566dd
mov rax, qword [0x14029eae8]
mov byte [0x14029eaf0], 1
jmp 0x1400566ed
mov rax, qword [0x14029eae8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140056703
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x140056709
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140058b10
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rdi, rcx
mov esi, 1
mov rax, qword [rcx + 0x20]
neg rax
sbb rdx, rdx
mov qword [rbp + 0x38], rdx
je 0x140058ce4
xor esi, esi
and qword [rbp - 0x20], rsi
and dword [rbp - 0x18], esi
and qword [rbp - 0x10], rsi
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + 0x40]
nop
mov rbx, qword [rax]
call fcn.14002f678
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.14002c090
mov rdx, rax
and qword [rsp + 0x38], rsi
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rbx
lea rcx, [rbp - 0x20]
call fcn.140031020
test eax, eax
sete bl
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140058bb6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140058cd5
call fcn.14001bb90
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x140058cca
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x28], rax
call fcn.14001bb90
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x140058cbf
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x30], rax
lea rcx, [rdi + 8]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x38]
call fcn.140056c70
xor eax, eax
mov rbx, qword [rbp + 0x30]
test rbx, rbx
setne al
test eax, eax
je 0x140058c65
mov rcx, rbx
call fcn.1401b4778
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140058c80
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140058c9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x38], 0
jne 0x140058bbe
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140058cb8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140058ce6
mov ecx, 0x80004005
call fcn.140002ad8
nop
mov ecx, 0x80004005
call fcn.140002ad8
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140058ce4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14005a564
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx r14d, r8w
mov r15, rdx
mov r12, rcx
or r13d, 0xffffffff
movzx edi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x14029eaf8]
and qword [rax + 0x20], 0
xor esi, esi
mov eax, dword [0x140299b84]
test eax, eax
je 0x14005a5c2
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140299b84]
test eax, eax
jne 0x14005a5cb
call fcn.140026ce4
test eax, eax
je 0x14005a5e7
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1402913a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005a5f1
movzx eax, r13w
jmp 0x14005a65a
test rbx, rbx
jne 0x14005a611
lea rcx, str.GetFileTitleW
call fcn.14005a4b4
mov rbx, rax
test rax, rax
je 0x14005a625
mov qword [0x14029eaf8], rax
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx edi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp di, r13w
sete bl
test ebx, ebx
je 0x14005a63c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005a63e
xor esi, esi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005a657
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, di
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14006a0b4
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xd40]
sub rsp, 0xe40
mov rax, qword [0x140292900]
xor rax, rsp
mov qword [rbp + 0xd30], rax
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov r10, rdx
test rdx, rdx
je 0x14006a2aa
test r8, r8
je 0x14006a2b0
mov qword [rbp + 0x170], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm1
mov ecx, r9d
mov qword [rsp + 0x40], rbx
test r9d, r9d
je 0x14006a268
sub ecx, 1
je 0x14006a13c
sub ecx, 1
je 0x14006a1e8
cmp ecx, 1
jne 0x14006a286
mov rcx, qword [r10 + 8]
lea rdx, [rbp + 0x910]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14006a263
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x910]
call fcn.1400f3ac4
test eax, eax
je 0x14006a263
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0xb20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14006a25c
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb20]
call fcn.1400f3ac4
test eax, eax
je 0x14006a25c
cmp esi, 1
jne 0x14006a249
test byte [rbp + 0x180], 0x10
jne 0x14006a263
test byte [rsp + 0x50], 0x10
jne 0x14006a25c
mov rax, qword [rbp + 0x178]
cmp rax, qword [rsp + 0x48]
seta bl
or ecx, 0xffffffff
cmp rax, qword [rsp + 0x48]
cmovb ebx, ecx
jmp 0x14006a286
mov rcx, qword [r10 + 8]
lea r8, [rbp + 0x650]
mov esi, 0x408
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], esi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x14006a286
mov rcx, qword [rdi + 8]
lea r8, [rbp + 0x390]
mov r9d, 0x2b8
mov dword [rsp + 0x20], esi
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x14006a286
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x868]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x14006a286
mov rax, qword [rbp + 0x168]
cmp rax, qword [rsp + 0x38]
jl 0x14006a263
setg bl
jmp 0x14006a286
mov ebx, 1
jmp 0x14006a286
or ebx, 0xffffffff
jmp 0x14006a286
mov rcx, qword [rdx]
mov r9, qword [r8 + 0x10]
mov r8, qword [rdx + 0x10]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jns 0x14006a283
xor eax, eax
jmp 0x14006a288
movsx ebx, ax
mov eax, ebx
mov rcx, qword [rbp + 0xd30]
xor rcx, rsp
call fcn.1401a82a0
mov rbx, qword [rsp + 0xe60]
add rsp, 0xe40
pop rdi
pop rsi
pop rbp
ret
call fcn.14001a4e4
int3
call fcn.14001a4e4
int3

Function at 0x14006b418
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14006b55c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x14006b59e
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x14006b9ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14006ba7e
test rbx, rbx
je 0x14006ba84
test r9, r9
je 0x14006ba8a
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006ba67
cmp dword [rsp + 0x48], 3
jne 0x14006ba67
test eax, eax
jne 0x14006ba67
cmp dword [rdi], eax
je 0x14006ba67
mov ecx, dword [rdi]
call fcn.14001a480
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006ba5b
cmp dword [rsp + 0x48], 3
jne 0x14006ba5b
test eax, eax
jne 0x14006ba5b
mov eax, 1
jmp 0x14006ba69
mov rcx, qword [rbx]
call fcn.14001a478
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.14001a4e4
int3
call fcn.14001a4e4
int3
call fcn.14001a4e4
int3

Function at 0x14006bd48
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14006bd59
xor eax, eax
jmp 0x14006bd87
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14006bd90
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14006bda1
xor eax, eax
jmp 0x14006bdc5
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140074030
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x140074061
call fcn.14002f678
mov rdi, qword [rax + 0x18]
lea r8, [0x1401f8960]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x140074080
xor eax, eax
jmp 0x1400740cc
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14007407c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400740c1
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.1400740e8
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140076e84
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14029edf0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140299b84]
test eax, eax
je 0x140076ecf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140299b84]
test eax, eax
jne 0x140076ed8
call fcn.140026ce4
test eax, eax
je 0x140076ef4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402913a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140076efc
xor eax, eax
jmp 0x140076f59
test rbx, rbx
jne 0x140076f1c
lea rcx, str.ImageList_GetImageCount
call fcn.140026728
mov rbx, rax
test rax, rax
je 0x140076f27
mov qword [0x14029edf0], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140076f3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140076f3e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140076f57
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140099654
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x140291684], edi
je 0x14009975d
cmp dword [0x140291970], 0xfffffffe
jne 0x140099742
cmp ecx, 0xffffffff
je 0x14009975d
mov edx, dword [0x1402a3c68]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x14029f628], ecx
jle 0x1400996e0
lea rcx, [0x14029f628]
call fcn.1401a89e4
cmp dword [0x14029f628], 0xffffffff
jne 0x1400996e0
lea rcx, [0x14029f5f0]
call fcn.14006fce8
lea rcx, [0x1401e180c]
call fcn.1401a8588
lea rcx, [0x14029f628]
call fcn.1401a8984
lea rcx, [0x14029f600]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x14029f5c8], rdi
jne 0x140099768
xor r8d, r8d
lea rcx, [0x140099770]
xor edx, edx
call fcn.1401b4dac
mov qword [0x14029f5c8], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14009972c
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x140291970], ebx
jmp 0x140099733
mov qword [0x14029f5c8], rdi
lea rcx, [0x14029f600]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14009975d
mov rax, qword [0x14029f5c8]
cmp ecx, 0xffffffff
mov dword [0x140291970], ecx
cmove rax, rdi
mov qword [0x14029f5c8], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.14001a4e4
int3
Function at 0x1400a5f48
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbp, rdx
mov rbx, rcx
jne 0x1400a6030
xor edx, edx
call fcn.14003eac4
xor r15d, r15d
mov rcx, rbx
test rax, rax
je 0x1400a5f92
mov rdx, rbp
call fcn.140087c04
jmp 0x1400a603b
call fcn.14003eabc
mov esi, eax
cmp dword [rbx + 0x1394], r15d
je 0x1400a5fa8
sub esi, dword [rbx + 0x1388]
mov r14d, dword [rbx + 0x1138]
test r14d, r14d
js 0x1400a6030
cmp r14d, esi
jge 0x1400a6030
mov edi, dword [rbp + 0x10]
cmp edi, 9
jne 0x1400a5fd6
lea ecx, [rdi + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 0x80
neg al
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x27
mov rcx, rbx
call fcn.140027148
bt eax, 0x16
jae 0x1400a5ff8
mov eax, 0x25
cmp edi, eax
jne 0x1400a5ff2
lea edi, [rax + 2]
jmp 0x1400a5ff8
cmp edi, 0x27
cmove edi, eax
sub edi, 0xd
je 0x1400a60f5
sub edi, 0xe
je 0x1400a60d1
sub edi, 0xa
je 0x1400a60c3
sub edi, 2
je 0x1400a6071
mov rcx, rbx
cmp edi, 1
je 0x1400a6054
mov rax, qword [rbx]
mov edx, dword [rbp + 0x10]
call qword [rax + 0x728]
test eax, eax
jne 0x1400a606a
mov rdx, rbp
mov rcx, rbx
call fcn.1400448cc
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov edx, dword [rbx + 0x1138]
call fcn.14003e864
mov rdx, rax
mov rcx, rbx
call fcn.14003de3c
mov eax, 1
jmp 0x1400a603b
inc dword [rbx + 0x1138]
mov eax, dword [rbx + 0x1138]
cmp eax, esi
cmovge eax, r15d
mov dword [rbx + 0x1138], eax
mov edx, r14d
mov rcx, rbx
call fcn.14003f360
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14003f360
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x1138]
call qword [rax + 0x4b8]
jmp 0x1400a6030
sub dword [rbx + 0x1138], 1
jns 0x1400a6089
lea eax, [rsi - 1]
jmp 0x1400a6083
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c8]
mov dword [0x14029f720], r15d
jmp 0x1400a6030
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14003e864
mov rdx, rax
mov rcx, rbx
call fcn.14003de3c
test eax, eax
jne 0x1400a606a
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14003e864
mov rdx, rax
mov rcx, rbx
call fcn.140044ae0
jmp 0x1400a606a
Function at 0x1400b21b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rcx
mov ecx, 0x104
xor edi, edi
mov rbp, rdx
cmp eax, ecx
ja 0x1400b237f
je 0x1400b23a5
cmp eax, 0xa1
jb 0x1400b23f5
cmp eax, 0xa2
jbe 0x1400b23a5
cmp eax, 0xa3
jbe 0x1400b23f5
cmp eax, 0xa5
jbe 0x1400b23a5
cmp eax, 0xa6
jbe 0x1400b23f5
cmp eax, 0xa8
jbe 0x1400b23a5
cmp eax, 0x100
jne 0x1400b23f5
cmp dword [rbx + 0x154], 0xffffffff
je 0x1400b23a5
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400b23a5
mov rax, qword [rbp + 0x10]
sub rax, 0x21
je 0x1400b2300
cmp rax, 1
jne 0x1400b23a5
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx + 1]
add ecx, dword [rbx + 0x150]
cmp ebp, ecx
jge 0x1400b22f6
mov eax, ebp
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov r14d, edx
call qword [rax + 0x4f8]
test eax, eax
jne 0x1400b22af
mov eax, dword [rbx + 0x150]
inc ebp
add eax, dword [rbx + 0x154]
cmp ebp, eax
jl 0x1400b227f
jmp 0x1400b22f6
mov r8, qword [rbx]
mov edx, r14d
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
call qword [r8 + 0x428]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x420]
mov rcx, rax
call fcn.140027a94
mov r8, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [r8 + 0x4e0]
mov dword [rbx + 0x3b8], edi
mov eax, 1
jmp 0x1400b2423
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx - 1]
add ebp, dword [rbx + 0x150]
cmp ebp, ecx
jle 0x1400b22f6
mov eax, ebp
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov r14d, edx
call qword [rax + 0x4f8]
test eax, eax
jne 0x1400b233b
dec ebp
cmp ebp, dword [rbx + 0x154]
jg 0x1400b2313
jmp 0x1400b22f6
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
call qword [rax + 0x428]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x420]
mov rcx, rax
call fcn.140027a94
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [rax + 0x4e0]
jmp 0x1400b22f0
cmp eax, 0x200
jb 0x1400b23f5
cmp eax, 0x202
jbe 0x1400b23a5
cmp eax, 0x203
jbe 0x1400b23f5
cmp eax, 0x205
jbe 0x1400b23a5
add eax, 0xfffffdf9
cmp eax, 1
ja 0x1400b23f5
mov rcx, qword [rbx + 0x1c0]
mov r14d, 0x407
test rcx, rcx
je 0x1400b23d0
cmp qword [rcx + 0x40], rdi
je 0x1400b23d0
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x1400b23f5
cmp qword [rcx + 0x40], rdi
je 0x1400b23f5
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbp + 8], 0x203
jne 0x1400b2418
lea rax, [rbx + 0x3208]
test rax, rax
je 0x1400b240e
mov rdi, qword [rax + 0x40]
cmp qword [rbp], rdi
je 0x1400b22f6
mov rdx, rbp
mov rcx, rbx
call fcn.1400ab03c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400bf454
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x10d], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1400bf524
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call fcn.140020d54
cmp qword [rbx + 0x138], 0
jne 0x1400bf494
mov qword [rbx + 0x138], rdi
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov byte [rbx + 0x10d], 1
call qword [rax + 0x418]
lea rcx, [rbx + 0x1d0]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, 1
je 0x1400bf4f4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, al
js 0x1400bf4f4
call fcn.14002f678
mov edx, 0x7f86
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea rcx, [rbx + 0x178]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 0x248]
test rcx, rcx
jne 0x1400bf51f
mov rdx, rbx
lea rcx, vtable.CGlobalUtils.0
call fcn.14011b9a4
mov rcx, rax
call fcn.1400f00cc
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret