joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010d00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140010da1
test r8, r8
jle 0x140010d99
mov rcx, rdi
call fcn.140014db0
test rax, rax
jle 0x140010d70
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.140065250
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140010d91
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
mov rax, qword [rax + 0x18]
call qword [0x1400926f0]
cmp eax, 0xffffffff
je 0x140010d99
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140010d32
sub r14, rbx
mov rax, r14
jmp 0x140010e15
mov rax, qword [rcx + 0x40]
mov r9, qword [rax]
test r9, r9
je 0x140010db5
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140010db7
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x140010e0f
test ecx, ecx
jle 0x140010df0
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.140065250
mov rax, qword [rdi + 0x58]
sub r14, rsi
add rbp, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x140010e0f
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140010e0f
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.14006ac38
sub r14, rax
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140010e30
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140010e52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140010ed3
mov rdi, r14
mov rcx, rbx
call fcn.140014dd0
test rax, rax
jle 0x140010ea4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140065250
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140010ec3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [0x1400926f0]
cmp eax, 0xffffffff
je 0x140010ecb
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140010e66
sub r14, rdi
jmp 0x140010fc8
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140010eea
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140010eec
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140010f21
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140065250
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140010fc5
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140010f5c
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140010fa0
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14006af1c
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x140010fde
cmp rbp, rax
ja 0x140010f70
mov r8, rdi
test rdi, rdi
je 0x140010fc5
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14006af1c
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x140010fc8
Function at 0x140011400
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140011430
xor eax, eax
jmp 0x140011580
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001146a
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14001146a
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140011580
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rsi
je 0x140011573
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400114ad
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400114bc
movsx ecx, dil
jmp 0x14001151a
lea r8, [rsp + 0x50]
mov byte [rsp + 0x60], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x61]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x68]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x60]
call qword [0x1400926f0]
test eax, eax
je 0x140011534
sub eax, 1
je 0x140011534
cmp eax, 2
jne 0x140011573
movsx ecx, byte [rsp + 0x60]
mov rdx, qword [rbx + 0x80]
call fcn.1400699e0
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140011578
mov rsi, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
sub rsi, rax
je 0x140011561
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x68]
mov r8, rsi
mov edx, 1
call fcn.14006ac38
cmp rsi, rax
jne 0x140011573
lea rax, [rsp + 0x60]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x58], rax
mov eax, edi
jne 0x140011578
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400625f0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400148c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400149a0
cmp byte [rcx + 0x71], 0
je 0x1400149a0
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [0x1400926f0]
cmp eax, 0xffffffff
je 0x14001499c
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1400926f0]
test eax, eax
je 0x140014962
sub eax, 1
je 0x140014966
cmp eax, 2
jne 0x14001499c
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140014993
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.14006ac38
cmp rdi, rax
jne 0x14001499c
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001494a
xor al, al
jmp 0x14001494a
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0x60
pop rbx
ret
Function at 0x14001ddf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rcx, str.HMODULE_CurrentDll
mov r14, r9
mov rsi, r8
mov rbp, rdx
call sym.Installer.exe_Get
lea rcx, str.HMODULE_AdditionalDll
mov r12, rax
call sym.Installer.exe_Get
lea rcx, str.HMODULE_LangDll
mov r13, rax
call sym.Installer.exe_Get
mov r15, qword [rsp + 0x70]
mov rdi, rax
test r15, r15
je 0x14001df0f
mov dword [r15], 0
test rbp, rbp
je 0x14001df0f
test rsi, rsi
je 0x14001df0f
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14001deb4
mov r8, rsi
mov rdx, rbp
mov rcx, r13
mov rdi, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14001deb4
mov r8, rsi
mov rdx, rbp
mov rcx, r12
mov rdi, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14001df0f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001df0f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x14001df0f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x14001df0f
mov dword [r15], eax
test r14, r14
je 0x14001df0b
mov r8d, eax
xor edx, edx
mov rcx, r14
mov ebx, eax
call fcn.1400659a0
mov r8d, ebx
mov rdx, rsi
mov rcx, r14
call fcn.140065250
mov al, 1
jmp 0x14001df11
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14001e050
Capabilities:
Inspect load icon resource

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
test r8, r8
je 0x14001e0da
lea rcx, str.HMODULE_CurrentDll
mov qword [r8], 0
call sym.Installer.exe_Get
lea rcx, str.HMODULE_AdditionalDll
mov rsi, rax
call sym.Installer.exe_Get
lea rcx, str.HMODULE_LangDll
mov rbp, rax
call sym.Installer.exe_Get
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
test rax, rax
jne 0x14001e0d3
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.USER32.dll_LoadIconW]
test rax, rax
jne 0x14001e0d3
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadIconW]
test rax, rax
je 0x14001e0da
mov qword [rbx], rax
mov al, 1
jmp 0x14001e0dc
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001eeb0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rax]
cmp rbx, rax
je 0x14001ef89
nop word [rax + rax]
cmp qword [rbx + 0x58], 8
mov eax, dword [rbx + 0x50]
lea ecx, [rax*2 + 2]
lea rax, [rbx + 0x40]
jb 0x14001eef8
mov rax, qword [rax]
cmp qword [rbx + 0x38], 8
lea rdx, [rbx + 0x20]
jb 0x14001ef06
mov rdx, qword [rdx]
mov dword [rsp + 0x28], ecx
mov r9d, 1
mov rcx, rsi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14001ef89
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14001ef58
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14001ef53
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x14001ef53
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14001ef40
mov rbx, rax
jmp 0x14001ef7f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x14001ef7f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14001ef70
cmp rbx, qword [rdi + 0x10]
jne 0x14001eee0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14001efa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r12d, r12d
lea rax, [r11 - 0x48]
mov qword [r11 - 0x50], r12
mov r15, rdx
mov qword [r11 - 0x58], r12
mov r14, rcx
mov qword [r11 - 0x60], rax
xor r9d, r9d
lea rax, [r11 - 0x44]
xor r8d, r8d
mov qword [r11 - 0x68], rax
xor edx, edx
mov qword [r11 - 0x70], r12
mov rcx, r15
mov qword [r11 - 0x78], r12
mov qword [r11 - 0x80], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x64]
mov rbx, 0xffffffffffffffff
inc dword [rsp + 0x60]
inc eax
mov ecx, eax
mov dword [rsp + 0x64], eax
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.140062c38
mov ecx, dword [rsp + 0x60]
mov rsi, rax
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.140062c38
mov rbp, rax
mov ebx, r12d
nop dword [rax + rax]
mov ecx, dword [rsp + 0x64]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x6c]
mov dword [rsp + 0x6c], ecx
mov r8, rsi
mov ecx, dword [rsp + 0x60]
mov edx, ebx
mov dword [rsp + 0x68], ecx
mov rcx, r15
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test eax, eax
jne 0x14001f0b8
mov rcx, qword [r14]
mov r8, rbp
mov rdx, rsi
mov rax, qword [rcx + 0x20]
mov rcx, r14
call qword [0x1400926f0]
inc ebx
test edi, edi
je 0x14001f060
mov rcx, rsi
call fcn.140062610
mov rcx, rbp
call fcn.140062610
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0x80]
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 0x140021950
Capabilities:
Decode data using base64 via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r14
sub rsp, 0x58
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r12d, r12d
lea rsi, [rcx + 0x3a]
mov word [rsi], r12w
mov r14, rcx
mov ebp, r12d
test rdx, rdx
je 0x140021ad2
mov qword [r11 + 0x18], rbx
mov rbx, 0xffffffffffffffff
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x28], r15
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x1400219a0
lea r8, [rdx + 2]
add rcx, 0x43a
mov edx, 0x200
call fcn.14006e2a0
sub ebx, 1
je 0x140021a0c
mov r9d, 0x2f
mov r8d, ebx
lea rdx, [r14 + 0x43a]
lea r10d, [r9 + 0xe]
lea r11d, [r9 - 4]
nop dword [rax + rax]
movzx ecx, word [rdx]
sub ecx, 0x2d
je 0x1400219fe
sub ecx, 1
je 0x1400219f8
cmp ecx, 0x31
jne 0x140021a02
mov word [rdx], r9w
jmp 0x140021a02
mov word [rdx], r10w
jmp 0x140021a02
mov word [rdx], r11w
add rdx, 2
sub r8, 1
jne 0x1400219e0
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x40]
lea rdi, [r14 + 0x83a]
mov qword [rsp + 0x28], r12
mov r9, rdi
mov dword [rsp + 0x40], 0x200
mov r8d, 1
mov qword [rsp + 0x20], rax
mov edx, ebx
lea rcx, [r14 + 0x43a]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x90]
test eax, eax
je 0x140021a7e
mov rcx, qword [r14 + 0x30]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rdi
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x140021a88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x140021aca
mov eax, dword [rsp + 0x40]
mov r9, rdi
xor r8d, r8d
mov byte [rax + r14 + 0x83a], bpl
mov edx, dword [rsp + 0x40]
mov rcx, qword [r14 + 0xa40]
inc edx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x28], rsi
mov rax, qword [rcx]
mov dword [rsp + 0x20], edx
mov edx, 0xfde9
mov rax, qword [rax + 0x48]
call qword [0x1400926f0]
mov rdi, qword [rsp + 0x98]
test ebp, ebp
cmovne rsi, r12
mov rax, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0x58
pop r14
pop r12
pop rsi
pop rbp
ret
Function at 0x1400242f0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, rcx
mov r13, r8
lea rcx, str.int_x86
call sym.Installer.exe_Get
xor ebx, ebx
lea rdx, str.Software
xor r8d, r8d
mov qword [rbp - 0x11], rbx
test eax, eax
mov rcx, 0xffffffff80000002
lea rax, [rbp - 0x11]
mov r9d, 0xf013f
mov qword [rsp + 0x20], rax
je 0x140024355
mov r9d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov qword [rsp + 0xe8], rsi
mov r12d, eax
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xa0], r14
test eax, eax
jne 0x14002453b
mov rcx, qword [rbp - 0x11]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov dword [rbp - 9], ebx
mov dword [rbp - 0x19], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp - 0x19]
mov rsi, 0xffffffffffffffff
inc eax
mov ecx, eax
mov dword [rbp - 0x19], eax
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.140062c38
lea r12d, [rsi + 0x20]
mov rdi, rax
mov r14d, ebx
cmp dword [rbp - 9], ebx
jle 0x140024533
nop
mov r9d, dword [rbp - 0x19]
mov r8, rdi
mov word [rdi], bx
mov edx, r14d
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x140024533
mov r8, rdi
mov rdx, r13
call fcn.1400232f0
test eax, eax
je 0x1400244ea
mov qword [rbp - 1], rbx
mov r8, rsi
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], 7
inc r8
cmp word [rdi + r8*2], 0
jne 0x140024445
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.14001c900
cmp qword [r15 + 0xb8], 0
mov rsi, qword [rbp + 0x17]
mov rbx, qword [rbp - 1]
je 0x1400244f9
lea r9, [r15 + 0xa8]
cmp qword [r9 + 0x18], 8
mov rax, qword [r9 + 0x10]
jb 0x140024487
mov r9, qword [r9]
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp - 1]
cmp rsi, 8
mov qword [rsp + 0x20], rax
cmovae rcx, rbx
call fcn.140024590
cmp rax, 0xffffffffffffffff
je 0x1400244f9
cmp rsi, 8
jb 0x1400244e1
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400244d9
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, r12
ja 0x140024581
mov rcx, rbx
call fcn.140062610
mov rsi, 0xffffffffffffffff
xor ebx, ebx
inc r14d
cmp r14d, dword [rbp - 9]
jl 0x140024400
jmp 0x140024533
xor r12d, r12d
cmp rsi, 8
jb 0x140024533
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002452b
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024581
mov rcx, rbx
call fcn.140062610
mov rcx, rdi
call fcn.140062610
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14002454a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0xa0]
mov eax, r12d
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xe8]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0xb0
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
call fcn.1400695b8
int3
Function at 0x14002a6c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
lea rcx, str.RunShellExecuteEx_begin_n
call fcn.14005cb30
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov dword [rbp - 0x49], 0x70
mov dword [rbp - 0x45], 0x40
xor edi, edi
mov qword [rbp - 0x39], rdi
mov rax, qword [rbx + 0x70]
mov qword [rbp - 0x31], rax
mov rax, qword [rbx + 0x78]
mov qword [rbp - 0x29], rax
mov rax, qword [rbx + 0x80]
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x19], 8
lea rcx, [rbp - 0x49]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14002a89a
mov r9, qword [rbx + 0x80]
mov r8, qword [rbx + 0x78]
mov rdx, qword [rbx + 0x70]
lea rcx, str.Sucesfully_Started__s__s_in__s_n
call fcn.14005cb30
cmp qword [rbx + 0xb0], rdi
je 0x14002a875
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], 0xf
mov byte [rbp + 0x27], dil
lea r8d, [rdi + 4]
lea rdx, str.int_
lea rcx, [rbp + 0x27]
call fcn.14001d830
nop
lea rdx, [rbx + 0xa0]
cmp qword [rdx + 0x18], 8
jb 0x14002a7bd
mov rdx, qword [rdx]
lea rcx, [rbp - 0x69]
call fcn.14005a4e0
nop
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rdx, qword [rbp - 0x69]
mov r8, qword [rbp - 0x59]
lea rcx, [rbp + 0x27]
call fcn.14001d4c0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x14002a81e
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a819
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a8e6
call fcn.140062610
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
lea rcx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rcx, qword [rbp + 0x27]
call sym.Installer.exe_Put
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14002a875
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a870
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a8e0
call fcn.140062610
mov edx, dword [rbx + 0x88]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14002a894
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x1f], rdi
jmp 0x14002a8b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rbx + 0x70]
lea rcx, str.Failed_to_run:__s__Error__d_
call fcn.14005cb30
lea rcx, str.RunShellExecuteEx_end_n
call fcn.14005cb30
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400695b8
nop
call fcn.1400695b8
nop
int3
Function at 0x140035b30
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.Executing_CopyFile_command_n
call fcn.14005cb30
mov rdx, qword [rbx + 0x70]
lea rcx, str.Rough_source_file:__s_n
call fcn.14005cb30
mov rdx, qword [rbx + 0x78]
lea rcx, str.Rough_destination_file:__s_n
call fcn.14005cb30
mov rcx, qword [rbx + 0x70]
lea rdx, [rsp + 0x40]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rax
call fcn.14005bc00
mov rcx, qword [rbx + 0x78]
lea rdx, [rsp + 0x58]
call fcn.14005bc00
mov rsi, qword [rsp + 0x40]
test rsi, rsi
jne 0x140035bb5
lea rcx, str.No_variables_to_expand_in_source_file._Using_original_n
call fcn.14005cb30
mov rcx, qword [rbx + 0x70]
call fcn.140069798
mov rsi, rax
mov rdi, qword [rsp + 0x58]
test rdi, rdi
jne 0x140035bd7
lea rcx, str.No_variables_to_expand_in_destination_file._Using_original
call fcn.14005cb30
mov rcx, qword [rbx + 0x78]
call fcn.140069798
mov rdi, rax
mov rcx, rdi
call fcn.140069798
mov rcx, rax
mov rbp, rax
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp byte [rbx + 0x80], 0
je 0x140035bfc
mov rcx, rbx
call fcn.140035f70
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov rcx, rbp
call fcn.140069370
mov r8, rdi
lea rcx, str.Preparing_to_copy_file__s_to__s_n
mov rdx, rsi
call fcn.14005cb30
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140035c3f
lea edx, [rax + 1]
mov rcx, rbx
call fcn.14002fe00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Finished_copying_file:__d_n
call fcn.14005cb30
cmp byte [rbx + 0x80], 0
je 0x140035c91
cmp byte [rbx + 0x81], 0
je 0x140035c91
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
je 0x140035c7d
lea rcx, str.RevertToSelf_Success__n
call fcn.14005cb30
jmp 0x140035c91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.RevertToSelf_failed._Error__d_n
call fcn.14005cb30
mov rcx, rsi
call fcn.140069370
mov rcx, rdi
call fcn.140069370
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret