joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d994
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.140001520
mov rdx, rax
mov rcx, rdi
call fcn.140001520
cmp rdx, rax
je 0x14000d9df
mov rdx, rdi
mov rcx, rbx
call fcn.1400070b0
mov edx, 0x31
lea rcx, str.LngFolder0
call fcn.140017188
xor esi, esi
test rax, rax
je 0x14000db3a
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.SoftwareWinRARGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000db3a
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanguageFolder
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000db30
mov eax, dword [rbp - 0x29]
mov edx, 0x10000
cmp dword [rbp - 0x29], edx
cmovb edx, eax
lea rcx, [rbp - 0x19]
call fcn.140001ebc
nop
lea rcx, [rbp - 0x19]
call fcn.140001bd8
add eax, eax
mov dword [rbp - 0x29], eax
lea rcx, [rbp - 0x19]
call fcn.140001bd0
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanguageFolder
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000db27
mov word [rbp - 0x25], si
lea rdx, [rbp - 0x25]
lea rcx, [rbp - 0x19]
call fcn.14000dc00
lea rcx, [rbp - 0x19]
call fcn.140001bd0
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.140001b9c
nop
lea rcx, [rbp - 1]
call fcn.14000e474
mov rdx, rdi
lea rcx, [rbp + 0x1f]
call fcn.14000a27c
nop
lea r8, [rbp - 1]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14000a414
nop
lea rcx, [rbp + 0x1f]
call fcn.140002050
lea rcx, [rbp - 1]
call fcn.140008620
test al, al
je 0x14000db1d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.1400070b0
nop
lea rcx, [rbp - 1]
call fcn.140002050
nop
lea rcx, [rbp - 0x19]
call fcn.140001be4
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400143f0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000e474
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
call fcn.1400018c0
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ebx, ebx
test eax, eax
je 0x14000e50a
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140001ebc
nop
lea rcx, [rsp + 0x20]
call fcn.140001bd8
mov r8, rax
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rdi
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, eax
test eax, eax
je 0x14000e4fe
lea rcx, [rsp + 0x20]
call fcn.140001bd8
cmp rdx, rax
ja 0x14000e4fe
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rdi
call fcn.1400011f8
mov bl, 1
lea rcx, [rsp + 0x20]
call fcn.140001be4
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14000eb38
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov edx, 0x104
lea rcx, [rbp - 0x29]
call fcn.140001ebc
nop
lea rcx, [rbp - 0x29]
call fcn.140001bd8
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140001bd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
test eax, eax
je 0x14000ec04
lea rcx, [rbp - 0x11]
call fcn.1400024c0
nop
mov rdx, rdi
lea rcx, [rbp + 0x2f]
call fcn.140001b9c
nop
lea rcx, [rbp - 0x29]
call fcn.140001bd0
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140001b9c
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.14000a414
nop
lea rcx, [rbp + 0xf]
call fcn.140002050
nop
lea rcx, [rbp + 0x2f]
call fcn.140002050
lea rcx, [rbp - 0x11]
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rcx, [rbp - 0x11]
call fcn.140002050
nop
lea rcx, [rbp - 0x29]
call fcn.140001be4
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400143f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1400103bc
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.1400103d4

Function at 0x1400103d4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r9
mov qword [rax - 0x28], r9
mov r9, r8
mov rbp, r8
mov r8, rdx
mov rbx, rdx
mov rdx, rcx
mov rdi, rcx
call fcn.14000fb68
test al, al
je 0x14001040e
xor eax, eax
jmp 0x140010477
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140010e10
mov rdi, rax
test rax, rax
je 0x140010471
mov rcx, rsi
call fcn.14000704c
lea r8d, [rax*2 + 2]
call fcn.1400018c0
mov rcx, rbp
mov rdx, rax
call fcn.1400018c0
mov dword [rsp + 0x28], r8d
mov r9d, 1
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140010f7c
jmp 0x140010475
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14001048c
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.1400104a4
Function at 0x1400104a4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov dword [r11 + 0x20], r9d
push rdi
sub rsp, 0x40
mov eax, r9d
mov rsi, r8
mov r9, r8
mov qword [r11 - 0x28], rax
mov r8, rdx
mov rbx, rdx
mov rdx, rcx
mov rdi, rcx
lea rcx, [0x140046940]
call fcn.14000faa0
test al, al
je 0x1400104e5
xor eax, eax
jmp 0x14001053b
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140010e10
mov rdi, rax
test rax, rax
je 0x140010535
mov rcx, rsi
call fcn.1400018c0
mov rdx, rax
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140010f7c
jmp 0x140010539
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140010580
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, dword [rsp + 0xa8]
mov rdi, r9
mov r12, qword [rsp + 0xa0]
mov r13, r8
mov qword [rax - 0x48], r14
mov rbx, rdx
mov qword [rax - 0x50], r12
mov rsi, rcx
mov qword [rax - 0x58], r9
mov r9, r8
mov r8, rdx
mov rdx, rcx
call fcn.14000fc6c
test al, al
je 0x1400105dd
mov al, 1
jmp 0x14001067b
mov rdx, rbx
mov rcx, rsi
call fcn.140010edc
xor sil, sil
mov rbp, rax
test rax, rax
je 0x14001066a
lea ecx, [r14 + r14]
mov dword [rsp + 0xa8], ecx
mov rcx, r13
call fcn.1400018c0
mov rdx, rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0xa8]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor r13d, r13d
mov rcx, rbp
test eax, eax
mov ebx, eax
sete sil
call fcn.140010f7c
test ebx, ebx
jne 0x140010665
mov ecx, dword [rsp + 0xa8]
shr ecx, 1
test r14d, r14d
jne 0x140010657
mov word [rdi], r13w
jmp 0x140010665
lea eax, [r14 - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rdi + rax*2], r13w
test sil, sil
jne 0x140010678
mov r8, r14
mov rdx, r12
mov rcx, rdi
call fcn.14000e018
mov al, sil
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400107a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
jmp 0x1400107b4
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov qword [r11 - 0x20], rax
lea rcx, [0x140046940]
mov dword [r11 - 0x28], r9d
mov rbp, r8
mov r9, r8
mov rbx, rdx
mov r8, rdx
mov rsi, 0xffffffff80000001
mov rdx, rsi
call fcn.14000fe50
test al, al
jne 0x140010860
mov rdx, rbx
mov rcx, rsi
call fcn.140010edc
mov dword [rsp + 0x50], 4
mov rsi, rax
test rax, rax
je 0x140010864
mov rcx, rbp
call fcn.1400018c0
mov rdx, rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call fcn.140010f7c
test ebx, ebx
jne 0x140010864
cmp dword [rsp + 0x50], ebx
je 0x140010864
mov edi, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400107b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
jmp 0x1400107b4
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov qword [r11 - 0x20], rax
lea rcx, [0x140046940]
mov dword [r11 - 0x28], r9d
mov rbp, r8
mov r9, r8
mov rbx, rdx
mov r8, rdx
mov rsi, 0xffffffff80000001
mov rdx, rsi
call fcn.14000fe50
test al, al
jne 0x140010860
mov rdx, rbx
mov rcx, rsi
call fcn.140010edc
mov dword [rsp + 0x50], 4
mov rsi, rax
test rax, rax
je 0x140010864
mov rcx, rbp
call fcn.1400018c0
mov rdx, rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call fcn.140010f7c
test ebx, ebx
jne 0x140010864
cmp dword [rsp + 0x50], ebx
je 0x140010864
mov edi, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14001087c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
lea rdx, [0x14003adb0]
lea rcx, [rsp + 0x40]
call fcn.140001b9c
nop
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rdi
call fcn.14000fe80
mov bl, al
lea rcx, [rsp + 0x40]
call fcn.140002050
test bl, bl
jne 0x140010929
lea rcx, [rsp + 0x20]
call fcn.1400024c0
nop
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.140011004
test al, al
je 0x14001091f
lea rcx, [rsp + 0x20]
call fcn.1400018c0
mov r8d, dword [0x14004a990]
mov rdx, rax
mov rcx, rdi
test r8d, r8d
jne 0x140010915
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14001091f
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop
lea rcx, [rsp + 0x20]
call fcn.140002050
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400143f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140010948
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14001095c

Function at 0x14001095c
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov r9, r8
mov r8, rdx
mov rdx, rcx
call fcn.14000fe80
test al, al
jne 0x140010a05
lea rcx, [rsp + 0x38]
call fcn.1400024c0
nop
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, rbx
call fcn.140011004
test al, al
je 0x1400109fb
lea rcx, [rsp + 0x38]
call fcn.1400018c0
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400109fb
mov rcx, rdi
call fcn.1400018c0
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.140010f7c
nop
lea rcx, [rsp + 0x38]
call fcn.140002050
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400143f0
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret

Function at 0x140010a1c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, r8
call fcn.140010edc
mov rdi, rax
test rax, rax
je 0x140010a74
mov rcx, rbx
call fcn.1400018c0
mov rdx, rax
xor r9d, r9d
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rdi
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140010f7c
test ebx, ebx
jne 0x140010a74
mov eax, dword [rsp + 0x58]
jmp 0x140010a76
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140010ba0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140009d30
test eax, eax
jne 0x140010bc9
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140010be4
and dword [0x140046774], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140010bf0
cmp dword [0x140046774], 0
jne 0x140010bc9
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140010bf0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor r14d, r14d
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], r14w
je 0x140010ceb
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010ceb
mov esi, r14d
xor edx, edx
jmp 0x140010c91
lea rax, [rsp + 0x60]
mov r9, rbx
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0xf0]
call fcn.140007288
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call fcn.140010bf0
inc esi
mov edx, esi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140010c59
mov rcx, qword [rsp + 0x48]
call fcn.140010f7c
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140010ceb
inc dword [0x140046774]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400143f0
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140011410
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edi, edi
mov dword [rax - 0x28], edi
mov edx, 0x105
lea rcx, [rax - 0x20]
call fcn.140001ebc
nop
lea rcx, [rsp + 0x28]
call fcn.140001bd0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001bd8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, eax
test eax, eax
je 0x140011488
lea rcx, [rsp + 0x28]
call fcn.140001bd8
cmp rdx, rax
ja 0x140011488
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1400094cc
cmp word [rax], di
je 0x140011488
lea rcx, [rsp + 0x28]
call fcn.140001bd0
jmp 0x14001148f
lea rax, str._rartemp_
mov rdx, rax
mov rcx, rbx
call fcn.140001b9c
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x28]
call fcn.140001be4
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140011d88
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rbx, rcx
call fcn.14000eae4
mov rdx, rbx
call fcn.14000d858
lea rdx, str.uninstall.lng
lea rcx, [rsp + 0x78]
call fcn.140001b9c
nop
lea rdx, [rsp + 0x78]
call fcn.14000b9d4
nop
lea rcx, [rsp + 0x78]
call fcn.140002050
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, str.riched20.dll
call fcn.14000eb38
mov rbx, rax
lea rdx, str.RARICON
mov rcx, qword [0x140046760]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x14004a998], rax
xor edi, edi
test rax, rax
jne 0x140011e47
mov rcx, qword [0x140046768]
cmp rcx, qword [0x140046760]
je 0x140011e47
lea rdx, str.RARICON
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x14004a998], rax
call fcn.140011cdc
mov ecx, eax
lea rax, str.MS_Shell_Dlg
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x2bc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_CreateFontW]
mov qword [0x14004a9a0], rax
mov byte [rsp + 0x70], dil
mov byte [rsp + 0x71], dil
mov word [rbp - 0x60], di
mov r8d, 0x400
lea rdx, [rbp - 0x60]
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.140001b9c
nop
lea r9, [rsp + 0x71]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov cl, 1
call fcn.140011fe8
nop
lea rcx, [rsp + 0x78]
call fcn.140002050
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140001b9c
nop
lea r9, [rsp + 0x71]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
xor ecx, ecx
call fcn.140011fe8
nop
lea rcx, [rsp + 0x78]
call fcn.140002050
cmp byte [rsp + 0x70], dil
je 0x140011f81
mov qword [rsp + 0x20], rdi
lea r9, [0x1400122f0]
xor r8d, r8d
lea rdx, str.SETUPDLG
mov rcx, qword [0x140046760]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x140011f81
call fcn.140013c48
cmp byte [0x140046773], dil
jne 0x140011f81
mov qword [rsp + 0x20], rdi
lea r9, [0x140012740]
xor r8d, r8d
lea rdx, str.DONEDLG
mov rcx, qword [0x140046760]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp byte [rsp + 0x71], dil
je 0x140011f8d
call fcn.140012ff4
test rbx, rbx
je 0x140011f9b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov rcx, qword [0x14004a9a0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14004a998]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x14004a9a8]
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400143f0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140012688
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov bl, dl
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.140001b9c
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000ab40
nop
lea rcx, [rsp + 0x50]
call fcn.140002050
test bl, bl
jne 0x1400126dd
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14000d994
lea rcx, [rsp + 0x30]
call fcn.1400018c0
mov r8, rax
mov dword [rsp + 0x28], 1
lea rax, [0x14003adb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setg bl
lea rcx, [rsp + 0x30]
call fcn.140002050
mov al, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400143f0
add rsp, 0x80
pop rbx
ret

Function at 0x140012f20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140001ebc
nop
lea rcx, [rsp + 0x20]
call fcn.140001bd8
mov r8, rax
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rsi
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140001bd8
cmp rbx, rax
jb 0x140012fba
lea rcx, [rsp + 0x20]
call fcn.140001768
lea rcx, [rsp + 0x20]
call fcn.140001bd8
mov r8, rax
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rsi
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test ebx, ebx
je 0x140012fd5
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rdi
call fcn.1400011f8
test ebx, ebx
setne bl
lea rcx, [rsp + 0x20]
call fcn.140001be4
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140013b20
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
xor ebx, ebx
mov dword [rbp - 0x50], ebx
lea rcx, [rbp - 0x48]
call fcn.1400024c0
nop
lea rcx, [rbp - 0x48]
call fcn.14000a634
lea r8, [rbp - 0x48]
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.14000a414
lea rcx, [rbp - 0x48]
call fcn.140008620
lea edi, [rbx + 1]
test al, al
jne 0x140013c14
lea rcx, [rbp - 0x48]
call fcn.140007080
lea rdx, str.sfxname
lea rcx, [rbp - 0x28]
call fcn.140001b9c
nop
mov dword [rbp - 0x50], edi
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.140012f20
test al, al
je 0x140013bc0
lea rcx, [rbp - 0x48]
call fcn.140006984
test al, al
mov sil, bl
je 0x140013bc3
mov sil, dil
mov eax, edi
and eax, 0xfffffffe
mov dword [rbp - 0x50], eax
lea rcx, [rbp - 0x28]
call fcn.140002050
test sil, sil
jne 0x140013c14
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.14000a328
lea rcx, [rbp - 0x48]
call fcn.140008620
test al, al
je 0x140013c17
mov rcx, r14
call fcn.1400018c0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400018c0
mov r8d, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x140013c1a
mov bl, dil
mov dil, bl
lea rcx, [rbp - 0x48]
call fcn.140002050
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400143f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140015454
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001549e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001549e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001549e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001549e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001549e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400154a0
xor al, al
add rsp, 0x28
ret