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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r13, qword [rsp + 0x80]
mov rbx, rcx
mov r12, r9
call qword [sym.imp.KERNEL32.DLL_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x140036e9b
call fcn.140038579
mov rdx, r12
lea rcx, str.Could_not_locate_resource__s:__s
mov r8, rax
jmp 0x140036ec1
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_LoadResource]
mov rsi, rax
test rax, rax
jne 0x140036ecd
call fcn.140038579
mov rdx, r12
lea rcx, str.Could_not_load_resource__s:__s
mov r8, rax
call fcn.1400380b9
xor ebx, ebx
jmp 0x140036f61
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp dword [rsp + 0x88], 0
mov ebp, eax
je 0x140036f51
cmp dword [r13], 0
jne 0x140036ef0
mov dword [r13], eax
mov ecx, dword [r13]
mov edx, 1
mov rdi, rcx
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
jne 0x140036f1a
mov rdx, r12
lea rcx, str.Could_not_allocate_resource__s
call fcn.1400380b9
jmp 0x140036ec6
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_LockResource]
cmp edi, ebp
cmova edi, ebp
mov rsi, rax
mov eax, dword [r13]
mov ecx, edi
mov rdi, rbx
rep movsb byte [rdi], byte [rsi]
cmp eax, ebp
jae 0x140036f5d
mov r8d, ebp
mov rdx, r12
lea rcx, str.WARNING:_Resource__s_was_truncated_by__d_bytes_
sub r8d, eax
call fcn.1400380b9
jmp 0x140036f5d
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_LockResource]
mov rbx, rax
mov dword [r13], ebp
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x14003764b
Capabilities:
Create thread
Terminate thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x58], eax
mov rax, qword [0x1400b4c80]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rax]
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
lea rcx, str.DisableLGP
test rdx, rdx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], r9
je 0x1400376df
mov r8d, 1
call fcn.1400231ca
mov rbx, rax
test rax, rax
je 0x1400376fa
xor r8d, r8d
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_strtol
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_free
test esi, esi
je 0x1400376fa
mov rsi, qword [0x1400b4f40]
mov rbx, qword [0x1400b4f30]
mov edx, 0xffc
lea r8, str.LPG_handling_disabled__per_settings
mov rcx, qword [rsi]
sub rdx, rcx
add rcx, rbx
jmp 0x140037748
mov rdx, rcx
lea r8, [rsp + 0x34]
mov rcx, 0xffffffff80000001
call fcn.140035908
cmp dword [rsp + 0x34], 0
jmp 0x1400376b8
xor eax, eax
xor edx, edx
lea r9, [rsp + 0x38]
xor ecx, ecx
mov dword [rsp + 0x20], edx
lea r8, [0x140035394]
xor edx, edx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140037779
mov rsi, qword [0x1400b4f40]
mov rbx, qword [0x1400b4f30]
mov edx, 0xffc
lea r8, str.SetLGP:_Unable_to_start_thread
mov rcx, qword [rsi]
sub rdx, rcx
add rcx, rbx
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, rbx
mov byte [rbx + 0xffb], 0
call sub.msvcrt.dll_strlen
lea rdx, [rax + 2]
mov byte [rbx + rax], 0xd
mov qword [rsi], rdx
mov byte [rbx + rax + 1], 0xa
mov byte [rbx + rax + 2], 0
xor eax, eax
jmp 0x140037808
mov edx, 0x1388
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x1400377ee
mov rdi, qword [0x1400b4f40]
mov rsi, qword [0x1400b4f30]
mov edx, 0xffc
lea r8, str.SetLGP:_Killing_stuck_thread_
mov rcx, qword [rdi]
sub rdx, rcx
add rcx, rsi
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, rsi
mov byte [rsi + 0xffb], 0
call sub.msvcrt.dll_strlen
mov rcx, rbx
lea rdx, [rax + 2]
mov byte [rsi + rax], 0xd
mov qword [rdi], rdx
xor edx, edx
mov byte [rsi + rax + 1], 0xa
mov byte [rsi + rax + 2], 0
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x140037772
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
test eax, eax
je 0x140037772
mov eax, dword [rsp + 0x30]
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
Function at 0x140037a10
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x90
xor ecx, ecx
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystemEnableLUA
lea rbx, [rsp + 0x88]
mov dword [rsp + 0x6c], ecx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x7a], r8d
mov r8, rbx
mov qword [rsp + 0x80], 0xffffffffffffffff
mov word [rsp + 0x7e], 0x500
call fcn.140035908
cmp dword [rsp + 0x88], 1
jne 0x140037af7
lea rcx, str.Note:_UAC_is_active
call fcn.1400380b9
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea r8, [rsp + 0x80]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140037aa2
call fcn.140038579
lea rcx, str.Could_not_get_current_process_token:__s
mov rdx, rax
jmp 0x140037add
lea rax, [rsp + 0x70]
mov r9d, 4
lea r8, [rsp + 0x74]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov edx, 0x14
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140037ae7
call fcn.140038579
lea rcx, str.Could_not_get_token_information:__s
mov rdx, rax
call fcn.1400380b9
jmp 0x140037b6f
xor eax, eax
cmp dword [rsp + 0x74], 0
setne al
mov dword [rsp + 0x6c], eax
jmp 0x140037b6f
lea rcx, str.Note:_UAC_is_either_disabled_or_not_available
call fcn.1400380b9
xor edx, edx
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x7a]
mov dword [rsp + 0x48], edx
mov r9d, 0x220
mov r8d, 0x20
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140037b6f
xor ecx, ecx
mov rdx, qword [rsp + 0x88]
lea r8, [rsp + 0x6c]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140037b61
xor eax, eax
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140037b87
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [rsp + 0x6c]
add rsp, 0x90
pop rbx
ret
Function at 0x1400380b9
Capabilities:
Print debug messages

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rsi, [0x1401151e0]
mov qword [rsp + 0x58], rdx
mov edx, 0xffd
mov qword [rsp + 0x60], r8
mov r8, rcx
mov rcx, rsi
mov qword [rsp + 0x68], r9
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], r9
call fcn.140077ff0
test eax, eax
jns 0x1400380f9
mov eax, 0xffd
cdqe
mov rdi, qword [sym.imp.msvcrt.dll_isspace]
lea rbx, [rsi + rax]
cmp rsi, rbx
jb 0x140038188
mov word [rbx], 0xa0d
mov rcx, rsi
mov byte [rbx + 2], 0
call fcn.140037fb2
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
mov rdi, qword [0x1400b4b70]
mov rcx, qword [rdi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400381a1
mov rsi, qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0x7ffffffe
mov r8d, 0x7ffffffe
mov edx, 0xb1
call rsi
mov rcx, qword [rdi]
mov r9, rbx
xor r8d, r8d
mov edx, 0xc2
call rsi
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xba
call rsi
mov rcx, qword [rdi]
xor r8d, r8d
mov edx, 0xb6
movsxd r9, eax
call rsi
jmp 0x1400381a1
movzx ecx, byte [rbx - 1]
call rdi
test eax, eax
je 0x14003810b
dec rbx
mov byte [rbx], 0
jmp 0x140038106
mov rcx, rbx
call sub.msvcrt.dll_free
nop
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400381b2
Capabilities:
Print debug messages

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
call fcn.140037fb2
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
mov rdi, qword [0x1400b4b70]
mov rcx, qword [rdi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140038228
mov rsi, qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0x7ffffffe
mov r8d, 0x7ffffffe
mov edx, 0xb1
call rsi
mov rcx, qword [rdi]
mov r9, rbx
xor r8d, r8d
mov edx, 0xc2
call rsi
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xba
call rsi
mov rcx, qword [rdi]
xor r8d, r8d
mov edx, 0xb6
movsxd r9, eax
call rsi
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sub.msvcrt.dll_free

Function at 0x140038237
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, rdx
lea rdx, [0x14009a6e7]
mov rsi, rcx
call fcn.14003805f
mov rbx, rax
test rax, rax
jne 0x140038274
mov rdx, rsi
lea rcx, str.Error:_Cant_open_file__s
xor r12d, r12d
call fcn.1400380b9
jmp 0x140038307
mov r8d, 2
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_fseek
mov rcx, rbx
call sub.msvcrt.dll_ftell
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov r13d, eax
call sub.msvcrt.dll_fseek
mov rcx, r13
mov r12d, r13d
call sub.msvcrt.dll_malloc
mov qword [rdi], rax
mov rcx, rax
test rax, rax
jne 0x1400382c6
mov r8, rsi
mov edx, r13d
lea rcx, str.Error:_Cant_allocate__d_bytes_buffer_for_file__s
call fcn.1400380b9
jmp 0x1400382ea
mov r9, rbx
mov r8, r13
mov edx, 1
call sub.msvcrt.dll_fread
cmp r13, rax
je 0x1400382ed
mov rdx, rsi
lea rcx, str.Error:_Cant_read__s
call fcn.1400380b9
xor r12d, r12d
mov rcx, rbx
call sub.msvcrt.dll_fclose
test r12d, r12d
jne 0x140038307
mov rcx, qword [rdi]
call sub.msvcrt.dll_free
xor eax, eax
mov qword [rdi], rax
mov eax, r12d
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140038317
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rdx
lea rdx, [0x14009a751]
mov rsi, rcx
mov edi, r8d
call fcn.14003805f
mov rbx, rax
test rax, rax
jne 0x14003834f
mov rdx, rsi
lea rcx, str.Error:_Cant_create__s
xor ebp, ebp
call fcn.1400380b9
jmp 0x14003837f
mov rcx, rbp
mov r9, rax
mov r8d, edi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov ebp, eax
cmp edi, eax
je 0x140038377
mov rdx, rsi
lea rcx, str.Error:_Cant_write__s
call fcn.1400380b9
mov rcx, rbx
call sub.msvcrt.dll_fclose
mov eax, ebp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x140038f13
Capabilities:
Create thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
mov ebx, r8d
mov edi, edx
call fcn.140037fb2
xor edx, edx
mov dword [rsp + 0x44], ebx
lea r9, [rsp + 0x38]
mov rsi, rax
mov dword [rsp + 0x20], edx
lea r8, [0x140037f00]
xor edx, edx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa0]
xor ecx, ecx
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xa8]
mov qword [rsp + 0x50], 0xffffffffffffffff
mov dword [rsp + 0x4c], eax
xor eax, eax
mov dword [rsp + 0x58], 0x3e5
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rbx, rax
test rax, rax
je 0x140038fc4
mov edx, dword [rsp + 0xb8]
mov rdi, qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, rax
call rdi
cmp eax, 0x102
jne 0x140038fb9
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CancelSynchronousIo]
or edx, 0xffffffff
mov rcx, rbx
call rdi
mov dword [rsp + 0x58], 0x102
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x140038fce
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x58], eax
test rsi, rsi
je 0x140038fdb
mov rcx, rsi
call sub.msvcrt.dll_free
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov rax, qword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
Function at 0x140038ff2
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov edi, dword [rsp + 0xb0]
mov qword [rsp + 0x90], rcx
mov ebp, r8d
mov rbx, r9
mov qword [rsp + 0x98], rdx
test r9, r9
jne 0x140039029
lea rbx, [rsp + 0x34]
mov rcx, qword [rsp + 0x90]
mov r13, qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov r9d, 1
xor edx, edx
lea r8, [rsp + 0x38]
call r13
mov r12d, eax
test eax, eax
jne 0x140039063
call fcn.140038579
lea rcx, str.Warning:_Could_not_read_file_pointer__s
mov rdx, rax
call fcn.1400380b9
test edi, edi
mov eax, 1
mov r14, qword [sym.imp.KERNEL32.DLL_WriteFile]
mov esi, 1
cmove edi, eax
lea r15, str.Write_error__s
xor ecx, ecx
mov rdx, qword [rsp + 0x98]
mov r9, rbx
mov r8d, ebp
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x90]
call r14
test eax, eax
je 0x1400390eb
mov rax, qword [0x1400b43f0]
xor edx, edx
mov dword [rax], edx
mov edx, dword [rbx]
cmp edx, ebp
je 0x140039189
mov rax, qword [0x1400b4ce0]
cmp dword [rax], 0
je 0x1400390da
test edx, edx
jne 0x1400390da
lea rcx, str.Warning:_Possible_short_write
call fcn.1400380b9
jmp 0x140039189
mov r8d, ebp
lea rcx, str.Wrote__d_bytes_but_requested__d
call fcn.1400380b9
jmp 0x14003910f
call fcn.140038579
mov rcx, r15
mov rdx, rax
call fcn.1400380b9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov rdx, qword [0x1400b43f0]
or eax, 0xc0030000
mov dword [rdx], eax
test r12d, r12d
je 0x14003916d
cmp esi, edi
jae 0x140039134
lea rcx, str.Retrying_in__d_seconds...
mov edx, 5
call fcn.1400380b9
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.DLL_Sleep]
inc esi
cmp edi, esi
jb 0x14003916d
cmp esi, 1
jbe 0x140039080
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
call r13
test eax, eax
jne 0x140039080
lea rcx, str.Could_not_set_file_pointer___Aborting
call fcn.1400380b9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test ax, ax
je 0x14003917c
xor eax, eax
jmp 0x14003918e
mov ecx, 0xc003001d
call qword [sym.imp.KERNEL32.DLL_SetLastError]
jmp 0x140039178
mov eax, 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14003a339
Capabilities:
Get graphical window text

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov byte [rdx], 0
mov rbx, rcx
mov rbp, rdx
mov ecx, pe_nt_image_headers64
mov edx, 2
call sub.msvcrt.dll_calloc
mov rcx, rbx
mov r8d, pe_nt_image_headers64
mov rdx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r12, qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
call r12
mov esi, eax
test ebx, ebx
je 0x14003a3ba
xor eax, eax
mov dword [rsp + 0x28], pe_nt_image_headers64
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x38], rax
mov r8, rdi
mov ecx, 0xfde9
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ebx, eax
test eax, eax
jne 0x14003a3ba
call r12
mov esi, eax
test rdi, rdi
je 0x14003a3c7
mov rcx, rdi
call sub.msvcrt.dll_free
mov byte [rbp + 0x7f], 0
mov ecx, esi
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, ebx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14003a577
Capabilities:
Set registry value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov esi, edx
mov ebp, r9d
mov edx, 0x5c
xor r9d, r9d
mov qword [rsp + 0x60], r9
mov rbx, rcx
mov rdi, r8
mov qword [rsp + 0x68], r9
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14003a5c0
mov r8d, 0x91
lea rdx, str.registry.h
lea rcx, str.strchr_key_name_____NULL
call qword [sym.imp.msvcrt.dll__wassert]
lea rax, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov r9d, 0x2001d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14003a5f0
xor r8d, r8d
mov qword [rsp + 0x60], r8
jmp 0x14003a65b
lea rax, [rsp + 0x5c]
xor edx, edx
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x30], rdx
lea rdx, [0x14009ade0]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 7
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14003a63e
xor eax, eax
mov qword [rsp + 0x68], rax
jmp 0x14003a65b
mov dword [rsp + 0x28], ebp
mov rcx, qword [rsp + 0x68]
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003a66b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003a67c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x14003a703
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x180
xor eax, eax
mov rbx, rdx
mov edx, dword [rsp + 0x1e0]
mov r12, r9
mov r13, rcx
lea rdi, [rsp + 0x7c]
mov ecx, 0x41
xor r9d, r9d
mov dword [rsp + 0x60], 0xffffffff
rep stosd dword [rdi], eax
mov ecx, edx
mov rdi, r12
mov qword [rsp + 0x68], r9
rep stosb byte [rdi], al
mov rcx, rbx
mov qword [rsp + 0x70], r9
lea r14, [rsp + 0x7c]
mov dword [rsp + 0x64], edx
call sub.msvcrt.dll_strlen
mov rcx, rax
mov rbp, rax
test rbp, rbp
je 0x14003a7fc
cmp byte [rbx + rbp], 0x5c
je 0x14003a779
dec rbp
jmp 0x14003a765
cmp rbp, 0x103
ja 0x14003a8bc
mov eax, 0x104
inc rcx
mov rdi, r14
mov rsi, rbx
cmp rcx, rax
cmova rcx, rax
mov ecx, ecx
rep movsb byte [rdi], byte [rsi]
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r9d, 0x20019
mov rcx, r13
lea rdx, [rax + 1]
cmp rdx, 0x104
mov edx, 0x103
cmovae rax, rdx
xor r8d, r8d
mov rdx, r14
mov byte [rsp + rax + 0x7c], 0
lea rax, [rsp + 0x70]
mov byte [rsp + rbp + 0x7c], 0
inc rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14003a875
xor r8d, r8d
mov qword [rsp + 0x70], r8
jmp 0x14003a89b
lea rax, [rsp + 0x68]
xor r8d, r8d
mov r9d, 0x2001d
mov rcx, r13
mov qword [rsp + 0x20], rax
lea rdx, [0x14009ae02]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14003a82c
xor ecx, ecx
mov qword [rsp + 0x68], rcx
jmp 0x14003a89b
lea rax, [rsp + 0x5c]
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
xor eax, eax
mov dword [rsp + 0x20], edx
lea rdx, [0x14009ae0b]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 7
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14003a7ef
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], r12
lea rdx, [rbx + rbp]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003a8ab
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14003a8bc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x180
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14003b4c1
Capabilities:
Get graphical window text

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb0
xor eax, eax
mov rbp, rcx
lea rdi, [rsp + 0x68]
mov ecx, 0x12
mov r12, rdx
rep stosd dword [rdi], eax
mov r13d, r8d
test rbp, rbp
je 0x14003b52c
test rdx, rdx
je 0x14003b52c
mov rcx, rbp
xor ebx, ebx
call fcn.14003b464
lea rax, [0x1401162c0]
mov rdi, rax
cmp qword [rax], 0
je 0x14003b533
inc ebx
add rax, 0x20
cmp ebx, 0x80
jne 0x14003b507
mov edx, pe_nt_image_headers64
lea rcx, str.Maximum_number_of_tooltips_reached___d__n
call fcn.1400380b9
xor eax, eax
jmp 0x14003b673
mov r14, qword [0x1400b4e20]
xor ecx, ecx
movsxd rbx, ebx
mov r9d, 0x80000003
mov rsi, rbx
cmp dword [r14], 0
setne cl
xor eax, eax
xor edx, edx
shl rsi, 5
mov qword [rsp + 0x58], rax
shl ecx, 0x16
xor r8d, r8d
add rsi, rdi
mov rax, qword [0x1400b4ba0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rdx
lea rdx, str.tooltips_class32
mov qword [rsp + 0x50], rax
mov rax, qword [0x1400b4b90]
mov rax, qword [rax]
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsi], rax
mov rcx, rax
test rax, rax
je 0x14003b52c
lea r8, [0x140039fe8]
mov edx, 0xfffffffc
mov qword [rsi + 8], rbp
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, r12
mov qword [rsi + 0x10], rax
call fcn.14003a223
mov rcx, qword [rsi]
movsxd r9, r13d
mov edx, 0x403
mov qword [rsi + 0x18], rax
mov r8d, 2
call qword [sym.imp.USER32.dll_PostMessageW]
mov rax, qword [rsi]
cmp dword [r14], 1
mov rcx, rbp
mov dword [rsp + 0x68], 0x48
mov rsi, qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x87
mov qword [rsp + 0x70], rax
sbb eax, eax
xor r9d, r9d
xor r8d, r8d
and eax, 0xfffffffc
add eax, 0x15
mov dword [rsp + 0x6c], eax
call rsi
bt eax, 0xd
jb 0x14003b646
or dword [rsp + 0x6c], 0x80000002
shl rbx, 5
mov qword [rsp + 0x78], rbp
lea r9, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x98], 0xffffffffffffffff
mov rcx, qword [rdi + rbx]
mov edx, 0x432
call rsi
mov eax, 1
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14003b8b0
Capabilities:
Create thread

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rdx, str.SoftwareMicrosoftPowerShell1Install
mov rcx, 0xffffffff80000002
call fcn.14003a8ce
test eax, eax
jg 0x14003b909
lea rdx, str.SoftwareMicrosoftPowerShell3Install
mov rcx, 0xffffffff80000002
call fcn.14003a8ce
test eax, eax
jg 0x14003b909
mov rsi, qword [0x1400b4f40]
mov rbx, qword [0x1400b4f30]
mov edx, 0xffc
lea r8, str.Notice:_The_ISO_download_feature_has_been_deactivated_because_a_compatible_PowerShell_version_was_not_detected_on_this_system.
mov rcx, qword [rsi]
sub rdx, rcx
add rcx, rbx
jmp 0x14003b941
mov rax, qword [0x1400b4700]
cmp dword [rax], 0
jne 0x14003b96d
call fcn.14003a8f3
test eax, eax
jg 0x14003b96d
mov rsi, qword [0x1400b4f40]
mov rbx, qword [0x1400b4f30]
mov edx, 0xffc
lea r8, str.Notice:_The_ISO_download_feature_has_been_deactivated_because_Check_for_updates_is_disabled_in_your_settings.
mov rcx, qword [rsi]
sub rdx, rcx
add rcx, rbx
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, rbx
mov byte [rbx + 0xffb], 0
call sub.msvcrt.dll_strlen
lea rdx, [rax + 2]
mov byte [rbx + rax], 0xd
mov qword [rsi], rdx
mov byte [rbx + rax + 1], 0xa
mov byte [rbx + rax + 2], 0
jmp 0x14003b98f
xor edx, edx
xor eax, eax
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x20], edx
lea r8, [0x14003a0cd]
xor edx, edx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.DLL_CreateThread]
nop
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x14003c8f1
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
xor eax, eax
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov rbx, rdx
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
jne 0x14003c91b
xor ebx, ebx
jmp 0x14003c9bd
mov edx, 0x31
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdx, rax
test rax, rax
je 0x14003c914
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test rbx, rbx
jne 0x14003c991
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
test eax, eax
jle 0x14003c914
lea r8d, [rax + 1]
mov edx, 2
movsxd rcx, r8d
mov dword [rsp + 0x2c], r8d
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x14003c914
mov r8d, dword [rsp + 0x2c]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14003c9bd
lea r9, [rsp + 0x38]
mov r8d, ebp
jmp 0x14003c9b1
mov rcx, rbx
call fcn.14003a223
mov rbx, rax
test rax, rax
je 0x14003c9bd
mov rcx, rax
call sub.msvcrt.dll_wcslen
lea r9, [rsp + 0x38]
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rbx
call sub.msvcrt.dll_free
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14003c9db
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rax, qword [rsp + 0x38]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret