joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a83a4
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 r9d, r9d
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400a6830
test al, al
je 0x1400a83d1
xor eax, eax
jmp 0x1400a841f
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.1400a6d68
mov rdi, rax
test rax, rax
je 0x1400a8419
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.1400a5cac
jmp 0x1400a841d
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 0x1400a83a4

Function at 0x1400a8430
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.1400a676c
test al, al
je 0x1400a846b
xor eax, eax
jmp 0x1400a84b4
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.1400a6d68
mov rdi, rax
test rax, rax
je 0x1400a84ae
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.1400a5cac
jmp 0x1400a84b2
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 0x1400a84d0
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.1400a82f4

Function at 0x1400a84e8
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 r9d, r9d
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400a6830
test al, al
je 0x1400a83d1
xor eax, eax
jmp 0x1400a841f
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.1400a6d68
mov rdi, rax
test rax, rax
je 0x1400a8419
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.1400a5cac
jmp 0x1400a841d
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 0x1400a83a4
Function at 0x1400aada4
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.1400fc480
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x4250], rax
mov rsi, rcx
call fcn.14007f780
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x1400aafec
lea r14, [0x14011bd58]
mov r15d, 0xc8
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x30]
mov r8, r14
mov qword [rsp + 0x20], r14
mov rdx, rax
mov rcx, 0xffffffff80000000
call fcn.1400a78f0
cmp word [rsp + 0x30], bx
je 0x1400aafec
mov r8d, r15d
lea rdx, str._shellprintcommand
lea rcx, [rsp + 0x30]
call fcn.140096270
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.1400a78f0
cmp word [rbp + 0x250], bx
jne 0x1400aaf0f
mov r9, rdi
lea r8, str.SoftwareClasses_s
mov edx, r15d
lea rcx, [rbp + 0xc0]
call fcn.140002810
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.1400a78f0
cmp word [rsp + 0x30], bx
je 0x1400aafec
lea r9, [rsp + 0x30]
mov edx, r15d
lea r8, str.SoftwareClasses_s_shellprintcommand
lea rcx, [rbp + 0xc0]
call fcn.140002810
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.1400a78f0
cmp word [rbp + 0x250], bx
je 0x1400aafec
mov r14d, 0x1000
lea rdx, [rbp + 0x2250]
mov r8d, r14d
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0xffe
ja 0x1400aafec
lea rdx, [0x140131494]
lea rcx, [rbp + 0x2250]
call fcn.1400fead8
test rax, rax
je 0x1400aafec
lea rcx, [rbp + 0x2250]
mov dil, bl
cmp rax, rcx
jbe 0x1400aaf74
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.140096270
test dil, dil
je 0x1400aafa4
mov r8, r14
lea rdx, [0x140130f2c]
lea rcx, [rbp + 0x2250]
call fcn.140096270
mov r8d, 0x800
lea rdx, [rbp + 0x1250]
lea rcx, [rbp + 0x2250]
call fcn.1400959d4
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
jmp 0x1400aafee
xor al, al
mov rcx, qword [rbp + 0x4250]
xor rcx, rsp
call fcn.1400fc4f0
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 0x1400ab01c
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 0x1400ab07a
mov rcx, rbx
call fcn.1400aada4
test al, al
jne 0x1400ab07a
mov ecx, 0x557
call fcn.1400901c8
mov rcx, rax
mov rdx, rbx
call fcn.1400d4974
mov al, dil
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400ab814
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.1400fc480
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0xa730], rax
mov rbx, r8
lea r14, [rbp + 0xa788]
mov edi, edx
mov rsi, rcx
call fcn.140002808
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.140102ee0
mov word [rbp + 0x472e], r14w
test edi, edi
je 0x1400ab8f3
sub edi, 1
je 0x1400ab8d0
cmp edi, 1
jne 0x1400ab934
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1730]
call fcn.140099110
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1400ab8c0
lea rcx, [rsp + 0x30]
jmp 0x1400ab927
lea rax, [rbp + 0x1730]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400ab8db
mov edx, 2
lea rcx, [rbp + 0x1730]
jmp 0x1400ab92c
mov r8d, 0x6000
lea rdx, [rbp + 0x4730]
lea rcx, [rbp + 0x1730]
call fcn.140099194
lea rax, [rbp + 0x4730]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1400ab917
lea rcx, [rbp + 0x4730]
mov edx, 1
mov r9, rsi
call fcn.140103d94
mov rcx, qword [rbp + 0xa730]
xor rcx, rsp
call fcn.1400fc4f0
add rsp, 0xa840
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400ac7fc
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x450
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r14, rdx
mov rbx, rcx
lea rdx, [0x140120cd8]
mov rcx, r8
call fcn.1400cf680
test rax, rax
mov rdi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x1400ac926
mov rcx, rax
call fcn.140108d4c
cmp eax, 0x42
jne 0x1400ac91e
mov rcx, rdi
call fcn.140108d4c
cmp eax, 0x4d
jne 0x1400ac91e
xor r8d, r8d
lea edx, [rax - 0x4b]
mov rcx, rdi
call fcn.140107ce0
mov ebx, 1
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8d, ebx
lea edx, [rbx + 3]
call fcn.1401079a4
mov eax, dword [rsp + 0x30]
add eax, 0xfffffff2
mov ecx, eax
mov dword [rsp + 0x30], eax
call fcn.14010348c
mov rbp, rax
mov rcx, rdi
test rax, rax
je 0x1400ac921
xor r8d, r8d
lea edx, [rbx + 0xd]
call fcn.140107ce0
mov r8d, dword [rsp + 0x30]
mov r9, rdi
mov edx, ebx
mov rcx, rbp
call fcn.1401079a4
mov ecx, dword [rsp + 0x30]
cmp rax, rcx
je 0x1400ac946
mov ecx, 0x686
call fcn.1400901c8
mov r8, rax
lea r9, str.BMP__PNG
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140002810
lea ecx, [rbx + 0x65]
call fcn.1400901c8
mov rcx, qword [0x140166d18]
lea r9d, [rbx + 0xf]
mov r8, rax
lea rdx, [rsp + 0x40]
call fcn.1400d0120
mov rcx, rbp
call fcn.140103484
mov rcx, rdi
call fcn.1401039c8
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400fc4f0
add rsp, 0x450
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rdi
call fcn.1401039c8
mov r8d, dword [rsp + 0x30]
mov edx, 2
mov dword [rsp + 0x28], r8d
mov r9d, 0x400
mov rcx, r14
mov qword [rsp + 0x20], rbp
lea r8d, [rdx + 0x63]
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, rbp
mov ebx, eax
call fcn.140103484
test ebx, ebx
setne al
jmp 0x1400ac928
Function at 0x1400ac988
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 [0x140160370]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], rdx
mov rbx, rcx
lea rdx, [0x140120cd8]
mov dword [rsp + 0x34], r9d
mov rcx, r8
call fcn.1400cf680
xor ebp, ebp
mov rdi, rax
test rax, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x1400aca5f
lea r13d, [rbp + 1]
mov r9, rax
mov r8d, r13d
lea edx, [rbp + 0x16]
lea rcx, [rsp + 0x48]
call fcn.1401079a4
cmp word [rsp + 0x48], bp
jne 0x1400aca57
cmp word [rsp + 0x4a], r13w
jne 0x1400aca57
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140107ce0
movzx eax, word [rsp + 0x4c]
sub eax, r13d
movsxd rcx, eax
shl rcx, 4
add rcx, 0x16
call fcn.14010348c
mov rsi, rax
test rax, rax
je 0x1400aca57
movzx eax, word [rsp + 0x4c]
sub eax, r13d
cdqe
imul rcx, rax, 0xe
add rcx, 0x14
call fcn.14010348c
mov r14, rax
mov rcx, rsi
test rax, rax
jne 0x1400aca7f
call fcn.140103484
mov rcx, rdi
call fcn.1401039c8
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400fc4f0
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.1401079a4
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 0x1400acb77
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.14010348c
mov r13, rax
mov rcx, rdi
test rax, rax
je 0x1400acbce
mov edx, dword [rsi + rbx*8 + 0x12]
xor r8d, r8d
call fcn.140107ce0
mov rdx, qword [rsp + 0x40]
mov r9, rdi
mov r8d, 1
mov rcx, r13
call fcn.1401079a4
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.140103484
test ebx, ebx
je 0x1400acbcb
movzx eax, word [rsp + 0x4c]
mov r13d, 1
add r15d, r13d
cmp r15d, eax
jl 0x1400acab9
mov rcx, rdi
call fcn.1401039c8
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.140103484
mov rcx, r14
call fcn.140103484
test ebx, ebx
setne al
jmp 0x1400aca61
mov rcx, rdi
call fcn.1401039c8
mov rcx, rsi
call fcn.140103484
mov rcx, r14
call fcn.140103484
jmp 0x1400aca5f
Function at 0x1400aced4
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x2030
call fcn.1400fc480
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x140120cd8]
mov rsi, r8
call fcn.1400cf680
test rax, rax
mov rdi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
je 0x1400acf26
xor al, al
jmp 0x1400acf65
mov ebx, 1
jmp 0x1400acf40
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rax
mov rdx, rbx
call fcn.140103d94
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.1401079a4
test rax, rax
jne 0x1400acf2d
mov rcx, rdi
call fcn.1401039c8
mov al, bl
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400fc4f0
add rsp, 0x2030
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400acf80
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.1400fc480
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x140131a08]
call fcn.1400cf680
test rax, rax
mov rdi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x1400ad0a6
xor r15d, r15d
lea r12d, [r15 + 1]
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, r12
call fcn.1401079a4
mov rbp, rax
cmp rax, 0x20
jbe 0x1400ad09e
xor esi, esi
lea r14d, [rbp - 0x20]
test r14d, r14d
jle 0x1400ad04e
lea rbx, [rsp + 0x21]
cmp byte [rbx - 1], 0x61
jne 0x1400ad043
cmp byte [rbx], 0x73
jne 0x1400ad043
movsxd rax, esi
lea rcx, [rsp + 0x22]
add rcx, rax
lea rdx, str.Invoker_
mov r8d, 0x14
call fcn.1401044e0
test eax, eax
je 0x1400ad064
add esi, r12d
add rbx, r12
cmp esi, r14d
jl 0x1400ad017
add ebp, 0xffffffe0
xor r8d, r8d
add r15d, ebp
mov rcx, rdi
mov edx, r15d
call fcn.140107ce0
jmp 0x1400acfe4
lea edx, [rsi + r15]
xor r8d, r8d
mov rcx, rdi
call fcn.140107ce0
mov r9, rdi
lea rcx, str.requireAdministrator_
mov r8d, 0x15
mov rdx, r12
call fcn.140103d94
cmp rax, 0x15
mov rcx, rdi
sete bl
call fcn.1401039c8
mov al, bl
jmp 0x1400ad0a8
mov rcx, rdi
call fcn.1401039c8
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400fc4f0
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 0x1400ad684
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.1400fc480
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x2020], rax
lea rdx, [0x140120cd8]
call fcn.1400706c8
mov rsi, rax
test rax, rax
je 0x1400ad772
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.1401079a4
mov r12, rax
cmp eax, 0x20
jle 0x1400ad766
xor ebp, ebp
lea r13d, [rax - 0x20]
test r13d, r13d
jle 0x1400ad741
lea rdi, [rsp + 0x21]
cmp byte [rdi - 1], 0x72
jne 0x1400ad737
cmp byte [rdi], 0x65
jne 0x1400ad737
movsxd rax, ebp
lea rcx, [rsp + 0x22]
add rcx, rax
lea rdx, str.quireAdministrator_
mov r8d, 0x14
call fcn.1401044e0
test eax, eax
je 0x1400ad768
add ebp, ebx
add rdi, rbx
cmp ebp, r13d
jl 0x1400ad70b
add r14d, 0xffffffe0
xor r8d, r8d
add r14d, r12d
mov rcx, rsi
mov edx, r14d
call fcn.140107ce0
add r15d, ebx
cmp r15d, 0x100
jb 0x1400ad6dd
xor bl, bl
mov rcx, rsi
call fcn.1401039c8
mov al, bl
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400fc4f0
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 0x1400ad7a4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x140120cd8]
call fcn.1400cf680
xor edi, edi
mov rsi, rax
test rax, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
je 0x1400ad7f6
mov al, 1
jmp 0x1400ad849
mov r9, rsi
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x400
call fcn.1401079a4
mov rcx, rsi
mov rbx, rax
call fcn.1401039c8
lea eax, [rbx - 4]
movsxd rcx, eax
test eax, eax
jle 0x1400ad847
cmp byte [rsp + rdi + 0x20], 0x55
jne 0x1400ad83f
cmp byte [rsp + rdi + 0x21], 0x50
jne 0x1400ad83f
cmp byte [rsp + rdi + 0x22], 0x58
jne 0x1400ad83f
cmp byte [rsp + rdi + 0x23], 0x30
je 0x1400ad7f2
inc rdi
cmp rdi, rcx
jl 0x1400ad823
xor al, al
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400fc4f0
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400add2c
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.1400fc480
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x140120cd8]
mov r13, r9
mov r12, r8
call fcn.1400cf680
test rax, rax
mov rsi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x1400adeb2
xor r15d, r15d
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov edx, 1
call fcn.1401079a4
mov rbp, rax
cmp rax, 0x28
jbe 0x1400adeaa
xor edi, edi
lea r14, [rax - 0x28]
test r14, r14
je 0x1400ade5f
lea rbx, [rsp + 0x24]
cmp byte [rsp + rdi + 0x20], 0x2a
jne 0x1400addf6
cmp byte [rsp + rdi + 0x21], 0x2a
jne 0x1400addf6
lea rcx, [rsp + 0x22]
mov r8d, 0xc
add rcx, rdi
lea rdx, [0x140130490]
call fcn.1401044e0
test eax, eax
je 0x1400ade78
cmp word [rbx - 4], 0x2a
jne 0x1400ade1d
cmp word [rbx - 2], 0x2a
jne 0x1400ade1d
mov r8d, 0xc
lea rdx, str.messages
mov rcx, rbx
call fcn.1401038d0
test eax, eax
je 0x1400ade78
mov eax, 0xfeff
cmp word [rbx - 4], ax
jne 0x1400ade4f
cmp word [rbx - 2], 0x2a
jne 0x1400ade4f
cmp word [rbx], 0x2a
jne 0x1400ade4f
lea rcx, [rbx + 2]
mov r8d, 0xc
lea rdx, str.messages
call fcn.1401038d0
test eax, eax
je 0x1400ade78
inc rdi
add rbx, 2
cmp rdi, r14
jb 0x1400addc6
add ebp, 0xffffffd8
xor r8d, r8d
add r15d, ebp
mov rcx, rsi
mov edx, r15d
call fcn.140107ce0
jmp 0x1400add8d
lea edx, [rdi + r15]
xor r8d, r8d
mov rcx, rsi
call fcn.140107ce0
mov r9, rsi
mov r8, r13
mov edx, 1
mov rcx, r12
call fcn.1401079a4
mov rcx, rsi
mov rbx, rax
call fcn.1401039c8
mov rax, rbx
jmp 0x1400adeb4
mov rcx, rsi
call fcn.1401039c8
xor eax, eax
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400fc4f0
add rsp, 0x2038
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400af2bc
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x28
mov r8, qword [0x1401a92f0]
lea rdx, [0x140121340]
mov rcx, qword [str.SFXDefault]
call fcn.1400a84d0
mov rax, qword [0x1401a92f0]
lea rdx, str.PathType
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x1000]
call fcn.1400a84e8
mov rax, qword [0x1401a92f0]
lea rdx, str.SavePath
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x1004]
call fcn.1400a84e8
mov r8, qword [0x1401a92f0]
lea rdx, [0x14011c660]
mov rcx, qword [str.SFXDefault]
add r8, 0x1006
call fcn.1400a84d0
mov r8, qword [0x1401a92f0]
lea rdx, str.Presetup
mov rcx, qword [str.SFXDefault]
add r8, 0x11006
call fcn.1400a84d0
mov rax, qword [0x1401a92f0]
lea rdx, str.SetupCode
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21006]
call fcn.1400a84e8
mov rax, qword [0x1401a92f0]
lea rdx, str.SetupCodeAdjust
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x21008]
call fcn.1400a84e8
mov rax, qword [0x1401a92f0]
lea rdx, str.TempMode
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x2100c]
call fcn.1400a84e8
mov r8, qword [0x1401a92f0]
lea rdx, str.TempModeQuestion
mov rcx, qword [str.SFXDefault]
add r8, 0x2100e
call fcn.1400a84d0
mov r8, qword [0x1401a92f0]
lea rdx, str.TempModeTitle
mov rcx, qword [str.SFXDefault]
add r8, 0x2180e
call fcn.1400a84d0
mov rax, qword [0x1401a92f0]
lea rdx, str.Silent
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x21a10]
call fcn.1400a84e8
mov rax, qword [0x1401a92f0]
lea rdx, str.Overwrite
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x21a14]
call fcn.1400a84e8
mov rax, qword [0x1401a92f0]
lea rdx, str.UpdateFiles
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21a19]
call fcn.1400a84e8
mov rax, qword [0x1401a92f0]
lea rdx, str.FreshFiles
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21a18]
call fcn.1400a84e8
mov r8, qword [0x1401a92f0]
lea rdx, str.DelFiles
mov rcx, qword [str.SFXDefault]
add r8, 0x21a1a
call fcn.1400a84d0
mov r8, qword [0x1401a92f0]
lea rdx, str.Title
mov rcx, qword [str.SFXDefault]
add r8, 0x23a1a
call fcn.1400a84d0
mov r8, qword [0x1401a92f0]
add r8, 0x23c1a
mov rcx, qword [str.SFXDefault]
lea rdx, [0x140131e38]
call fcn.1400a84d0
mov r8, qword [0x1401a92f0]
lea rdx, str.LicenseTitle
mov rcx, qword [str.SFXDefault]
add r8, 0xa3c1a
call fcn.1400a84d0
mov r8, qword [0x1401a92f0]
lea rdx, str.LicenseText
mov rcx, qword [str.SFXDefault]
add r8, 0xa3e1a
call fcn.1400a84d0
mov r8, qword [0x1401a92f0]
lea rdx, str.ShortcutText
mov rcx, qword [str.SFXDefault]
add r8, 0x123e1a
call fcn.1400a84d0
mov rcx, qword [str.SFXDefault]
lea r8, [0x14017cdaa]
lea rdx, str.SFXLogo
call fcn.1400a84d0
mov rcx, qword [str.SFXDefault]
lea r8, [0x14017bdaa]
lea rdx, str.SFXIcon
call fcn.1400a84d0
movzx r8d, byte [0x14017ddaa]
lea rdx, str.SFXElevate
mov rcx, qword [str.SFXDefault]
call fcn.1400a84e8
mov rcx, qword [str.SFXDefault]
lea r8, [0x140174898]
lea rdx, str.SFXModule
add rsp, 0x28
jmp fcn.1400a84d0
Function at 0x1400b053c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebp, ebp
mov rdi, r8
cmp qword [0x14015e4d8], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x1400b05af
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 [0x1401a9618], ax
lea rax, [0x1401a9618]
mov qword [0x14015e4d8], rax
mov word [0x1401a961a], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140096088
lea r9, [0x14015e4c0]
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.1400fc4f0
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400b0610
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x130], rax
movdqa xmm0, xmmword [0x140132130]
xor esi, esi
xor edi, edi
mov dword [rsp + 0x30], r9d
mov r12d, 0x400
mov r15d, r9d
mov r14, r8
mov rbp, rdx
mov rbx, rcx
movdqu xmmword [rsp + 0x34], xmm0
cmp rcx, r12
jb 0x1400b067f
lea eax, [rsi + 1]
cmp eax, 5
jae 0x1400b067f
mov edi, ebx
inc esi
and edi, 0x3ff
shr rbx, 0xa
inc eax
cmp rbx, r12
jae 0x1400b0665
mov rcx, rbx
call fcn.1400b053c
cmp rbx, 0x64
jae 0x1400b06fc
test edi, edi
je 0x1400b06fc
imul eax, edi, 0x3e8
shr eax, 0xa
cmp rbx, 0xa
sbb r8d, r8d
xor edx, edx
and r8d, 0xffffffa6
add r8d, 0x64
div r8d
mov ebx, eax
test eax, eax
je 0x1400b06fc
mov r9d, reloc.SHELL32.dll_SHRestricted
lea r8, [rsp + 0x60]
mov ecx, r12d
lea edx, [r9 - 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r9d, word [rsp + 0x60]
lea r8, str._c_u
mov edx, 0xa
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x48]
call fcn.140002810
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.140096270
test r15d, r15d
jne 0x1400b0705
test esi, esi
je 0x1400b072e
mov r8, r14
lea rdx, [0x140120cb4]
mov rcx, rbp
call fcn.140096270
mov ecx, dword [rsp + rsi*4 + 0x30]
call fcn.1400901c8
mov rdx, rax
mov r8, r14
mov rcx, rbp
call fcn.140096270
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400fc4f0
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret