joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019a10
Capabilities:
Create pipe
Create process on windows
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1310
call fcn.1401aa6a0
sub rsp, rax
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x1300], rax
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x10f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], 0x14
mov r9d, 0xff
mov r8d, 6
mov edx, 3
lea rcx, [0x14027c880]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [0x1402d4bc8], rax
lea rax, [rsp + 0x10f0]
mov qword [rsp + 0x60], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
lea rax, [rsp + 0x1070]
mov rdi, rax
xor eax, eax
mov ecx, MsiRecordIsNull
rep stosb byte [rdi], al
mov dword [rsp + 0x1070], 0x70
lea rax, [rsp + 0x10f0]
mov qword [rsp + 0x1088], rax
mov rcx, qword [rsp + 0x1320]
call fcn.140017de0
mov qword [rsp + 0x1090], rax
lea rax, str.runas
mov qword [rsp + 0x1080], rax
mov dword [rsp + 0x1074], 0x40
mov dword [rsp + 0x10a0], 0
lea rcx, [rsp + 0x1070]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140019b6c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x1320]
call fcn.140023a10
mov eax, dword [rsp + 0x44]
jmp 0x140019c49
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x10e4], 0
mov dword [rsp + 0x10e0], 0xffffffff
lea rax, [rsp + 0x10e4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140019970]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x50], rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x10d8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [rsp + 0x10d8], 0xffffffffffffffff
je 0x140019c1a
lea rdx, [rsp + 0x10e0]
mov rcx, qword [rsp + 0x10d8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x10d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x10e0], 0
je 0x140019c1a
cmp qword [0x1402d4bd0], 0
je 0x140019c1a
mov rcx, qword [0x1402d4bd0]
call fcn.14001d070
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x140019c2d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x10e0]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x1320]
call fcn.140023a10
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x1300]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x1310
pop rdi
ret
Function at 0x14001b620
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x280], 0
jne 0x14001b650
xor al, al
jmp 0x14001b786
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14001b669
mov al, 1
jmp 0x14001b786
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
inc qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
cmp word [rax + rcx*2], 0
jne 0x14001b67f
mov rax, qword [rsp + 0x28]
cmp rax, 0x104
jb 0x14001b6a9
xor al, al
jmp 0x14001b786
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x50]
call fcn.14002cbd0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x14001b6ce
mov rax, qword [rsp + 0x30]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
dec eax
cdqe
mov rcx, qword [rsp + 0x280]
movzx eax, word [rcx + rax*2]
cmp eax, 0x2f
je 0x14001b71f
mov eax, dword [rsp + 0x24]
dec eax
cdqe
mov rcx, qword [rsp + 0x280]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
jne 0x14001b72e
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14001b748
xor al, al
jmp 0x14001b786
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14001b761
lea rcx, [rsp + 0x50]
call fcn.14001b620
xor edx, edx
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14001b77c
mov byte [rsp + 0x20], 1
jmp 0x14001b781
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x278
ret
Function at 0x14001bb70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
cmp qword [0x1402d4bd0], 0
je 0x14001bd18
lea rdx, [rsp + 0x70]
mov rcx, qword [0x1402d4bd0]
call fcn.14001c1a0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140017de0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 2
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x70]
call fcn.140023a10
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14001bc71
lea rdx, [rsp + 0x90]
mov rcx, qword [0x1402d4bd0]
call fcn.14001c1a0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140017de0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 2
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x90]
call fcn.140023a10
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x14001bd18
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xb8]
call fcn.140017fc0
lea rcx, [rsp + 0xb8]
call fcn.140023520
shl rax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xb8]
call fcn.140017de0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb0]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0xb8]
call fcn.140023a10
movzx eax, byte [rsp + 0x40]
jmp 0x14001bd1a
xor al, al
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0xe8
ret
Function at 0x14001c600
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x26
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140017fc0
nop
lea rdx, [0x14027cd08]
lea rcx, [rsp + 0x28]
call fcn.140023920
lea rdx, str.Setup.log
lea rcx, [rsp + 0x48]
call fcn.140017fc0
nop
mov rax, qword [rsp + 0x2a0]
add rax, 0x50
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14001b060
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001c6cc
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x48]
call fcn.140023a10
nop
lea rcx, [rsp + 0x28]
call fcn.140023a10
movzx eax, byte [rsp + 0x21]
jmp 0x14001c766
lea rcx, [rsp + 0x28]
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14001c710
lea rcx, [rsp + 0x28]
call fcn.140017de0
mov rcx, rax
call fcn.14001b620
movzx eax, al
test eax, eax
jne 0x14001c710
mov rax, qword [rsp + 0x2a0]
mov byte [rax + 0xd1], 0
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x2a0]
add rax, 0x50
mov rcx, rax
call fcn.140017de0
mov rcx, rax
call fcn.14001b7a0
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x2a0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0xd1], cl
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x48]
call fcn.140023a10
nop
lea rcx, [rsp + 0x28]
call fcn.140023a10
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x290
pop rdi
ret

