joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c2b18
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0xa58]
sub rsp, 0xb40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0xa30], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
cmp qword [rdx + 0x10], rsi
sete al
test al, al
je 0x1401c2b81
lea r8, str.ORegistryKey.DeleteSubKeyTree_failure:_Empty_key_path
lea edx, [rsi + 0x1d]
lea rcx, [rbp - 0x80]
call fcn.1401c1ff4
lea rdx, [0x140294a58]
lea rcx, [rbp - 0x80]
call fcn.1401377ec
int3
cmp qword [rdx + 0x10], 0xff
jbe 0x1401c2bba
mov r9, rdx
lea r8, str.ORegistryKey.DeleteSubKeyTree_failure:_The_subkey_name___s__is_too_long
mov edx, 0x1d
lea rcx, [rbp + 0x310]
call fcn.1401c2230
lea rdx, [0x140294a58]
lea rcx, [rbp + 0x310]
call fcn.1401377ec
int3
lea rax, vtable.RefCounted.0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], esi
lea rax, vtable.ORegistryKey.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x78], 1
mov dword [rsp + 0x7c], 0x85
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rdx
lea rdx, [rsp + 0x40]
call fcn.14017e690
test al, al
je 0x1401c2c6d
cmp qword [rbx + 0x18], 8
jb 0x1401c2c1f
mov rdx, qword [rbx]
jmp 0x1401c2c22
mov rdx, rbx
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x1401c2c6d
lea rcx, [rdi + 0x10]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
lea r9, str.ORegistryKey.DeleteSubKeyTree_failure:_Cannot_delete_Registry_Key__s_s.
mov r8d, eax
mov edx, 0xf
lea rcx, [rbp + 0x6a0]
call fcn.1401c22cc
lea rdx, [0x140294a58]
lea rcx, [rbp + 0x6a0]
call fcn.1401377ec
nop
lea rcx, [rsp + 0x40]
call fcn.1400099a0
mov rcx, qword [rbp + 0xa30]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0xb70]
add rsp, 0xb40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401c2ca0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov rdi, rcx
mov bl, r8b
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x1401c2d12
cmp qword [rdx + 0x10], 0
jne 0x1401c2cd9
test bl, bl
jne 0x1401c2d3a
cmp qword [rdx + 0x18], 8
jb 0x1401c2ce3
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1401c2cf1
test bl, bl
jne 0x1401c2d66
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3d0
pop rdi
ret
lea r8, str.ORegistryKey.DeleteValue_failure:_The_registry_key_is_closed_or_not_set
mov edx, 0x3a
lea rcx, [rsp + 0x30]
call fcn.1401c21b0
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3
lea r9, [rdi + 0x10]
mov edx, 0x1d
lea r8, str.ORegistryKey.DeleteValue_failure:_Cannot_delete_registry_value_from_Registry_Key__s._The_Registry_value_is_null
lea rcx, [rsp + 0x30]
call fcn.1401c2880
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3
lea rcx, [rdi + 0x10]
mov r8d, eax
mov qword [rsp + 0x20], rcx
lea r9, str.ORegistryKey.DeleteValue_failure:_Cannot_delete_registry_value_from_Registry_Key__s.
lea rcx, [rsp + 0x30]
mov edx, 0xf
call fcn.1401c25b0
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3
Function at 0x1401c2d9c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x338]
sub rsp, 0x410
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rdi, rdx
mov r14, rcx
xor r12d, r12d
cmp qword [rcx + 0x30], r12
jne 0x1401c2e0e
lea r8, str.ORegistryKey.GetSubKeyNames_failure:_Cannot_get_all_sub_key_names._The_registry_is_closed_or_not_set
lea edx, [r12 + 0x3a]
lea rcx, [rsp + 0x70]
call fcn.1401c2800
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x70]
call fcn.1401377ec
int3
call fcn.1401c3340
mov esi, eax
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x68], 7
mov rcx, r12
mov qword [rsp + 0x60], rcx
mov word [rsp + 0x50], r12w
mov r15, qword [rdi + 8]
mov rbx, qword [rdi]
cmp rbx, r15
je 0x1401c2e58
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.14000b190
add rbx, 0x20
cmp rbx, r15
jne 0x1401c2e3d
mov rcx, qword [rsp + 0x60]
mov rax, qword [rdi]
mov qword [rdi + 8], rax
test esi, esi
je 0x1401c2f71
mov ebx, 0xff
dec esi
mov dword [rsp + 0x40], 0x100
cmp rcx, rbx
jb 0x1401c2e9b
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov word [rax + 0x1fe], r12w
jmp 0x1401c2eae
xor r8d, r8d
mov rdx, rbx
sub rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.14000b4a0
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
mov edx, esi
mov rcx, qword [r14 + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r8d, eax
test eax, eax
jne 0x1401c2f40
mov edx, dword [rsp + 0x40]
cmp rdx, qword [rsp + 0x60]
ja 0x1401c2f13
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov word [rax + rdx*2], r12w
jmp 0x1401c2f25
xor r8d, r8d
sub rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000b4a0
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14019b298
test esi, esi
je 0x1401c2f71
mov rcx, qword [rsp + 0x60]
jmp 0x1401c2e6c
lea rax, [r14 + 0x10]
mov qword [rsp + 0x20], rax
lea r9, str.ORegistryKey.GetSubKeyNames_failure:_Cannot_get_all_sub_key_names__for_registry__s
mov edx, 0xf
lea rcx, [rsp + 0x70]
call fcn.1401c24f0
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x70]
call fcn.1401377ec
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.14000b190
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1401c2fac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x338]
sub rsp, 0x410
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rdi, rdx
mov r14, rcx
xor r12d, r12d
cmp qword [rcx + 0x30], r12
jne 0x1401c301e
lea r8, str.ORegistryKey.GetValueNames_failure:_Cannot_get_all_value_names._The_registry_is_closed_or_not_set
lea edx, [r12 + 0x3a]
lea rcx, [rsp + 0x70]
call fcn.1401c26e4
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x70]
call fcn.1401377ec
int3
call fcn.1401c342c
mov esi, eax
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x68], 7
mov rcx, r12
mov qword [rsp + 0x60], rcx
mov word [rsp + 0x50], r12w
mov r15, qword [rdi + 8]
mov rbx, qword [rdi]
cmp rbx, r15
je 0x1401c3068
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.14000b190
add rbx, 0x20
cmp rbx, r15
jne 0x1401c304d
mov rcx, qword [rsp + 0x60]
mov rax, qword [rdi]
mov qword [rdi + 8], rax
test esi, esi
je 0x1401c3181
mov ebx, 0x3fff
dec esi
mov dword [rsp + 0x40], 0x4000
cmp rcx, rbx
jb 0x1401c30ab
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov word [rax + 0x7ffe], r12w
jmp 0x1401c30be
xor r8d, r8d
mov rdx, rbx
sub rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.14000b4a0
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
mov edx, esi
mov rcx, qword [r14 + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r8d, eax
test eax, eax
jne 0x1401c3150
mov edx, dword [rsp + 0x40]
cmp rdx, qword [rsp + 0x60]
ja 0x1401c3123
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov word [rax + rdx*2], r12w
jmp 0x1401c3135
xor r8d, r8d
sub rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000b4a0
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14019b298
test esi, esi
je 0x1401c3181
mov rcx, qword [rsp + 0x60]
jmp 0x1401c307c
lea rax, [r14 + 0x10]
mov qword [rsp + 0x20], rax
lea r9, str.ORegistryKey.GetValueNames_failure:_Cannot_get_all_value_names_for_registry__s
mov edx, 0xf
lea rcx, [rsp + 0x70]
call fcn.1401c243c
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x70]
call fcn.1401377ec
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.14000b190
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1401c31bc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor esi, esi
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x30], rsi
je 0x1401c327d
cmp qword [rdx + 0x10], 0x3fff
ja 0x1401c32a5
mov rcx, qword [r8 + 8]
mov eax, 0xffffffff
sub rcx, qword [r8]
cmp rcx, rax
ja 0x1401c32d1
mov rax, rcx
neg rax
sbb rdx, rdx
and rdx, qword [r8]
cmp qword [rbx + 0x18], 8
jb 0x1401c3231
mov rax, qword [rbx]
jmp 0x1401c3234
mov rax, rbx
mov dword [rsp + 0x28], ecx
mov r9d, 3
mov rcx, qword [rdi + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1401c3304
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x408]
add rsp, 0x3d0
pop rdi
pop rsi
pop rbp
ret
lea r8, str.ORegistryKey.SetValue_failure:_Registry_key_is_not_initialized
mov edx, 0x3a
lea rcx, [rsp + 0x30]
call fcn.1401c2074
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3
lea r9, [rcx + 0x10]
mov edx, 0x1d
lea rcx, [rsp + 0x30]
lea r8, str.ORegistryKey.SetValue_failure:_Cannot_set_binary_into_registry_key__s._The_value_name_is_too_long
call fcn.1401c2764
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3
lea rdx, [0x140294a58]
mov dword [rsp + 0x30], 0x5d
lea rcx, [rsp + 0x30]
mov dword [rbp + 0x134], esi
mov word [rbp + 0x238], si
mov word [rbp + 0x138], si
mov word [rsp + 0x34], si
call fcn.1401377ec
int3
lea rcx, [rdi + 0x10]
mov r8d, eax
mov qword [rsp + 0x28], rcx
lea r9, str.ORegistryKey.SetValue_failure:_Cannot_set_binary___s__reg_value__s.
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
mov edx, 0xf
call fcn.1401c20f4
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3

