joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001660
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x20
cmp byte [rcx + 8], 0
mov r12, r9
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18000181d
test r9, r9
je 0x18000181d
movsxd r8, dword [rcx + 0x3d0]
xor edx, edx
mov rax, r9
div r8
test rdx, rdx
jne 0x18000181d
mov ecx, dword [rsp + 0x60]
mov qword [rsp + 0x40], rbp
xor ebp, ebp
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
cmp ecx, 1
jne 0x18000174a
mov r15d, ebp
test rax, rax
je 0x18000180e
lea r14, [rbx + 0x3f8]
mov rax, r14
cmp byte [rbx + 8], bpl
je 0x180001705
mov edx, ebp
test r8d, r8d
jle 0x180001705
mov r8, rsi
sub r8, r14
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
inc edx
xor byte [rax], cl
lea rax, [rax + 1]
cmp edx, dword [rbx + 0x3d0]
jl 0x1800016f0
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.180001830
movsxd r8, dword [rbx + 0x3d0]
mov rdx, rdi
mov rcx, r14
call fcn.1800370c0
movsxd r8, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc r15d
div r8
add rsi, r8
mov ecx, r15d
add rdi, r8
cmp rcx, rax
jb 0x1800016d5
jmp 0x18000180e
cmp ecx, 2
jne 0x1800017dd
mov r14d, ebp
test rax, rax
je 0x18000180e
nop
mov r8, rdi
lea rdx, [rbx + 0x3f8]
mov rcx, rbx
call fcn.180001830
mov rcx, rdi
cmp byte [rbx + 8], bpl
je 0x1800017a5
mov edx, ebp
cmp dword [rbx + 0x3d0], edx
jle 0x1800017a5
mov r8, rsi
sub r8, rdi
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
inc edx
xor byte [rcx], al
lea rcx, [rcx + 1]
cmp edx, dword [rbx + 0x3d0]
jl 0x180001790
movsxd r8, dword [rbx + 0x3d0]
lea rcx, [rbx + 0x3f8]
mov rdx, rdi
call fcn.1800370c0
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc r14d
div rcx
add rsi, rcx
add rdi, rcx
mov ecx, r14d
cmp rcx, rax
jb 0x180001760
jmp 0x18000180e
test rax, rax
je 0x18000180e
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.180001830
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc ebp
div rcx
add rsi, rcx
add rdi, rcx
mov ecx, ebp
cmp rcx, rax
jb 0x1800017e2
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x180002a10
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov qword [rax - 0x58], 0xfffffffffffffffe
mov rbp, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov dword [rax - 0x64], edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
mov dword [rax - 0x64], 1
mov ecx, 0x208
call fcn.1800198c4
mov r12, rax
movzx eax, di
mov rdi, r12
mov ecx, 0x104
rep stosw word [rdi], ax
mov r13d, 0x20019
nop dword [rax]
nop word [rax + rax]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r15d, eax
test eax, eax
jne 0x180002c5e
mov dword [rsp + 0x30], 0x104
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor edi, edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test eax, eax
jne 0x180002c53
cmp dword [rsp + 0x30], 0x104
jbe 0x180002b37
mov rcx, r12
call fcn.1800191d4
mov ecx, dword [rsp + 0x30]
inc ecx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800198c4
mov r12, rax
mov ecx, dword [rsp + 0x30]
add ecx, 1
je 0x180002b37
movzx eax, di
mov rdi, r12
rep stosw word [rdi], ax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
mov r14d, dword [rsp + 0x30]
mov rsi, qword [rbx + 0x18]
cmp r14, rsi
ja 0x180002b98
mov rbp, rbx
cmp rsi, 8
jb 0x180002b77
mov rbp, qword [rbx]
mov qword [rbx + 0x10], r14
lea rdi, [r14 + r14]
mov r8, rdi
mov rdx, r12
mov rcx, rbp
call fcn.1800370c0
xor eax, eax
mov word [rdi + rbp], ax
jmp 0x180002c33
mov rdi, r14
or rdi, 7
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x180002bbf
mov rdi, rdx
jmp 0x180002bca
lea rax, [rcx + rsi]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.180002780
mov rbp, rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], rdi
lea rdi, [r14 + r14]
mov r8, rdi
mov rdx, r12
mov rcx, rax
call fcn.1800370c0
xor eax, eax
mov word [rdi + rbp], ax
cmp rsi, 8
jb 0x180002c30
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180002c2b
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180002c95
mov rcx, rdi
call fcn.1800191d4
mov qword [rbx], rbp
mov rcx, r12
call fcn.1800191d4
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp r15d, 2
jne 0x180002c81
cmp rsi, 0xffffffff80000002
jne 0x180002c81
cmp r13d, 0x20019
jne 0x180002c81
mov r13d, 0x20219
jmp 0x180002a90
mov rax, rbx
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18003abf4
int3
Function at 0x180003170
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
xor bl, bl
xor ebp, ebp
mov r12, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], rbp
je 0x1800032ef
cmp qword [rdx + 0x10], rbp
je 0x1800032ef
cmp qword [rdx + 0x18], 0x10
mov rcx, rdx
mov qword [rsp + 0x80], r15
jb 0x1800031b1
mov rcx, qword [rdx]
lea rdx, [rsp + 0x70]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov r15d, eax
test eax, eax
je 0x1800032ea
mov ecx, r15d
mov qword [rsp + 0x78], r14
lea rdx, [0x18008b08c]
call fcn.1800199f4
mov r14, rax
test rax, rax
je 0x1800032cf
cmp qword [rdi + 0x18], 0x10
jb 0x1800031f0
mov rdi, qword [rdi]
mov edx, dword [rsp + 0x70]
mov r9, r14
mov r8d, r15d
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1800032ba
lea r9, [rsp + 0x88]
mov rcx, r14
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1800032ba
mov rax, qword [rsp + 0x30]
lea rdx, [0x18008b08c]
mov ecx, 0x80
movzx edi, word [rax]
movzx eax, word [rax + 2]
shl edi, 0x10
or edi, eax
call fcn.1800199f4
mov rbp, rax
test rax, rax
je 0x1800032ba
cmp qword [rsi + 0x18], 0x10
jb 0x180003262
mov rsi, qword [rsi]
mov r9d, edi
mov qword [rsp + 0x20], rsi
lea r8, str.StringFileInfo_08lx_s
mov edx, 0x80
mov rcx, rbp
call fcn.1800033a0
lea r9, [rsp + 0x88]
mov rdx, rbp
lea r8, [rsp + 0x38]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1800032b8
mov rdx, qword [rsp + 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800032a6
mov rcx, r12
call fcn.180002200
mov bl, 1
mov rcx, r14
call fcn.1800191d4
test rbp, rbp
je 0x1800032cf
mov rcx, rbp
call fcn.1800191d4
mov r14, qword [rsp + 0x78]
movzx eax, bl
mov r15, qword [rsp + 0x80]
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx eax, bl
jmp 0x1800032d7
movzx eax, bl
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180004a30
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rdi, 0xffffffffffffffff
mov r13, rdx
mov rbx, rdi
mov rsi, rcx
xor bpl, bpl
nop
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x180004a50
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004a71
mov al, 1
add rsp, 0x20
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x50], r12
mov eax, 2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r15
lea r15, [rbx + 1]
mul r15
cmovo rax, rdi
mov rcx, rax
call fcn.1800198c4
xor r12d, r12d
mov r14, rax
test r15, r15
je 0x180004ab0
movzx eax, r12w
mov rdi, r14
mov rcx, r15
rep stosw word [rdi], ax
mov r8, rsi
mov rdx, r15
mov rcx, r14
call fcn.18003af2c
mov r15, qword [rsp + 0x68]
mov rdi, r12
nop word [rax + rax]
movzx esi, word [r14 + rdi*2]
cmp si, 0x5c
je 0x180004ae1
cmp si, 0x2f
jne 0x180004b23
mov rcx, r14
mov word [r14 + rdi*2], r12w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004b1e
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x180004b2d
mov rcx, qword [r13 + 0x38]
mov bpl, 1
test rcx, rcx
je 0x180004b1e
mov qword [rsp + 0x60], r14
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov word [r14 + rdi*2], si
inc rdi
cmp rdi, rbx
jbe 0x180004ad0
jmp 0x180004b30
xor bpl, bpl
mov rcx, r14
call fcn.1800191d4
mov r14, qword [rsp + 0x58]
movzx eax, bpl
mov r12, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180004c50
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0x250], rax
movzx ebx, r8b
mov qword [rsp + 0x30], rcx
mov edi, edx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180037b90
mov edx, edi
lea rax, [rsp + 0x40]
bts edx, 0xf
mov qword [rsp + 0x20], rax
test bl, bl
cmove edx, edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsi + 0x18], 7
test eax, eax
je 0x180004cce
xor eax, eax
mov qword [rsi + 0x10], rax
mov word [rsi], ax
jmp 0x180004cfb
xor eax, eax
mov r8, 0xffffffffffffffff
mov qword [rsi + 0x10], rax
mov word [rsi], ax
lea rax, [rsp + 0x40]
inc r8
cmp word [rax + r8*2], 0
jne 0x180004ce3
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180002d10
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180019960
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180004d30
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x180], rbx
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r12d, r9d
movzx r13d, r8b
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rsp + 0x74]
call fcn.180037b90
mov dword [rsp + 0x70], 0x68
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
movdqa xmm0, xmmword [0x180063b30]
movdqu xmmword [rbp - 0x10], xmm0
xor r15d, r15d
mov word [rbp - 0x20], r15w
mov qword [rbp + 0x10], r15
mov r14d, 7
mov qword [rbp + 0x18], r14
mov word [rbp], r15w
lea rbx, [rax - 1]
test rsi, rsi
je 0x180004e63
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x180004dd5
mov rdx, rsi
lea rcx, [rbp]
call fcn.180002d10
mov rsi, qword [rbp + 0x10]
test rsi, rsi
je 0x180004e5f
mov r8d, 1
lea rdx, [0x180063cdc]
lea rcx, [rbp - 0x20]
call fcn.180002d10
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x180004e10
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1800027f0
mov r8d, 2
lea rdx, [0x180063ce0]
lea rcx, [rbp - 0x20]
call fcn.1800027f0
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, rsi
lea rcx, [rbp - 0x20]
call fcn.1800027f0
mov r14, qword [rbp + 0x18]
jmp 0x180004e7c
mov r14, qword [rbp + 0x18]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x180004e63
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.180002d10
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180004ecf
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180004f07
test r13b, r13b
je 0x180004eeb
mov edx, 0xffffffff
test r12d, r12d
cmovg edx, r12d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, 1
cmp r14, 8
jb 0x180004f40
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004f3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004fac
call fcn.1800191d4
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x180004f7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004f77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004fa6
call fcn.1800191d4
mov eax, r15d
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180019960
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18003abf4
nop
call fcn.18003abf4
nop
int3
Function at 0x180004fc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x238
call fcn.180037b90
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000505f
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x180005056
nop word [rax + rax]
lea rdx, str.EXPLORER.EXE
lea rcx, [rsp + 0x5c]
call fcn.180042400
mov rcx, rbx
test eax, eax
je 0x18000508d
lea rdx, [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x180005030
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, rdi
call fcn.180005340
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180019960
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x38]
jmp 0x180005061
Function at 0x180006e10
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
test rdx, rdx
jne 0x180006e57
xor al, al
jmp 0x180007055
xor r13d, r13d
cmp qword [rcx + 0x18], r13
ja 0x180006edb
lea rcx, [rbp - 0x19]
call fcn.1800050a0
mov rbx, rax
lea rdi, [r15 + 8]
cmp rdi, rax
je 0x180006e9b
mov rcx, rdi
call fcn.180002ca0
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x180006edb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ed6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000707b
call fcn.1800191d4
lea rdi, [r15 + 8]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov r15, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x180006ef5
mov rdi, qword [rdi]
cmp r15, 8
jae 0x180006f0c
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], 7
jmp 0x180006f4c
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x39]
call fcn.180002780
mov qword [rbp - 0x39], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.1800370c0
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x29], r15
mov r8d, 0xa
lea rdx, str.Software_
lea rcx, [rbp - 0x39]
call fcn.1800027f0
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [r14 + r8*2], 0
jne 0x180006f70
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.1800027f0
test rsi, rsi
je 0x180006fbb
mov r8d, 1
lea rdx, [0x180063ac0]
lea rcx, [rbp - 0x39]
call fcn.1800027f0
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x180006fa2
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.1800027f0
mov qword [rbp - 0x49], r13
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180007017
mov rcx, qword [rbp - 0x49]
test r12, r12
je 0x180007004
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x18000700c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x180007053
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000704e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007075
call fcn.1800191d4
mov al, 1
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.180019960
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18003abf4
int3
call fcn.18003abf4
int3
Function at 0x180013070
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x1800130b4
call fcn.1800476e8
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18000fc20
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.1800461fc
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x1800131da
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18000fc20
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18000fc20
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18001317c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013177
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001325b
call fcn.1800191d4
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800131d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800131cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001324f
call fcn.1800191d4
sub ebx, 1
jns 0x1800130f0
mov rcx, rdi
call fcn.180012740
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x18001322a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013225
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013255
call fcn.1800191d4
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180019960
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18003abf4
nop
call fcn.18003abf4
nop
call fcn.18003abf4
int3
Function at 0x180013270
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x1800132b4
call fcn.1800476e8
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18000fc20
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.1800461fc
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x1800133da
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18000fc20
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18000fc20
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18001337c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013377
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001345b
call fcn.1800191d4
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800133d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800133cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001344f
call fcn.1800191d4
sub ebx, 1
jns 0x1800132f0
mov rcx, rdi
call fcn.1800129a0
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x18001342a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013425
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013455
call fcn.1800191d4
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180019960
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18003abf4
nop
call fcn.18003abf4
nop
call fcn.18003abf4
int3
Function at 0x1800143e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1800880c8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r14d, dword [rsp + 0x110]
mov rbp, rcx
mov rcx, rdx
mov edi, r9d
mov ebx, r8d
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18001442b
mov eax, 2
jmp 0x18001451c
mov rdx, rbp
lea rcx, [rsp + 0x90]
call fcn.180014120
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call fcn.180037b90
test r14d, r14d
mov dword [rsp + 0x20], 0x70
lea rcx, str.runas
mov qword [rsp + 0x38], rsi
lea rax, str.open
mov dword [rsp + 0x24], 0x40
cmovne rax, rcx
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0xa8], 8
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
cmovae rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x88]
mov esi, eax
test rcx, rcx
je 0x1800144d6
test ebx, ebx
je 0x1800144d6
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0xa8]
cmp rdx, 8
jb 0x18001451a
mov rcx, qword [rsp + 0x90]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014515
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001453a
call fcn.1800191d4
mov eax, esi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180019960
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18003abf4
int3