joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009e54c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rbx, r9
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14009cad0
xor r14d, r14d
test al, al
je 0x14009e581
xor eax, eax
jmp 0x14009e5de
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.14009d134
mov rdi, rax
test rax, rax
je 0x14009e5d8
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], r14w
jne 0x14009e59d
lea eax, [rcx*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009c090
jmp 0x14009e5dc
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14009e5fc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009cb40
test al, al
je 0x14009e626
xor eax, eax
jmp 0x14009e674
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009d134
mov rdi, rax
test rax, rax
je 0x14009e66e
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009c090
jmp 0x14009e672
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x14009e5fc

Function at 0x14009e684
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14, qword [rsp + 0x70]
mov rsi, r9
mov qword [rax - 0x28], r14
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009cbc4
test al, al
je 0x14009e6bf
xor eax, eax
jmp 0x14009e708
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009d134
mov rdi, rax
test rax, rax
je 0x14009e702
mov dword [rsp + 0x28], r14d
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009c090
jmp 0x14009e706
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14009e724
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009e54c
Function at 0x14009e73c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009cb40
test al, al
je 0x14009e626
xor eax, eax
jmp 0x14009e674
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009d134
mov rdi, rax
test rax, rax
je 0x14009e66e
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009c090
jmp 0x14009e672
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x14009e5fc
Function at 0x1400a0fc4
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x4278]
mov eax, 0x4360
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x4250], rax
mov rsi, rcx
call fcn.14007812c
xor ebx, ebx
mov rdi, rax
test rax, rax
jne 0x1400a1016
xor al, al
jmp 0x1400a11fc
lea r14, [0x14010a100]
mov r15d, 0xc8
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x30]
mov r8, r14
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, 0xffffffff80000000
call fcn.14009dc14
cmp word [rsp + 0x30], bx
je 0x1400a100f
mov r8d, r15d
lea rdx, str._shellprintcommand
lea rcx, [rsp + 0x30]
call fcn.14008c7b4
lea r9, [rbp + 0x250]
mov dword [rsp + 0x28], 0x800
mov r8, r14
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000000
call fcn.14009dc14
cmp word [rbp + 0x250], bx
jne 0x1400a112e
mov r9, rdi
lea r8, str.SoftwareClasses_s
mov edx, r15d
lea rcx, [rbp + 0xc0]
call fcn.1400026d0
mov rdi, 0xffffffff80000002
mov dword [rsp + 0x28], r15d
mov rcx, rdi
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8, r14
lea rdx, [rbp + 0xc0]
call fcn.14009dc14
cmp word [rsp + 0x30], bx
je 0x1400a100f
lea r9, [rsp + 0x30]
mov edx, r15d
lea r8, str.SoftwareClasses_s_shellprintcommand
lea rcx, [rbp + 0xc0]
call fcn.1400026d0
lea r9, [rbp + 0x250]
mov dword [rsp + 0x28], 0x800
mov r8, r14
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0xc0]
mov rcx, rdi
call fcn.14009dc14
cmp word [rbp + 0x250], bx
je 0x1400a100f
mov r14d, 0x1000
lea rdx, [rbp + 0x2250]
mov r8d, r14d
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [0x1401142f4]
lea rcx, [rbp + 0x2250]
call fcn.1400ee948
test rax, rax
je 0x1400a100f
lea rcx, [rbp + 0x2250]
mov dil, bl
cmp rax, rcx
jbe 0x1400a1186
cmp word [rax - 2], 0x22
mov ecx, 1
movzx edi, bl
cmove edi, ecx
mov r8, r14
mov word [rax], bx
mov rdx, rsi
lea rcx, [rbp + 0x2250]
call fcn.14008c7b4
test dil, dil
je 0x1400a11b6
mov r8, r14
lea rdx, [0x140113d9c]
lea rcx, [rbp + 0x2250]
call fcn.14008c7b4
mov r8d, 0x800
lea rdx, [rbp + 0x1250]
lea rcx, [rbp + 0x2250]
call fcn.14008c0b4
mov r9, rax
mov dword [rsp + 0x28], 8
lea r8, [rbp + 0x1250]
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta al
mov rcx, qword [rbp + 0x4250]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x4360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400a1228
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x28], 8
and qword [rsp + 0x20], 0
lea rdx, str.print
mov r8, rcx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta dil
test dil, dil
jne 0x1400a1286
mov rcx, rbx
call fcn.1400a0fc4
test al, al
jne 0x1400a1286
mov ecx, 0x557
call fcn.1400868b8
mov rcx, rax
mov rdx, rbx
call fcn.1400cf438
mov al, dil
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a1a1c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xa740]
mov eax, 0xa840
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0xa730], rax
mov rbx, r8
lea r14, [rbp + 0xa788]
mov edi, edx
mov rsi, rcx
call fcn.1400026c8
mov r9, rbx
mov qword [rsp + 0x28], r14
mov ebx, 0x1800
lea rdx, [rbp + 0x1730]
xor r14d, r14d
mov r8d, ebx
mov rcx, qword [rax]
or rcx, 1
mov qword [rsp + 0x20], r14
call fcn.1400f2d30
mov word [rbp + 0x472e], r14w
test edi, edi
je 0x1400a1afb
sub edi, 1
je 0x1400a1ad8
cmp edi, 1
jne 0x1400a1b3c
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1730]
call fcn.14008f58c
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1400a1ac8
lea rcx, [rsp + 0x30]
jmp 0x1400a1b2f
lea rax, [rbp + 0x1730]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400a1ae3
mov edx, 2
lea rcx, [rbp + 0x1730]
jmp 0x1400a1b34
mov r8d, 0x6000
lea rdx, [rbp + 0x4730]
lea rcx, [rbp + 0x1730]
call fcn.14008f610
lea rax, [rbp + 0x4730]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1400a1b1f
lea rcx, [rbp + 0x4730]
mov edx, 1
mov r9, rsi
call fcn.1400f390c
mov rcx, qword [rbp + 0xa730]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0xa840
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400a29ac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, rdx
mov r14d, r9d
mov rbx, rcx
lea rdx, [0x14010eb98]
mov rcx, r8
call fcn.1400c3690
xor ebp, ebp
mov rdi, rax
test rax, rax
sete r8b
mov byte [rbx + 0x3038], r8b
test r8b, r8b
jne 0x1400a2a89
mov rcx, rax
call fcn.1400f8934
cmp eax, 0x42
jne 0x1400a2a81
mov rcx, rdi
call fcn.1400f8934
cmp eax, 0x4d
jne 0x1400a2a81
xor r8d, r8d
lea edx, [rbp + 2]
mov rcx, rdi
call fcn.1400f7880
lea ebx, [rbp + 1]
mov r9, rdi
mov r8d, ebx
lea edx, [rbp + 4]
lea rcx, [rsp + 0x50]
call fcn.1400f7544
mov eax, dword [rsp + 0x50]
add eax, 0xfffffff2
mov ecx, eax
mov dword [rsp + 0x50], eax
call fcn.1400f3030
mov rsi, rax
mov rcx, rdi
test rax, rax
je 0x1400a2a84
xor r8d, r8d
lea edx, [rbp + 0xe]
call fcn.1400f7880
mov r8d, dword [rsp + 0x50]
mov r9, rdi
mov edx, ebx
mov rcx, rsi
call fcn.1400f7544
mov ecx, dword [rsp + 0x50]
cmp rax, rcx
je 0x1400a2aa4
mov rcx, rsi
call fcn.1400f3028
mov rcx, rdi
call fcn.1400f3540
xor al, al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov rcx, rdi
call fcn.1400f3540
mov ecx, dword [rsp + 0x50]
mov r9d, 0x400
mov dword [rsp + 0x28], ecx
mov edx, 2
mov rcx, r15
movzx r8d, r14w
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, rsi
mov ebx, eax
call fcn.1400f3028
test ebx, ebx
setne al
jmp 0x1400a2a8b
Function at 0x1400a2ae4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], rdx
mov rbx, rcx
lea rdx, [0x14010eb98]
mov dword [rsp + 0x34], r9d
mov rcx, r8
call fcn.1400c3690
xor ebp, ebp
mov rdi, rax
test rax, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x1400a2bbb
lea r13d, [rbp + 1]
mov r9, rax
mov r8d, r13d
lea edx, [rbp + 0x16]
lea rcx, [rsp + 0x48]
call fcn.1400f7544
cmp word [rsp + 0x48], bp
jne 0x1400a2bb3
cmp word [rsp + 0x4a], r13w
jne 0x1400a2bb3
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400f7880
movzx eax, word [rsp + 0x4c]
sub eax, r13d
movsxd rcx, eax
shl rcx, 4
add rcx, 0x16
call fcn.1400f3030
mov rsi, rax
test rax, rax
je 0x1400a2bb3
movzx eax, word [rsp + 0x4c]
sub eax, r13d
cdqe
imul rcx, rax, 0xe
add rcx, 0x14
call fcn.1400f3030
mov r14, rax
mov rcx, rsi
test rax, rax
jne 0x1400a2bdb
call fcn.1400f3028
mov rcx, rdi
call fcn.1400f3540
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx eax, word [rsp + 0x4c]
mov r9, rdi
sub eax, r13d
mov r8, r13
movsxd rdx, eax
shl rdx, 4
add rdx, 0x16
call fcn.1400f7544
movups xmm0, xmmword [rsi]
mov r15d, ebp
movups xmmword [r14], xmm0
mov eax, dword [rsi + 0x10]
mov dword [r14 + 0x10], eax
cmp bp, word [rsp + 0x4c]
jae 0x1400a2cd3
movsxd rax, r15d
lea r12d, [r15 + r13]
imul rcx, rax, 0xe
mov rbx, rax
add rbx, rbx
movsd xmm0, qword [rsi + rbx*8 + 6]
movsd qword [rcx + r14 + 6], xmm0
mov eax, dword [rsi + rbx*8 + 0xe]
mov dword [rcx + r14 + 0xe], eax
mov word [rcx + r14 + 0x12], r12w
mov eax, dword [rsi + rbx*8 + 0xe]
mov ecx, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x40], rax
call fcn.1400f3030
mov r13, rax
mov rcx, rdi
test rax, rax
je 0x1400a2d2a
mov edx, dword [rsi + rbx*8 + 0x12]
xor r8d, r8d
call fcn.1400f7880
mov rdx, qword [rsp + 0x40]
mov r9, rdi
mov r8d, 1
mov rcx, r13
call fcn.1400f7544
mov eax, dword [rsp + 0x30]
mov r9d, 0x400
mov rcx, qword [rsp + 0x38]
mov edx, 3
mov dword [rsp + 0x28], eax
movzx r8d, r12w
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, r13
mov ebx, eax
call fcn.1400f3028
test ebx, ebx
je 0x1400a2d27
movzx eax, word [rsp + 0x4c]
mov r13d, 1
add r15d, r13d
cmp r15d, eax
jl 0x1400a2c15
mov rcx, rdi
call fcn.1400f3540
movzx eax, word [rsp + 0x4c]
mov r9d, 0x400
movzx r8d, word [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
imul edx, eax, 0xe
add edx, 6
mov dword [rsp + 0x28], edx
mov edx, 0xe
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, rsi
mov ebx, eax
call fcn.1400f3028
mov rcx, r14
call fcn.1400f3028
test ebx, ebx
setne al
jmp 0x1400a2bbd
mov rcx, rdi
call fcn.1400f3540
mov rcx, rsi
call fcn.1400f3028
mov rcx, r14
call fcn.1400f3028
jmp 0x1400a2bbb
Function at 0x1400a2ecc
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x2030
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x14010eb98]
mov rsi, r8
call fcn.1400c3690
test rax, rax
mov rdi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
je 0x1400a2f1e
xor al, al
jmp 0x1400a2f5d
mov ebx, 1
jmp 0x1400a2f38
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rax
mov rdx, rbx
call fcn.1400f390c
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.1400f7544
test rax, rax
jne 0x1400a2f25
mov rcx, rdi
call fcn.1400f3540
mov al, bl
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x2030
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400a2f78
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x2030
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x140114830]
call fcn.1400c3690
test rax, rax
mov rdi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x1400a309e
xor r15d, r15d
lea r12d, [r15 + 1]
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, r12
call fcn.1400f7544
mov rbp, rax
cmp rax, 0x20
jbe 0x1400a3096
xor esi, esi
lea r14d, [rbp - 0x20]
test r14d, r14d
jle 0x1400a3046
lea rbx, [rsp + 0x21]
cmp byte [rbx - 1], 0x61
jne 0x1400a303b
cmp byte [rbx], 0x73
jne 0x1400a303b
movsxd rax, esi
lea rcx, [rsp + 0x22]
add rcx, rax
lea rdx, str.Invoker_
mov r8d, 0x14
call fcn.1400f4200
test eax, eax
je 0x1400a305c
add esi, r12d
add rbx, r12
cmp esi, r14d
jl 0x1400a300f
add ebp, 0xffffffe0
xor r8d, r8d
add r15d, ebp
mov rcx, rdi
mov edx, r15d
call fcn.1400f7880
jmp 0x1400a2fdc
lea edx, [rsi + r15]
xor r8d, r8d
mov rcx, rdi
call fcn.1400f7880
mov r9, rdi
lea rcx, str.requireAdministrator_
mov r8d, 0x15
mov rdx, r12
call fcn.1400f390c
cmp rax, 0x15
mov rcx, rdi
sete bl
call fcn.1400f3540
mov al, bl
jmp 0x1400a30a0
mov rcx, rdi
call fcn.1400f3540
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400a3658
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2030
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
lea rdx, [0x14010eb98]
call fcn.1400699dc
mov rsi, rax
test rax, rax
je 0x1400a3746
xor r14d, r14d
xor r15d, r15d
lea ebx, [r14 + 1]
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.1400f7544
mov r12, rax
cmp eax, 0x20
jle 0x1400a373a
xor ebp, ebp
lea r13d, [rax - 0x20]
test r13d, r13d
jle 0x1400a3715
lea rdi, [rsp + 0x21]
cmp byte [rdi - 1], 0x72
jne 0x1400a370b
cmp byte [rdi], 0x65
jne 0x1400a370b
movsxd rax, ebp
lea rcx, [rsp + 0x22]
add rcx, rax
lea rdx, str.quireAdministrator_
mov r8d, 0x14
call fcn.1400f4200
test eax, eax
je 0x1400a373c
add ebp, ebx
add rdi, rbx
cmp ebp, r13d
jl 0x1400a36df
add r14d, 0xffffffe0
xor r8d, r8d
add r14d, r12d
mov rcx, rsi
mov edx, r14d
call fcn.1400f7880
add r15d, ebx
cmp r15d, 0x100
jb 0x1400a36b1
xor bl, bl
mov rcx, rsi
call fcn.1400f3540
mov al, bl
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400a3778
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x14010eb98]
call fcn.1400c3690
xor edi, edi
mov rsi, rax
test rax, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
je 0x1400a37ca
mov al, 1
jmp 0x1400a381d
mov r9, rsi
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x400
call fcn.1400f7544
mov rcx, rsi
mov rbx, rax
call fcn.1400f3540
lea eax, [rbx - 4]
movsxd rcx, eax
test eax, eax
jle 0x1400a381b
cmp byte [rsp + rdi + 0x20], 0x55
jne 0x1400a3813
cmp byte [rsp + rdi + 0x21], 0x50
jne 0x1400a3813
cmp byte [rsp + rdi + 0x22], 0x58
jne 0x1400a3813
cmp byte [rsp + rdi + 0x23], 0x30
je 0x1400a37c6
inc rdi
cmp rdi, rcx
jl 0x1400a37f7
xor al, al
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400a3cdc
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2038
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x14010eb98]
mov r13, r9
mov r12, r8
call fcn.1400c3690
test rax, rax
mov rsi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x1400a3e62
xor r15d, r15d
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov edx, 1
call fcn.1400f7544
mov rbp, rax
cmp rax, 0x28
jbe 0x1400a3e5a
xor edi, edi
lea r14, [rax - 0x28]
test r14, r14
je 0x1400a3e0f
lea rbx, [rsp + 0x24]
cmp byte [rsp + rdi + 0x20], 0x2a
jne 0x1400a3da6
cmp byte [rsp + rdi + 0x21], 0x2a
jne 0x1400a3da6
lea rcx, [rsp + 0x22]
mov r8d, 0xc
add rcx, rdi
lea rdx, [0x140113340]
call fcn.1400f4200
test eax, eax
je 0x1400a3e28
cmp word [rbx - 4], 0x2a
jne 0x1400a3dcd
cmp word [rbx - 2], 0x2a
jne 0x1400a3dcd
mov r8d, 0xc
lea rdx, str.messages
mov rcx, rbx
call fcn.1400f3990
test eax, eax
je 0x1400a3e28
mov eax, 0xfeff
cmp word [rbx - 4], ax
jne 0x1400a3dff
cmp word [rbx - 2], 0x2a
jne 0x1400a3dff
cmp word [rbx], 0x2a
jne 0x1400a3dff
lea rcx, [rbx + 2]
mov r8d, 0xc
lea rdx, str.messages
call fcn.1400f3990
test eax, eax
je 0x1400a3e28
inc rdi
add rbx, 2
cmp rdi, r14
jb 0x1400a3d76
add ebp, 0xffffffd8
xor r8d, r8d
add r15d, ebp
mov rcx, rsi
mov edx, r15d
call fcn.1400f7880
jmp 0x1400a3d3d
lea edx, [rdi + r15]
xor r8d, r8d
mov rcx, rsi
call fcn.1400f7880
mov r9, rsi
mov r8, r13
mov edx, 1
mov rcx, r12
call fcn.1400f7544
mov rcx, rsi
mov rbx, rax
call fcn.1400f3540
mov rax, rbx
jmp 0x1400a3e64
mov rcx, rsi
call fcn.1400f3540
xor eax, eax
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x2038
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a517c
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x28
mov r8, qword [0x140185330]
lea rdx, [0x14010f1f0]
mov rcx, qword [str.SFXDefault]
call fcn.14009e724
mov rax, qword [0x140185330]
lea rdx, str.PathType
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x1000]
call fcn.14009e73c
mov rax, qword [0x140185330]
lea rdx, str.SavePath
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x1004]
call fcn.14009e73c
mov r8, qword [0x140185330]
lea rdx, [0x14010a5c8]
mov rcx, qword [str.SFXDefault]
add r8, 0x1006
call fcn.14009e724
mov r8, qword [0x140185330]
lea rdx, str.Presetup
mov rcx, qword [str.SFXDefault]
add r8, 0x11006
call fcn.14009e724
mov rax, qword [0x140185330]
lea rdx, str.SetupCode
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21006]
call fcn.14009e73c
mov rax, qword [0x140185330]
lea rdx, str.TempMode
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21007]
call fcn.14009e73c
mov r8, qword [0x140185330]
lea rdx, str.TempModeQuestion
mov rcx, qword [str.SFXDefault]
add r8, 0x21008
call fcn.14009e724
mov r8, qword [0x140185330]
lea rdx, str.TempModeTitle
mov rcx, qword [str.SFXDefault]
add r8, 0x21808
call fcn.14009e724
mov rax, qword [0x140185330]
lea rdx, str.Silent
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x21a08]
call fcn.14009e73c
mov rax, qword [0x140185330]
lea rdx, str.Overwrite
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x21a0c]
call fcn.14009e73c
mov rax, qword [0x140185330]
lea rdx, str.UpdateFiles
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21a11]
call fcn.14009e73c
mov rax, qword [0x140185330]
lea rdx, str.FreshFiles
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21a10]
call fcn.14009e73c
mov r8, qword [0x140185330]
lea rdx, str.DelFiles
mov rcx, qword [str.SFXDefault]
add r8, 0x21a12
call fcn.14009e724
mov r8, qword [0x140185330]
lea rdx, str.Title
mov rcx, qword [str.SFXDefault]
add r8, 0x23a12
call fcn.14009e724
mov r8, qword [0x140185330]
lea rdx, [0x140114c28]
mov rcx, qword [str.SFXDefault]
add r8, 0x23c12
call fcn.14009e724
mov r8, qword [0x140185330]
add r8, 0xa3c12
mov rcx, qword [str.SFXDefault]
lea rdx, str.LicenseTitle
call fcn.14009e724
mov r8, qword [0x140185330]
lea rdx, str.LicenseText
mov rcx, qword [str.SFXDefault]
add r8, 0xa3e12
call fcn.14009e724
mov r8, qword [0x140185330]
lea rdx, str.ShortcutText
mov rcx, qword [str.SFXDefault]
add r8, 0x123e12
call fcn.14009e724
mov rcx, qword [str.SFXDefault]
lea r8, [0x140157a12]
lea rdx, str.SFXLogo
call fcn.14009e724
mov rcx, qword [str.SFXDefault]
lea r8, [0x140156a12]
lea rdx, str.SFXIcon
call fcn.14009e724
movzx r8d, byte [0x140158a12]
lea rdx, str.SFXElevate
mov rcx, qword [str.SFXDefault]
call fcn.14009e73c
mov rcx, qword [str.SFXDefault]
lea r8, [0x14014f638]
lea rdx, str.SFXModule
add rsp, 0x28
jmp fcn.14009e724
Function at 0x1400a63b4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebp, ebp
mov rdi, r8
cmp qword [0x1401393f8], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x1400a6427
lea r9d, [rbp + 0x64]
mov ecx, 0x400
lea r8, [rsp + 0xa0]
lea edx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0xa0]
mov word [0x140185658], ax
lea rax, [0x140185658]
mov qword [0x1401393f8], rax
mov word [0x14018565a], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14008c5bc
lea r9, [0x1401393e0]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov word [rbx], bp
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov word [rbx + rdi*2 - 2], bp
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400ec220
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400a65a8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1400a6626
lea edi, [rax + 1]
mov eax, 2
movsxd rcx, edi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400ec2c4
mov rbx, rax
test rax, rax
je 0x1400a6626
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.1400a663c
mov rcx, rbx
call fcn.1400ec2cc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret