joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044ba0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x14025b048]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x140255eb8]
test eax, eax
je 0x140044bec
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140255eb8]
test eax, eax
jne 0x140044bf5
call fcn.140009004
test eax, eax
je 0x140044c11
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14024f120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140044c1c
xor eax, eax
jmp 0x140044ca0
test r14, r14
jne 0x140044c39
lea rcx, str.CreatePropertySheetPageW
call fcn.140044e9c
test rax, rax
je 0x140044c6b
mov qword [0x14025b048], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x140044c5a
cmp dword [rdi], 0x60
jb 0x140044c5a
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x14024f120]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x14025b048]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x140044c82
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140044c84
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140044c9d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140044cb8
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 [0x14025b050]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140255eb8]
test eax, eax
je 0x140044d03
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140255eb8]
test eax, eax
jne 0x140044d0c
call fcn.140009004
test eax, eax
je 0x140044d28
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14024f120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140044d30
xor eax, eax
jmp 0x140044d8d
test rbx, rbx
jne 0x140044d50
lea rcx, str.DestroyPropertySheetPage
call fcn.140044e9c
mov rbx, rax
test rax, rax
je 0x140044d5b
mov qword [0x14025b050], 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 0x140044d70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140044d72
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140044d8b
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 0x140044da4
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
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x14025b058]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x140255eb8]
test eax, eax
je 0x140044df3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140255eb8]
test eax, eax
jne 0x140044dfc
call fcn.140009004
test eax, eax
je 0x140044e18
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14024f120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140044e22
or rax, 0xffffffffffffffff
jmp 0x140044e84
test rbx, rbx
jne 0x140044e42
lea rcx, str.PropertySheetW
call fcn.140044e9c
mov rbx, rax
test rax, rax
je 0x140044e4f
mov qword [0x14025b058], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x140044e66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140044e68
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140044e81
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14004ec4c
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 [0x140250908]
xor rax, rsp
mov qword [rbp + 0xd30], rax
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov r10, rdx
test rdx, rdx
je 0x14004ee42
test r8, r8
je 0x14004ee48
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 0x14004ee00
sub ecx, 1
je 0x14004ecd4
sub ecx, 1
je 0x14004ed80
cmp ecx, 1
jne 0x14004ee1e
mov rcx, qword [r10 + 8]
lea rdx, [rbp + 0x910]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14004edfb
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x910]
call fcn.14004bfe0
test eax, eax
je 0x14004edfb
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0xb20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14004edf4
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb20]
call fcn.14004bfe0
test eax, eax
je 0x14004edf4
cmp esi, 1
jne 0x14004ede1
test byte [rbp + 0x180], 0x10
jne 0x14004edfb
test byte [rsp + 0x50], 0x10
jne 0x14004edf4
mov rax, qword [rbp + 0x178]
cmp rax, qword [rsp + 0x48]
seta bl
or ecx, 0xffffffff
cmp rax, qword [rsp + 0x48]
cmovb ebx, ecx
jmp 0x14004ee1e
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 0x14004ee1e
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 0x14004ee1e
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x868]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x14004ee1e
mov rax, qword [rbp + 0x168]
cmp rax, qword [rsp + 0x38]
jl 0x14004edfb
setg bl
jmp 0x14004ee1e
mov ebx, 1
jmp 0x14004ee1e
or ebx, 0xffffffff
jmp 0x14004ee1e
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 0x14004ee1b
xor eax, eax
jmp 0x14004ee20
movsx ebx, ax
mov eax, ebx
mov rcx, qword [rbp + 0xd30]
xor rcx, rsp
call fcn.1401842b0
mov rbx, qword [rsp + 0xe60]
add rsp, 0xe40
pop rdi
pop rsi
pop rbp
ret
call fcn.14000b268
int3
call fcn.14000b268
int3

Function at 0x14005045c
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 0x1400505a0
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 0x1400505e2
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 0x1400509f0
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 0x140050ac2
test rbx, rbx
je 0x140050ac8
test r9, r9
je 0x140050ace
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 0x140050aab
cmp dword [rsp + 0x48], 3
jne 0x140050aab
test eax, eax
jne 0x140050aab
cmp dword [rdi], eax
je 0x140050aab
mov ecx, dword [rdi]
call fcn.1400051a8
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 0x140050a9f
cmp dword [rsp + 0x48], 3
jne 0x140050a9f
test eax, eax
jne 0x140050a9f
mov eax, 1
jmp 0x140050aad
mov rcx, qword [rbx]
call fcn.1400051a0
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.14000b268
int3
call fcn.14000b268
int3
call fcn.14000b268
int3

