joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004e3e0
Capabilities:
Create thread
Terminate thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rdx, qword [0x14019f580]
lea rax, [0x1401e2788]
mov qword [rsp + 0x38], rax
xor esi, esi
mov dword [rsp + 0x30], ecx
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov qword [rsp + 0x40], rax
lea rax, str.NoDriveTypeAutorun
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0xa0], esi
test rdx, rdx
je 0x14004e467
mov r8d, 1
lea rcx, str.DisableLGP
mov edi, esi
call fcn.140026e40
mov rbx, rax
test rax, rax
je 0x14004e463
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140102178
mov rcx, rbx
mov edi, eax
call fcn.1400e8c70
test edi, edi
jmp 0x14004e489
lea r9, [rsp + 0x80]
mov rcx, 0xffffffff80000001
lea rdx, str.DisableLGP
call fcn.14004aad0
cmp dword [rsp + 0x80], esi
mov ecx, esi
mov qword [rsp + 0x88], rbp
setne cl
mov qword [rsp + 0x90], r14
test ecx, ecx
je 0x14004e512
mov rax, qword [0x1401d05a0]
lea rsi, [0x1401e6720]
mov r14d, 0xffc
lea r9, str.LPG_handling_disabled__per_settings
sub r14, rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, r14
lea rdi, [rax + rsi]
mov rcx, rdi
call fcn.140004fd0
mov byte [rdi + r14 - 1], 0
nop
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14004e4e0
mov word [rbx + rsi], 0xa0d
add rbx, 2
mov qword [0x1401d05a0], rbx
cmp rbx, 0x1000
jae 0x14004e64c
mov byte [rbx + rsi], 0
xor eax, eax
jmp 0x14004e634
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x30]
lea r8, [0x14004dd50]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
jne 0x14004e583
mov rax, qword [0x1401d05a0]
lea rsi, [0x1401e6720]
mov r14d, 0xffc
lea r9, str.SetLGP:_Unable_to_start_thread
sub r14, rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, r14
lea rdi, [rax + rsi]
mov rcx, rdi
call fcn.140004fd0
mov byte [rdi + r14 - 1], bpl
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14004e575
jmp 0x14004e4e9
mov edx, 0x1388
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14004e615
mov rax, qword [0x1401d05a0]
lea rsi, [0x1401e6720]
mov r14d, 0xffc
lea r9, str.SetLGP:_Killing_stuck_thread_
sub r14, rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, r14
lea rdi, [rax + rsi]
mov rcx, rdi
call fcn.140004fd0
mov byte [rdi + r14 - 1], 0
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14004e5d6
mov word [rbx + rsi], 0xa0d
add rbx, 2
mov qword [0x1401d05a0], rbx
cmp rbx, 0x1000
jae 0x14004e64c
xor edx, edx
mov byte [rbx + rsi], 0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14004e634
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [rsp + 0xa0]
test eax, eax
cmove ecx, esi
mov eax, ecx
mov r14, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
call fcn.1400b2b58
int3
Function at 0x14004f2f0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rdi
sub rsp, 0x60
mov qword [rax - 0x10], rbx
lea rdi, [rax + 0x10]
mov qword [rax - 0x18], rbp
mov rbx, rcx
mov qword [rax - 0x28], r14
call fcn.140001000
mov qword [rsp + 0x30], rdi
lea rbp, [0x1401e2f10]
xor edi, edi
mov r14, 0xffffffffffffffff
mov qword [rsp + 0x28], rdi
mov r9, r14
mov rcx, qword [rax]
mov rdx, rbp
mov qword [rsp + 0x20], rbx
mov ebx, 0xffd
mov r8d, ebx
call fcn.1400e8038
test eax, eax
cmovs eax, r14d
test eax, eax
js 0x14004f362
movsxd rbx, eax
add rbx, rbp
mov qword [rsp + 0x48], rsi
cmp rbx, rbp
jbe 0x14004f38c
nop
movzx ecx, byte [rbx - 1]
lea rsi, [rbx - 1]
call fcn.1400fe000
test eax, eax
je 0x14004f38c
mov byte [rsi], dil
mov rbx, rsi
cmp rsi, rbp
ja 0x14004f370
mov word [rbx], 0xa0d
mov byte [rbx + 2], dil
cmp byte [0x1401e2f10], dil
jne 0x14004f3b2
mov edx, 2
mov ecx, 1
call fcn.1400c4f6c
mov rdi, rax
jmp 0x14004f418
mov dword [rsp + 0x28], edi
mov r9d, r14d
mov r8, rbp
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
cmp esi, 1
jle 0x14004f418
mov rcx, rsi
mov edx, 2
call fcn.1400c4f6c
mov rbx, rax
test rax, rax
je 0x14004f418
mov dword [rsp + 0x28], esi
mov r9d, r14d
mov r8, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x14004f415
mov rcx, rbx
call fcn.1400e8c70
jmp 0x14004f418
mov rdi, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x14019f648]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14004f4a2
mov r9d, 0x7ffffffe
mov edx, 0xb1
mov r8d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14019f648]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14019f648]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xba
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14019f648]
xor r8d, r8d
movsxd r9, eax
mov edx, 0xb6
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.1400e8c70
add rsp, 0x60
pop rdi
ret

Function at 0x14004f4b0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14004ef90
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x14019f648]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14004f534
mov r9d, 0x7ffffffe
mov edx, 0xb1
mov r8d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14019f648]
mov r9, rbx
xor r8d, r8d
mov edx, 0xc2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14019f648]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xba
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14019f648]
xor r8d, r8d
movsxd r9, eax
mov edx, 0xb6
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400e8c70
Function at 0x14004f550
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov r14, rdx
mov qword [rsp + 0x60], r15
mov rbp, rcx
call fcn.14004ef90
mov r9d, 0xffffffff
mov dword [rsp + 0x28], r15d
lea r8, [0x140162434]
mov qword [rsp + 0x20], r15
xor edx, edx
mov ecx, 0xfde9
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
cmp esi, 1
jle 0x14004f5ee
mov rcx, rsi
mov edx, 2
call fcn.1400c4f6c
mov rbx, rax
test rax, rax
je 0x14004f5ee
mov dword [rsp + 0x28], esi
lea r8, [0x140162434]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x14004f5f1
mov rcx, rbx
call fcn.1400e8c70
mov rbx, r15
mov r8, rbx
lea rcx, [rsp + 0x60]
mov rdx, rdi
call fcn.1400e90a0
test rdi, rdi
je 0x14004f60e
mov rcx, rdi
call fcn.1400e8c70
test rbx, rbx
je 0x14004f61b
mov rcx, rbx
call fcn.1400e8c70
mov rsi, qword [rsp + 0x60]
test rsi, rsi
jne 0x14004f63b
mov rdx, rbp
lea rcx, str.Error:_Cant_open_file__s
call fcn.14004f2f0
xor eax, eax
jmp 0x14004f6dc
xor edx, edx
mov r8d, 2
mov rcx, rsi
call fcn.140109418
mov rcx, rsi
call fcn.1401044fc
xor r8d, r8d
mov edi, eax
xor edx, edx
mov rcx, rsi
call fcn.140109418
lea ecx, [rdi + 1]
call fcn.1400e8c84
mov qword [r14], rax
test rax, rax
jne 0x14004f690
mov r8, rbp
lea rcx, str.Error:_Cant_allocate__d_bytes_buffer_for_file__s
mov edx, edi
call fcn.14004f2f0
mov rcx, rsi
mov edi, r15d
call fcn.1400e9320
jmp 0x14004f6cf
mov r9, rsi
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14010a6f0
cmp rax, rdi
je 0x14004f6ba
mov rdx, rbp
lea rcx, str.Error:_Cant_read__s
call fcn.14004f2f0
mov edi, r15d
mov rax, qword [r14]
mov edx, edi
mov byte [rdx + rax], r15b
mov rcx, rsi
call fcn.1400e9320
test edi, edi
jne 0x14004f6da
mov rcx, qword [r14]
call fcn.1400e8c70
mov qword [r14], r15
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140050890
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
call fcn.14004ef90
mov rdi, rax
mov qword [rsp + 0x30], rax
xor eax, eax
mov dword [rsp + 0x38], 0x80000000
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x140050820]
mov dword [rsp + 0x20], eax
xor edx, edx
mov dword [rsp + 0x3c], 3
xor ecx, ecx
mov dword [rsp + 0x40], 3
mov dword [rsp + 0x44], 0x80
mov qword [rsp + 0x48], 0xffffffffffffffff
mov dword [rsp + 0x50], 0x3e5
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x140050940
mov edx, 0xbb8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140050935
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CancelSynchronousIo]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x50], 0x102
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005094a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x140050957
mov rcx, rdi
call fcn.1400e8c70
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140050980
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
lea rsi, [rsp + 0x30]
test r9, r9
mov qword [rsp + 0x88], r12
mov edi, r8d
mov r15, rdx
cmovne rsi, r9
lea r8, [rsp + 0x38]
mov r9d, 1
mov edx, r12d
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r14d, eax
test eax, eax
jne 0x1400509e5
call fcn.14004fba0
mov rdx, rax
lea rcx, str.Warning:_Could_not_read_file_pointer__s
call fcn.14004f2f0
mov ebx, 1
nop word [rax + rax]
cmp ebx, 1
jbe 0x140050a11
mov rdx, qword [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140050ae4
mov r9, rsi
mov qword [rsp + 0x20], r12
mov r8d, edi
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140050a5f
mov edx, dword [rsi]
mov dword [0x14019f148], r12d
cmp edi, edx
je 0x140050afe
cmp dword [0x14019f59c], r12d
je 0x140050a4e
test edx, edx
je 0x140050af2
mov r8d, edi
lea rcx, str.Wrote__d_bytes_but_requested__d
call fcn.14004f2f0
jmp 0x140050a84
call fcn.14004fba0
mov rdx, rax
lea rcx, str.Write_error__s
call fcn.14004f2f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xc0030000
mov dword [0x14019f148], eax
test r14d, r14d
je 0x140050ab5
cmp ebx, 4
jae 0x140050aaa
mov edx, 5
lea rcx, str.Retrying_in__d_seconds...
call fcn.14004f2f0
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 4
jbe 0x1400509f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ax, ax
jne 0x140050acb
mov ecx, 0xc003001d
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, str.Could_not_set_file_pointer___Aborting
call fcn.14004f2f0
jmp 0x140050ab5
lea rcx, str.Warning:_Possible_short_write
call fcn.14004f2f0
mov eax, 1
jmp 0x140050acd

Function at 0x140051580
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
mov r14, rcx
mov ebp, 0x57
test rdx, rdx
je 0x14005163d
mov byte [rdx], bl
mov ecx, 0x80
mov edx, 2
mov qword [rsp + 0x50], rsi
call fcn.1400c4f6c
mov r8d, 0x80
mov rdx, rax
mov rcx, r14
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebx, ebx
je 0x140051627
mov qword [rsp + 0x38], 0
mov r9d, 0xffffffff
mov qword [rsp + 0x30], 0
mov r8, rsi
mov dword [rsp + 0x28], 0x80
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test eax, eax
jne 0x140051627
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test rsi, rsi
je 0x140051634
mov rcx, rsi
call fcn.1400e8c70
mov rsi, qword [rsp + 0x50]
mov byte [rdi + 0x7f], 0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140051b10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r12d, r8d
mov rdi, rdx
mov r15, rcx
mov r14d, 0x104
mov r8d, r14d
lea rcx, [rsp + 0x70]
xor edx, edx
mov r13, r9
call fcn.140136540
mov eax, dword [rbp + 0xf0]
xor esi, esi
mov r8d, eax
mov qword [rsp + 0x60], rsi
xor edx, edx
mov qword [rsp + 0x50], rsi
mov rcx, r13
mov dword [rsp + 0x58], 0xffffffff
mov dword [rsp + 0x5c], eax
call fcn.140136540
test rdi, rdi
je 0x140051d02
mov rax, 0xffffffffffffffff
mov rbx, rax
nop
inc rbx
cmp byte [rdi + rbx], sil
jne 0x140051ba0
test rbx, rbx
je 0x140051bbc
nop
cmp byte [rdi + rbx], 0x5c
je 0x140051bed
sub rbx, 1
jne 0x140051bb0
lea rax, [rsp + 0x60]
mov r9d, 0x2001d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWARE
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140051c55
mov qword [rsp + 0x60], rsi
jmp 0x140051cee
cmp rbx, r14
jae 0x140051d02
inc rax
cmp byte [rdi + rax], sil
jne 0x140051bf6
inc rax
lea rcx, [rsp + 0x70]
cmp rax, r14
mov rdx, rdi
cmovb r14, rax
mov r8, r14
call fcn.140135ea0
lea rax, [rsp + 0x50]
mov byte [rsp + r14 + 0x6f], sil
mov byte [rsp + rbx + 0x70], sil
lea rdx, [rsp + 0x70]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, r15
inc rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140051c9d
mov qword [rsp + 0x50], rsi
jmp 0x140051cde
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rdx, str.Akeo_ConsultingRufus
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140051c9d
mov qword [rsp + 0x50], rsi
jmp 0x140051cde
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rdx, [rdi + rbx]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r13
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x140051cd9
test eax, eax
jne 0x140051cde
cmp dword [rsp + 0x58], r12d
jne 0x140051cde
cmp dword [rsp + 0x5c], esi
jbe 0x140051cde
mov esi, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140051cee
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140051cfe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x140051d04
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400b2a30
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140051d30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
xor ebx, ebx
mov rsi, r9
mov qword [rsp + 0x70], rbx
mov ebp, r8d
mov qword [rsp + 0x78], rbx
mov rdi, rdx
test rdx, rdx
jne 0x140051d86
mov r8d, 0x8a
lea rdx, str.D:_a_rufus_rufus_src_registry.h
lea rcx, str.key_name___NULL
call fcn.1400fbe54
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov edx, 0x5c
mov rcx, rdi
call fcn.1400b41b4
test rax, rax
je 0x140051db1
mov r8d, 0x91
lea rdx, str.D:_a_rufus_rufus_src_registry.h
lea rcx, str.strchr_key_name_____NULL
call fcn.1400fbe54
mov edx, 0x5c
mov rcx, rdi
call fcn.1400b41b4
test rax, rax
jne 0x140051d74
lea rax, [rsp + 0x70]
mov r9d, 0x2001d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140051df3
mov qword [rsp + 0x70], rbx
jmp 0x140051e77
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREAkeo_ConsultingRufus
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140051e3e
mov qword [rsp + 0x78], rbx
jmp 0x140051e67
mov eax, dword [rsp + 0x90]
mov r9d, ebp
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140051e77
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140051e87
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140057a10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov r8d, 4
lea rdx, str.SoftwareMicrosoftPowerShell1Install
mov rcx, 0xffffffff80000002
call fcn.140051b10
cmp dword [rsp + 0x40], 0
jg 0x140057af0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov r8d, 4
lea rdx, str.SoftwareMicrosoftPowerShell3Install
mov rcx, 0xffffffff80000002
call fcn.140051b10
cmp dword [rsp + 0x40], 0
jg 0x140057af0
mov rax, qword [0x1401d05a0]
lea rsi, [0x1401e6720]
mov ebp, 0xffc
lea r9, str.Notice:_The_ISO_download_feature_has_been_deactivated_because_a_compatible_PowerShell_version_was_not_detected_on_this_system.
sub rbp, rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, rbp
lea rdi, [rax + rsi]
mov rcx, rdi
call fcn.140004fd0
mov byte [rdi + rbp - 1], 0
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140057ac0
mov word [rbx + rsi], 0xa0d
add rbx, 2
mov qword [0x1401d05a0], rbx
cmp rbx, 0x1000
jae 0x140057b82
mov byte [rbx + rsi], 0
jmp 0x140057b6d
cmp dword [0x1401a0458], 0
jne 0x140057b4e
call fcn.140052260
test eax, eax
jg 0x140057b4e
mov rax, qword [0x1401d05a0]
lea rsi, [0x1401e6720]
mov ebp, 0xffc
lea r9, str.Notice:_The_ISO_download_feature_has_been_deactivated_because_Check_for_updates_is_disabled_in_your_settings.
sub rbp, rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, rbp
lea rdi, [rax + rsi]
mov rcx, rdi
call fcn.140004fd0
mov byte [rdi + rbp - 1], 0
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140057b40
jmp 0x140057ac9
xor eax, eax
lea r8, [0x140057760]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1400b2b58
int3
Function at 0x140058c40
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rdi
sub rsp, 0x28
mov qword [rsp + 0x40], rbx
mov rbp, rcx
mov qword [rsp + 0x48], rsi
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov rsi, rdx
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x140058d1c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140058d1c
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
test rsi, rsi
jne 0x140058ce6
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test eax, eax
jle 0x140058d1c
lea r14d, [rax + 1]
mov edx, 2
movsxd rcx, r14d
call fcn.1400c4f6c
mov rbx, rax
test rax, rax
je 0x140058d1c
mov r8d, r14d
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140058d1c
mov r8d, esi
mov rdx, rbx
jmp 0x140058d0e
mov rcx, rsi
call fcn.140051290
mov rbx, rax
test rax, rax
je 0x140058d1c
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140058d00
mov rdx, rax
lea r9, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rbx
call fcn.1400e8c70
mov r14, qword [rsp + 0x20]
lea rax, [rdi - 1]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
cmp rax, 0xfffffffffffffffd
ja 0x140058d49
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rax, qword [rsp + 0x50]
add rsp, 0x28
pop rdi
pop rbp
ret
Function at 0x14005b730
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rdx
lea rcx, [rsp + 0x70]
mov r14d, 0x104
xor edx, edx
mov r8d, r14d
mov r15, r9
call fcn.140136540
xor esi, esi
mov dword [rsp + 0x58], 0xffffffff
xor eax, eax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x5c], 4
mov dword [r15], eax
test rdi, rdi
je 0x14005b920
mov rax, 0xffffffffffffffff
mov rbx, rax
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], sil
jne 0x14005b7b0
test rbx, rbx
je 0x14005b7cc
nop
cmp byte [rdi + rbx], 0x5c
je 0x14005b801
sub rbx, 1
jne 0x14005b7c0
lea rax, [rsp + 0x60]
mov r9d, 0x2001d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWARE
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14005b873
mov qword [rsp + 0x60], rsi
jmp 0x14005b90c
cmp rbx, r14
jae 0x14005b920
nop word [rax + rax]
inc rax
cmp byte [rdi + rax], sil
jne 0x14005b810
inc rax
lea rcx, [rsp + 0x70]
cmp rax, r14
mov rdx, rdi
cmovb r14, rax
mov r8, r14
call fcn.140135ea0
lea rax, [rsp + 0x50]
mov byte [rsp + r14 + 0x6f], sil
mov byte [rsp + rbx + 0x70], sil
lea rdx, [rsp + 0x70]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
inc rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14005b8bb
mov qword [rsp + 0x50], rsi
jmp 0x14005b8fc
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rdx, str.Akeo_ConsultingRufus
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14005b8bb
mov qword [rsp + 0x50], rsi
jmp 0x14005b8fc
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rdx, [rdi + rbx]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x14005b8f7
test eax, eax
jne 0x14005b8fc
cmp dword [rsp + 0x58], 4
jne 0x14005b8fc
cmp dword [rsp + 0x5c], esi
jbe 0x14005b8fc
mov esi, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14005b90c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005b91c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x14005b922
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400b2a30
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret