joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ed6e0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x14023fa48], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400ed739
mov rcx, qword [rbx + 0x358]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movsd qword [0x14023fa38], xmm0
movsd qword [0x14023fa40], xmm1
mov eax, dword [rbx + 0x84]
cmp eax, 0x34001
je 0x1400ed756
cmp eax, 0x34004
je 0x1400ed756
mov rcx, qword [0x14023fa70]
jmp 0x1400ed775
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400ed765
mov rcx, qword [rcx + 8]
jmp 0x1400ed775
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.1400e6ab0
mov rcx, rbx
call fcn.1400ecdb0
cmp dword [rbx + 0x200], 0
je 0x1400ed7d2
mov rax, qword [rbx + 0x358]
lea rcx, [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400ed7d2
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1400f0c90
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400ed7e0
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400ed822
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400f0c90
add rsp, 0x38
ret
Function at 0x1400ed830
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x200], 0
mov rbx, rcx
je 0x1400ed880
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400ed880
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400f0c90
xor ecx, ecx
mov qword [0x14023fa48], 0
call qword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si ecx, qword [0x14023fa38]
mov qword [0x14023fa50], 0
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x14023fa40]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x394], ecx
mov rcx, qword [rbx + 0x358]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x398], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [rbx + 0x84]
cmp eax, 0x34001
je 0x1400ed909
cmp eax, 0x34004
je 0x1400ed909
mov rcx, qword [0x14023fa70]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400ed922
mov rcx, qword [rcx + 8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]

Function at 0x1400ed940
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x358]
mov edx, 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400ed982
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1400f0c90
add rsp, 0x38
ret

Function at 0x1400eda30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, reloc.WS2_32.dll_recvfrom
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, reloc.WS2_32.dll_select
or edi, 2
test ax, ax
cmovns edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, edi
mov ecx, 0x5c
or esi, 4
test ax, ax
cmovns esi, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, esi
mov ecx, reloc.WS2_32.dll_sendto
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
test al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
test al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400efe30
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x1400efe60
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.1400ea050
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1400f1040
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x14023f362]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1d0], rdi
sub r14, 0x480
lea rbp, [0x14023f0e8]
xor r12d, r12d
lea r15, [0x14023f402]
mov ebx, reloc.WLDAP32.dll_Ordinal_32
movsx esi, word [rbp]
cmp esi, 0xffffffff
je 0x1400f11f8
cmp ebx, 0x140
jb 0x1400f115f
cmp ebx, 0x14e
ja 0x1400f115f
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], WSAGetLastError
mov dword [rsp + 0x64], WSAGetLastError
mov dword [rsp + 0x68], WSAGetLastError
mov dword [rsp + 0x6c], reloc.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x70], WSAGetLastError
mov dword [rsp + 0x74], WSAGetLastError
mov dword [rsp + 0x78], WSAGetLastError
mov edi, dword [r14]
jmp 0x1400f116e
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x1400f11c1
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x1400f11f8
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x80]
mov qword [rsp + 0x30], r12
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r15, 5
add r14, 4
add rbp, 2
cmp ebx, 0x15c
jle 0x1400f10c1
mov rdi, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400f8f00
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400f5410
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401ee7c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x14023ebe0], 0
lea rax, str.libOSMesa.dll
lea rcx, str.OSMesa.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
je 0x1400f5465
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
nop dword [rax]
mov rcx, rax
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x14023ebe0], rax
mov rcx, rax
test rax, rax
jne 0x1400f5494
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x1400f5470
mov rbx, qword [rsp + 0x40]
test rcx, rcx
jne 0x1400f54c3
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.1400ea050
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x48
ret
lea rdx, str.OSMesaCreateContextExt
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14023ebe0]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x14023ebe8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14023ebe0]
lea rdx, str.OSMesaDestroyContext
mov qword [0x14023ebf0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14023ebe0]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x14023ebf8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14023ebe0]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x14023ec00], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14023ebe0]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x14023ec08], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14023ebe0]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x14023ec10], rax
call sub.KERNEL32.dll_GetProcAddress
cmp qword [0x14023ebe8], 0
mov qword [0x14023ec18], rax
je 0x1400f55ad
cmp qword [0x14023ebf8], 0
je 0x1400f55ad
cmp qword [0x14023ec00], 0
je 0x1400f55ad
cmp qword [0x14023ec08], 0
je 0x1400f55ad
cmp qword [0x14023ec10], 0
je 0x1400f55ad
test rax, rax
jne 0x1400f544e
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.1400ea050
mov rcx, qword [0x14023ebe0]
test rcx, rcx
je 0x1400f55da
call fcn.1400f5e60
mov qword [0x14023ebe0], 0
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f8f00
add rsp, 0x48
ret