Function at 0x140050d8c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140050d9d
xor eax, eax
jmp 0x140050dcb
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 0x140050dd4
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140050de5
xor eax, eax
jmp 0x140050e09
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 0x140059844
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 0x140059875
call fcn.140019538
mov rdi, qword [rax + 0x18]
lea r8, [0x1401c2258]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x140059894
xor eax, eax
jmp 0x1400598e0
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140059890
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400598d5
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.1400598fc
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 0x14005c604
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 [0x14025b328]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140255eb8]
test eax, eax
je 0x14005c64f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140255eb8]
test eax, eax
jne 0x14005c658
call fcn.140009004
test eax, eax
je 0x14005c674
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14024f120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005c67c
xor eax, eax
jmp 0x14005c6d9
test rbx, rbx
jne 0x14005c69c
lea rcx, str.ImageList_GetImageCount
call fcn.140009f40
mov rbx, rax
test rax, rax
je 0x14005c6a7
mov qword [0x14025b328], 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 0x14005c6bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005c6be
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005c6d7
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 0x14007ec70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x14024f67c], edi
je 0x14007ed79
cmp dword [0x14024f9b0], 0xfffffffe
jne 0x14007ed5e
cmp ecx, 0xffffffff
je 0x14007ed79
mov edx, dword [0x14025fc18]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x14025bb50], ecx
jle 0x14007ecfc
lea rcx, [0x14025bb50]
call fcn.140184890
cmp dword [0x14025bb50], 0xffffffff
jne 0x14007ecfc
lea rcx, [0x14025bb18]
call fcn.140055550
lea rcx, [0x1401adc10]
call fcn.140184564
lea rcx, [0x14025bb50]
call fcn.140184830
lea rcx, [0x14025bb28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x14025baf0], rdi
jne 0x14007ed84
xor r8d, r8d
lea rcx, [0x14007ed8c]
xor edx, edx
call fcn.14018b3e4
mov qword [0x14025baf0], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14007ed48
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x14024f9b0], ebx
jmp 0x14007ed4f
mov qword [0x14025baf0], rdi
lea rcx, [0x14025bb28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14007ed79
mov rax, qword [0x14025baf0]
cmp ecx, 0xffffffff
mov dword [0x14024f9b0], ecx
cmove rax, rdi
mov qword [0x14025baf0], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.14000b268
int3
Function at 0x1400871a0
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 0x140087288
xor edx, edx
call fcn.140029008
xor r15d, r15d
mov rcx, rbx
test rax, rax
je 0x1400871ea
mov rdx, rbp
call fcn.14006d294
jmp 0x140087293
call fcn.140029000
mov esi, eax
cmp dword [rbx + 0x1394], r15d
je 0x140087200
sub esi, dword [rbx + 0x1388]
mov r14d, dword [rbx + 0x1138]
test r14d, r14d
js 0x140087288
cmp r14d, esi
jge 0x140087288
mov edi, dword [rbp + 0x10]
cmp edi, 9
jne 0x14008722e
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.140018b54
bt eax, 0x16
jae 0x140087250
mov eax, 0x25
cmp edi, eax
jne 0x14008724a
lea edi, [rax + 2]
jmp 0x140087250
cmp edi, 0x27
cmove edi, eax
sub edi, 0xd
je 0x14008734d
sub edi, 0xe
je 0x140087329
sub edi, 0xa
je 0x14008731b
sub edi, 2
je 0x1400872c9
mov rcx, rbx
cmp edi, 1
je 0x1400872ac
mov rax, qword [rbx]
mov edx, dword [rbp + 0x10]
call qword [rax + 0x728]
test eax, eax
jne 0x1400872c2
mov rdx, rbp
mov rcx, rbx
call fcn.14002ee10
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.140028da8
mov rdx, rax
mov rcx, rbx
call fcn.1400282e8
mov eax, 1
jmp 0x140087293
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.1400298ac
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.1400298ac
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 0x140087288
sub dword [rbx + 0x1138], 1
jns 0x1400872e1
lea eax, [rsi - 1]
jmp 0x1400872db
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c8]
mov dword [0x14025bc48], r15d
jmp 0x140087288
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.140028da8
mov rdx, rax
mov rcx, rbx
call fcn.1400282e8
test eax, eax
jne 0x1400872c2
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.140028da8
mov rdx, rax
mov rcx, rbx
call fcn.14002f024
jmp 0x1400872c2
Function at 0x140093424
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 0x1400935f3
je 0x140093619
cmp eax, 0xa1
jb 0x140093669
cmp eax, 0xa2
jbe 0x140093619
cmp eax, 0xa3
jbe 0x140093669
cmp eax, 0xa5
jbe 0x140093619
cmp eax, 0xa6
jbe 0x140093669
cmp eax, 0xa8
jbe 0x140093619
cmp eax, 0x100
jne 0x140093669
cmp dword [rbx + 0x154], 0xffffffff
je 0x140093619
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140093619
mov rax, qword [rbp + 0x10]
sub rax, 0x21
je 0x140093574
cmp rax, 1
jne 0x140093619
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx + 1]
add ecx, dword [rbx + 0x150]
cmp ebp, ecx
jge 0x14009356a
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 0x140093523
mov eax, dword [rbx + 0x150]
inc ebp
add eax, dword [rbx + 0x154]
cmp ebp, eax
jl 0x1400934f3
jmp 0x14009356a
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.140018dfc
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 0x140093697
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx - 1]
add ebp, dword [rbx + 0x150]
cmp ebp, ecx
jle 0x14009356a
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 0x1400935af
dec ebp
cmp ebp, dword [rbx + 0x154]
jg 0x140093587
jmp 0x14009356a
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.140018dfc
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [rax + 0x4e0]
jmp 0x140093564
cmp eax, 0x200
jb 0x140093669
cmp eax, 0x202
jbe 0x140093619
cmp eax, 0x203
jbe 0x140093669
cmp eax, 0x205
jbe 0x140093619
add eax, 0xfffffdf9
cmp eax, 1
ja 0x140093669
mov rcx, qword [rbx + 0x1c0]
mov r14d, 0x407
test rcx, rcx
je 0x140093644
cmp qword [rcx + 0x40], rdi
je 0x140093644
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 0x140093669
cmp qword [rcx + 0x40], rdi
je 0x140093669
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 0x14009368c
lea rax, [rbx + 0x3208]
test rax, rax
je 0x140093682
mov rdi, qword [rax + 0x40]
cmp qword [rbp], rdi
je 0x14009356a
mov rdx, rbp
mov rcx, rbx
call fcn.14008c2fc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400a03bc
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 0x1400a048c
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call fcn.140012be4
cmp qword [rbx + 0x138], 0
jne 0x1400a03fc
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 0x1400a045c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, al
js 0x1400a045c
call fcn.140019538
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 0x1400a0487
mov rdx, rbx
lea rcx, vtable.CGlobalUtils.0
call fcn.1400f7ad4
mov rcx, rax
call fcn.1400d2e44
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b7830
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 [0x14025cf78]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140255eb8]
test eax, eax
je 0x1400b787b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140255eb8]
test eax, eax
jne 0x1400b7884
call fcn.140009004
test eax, eax
je 0x1400b78a0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14024f120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400b78a8
xor eax, eax
jmp 0x1400b7905
test rbx, rbx
jne 0x1400b78c8
lea rcx, str.GetOpenFileNameW
call fcn.14003e924
mov rbx, rax
test rax, rax
je 0x1400b78d3
mov qword [0x14025cf78], 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 0x1400b78e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400b78ea
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400b7903
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 0x1400b791c
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 [0x14025cf80]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140255eb8]
test eax, eax
je 0x1400b7967
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140255eb8]
test eax, eax
jne 0x1400b7970
call fcn.140009004
test eax, eax
je 0x1400b798c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14024f120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400b7994
xor eax, eax
jmp 0x1400b79f1
test rbx, rbx
jne 0x1400b79b4
lea rcx, str.GetSaveFileNameW
call fcn.14003e924
mov rbx, rax
test rax, rax
je 0x1400b79bf
mov qword [0x14025cf80], 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 0x1400b79d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400b79d6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400b79ef
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