joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400104e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140010555
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140010555
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140010545
nop
cmp rbx, rcx
jae 0x140010555
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140010530
cmp rbx, rcx
jae 0x140010555
cmp word [rbx], 0
je 0x140010555
mov rax, rbx
jmp 0x140010557
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400107c0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
xor r15b, r15b
xor r13d, r13d
mov dword [rsp + 0x48], r13d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140010806
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140010879
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140010872
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001086d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010980
mov rcx, r8
call fcn.1400a59a4
xor al, al
jmp 0x14001094b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test rsi, rsi
je 0x14001090c
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x1400108ad
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001090c
add r14d, 2
mov ecx, r14d
call fcn.1400a5c74
mov rbp, rax
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.1400a83f0
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x48]
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400108f5
lea rdx, [rbp + 2]
mov rcx, r12
call fcn.1400106a0
mov r15b, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbp, rbp
je 0x14001090c
mov rcx, rbp
call fcn.1400a59a4
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140010947
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140010942
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010980
mov rcx, r8
call fcn.1400a59a4
movzx eax, r15b
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b4704
int3
Function at 0x140011530
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [rsp + 0x80]
mov rdi, r9
test r9, r9
je 0x14001162b
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rbx
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov dword [rsp + 0x40], ebx
lea rdx, str.SOFTWAREClassesCLSID14C68CD8_33C1_4E6B_BA7B_31FFFB7A8575
mov qword [rsp + 0x38], rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011622
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140011617
cmp dword [rsp + 0x40], 1
jne 0x1400115da
inc eax
mov dword [rsp + 0x30], eax
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsi], rax
mov qword [rsp + 0x28], rcx
mov rdx, rdi
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
jmp 0x14001162d
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a5460
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140011650
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x30]
mov rsi, r9
mov qword [rsp + 0x20], rcx
mov rdx, r8
xor edi, edi
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
mov qword [rsp + 0x30], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011723
mov qword [rsp + 0x70], rbx
mov ebx, edi
nop word [rax + rax]
mov r9d, 0xa
lea rdx, [rsp + 0x40]
xorps xmm0, xmm0
xor eax, eax
mov r8d, r9d
mov dword [rsp + 0x50], eax
mov ecx, ebx
movups xmmword [rsp + 0x40], xmm0
call fcn.1400bc368
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x140011706
inc ebx
cmp ebx, 0x2710
jl 0x1400116b0
jmp 0x14001170d
mov dword [rsi], ebx
mov edi, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x70]
movzx eax, dil
jmp 0x140011727
mov dword [rsi], edi
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5460
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140011740
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push r14
push r15
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r15, qword [rbp + 0x400]
mov r14, r9
mov rdi, r8
test r8, r8
je 0x14001194f
test r9, r9
je 0x14001194f
mov qword [rsp + 0x4e0], rbx
lea rcx, [rbp - 0x80]
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], ebx
call fcn.1400a83f0
xor edx, edx
mov dword [rsp + 0x70], ebx
mov r8d, 0x208
mov dword [rsp + 0x74], 0x208
lea rcx, [rbp + 0x190]
mov dword [rsp + 0x6c], 0x208
call fcn.1400a83f0
lea rax, [rsp + 0x60]
xor r8d, r8d
lea r9d, [rbx + 1]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011933
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140011933
mov qword [rsp + 0x4b0], rsi
mov esi, ebx
cmp dword [rsp + 0x68], ebx
jbe 0x14001192b
nop word [rax + rax]
movzx eax, bx
lea rdi, [rbp + 0x190]
mov ecx, 0x104
mov dword [rsp + 0x74], 0x208
rep stosw word [rdi], ax
movzx eax, bx
lea rdi, [rbp - 0x80]
mov ecx, 0x104
mov dword [rsp + 0x6c], 0x208
rep stosw word [rdi], ax
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x74]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x190]
lea rax, [rsp + 0x70]
mov edx, esi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400118e4
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1400bc088
test eax, eax
je 0x1400118f2
inc esi
cmp esi, dword [rsp + 0x68]
jb 0x140011860
jmp 0x14001192b
test r15, r15
je 0x140011926
mov ecx, 0x208
call fcn.1400a5c74
mov qword [r15], rax
lea r8, [rbp + 0x190]
mov rdi, rax
mov ecx, 0x104
movzx eax, bx
mov edx, 0x104
rep stosw word [rdi], ax
mov rcx, qword [r15]
call fcn.1400b81fc
mov ebx, 1
mov rsi, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140011943
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x4e0]
jmp 0x140011951
xor eax, eax
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x4b8
pop r15
pop r14
pop rdi
pop rbp
ret
Function at 0x140011f10
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
cmp dword [rcx + 0x110c], 0
je 0x140012172
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], r12w
lea r8d, [r12 + 2]
lea rdx, [0x1400ff4e8]
lea rcx, [rsp + 0x70]
call fcn.140011160
nop
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x68], r12d
lea rdi, [rsi + 0xf8]
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
lea rdi, [rsi + 0x30]
mov ecx, 0xc8
rep stosb byte [rdi], al
lea rdi, [rsi + 0x10fc]
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdi, [rsp + 0xf0]
call fcn.1400104d0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rcx
mov rdi, 0xffffffffffffffff
mov r9, rdi
mov r8d, 0x800
lea rdx, [rsi + 0xf8]
mov rcx, qword [rax]
call fcn.1400bbd24
lea rcx, [rsi + 0x10fc]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsi + 0x110a]
movzx edx, word [rsi + 0x1108]
movzx r10d, word [rsi + 0x1106]
movzx r11d, word [rsi + 0x1104]
movzx ebx, word [rsi + 0x10fc]
movzx r9d, word [rsi + 0x10fe]
movzx r8d, word [rsi + 0x1102]
mov dword [rsp + 0x50], eax
mov eax, dword [rsi + 0x10f8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea rdx, str.__02d__02d__d__02d:_02d:_02d:_03d__P_04d_T_04d_
lea rcx, [rsi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rsi + r8*2 + 0x30], 0
jne 0x140012090
lea rdx, [rsi + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140012440
nop word [rax + rax]
inc rdi
cmp word [rsi + rdi*2 + 0xf8], 0
jne 0x1400120b0
mov r8, rdi
lea rdx, [rsi + 0xf8]
lea rcx, [rsp + 0x70]
call fcn.140012440
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rdx, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x80]
add r8d, r8d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140012162
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001215c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012193
call fcn.1400a59a4
nop
jmp 0x140012169
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0xa8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.1400b4704
nop
int3
Function at 0x140013a30
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
call fcn.1400a83f0
mov r9d, 1
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x22]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov qword [rbx + 0x18], 7
test eax, eax
je 0x140013ab2
xor eax, eax
mov r8, 0xffffffffffffffff
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov word [rbx], ax
lea rax, [rsp + 0x30]
inc r8
cmp word [rax + r8*2], 0
jne 0x140013aa0
lea rdx, [rsp + 0x30]
jmp 0x140013ac8
xor eax, eax
lea rdx, [0x1400ff490]
mov qword [rbx], rax
xor r8d, r8d
mov qword [rbx + 0x10], rax
mov word [rbx], ax
mov rcx, rbx
call fcn.140011160
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x250
pop rbx
ret