Function at 0x1401c3b44
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x3f0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
cmp qword [rcx + 0x18], 8
mov dil, dl
mov rbx, rcx
jb 0x1401c3b73
mov rcx, qword [rcx]
lea r8, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1401c3bb0
cmp dword [rsp + 0x20], 0xffffffff
je 0x1401c3bb0
test byte [rsp + 0x20], 0x10
je 0x1401c3bb0
cmp qword [rbx + 0x18], 8
jb 0x1401c3b9c
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1401c3bb0
test dil, dil
jne 0x1401c3bd3
jmp 0x1401c3bb2
mov al, 1
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x408]
add rsp, 0x3f0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.failed_to_delete_directory
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.14019b490
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x50]
call fcn.1401377ec
int3

Function at 0x1401c3c04
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov bl, dl
mov rdi, rcx
call fcn.1401c3964
test bl, bl
mov rcx, rdi
sete dl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401c3b44
Function at 0x1401c494c
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov edi, 0x68
mov r8d, edi
lea rcx, [rbp - 0x49]
xor edx, edx
call fcn.1401380c0
mov dword [rbp - 0x49], edi
lea rcx, [rbp + 0x27]
xor edi, edi
mov qword [rbp + 0x3f], 7
or r9, 0xffffffffffffffff
mov qword [rbp + 0x37], rdi
xor r8d, r8d
mov word [rbp + 0x27], di
mov rdx, rbx
call fcn.14000b5b8
cmp qword [rbp + 0x3f], 8
lea rcx, [rbp + 0x27]
lea r9, [rbp - 0x49]
cmovae rcx, qword [rbp + 0x27]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1401c49e4
mov ecx, dword [rbp - 0x35]
lea ebx, [rdi + 3]
sub ecx, ebx
je 0x1401c4a1e
sub ecx, 1
je 0x1401c4a17
cmp ecx, 1
je 0x1401c49e6
mov ebx, edi
xor r8d, r8d
lea rcx, [rbp + 0x27]
mov dl, 1
call fcn.14000b190
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ebx, 2
jmp 0x1401c49e6
mov ebx, 1
jmp 0x1401c49e6