Function at 0x14001c780
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, [0x14027ab1c]
lea rcx, [rsp + 0x48]
call fcn.140017fc0
nop
lea rdx, [0x14027ab34]
lea rcx, [rsp + 0x28]
call fcn.140017fc0
nop
mov rax, qword [rsp + 0x80]
add rax, 0x30
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14001b060
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
cmp eax, 1
jne 0x14001c84a
lea rcx, [rsp + 0x28]
call fcn.1400234e0
movzx eax, al
test eax, eax
je 0x14001c814
mov rax, qword [rsp + 0x80]
add rax, 0x30
lea rdx, str.ConfigInstallManager.cfg
mov rcx, rax
call fcn.140023920
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov rcx, rax
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001c83c
mov byte [rsp + 0x21], 1
jmp 0x14001c841
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x28]
call fcn.140023a10
nop
lea rcx, [rsp + 0x48]
call fcn.140023a10
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x78
ret
Function at 0x14001ca30
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
movzx eax, byte [rax]
cmp eax, 1
jne 0x14001caa1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.1400234e0
movzx eax, al
cmp eax, 1
jne 0x14001ca81
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
add rax, 0x10
mov rcx, rax
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x14001caa3
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
add rax, 0x10
mov rcx, rax
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x14001caa3
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001cb40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edx, 0x10
lea rcx, [rsp + 0x80]
call fcn.140017b40
lea rdx, [0x1402d4be0]
lea rcx, [rsp + 0x80]
call fcn.140022cd0
nop
mov dword [rsp + 0x78], 0
cmp qword [0x1402d4bd0], 0
je 0x14001cc6b
mov rcx, qword [0x1402d4bd0]
call fcn.14001d060
and eax, 0x1000
test eax, eax
jne 0x14001cc56
movzx eax, byte [0x1402d4bc0]
cmp eax, 1
jne 0x14001cc56
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
call fcn.140018e70
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14001ae50
lea rcx, [rsp + 0x90]
call fcn.140023520
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x90]
call fcn.140023d40
mov qword [rsp + 0x48], rax
mov rax, qword [0x1402d4bc8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x90]
call fcn.140023f20
mov rdx, qword [rsp + 0xd0]
lea rcx, [0x1402d34a0]
call fcn.14002c8c0
nop
lea rcx, [rsp + 0x80]
call fcn.140022ca0
nop
mov rcx, qword [rsp + 0xd0]
call fcn.140023a10
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0xc8
ret
Function at 0x14001cca0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
mov qword [rsp + 0x20], r9
sub rsp, 0x128
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0xf8]
call fcn.140023bd0
nop
lea rax, [rsp + 0x148]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x140]
call fcn.140014810
inc eax
mov dword [rsp + 0x34], eax
mov qword [rsp + 0xd8], 0
mov edx, 0x18
lea rcx, [rsp + 0xe0]
call fcn.140017b40
lea rcx, [rsp + 0x30]
call fcn.140014f30
movsxd rcx, dword [rsp + 0x34]
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xe0]
call fcn.1400213f0
nop
lea rax, [rsp + 0x148]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x38], rax
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.1400213a0
mov qword [rsp + 0x40], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x140]
mov r8, 0xffffffffffffffff
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400146e0
mov qword [rsp + 0xd8], 0
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.1400213a0
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.140023980
cmp qword [0x1402d4bd0], 0
je 0x14001cebe
mov rcx, qword [0x1402d4bd0]
call fcn.14001c1f0
movzx eax, al
cmp eax, 1
jne 0x14001ce8d
lea rcx, [rsp + 0xf8]
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rdx, str._t_t_t_t_t_t_t_t_r
mov rcx, qword [rsp + 0x48]
call fcn.140017fc0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.14001cb40
lea rax, [rsp + 0x98]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x58]
call fcn.140018e70
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14001cb40
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x68], rax
lea rdx, [0x14027ab7c]
mov rcx, qword [rsp + 0x68]
call fcn.140017fc0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14001cb40
mov rcx, qword [0x1402d4bd0]
call fcn.14001c210
movzx eax, al
cmp eax, 1
jne 0x14001cebe
lea rcx, [rsp + 0xf8]
call fcn.140017de0
mov rdx, rax
lea rcx, [0x14027cda0]
call fcn.14001b8a0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400213d0
nop
lea rcx, [rsp + 0xf8]
call fcn.140023a10
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x128
ret
Function at 0x14001d8a0
Capabilities:
Set registry value

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001d9d3
movzx eax, byte [rsp + 0xc8]
test eax, eax
je 0x14001d964
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14001d9bb
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x50], 1
jmp 0x14001daf4
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001daf4
movzx eax, byte [rsp + 0xc8]
test eax, eax
je 0x14001da84
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14001dae1
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x50], 1
movzx eax, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0xa8
ret
Function at 0x14001f1c0
Capabilities:
Create process on windows

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x34], 1
lea rcx, [rsp + 0x98]
call fcn.140023bd0
nop
lea rcx, [rsp + 0x78]
call fcn.14001f0c0
nop
lea rcx, [rsp + 0x78]
call fcn.1400234e0
movzx eax, al
test eax, eax
jne 0x14001f310
mov edx, 0xf8
lea rcx, [rsp + 0xc0]
call fcn.140017b40
mov edx, 1
lea rcx, [rsp + 0xc0]
call fcn.140022120
nop
lea rax, [rsp + 0xd0]
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14002c8c0
lea rdx, [0x14027ac74]
mov rcx, rax
call fcn.14002bf30
lea rdx, str.AMDSoftwareInstaller.exe
mov rcx, rax
call fcn.14002bf30
movzx eax, byte [rsp + 0x1e8]
test eax, eax
je 0x14001f286
mov dword [rsp + 0x30], 1
jmp 0x14001f28e
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x1e0]
add rax, 0x90
mov rcx, rax
call fcn.140017de0
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xc0]
call fcn.140021f40
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140017de0
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x58]
call fcn.140023a10
nop
lea rcx, [rsp + 0xc0]
call fcn.140019440
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x78]
call fcn.140023a10
nop
lea rcx, [rsp + 0x98]
call fcn.140023a10
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x1d8
ret
Function at 0x140020080
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400200b4
xor eax, eax
jmp 0x1400202aa
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400200e5
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140022e60
jmp 0x1400202aa
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.140026a40
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140020193
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140018670
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.140026c10
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140028300
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.140026ed0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x14002029a
mov rcx, qword [rsp + 0x80]
call fcn.140025b00
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x140020248
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1401e3844
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140020243
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400202aa
jmp 0x1400201bf
cmp qword [rsp + 0x50], 0
jbe 0x14002029a
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1401e3844
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x78
ret