Function at 0x1400f8334
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 0x1400f836e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f8373
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 0x1400f83bc
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 0x1400f83bc
dec r8
sub rdx, 1
jne 0x1400f83a2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400f8bbc
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.1400f844c
mov ebx, eax
test eax, eax
jne 0x1400f8bec
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400f8c4f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f8c46
test al, 0x10
je 0x1400f8c46
bt eax, 0xa
jae 0x1400f8c3f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400f8c60
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400f8c3b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400f8c3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400f8c46
and dword [rsp + 0x3c], 0
jmp 0x1400f8c4b
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 0x1400f9d8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f9dd6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f9dd6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f9dd6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f9dd6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f9dd6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400f9dd8
xor al, al
add rsp, 0x28
ret
Function at 0x140001488
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400561d0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, r8
call fcn.14000c130
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
movdqa xmm0, xmmword [0x14004eff0]
lea rdx, str._user_path
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
mov r8d, 0xa
mov rbx, rax
movdqu xmmword [rsp + 0x68], xmm0
call fcn.140001d50
movsxd rcx, dword [rsp + 0x30]
lea r8, [rsp + 0x58]
lea rdx, [rbx + rcx*8]
mov rcx, rbx
call fcn.14000c92c
lea rcx, [rsp + 0x58]
mov rbx, rax
call fcn.140001cec
mov rcx, rbx
call fcn.14000ef60
and qword [rsp + 0x28], 0
lea r8, [0x1400015f0]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.1400243bc
lea rcx, str.ZoomCptService
mov rbx, rax
call fcn.14000fb84
lea r8, str.ZoomCptService
mov qword [0x1400597b8], rax
mov edx, 0x80
lea rcx, [rbp - 0x80]
call fcn.140025210
and qword [rsp + 0x48], 0
lea rax, [rbp - 0x80]
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
lea rax, [0x140001bd0]
mov qword [rsp + 0x40], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
mov rcx, qword [0x1400597a8]
test rcx, rcx
je 0x1400015b6
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x1400597a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14001ad20
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x190
pop rbp
ret
Function at 0x14000d618
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rbp, rdx
mov esi, ecx
test rdx, rdx
jne 0x14000d63f
xor al, al
jmp 0x14000d737
xor dil, dil
mov byte [rsp + 0x88], dil
test esi, esi
je 0x14000d734
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14000d686
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000d734
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x88]
lea rax, [rsp + 0x78]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea rdx, str.QueryFullProcessImageNameW
lea rax, [rsp + 0x40]
lea rcx, str.kernel32.dll
mov qword [rsp + 0x20], rax
call fcn.14000681c
mov dil, byte [rsp + 0x88]
test dil, dil
jne 0x14000d72b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, dword [rsp + 0x80]
mov r8, rbp
mov rcx, rax
xor edx, edx
mov rbx, rax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
setne dil
test eax, eax
jne 0x14000d72b
mov r8d, dword [rsp + 0x80]
mov rdx, rbp
mov rcx, rbx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
setne dil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000d744
Capabilities:
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x1400561d0]
xor rax, rsp
mov qword [rsp + 0x430], rax
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x14000d802
cmp di, word [rcx]
je 0x14000d802
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.14001d9f0
xor r9d, r9d
lea r8d, [rdi + 0x25]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14000d802
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x14000d7fe
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.downlevel
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x14000d802
mov al, 1
jmp 0x14000d804
xor al, al
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14001ad20
mov rbx, qword [rsp + 0x458]
add rsp, 0x440
pop rdi
ret
Function at 0x14000d940
Capabilities:
Enumerate processes
Get process image filename
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x390
mov rax, qword [0x1400561d0]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov ebp, edx
mov r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000d986
xor al, al
jmp 0x14000da6c
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rdi
call sub.KERNEL32.dll_Process32FirstW
xor ebx, ebx
test eax, eax
je 0x14000da61
mov rdx, r14
lea rcx, [rsp + 0x5c]
call fcn.140025f64
test eax, eax
jne 0x14000da4a
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000da5f
test ebp, ebp
js 0x14000d9fa
mov ecx, dword [rsp + 0x38]
lea rdx, [rsp + 0x20]
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x14000d9fa
cmp dword [rsp + 0x20], ebp
jne 0x14000da4a
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x104
call fcn.14001d9f0
mov r8d, 0x104
lea rdx, [rsp + 0x270]
mov rcx, rsi
call sub.PSAPI.DLL_GetProcessImageFileNameA
mov edx, 0x3e7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, 0x1388
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000d9a5
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.14001ad20
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000db60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400561d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
mov rbx, rcx
test rcx, rcx
je 0x14000dc47
cmp si, word [rcx]
je 0x14000dc47
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14000dc42
call fcn.14000d51c
cmp eax, 0x3d
jg 0x14000dc42
mov ebp, 0x104
lea rcx, [rsp + 0x20]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test eax, eax
je 0x14000dc42
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x14000dbe0
lea rax, [rdx + 2]
add rcx, rax
cmp rcx, rbp
ja 0x14000dc42
lea ecx, [rdx - 1]
mov eax, 0x5c
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000dc24
mov eax, 0x2f
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000dc24
lea r8, [0x14003f414]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.140025dc0
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.140025dc0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rax, rdi
jmp 0x14000dc49
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001ad20
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000f8f4
Capabilities:
Query service status

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400561d0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000f93b
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov r9d, 0x24
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000f93b
mov eax, dword [rsp + 0x54]
jmp 0x14000f93d
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001ad20
add rsp, 0x78
ret

