joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023974
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400239fb
mov rsi, rbx
cmp word [rax], bp
je 0x1400239ba
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400239a4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400239a0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400204fc
mov rdi, rax
test rax, rax
je 0x1400239e8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140029410
mov rbp, rdi
xor ecx, ecx
call fcn.14001cd3c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140026624
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14001c708
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400266c5
cmp ebx, dword [rsp + 0x30]
je 0x1400266be
test esi, esi
je 0x1400266be
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140026699
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400266a6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140026683
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400266aa
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400266c7
mov eax, 1
jmp 0x1400266c7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140028e04
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140020298
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140020298
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028f54
cmp rax, 0xffffffffffffffff
je 0x140028f54
xor edi, edi
test rbp, rbp
jle 0x140028eff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001cddc
mov rbx, rax
test rax, rax
jne 0x140028e8c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028ef5
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a7d8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001e9e8
cmp eax, 0xffffffff
je 0x140028ed5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028e9c
mov edx, r15d
mov ecx, r14d
call fcn.14001a7d8
jmp 0x140028ef5
cmp byte [rsi + 0x38], dil
je 0x140028eec
cmp dword [rsi + 0x34], 5
jne 0x140028eec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028ef5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001cd3c
jmp 0x140028f68
jns 0x140028f68
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140020298
cmp rax, 0xffffffffffffffff
jne 0x140028f20
cmp byte [rsi + 0x30], dil
je 0x140028f68
mov edi, dword [rsi + 0x2c]
jmp 0x140028f68
mov ecx, r14d
call fcn.1400240d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028f68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028f68
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028f61
mov eax, dword [rsi + 0x2c]
jmp 0x140028f66
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140020298
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029170
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029198
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029198
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
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.180036940
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.180036940
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.180019144
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.180018a54
mov ecx, dword [rsp + 0x30]
inc ecx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180019144
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.180036940
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.180036940
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.180018a54
mov qword [rbx], rbp
mov rcx, r12
call fcn.180018a54
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.18003a474
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, [0x18008b0fc]
call fcn.180019274
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, [0x18008b0fc]
mov ecx, 0x80
movzx edi, word [rax]
movzx eax, word [rax + 2]
shl edi, 0x10
or edi, eax
call fcn.180019274
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.180018a54
test rbp, rbp
je 0x1800032cf
mov rcx, rbp
call fcn.180018a54
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.180019144
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.18003a7ac
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.180018a54
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 [0x1800880b8]
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.180037410
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.1800191e0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180004d30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1800880b8]
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.180037410
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180004dcf
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x180004dc6
nop word [rax + rax]
lea rdx, str.EXPLORER.EXE
lea rcx, [rsp + 0x5c]
call fcn.180041c80
mov rcx, rbx
test eax, eax
je 0x180004dfd
lea rdx, [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x180004da0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, rdi
call fcn.1800050b0
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800191e0
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x38]
jmp 0x180004dd1
Function at 0x180006be0
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 [0x1800880b8]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
test rdx, rdx
jne 0x180006c27
xor al, al
jmp 0x180006e25
xor r13d, r13d
cmp qword [rcx + 0x18], r13
ja 0x180006cab
lea rcx, [rbp - 0x19]
call fcn.180004e10
mov rbx, rax
lea rdi, [r15 + 8]
cmp rdi, rax
je 0x180006c6b
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 0x180006cab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ca6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006e4b
call fcn.180018a54
lea rdi, [r15 + 8]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov r15, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x180006cc5
mov rdi, qword [rdi]
cmp r15, 8
jae 0x180006cdc
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], 7
jmp 0x180006d1c
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.180036940
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 0x180006d40
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.1800027f0
test rsi, rsi
je 0x180006d8b
mov r8d, 1
lea rdx, [0x180063a30]
lea rcx, [rbp - 0x39]
call fcn.1800027f0
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x180006d72
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 0x180006de7
mov rcx, qword [rbp - 0x49]
test r12, r12
je 0x180006dd4
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x180006ddc
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 0x180006e23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006e1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006e45
call fcn.180018a54
mov al, 1
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800191e0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18003a474
int3
call fcn.18003a474
int3
Function at 0x180013160
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 [0x1800880b8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x1800131a4
call fcn.180046f68
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18000fd10
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.180045a7c
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x1800132ca
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18000fd10
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18000fd10
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 0x18001326c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013267
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001334b
call fcn.180018a54
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800132c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800132bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001333f
call fcn.180018a54
sub ebx, 1
jns 0x1800131e0
mov rcx, rdi
call fcn.180012830
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x18001331a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013345
call fcn.180018a54
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800191e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18003a474
nop
call fcn.18003a474
nop
call fcn.18003a474
int3
Function at 0x180013360
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 [0x1800880b8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x1800133a4
call fcn.180046f68
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18000fd10
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.180045a7c
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x1800134ca
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18000fd10
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18000fd10
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 0x18001346c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013467
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001354b
call fcn.180018a54
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800134c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800134bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001353f
call fcn.180018a54
sub ebx, 1
jns 0x1800133e0
mov rcx, rdi
call fcn.180012a90
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x18001351a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013515
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013545
call fcn.180018a54
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800191e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18003a474
nop
call fcn.18003a474
nop
call fcn.18003a474
int3