Function at 0x1401cc038
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x3f8
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x38], ecx
lea rcx, [0x1401cc0d0]
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x1401cc07e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401cc096
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.140135130
add rsp, 0x3f8
ret
lea rcx, [rsp + 0x30]
mov r8d, eax
mov qword [rsp + 0x20], rcx
lea r9, str.::EnumWindows___failed_to_enumerate_the_list_of_windows_for_processId:__d
lea rcx, [rsp + 0x50]
mov edx, 0xf
call fcn.1401cabd0
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x50]
call fcn.1401377ec
int3
Function at 0x1401cc1a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor esi, esi
mov qword [rsp + 0x30], rcx
mov qword [rdx + 0x10], rsi
mov rbx, rdx
cmp qword [rdx + 0x18], 8
mov rdi, rcx
jb 0x1401cc1e5
mov rax, qword [rdx]
jmp 0x1401cc1e8
mov rax, rdx
xor ecx, ecx
mov word [rax], si
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x1401cc20f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1401cc272
jmp 0x1401cc294
jle 0x1401cc272
movsxd rdx, eax
cmp rdx, qword [rbx + 0x10]
ja 0x1401cc233
mov qword [rbx + 0x10], rdx
cmp qword [rbx + 0x18], 8
jb 0x1401cc22a
mov rax, qword [rbx]
jmp 0x1401cc22d
mov rax, rbx
mov word [rax + rdx*2], si
jmp 0x1401cc242
sub rdx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, rbx
call fcn.14000b4a0
mov rax, qword [rbx + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x1401cc2c9
cmp qword [rbx + 0x18], 8
jb 0x1401cc25a
mov rbx, qword [rbx]
lea r8d, [rax + 1]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1401cc2fc
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x410]
add rsp, 0x3e0
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x30]
mov r8d, eax
mov qword [rsp + 0x20], rcx
lea r9, str.::GetWindowTextLength___failed_to_get_the_length_of_window_title_for_window_handle:__d
lea rcx, [rsp + 0x40]
mov edx, 0xf
call fcn.1401cad38
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
lea rdx, [0x140294a58]
mov dword [rsp + 0x40], 0x5d
lea rcx, [rsp + 0x40]
mov dword [rbp + 0x144], esi
mov word [rbp + 0x248], si
mov word [rbp + 0x148], si
mov word [rsp + 0x44], si
call fcn.1401377ec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.::GetWindowTextW___failed_to_get_window_title_for_window_handle:__d
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.1401caa98
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x40]
call fcn.1401377ec
int3
Function at 0x1401cc338
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x6a8]
sub rsp, 0x780
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x670], rax
mov rdi, rcx
mov rax, qword [rcx]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rdi]
mov qword [rax + 8], rax
xor r15d, r15d
mov qword [rdi + 8], r15
cmp rcx, qword [rdi]
je 0x1401cc3a2
mov rbx, qword [rcx]
call fcn.14015729c
mov rcx, rbx
cmp rbx, qword [rdi]
jne 0x1401cc392
mov dword [rsp + 0x20], 0x1000
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov eax, 0x400
mov r12d, 0xffffffff
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1401cd028
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
sub r14, rsi
sar r14, 2
mov rax, r14
shl rax, 2
cmp rax, r12
ja 0x1401cc4ca
lea r8, [rsp + 0x20]
mov edx, eax
mov rcx, rsi
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x1401cc495
mov ebx, dword [rsp + 0x20]
shr ebx, 2
mov eax, ebx
cmp r14, rax
jb 0x1401cc3c3
jmp 0x1401cc463
add ebx, r12d
mov ecx, dword [rsi + rbx*4]
mov dword [rsp + 0x24], ecx
mov r14, qword [rdi]
lea r9, [rsp + 0x24]
mov r8, qword [r14 + 8]
mov rdx, r14
mov rcx, rdi
call fcn.1401cbaec
mov rdx, qword [rdi + 8]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rdx
cmp rcx, 1
jb 0x1401cc469
lea rcx, [rdx + 1]
mov qword [rdi + 8], rcx
mov qword [r14 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
test ebx, ebx
jne 0x1401cc418
jmp 0x1401cc476
lea rcx, str.list_T__too_long
call fcn.1401309fc
nop
test rsi, rsi
je 0x1401cc501
mov rdx, qword [rsp + 0x38]
sub rdx, rsi
sar rdx, 2
mov rcx, rsi
call fcn.1401b98c4
jmp 0x1401cc501
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, str.::EnumProcesses___failed_to_enumerate_the_list_of_process_current_running
mov edx, 0xf
lea rcx, [rbp + 0x2e0]
call fcn.1401cab4c
lea rdx, [0x140294a58]
lea rcx, [rbp + 0x2e0]
call fcn.1401377ec
int3
mov dword [rsp + 0x50], 0x5d
mov dword [rbp + 0x154], r15d
mov word [rbp + 0x258], r15w
mov word [rbp + 0x158], r15w
mov word [rsp + 0x54], r15w
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x50]
call fcn.1401377ec
nop
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0x780]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1401cc5e8
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x340], rax
cmp qword [rcx + 8], 0xffffffffffffffff
mov rdi, r8
mov r14, qword [rbp + 0x3a0]
mov rsi, rdx
mov rbx, rcx
mov byte [rsp + 0x30], r9b
je 0x1401cc639
xor edx, edx
call fcn.1401ccc94
test al, al
je 0x1401cc726
lea rax, [rsp + 0x30]
mov r9, rdi
mov r8, rsi
mov qword [rsp + 0x20], rax
lea rdx, str.ShellExec:__s__s_admin_d
mov ecx, 3
call fcn.1401cba30
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x70]
call fcn.1401380c0
mov al, byte [rsp + 0x30]
lea rdx, str.runas
neg al
mov dword [rsp + 0x40], WSAStartup
mov qword [rsp + 0x48], r14
sbb rcx, rcx
and rcx, rdx
cmp qword [rsi + 0x18], 8
mov qword [rsp + 0x50], rcx
jb 0x1401cc69b
mov rax, qword [rsi]
jmp 0x1401cc69e
mov rax, rsi
cmp qword [rdi + 0x18], 8
mov qword [rsp + 0x58], rax
jb 0x1401cc6af
mov rax, qword [rdi]
jmp 0x1401cc6b2
mov rax, rdi
neg byte [rbp + 0x3a8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rax
sbb eax, eax
mov dword [rsp + 0x44], 0x340
and eax, 0xf8000001
add eax, 0x8000000
mov dword [rsp + 0x70], eax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1401cc6f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x10], eax
cmp eax, 0x4c7
jne 0x1401cc74c
xor al, al
jmp 0x1401cc709
mov rax, qword [rbp - 0x58]
mov qword [rbx + 8], rax
mov al, 1
mov dword [rbx + 0x10], 0x103
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140135130
add rsp, 0x450
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, str.Attempting_to_start_a_new_process_when_the_process_has_already_been_started
mov edx, 0x43
lea rcx, [rbp - 0x50]
call fcn.14017ef78
lea rdx, [0x140294a58]
lea rcx, [rbp - 0x50]
call fcn.1401377ec
int3
mov qword [rsp + 0x28], rdi
lea r9, str.Failed_to_runas_admin_for_file:__s_arguments:__s
mov r8d, eax
mov qword [rsp + 0x20], rsi
mov edx, 0xf
lea rcx, [rbp - 0x50]
call fcn.1401ca864
lea rdx, [0x140294a58]
lea rcx, [rbp - 0x50]
call fcn.1401377ec
int3
Function at 0x1401cd0b8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x3c0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov rbx, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor esi, esi
mov edi, eax
test eax, eax
je 0x1401cd160
lea edx, [rax - 1]
cmp rdx, qword [rbx + 0x10]
ja 0x1401cd113
mov qword [rbx + 0x10], rdx
cmp qword [rbx + 0x18], 8
jb 0x1401cd10a
mov rax, qword [rbx]
jmp 0x1401cd10d
mov rax, rbx
mov word [rax + rdx*2], si
jmp 0x1401cd122
sub rdx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, rbx
call fcn.14000b4a0
cmp qword [rbx + 0x18], 8
jb 0x1401cd12c
mov rbx, qword [rbx]
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1401cd191
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.failed_to_get_current_directory
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.14000bde4
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x20]
call fcn.1401377ec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.failed_to_get_current_directory
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.14000bde4
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x20]
call fcn.1401377ec
int3

Function at 0x1401cdd6c
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov r8d, 0x10000
mov rdi, rdx
mov rbx, rcx
call fcn.1401cdf50
test al, al
je 0x1401cddae
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1401cddbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
jne 0x1401cdddc
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3d0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.failed_to_delete_service__s
mov qword [rsp + 0x20], rdi
mov r8d, eax
lea rcx, [rsp + 0x30]
mov edx, 0xf
call fcn.1401cd1c4
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x30]
call fcn.1401377ec
int3