Function at 0x140013e90
Capabilities:
Query service status

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
test rcx, rcx
jne 0x140013ec2
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x68], rbx
xor edx, edx
xor ebx, ebx
mov qword [rsp + 0x70], rsi
xor ecx, ecx
lea r8d, [rbx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140013f2d
lea r8d, [rbx + 4]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x140013f24
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140013f1b
cmp dword [rsp + 0x24], 4
mov eax, 1
cmove ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x50
pop rdi
ret
Function at 0x140013f50
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, edx
xor edi, edi
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov ebx, edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140014029
mov r8d, 0xf01ff
lea rdx, str.Spooler
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x140014029
mov rcx, rax
cmp ebp, 0x65
jne 0x140013fc8
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x140013fd5
lea r8, [rsp + 0x20]
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140014029
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140014029
nop word [rax + rax]
mov eax, dword [rsp + 0x24]
add eax, 0xfffffffe
cmp eax, 1
ja 0x140014029
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140014000
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmove edi, ecx
test rbx, rbx
je 0x140014047
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rsi, rsi
je 0x140014055
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140015fb0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov edx, 3
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetAncestor]
mov rdi, rax
test rax, rax
je 0x140016218
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov ebx, 7
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x40], si
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x20], si
mov r8d, 0x12c
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x14001618a
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x140016054
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140011160
mov r8d, 0x12c
lea rdx, [rbp + 0x1c0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x140016185
lea rax, [rbp + 0x1c0]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140016093
mov r8, rbx
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x20]
call fcn.140011160
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
lea rdx, str.Windows.UI.Core.CoreWindow
call fcn.1400bcbd8
test eax, eax
jne 0x140016185
cmp qword [rsp + 0x50], 0
je 0x140016185
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140016129
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016124
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016248
call fcn.1400a59a4
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001617e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016179
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016242
call fcn.1400a59a4
mov al, 1
jmp 0x14001621a
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400161cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400161c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016248
call fcn.1400a59a4
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
cmp rbx, 8
jb 0x140016218
lea rdx, [rbx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016213
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016242
call fcn.1400a59a4
xor al, al
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400b4704
nop
call fcn.1400b4704
nop
int3
Function at 0x140017460
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor esi, esi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
mov rbx, r9
mov rdi, r8
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x1400174c6
mov rdx, qword [rsp + 0x60]
lea r8d, [rsi + 1]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rsi
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x1400174cd
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400175ce
xorps xmm0, xmm0
mov dword [rbp - 0x50], 0x68
xor eax, eax
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.140017310
cmp qword [rbp - 0x60], 8
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rcx
lea rax, [rbp - 0x78]
cmovae rax, qword [rbp - 0x78]
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x48], rcx
xor r9d, r9d
mov rcx, qword [rsp + 0x60]
mov r8, rdi
mov qword [rsp + 0x40], rax
xor edx, edx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x420
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
test eax, eax
je 0x14001756a
test rbx, rbx
je 0x14001756a
mov rcx, qword [rsp + 0x70]
mov qword [rbx], rcx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001757a
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001758a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x60]
test edi, edi
setne bl
cmp rdx, 8
jb 0x1400175cb
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400175c6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400175ed
call fcn.1400a59a4
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0x158]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b4704
int3
Function at 0x140017700
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x40], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
mov dword [rbp + 0x34], eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x30], 0x68
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rcx + r8*2], ax
jne 0x140017770
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.140011160
nop
mov r9d, 0x11
lea r8, str.TaskKill__F__IM__
lea rcx, [rsp + 0x70]
call fcn.140019040
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov r8d, 1
lea rdx, [0x1401001c0]
lea rcx, [rsp + 0x50]
call fcn.140012440
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140017845
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017840
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017954
call fcn.1400a59a4
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140017899
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017894
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001795a
call fcn.1400a59a4
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400178f5
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140017931
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001792c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001794e
call fcn.1400a59a4
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rbp
ret
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
int3