Function at 0x14000fc50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400561d0]
xor rax, rsp
mov qword [rbp + 0x160], rax
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
and dword [rsp + 0x30], 0
lea rcx, str.Wtsapi32.dll
mov rsi, r9
mov dword [rsp + 0x38], edx
mov rbx, r8
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor dil, dil
lea r8, [rsp + 0x30]
lea rdx, str.WTSQueryUserToken
call fcn.14000f1bc
cmp dword [rsp + 0x30], 0
je 0x14000fd63
test rbx, rbx
je 0x14000fd63
lea rdx, str.Zoom
mov rcx, rbx
call fcn.1400263b8
test eax, eax
je 0x14000fcf1
lea rdx, str.ZoomRooms
mov rcx, rbx
call fcn.1400263b8
test eax, eax
jne 0x14000fd63
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.14001d9f0
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14000fd63
test rsi, rsi
je 0x14000fd63
mov edi, 0x104
lea r8, [0x14003f414]
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140025dc0
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, edi
call fcn.140025dc0
lea r8, [rsp + 0x50]
mov edx, edi
mov rcx, rsi
call fcn.140025210
mov dil, 1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000fd73
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14001ad20
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000fee8
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rdx], 0
mov rbx, rdx
jbe 0x14000ff13
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x14000ff13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000ff15
xor al, al
add rsp, 0x20
pop rbx
ret