joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089030
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, r8
mov rsi, rdx
xor ebp, ebp
mov qword [rsp + 0x20], rbp
mov rdx, r8
lea rcx, [rsp + 0x20]
call fcn.14003f460
nop
mov rcx, qword [rsp + 0x20]
movsxd rbx, dword [rcx - 0x10]
test ebx, ebx
js 0x140089225
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, ebx
or eax, edx
jge 0x140089099
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140005a20
mov rcx, qword [rsp + 0x20]
lea eax, [rbx + 1]
movsxd rdx, eax
call fcn.140115da0
mov rax, qword [rsp + 0x20]
cmp ebx, dword [rax - 0xc]
jg 0x140089225
mov dword [rax - 0x10], ebx
mov rax, qword [rsp + 0x20]
mov word [rax + rbx*2], bp
mov rax, qword [rsp + 0x20]
cmp dword [rax - 0x10], 0
jl 0x1400891e9
lea rdx, str.lasso
mov rcx, rax
call fcn.140100b40
mov rcx, rax
test rax, rax
mov rax, qword [rsp + 0x20]
je 0x1400890f8
sub rcx, rax
sar rcx, 1
cmp ecx, 0xffffffff
jne 0x1400891bd
cmp dword [rax - 0x10], 0
jl 0x1400891e9
lea rdx, [0x14014b4b8]
mov rcx, rax
call fcn.140100b40
mov rcx, rax
test rax, rax
mov rax, qword [rsp + 0x20]
je 0x14008912d
sub rcx, rax
sar rcx, 1
cmp ecx, 0xffffffff
jne 0x1400891bd
cmp dword [rax - 0x10], 0
jl 0x1400891e9
lea rdx, str.park
mov rcx, rax
call fcn.140100b40
mov rcx, rax
test rax, rax
mov rax, qword [rsp + 0x20]
je 0x14008915e
sub rcx, rax
sar rcx, 1
cmp ecx, 0xffffffff
jne 0x1400891bd
cmp dword [rax - 0x10], 0
jl 0x1400891e9
lea rdx, str.bitsum
mov rcx, rax
call fcn.140100b40
mov rcx, rax
test rax, rax
mov rax, qword [rsp + 0x20]
je 0x14008918f
sub rcx, rax
sar rcx, 1
cmp ecx, 0xffffffff
jne 0x1400891bd
cmp dword [rax - 0x10], 0
jl 0x1400891e9
lea rdx, [0x14014b4f0]
mov rcx, rax
call fcn.140100b40
mov r8, rax
test rax, rax
mov rax, qword [rsp + 0x20]
je 0x1400891e9
sub r8, rax
sar r8, 1
cmp r8d, 0xffffffff
je 0x1400891e9
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x1400891e4
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov bl, 1
test eax, eax
mov rax, qword [rsp + 0x20]
jmp 0x1400891eb
mov rax, qword [rsp + 0x20]
xor bl, bl
lea rdx, [rax - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140089208
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140002b00
int3
Function at 0x14008c3c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14008c3f4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14008c3e0
ret
Function at 0x1400900d0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14009019c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14009019c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400901b5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14009018c
cmp byte [rax], 0x5c
jne 0x140090186
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140090186
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140090172
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140090183
test r8b, 0x10
jne 0x140090186
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140090186
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14008cae0
test edi, edi
jne 0x1400900f0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14008cad0
int3

Function at 0x140092230
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov rdx, qword [0x14017d1e8]
lea rax, [rsp + 0x58]
mov rcx, qword [0x14017d1e0]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400922da
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], InitCommonControls
lea rdx, str.UUID
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1400922f1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x88
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x88
ret
Function at 0x140095450
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareProcessLasso
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400954e3
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.UseFileSystemLocks
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400954f7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x58
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 1
jne 0x1400954e3
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x58
ret
Function at 0x1400a4ea0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x3120], 0
mov rbx, rcx
je 0x1400a4f75
mov rcx, qword [rcx + 0x3248]
cmp dword [rcx - 0x10], 0
je 0x1400a4f75
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov edx, 0x80000000
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a4f75
lea r9, [rsp + 0x48]
mov rcx, rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov rcx, rdi
test eax, eax
jne 0x1400a4f34
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a4f75
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], esi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x3118]
mov rcx, qword [rsp + 0x48]
cmp rcx, rdx
mov qword [rbx + 0x3118], rcx
setne al
cmp esi, dword [0x14017cdf8]
je 0x1400a4f77
mov dword [0x14017cdf8], esi
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a6770
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x850
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x840], rax
xor ecx, ecx
mov rax, rdx
mov word [rsp + 0x40], cx
lea rdx, str.SoftwareProcessLasso
lea rcx, [rsp + 0x30]
mov rbx, r8
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a680c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x800
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ConfigFolderEx
mov dword [rsp + 0x3c], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400a682f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.1400056e0
xor al, al
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x850
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a6841
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140005a90
mov al, 1
jmp 0x1400a6816
Function at 0x1400a8220
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
xor eax, eax
mov qword [rdx], rax
mov rcx, rdx
call fcn.1400055e0
nop
mov dword [rsp + 0x20], 1
xor ebp, ebp
mov word [rsp + 0x30], bp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r8d, 0x103
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rbx, [rbp - 1]
test eax, eax
je 0x1400a8327
lea rcx, [rsp + 0x30]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], bp
jne 0x1400a82a1
dec eax
movsxd rcx, eax
test eax, eax
jle 0x1400a82ce
cmp word [rsp + rcx*2 + 0x30], 0x5c
je 0x1400a82c7
dec eax
dec rcx
test rcx, rcx
jg 0x1400a82b3
jmp 0x1400a82ce
cdqe
mov word [rsp + rax*2 + 0x30], bp
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp word [rax + r8*2], bp
jne 0x1400a82d6
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140005a90
test rdi, rdi
jne 0x1400a82f7
mov r8d, ebp
jmp 0x1400a830a
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], bp
jne 0x1400a8300
mov rdx, rdi
mov rcx, rsi
call fcn.140005c50
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a83c1
mov word [rsp + 0x30], bp
xor r9d, r9d
lea r8d, [r9 + 0x24]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400a83b8
lea rax, [rsp + 0x30]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], bp
jne 0x1400a8350
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140005a90
lea rdx, str.media
mov r8, rbx
inc r8
cmp word [rdx + r8*2], bp
jne 0x1400a8371
mov rcx, rsi
call fcn.140005c50
test rdi, rdi
je 0x1400a839c
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], bp
jne 0x1400a8390
mov rbp, rbx
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
call fcn.140005c50
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a83c1
mov rcx, rsi
call fcn.1400056e0
nop
mov rax, rsi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a83f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0x3260]
mov ebx, 0xffffffff
cmp dword [rcx - 0x10], 0
je 0x1400a8418
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a8458
lea r8, str.lower.wav
lea rdx, [rsp + 0x40]
call fcn.1400a8220
nop
mov rdx, rax
lea rcx, [rsi + 0x3260]
call fcn.14003f3d0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a8458
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi + 0x3260]
cmp dword [rcx - 0x10], 0
je 0x1400a8470
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a84b0
lea r8, str.Windows_Pop_up_Blocked.wav
lea rdx, [rsp + 0x48]
call fcn.1400a8220
nop
mov rdx, rax
lea rcx, [rsi + 0x3260]
call fcn.14003f3d0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a84b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi + 0x3268]
cmp dword [rcx - 0x10], 0
je 0x1400a84c8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a8508
lea r8, str._raise.wav
lea rdx, [rsp + 0x50]
call fcn.1400a8220
nop
mov rdx, rax
lea rcx, [rsi + 0x3268]
call fcn.14003f3d0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a8508
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi + 0x3268]
cmp dword [rcx - 0x10], 0
je 0x1400a8520
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a855e
lea r8, str.Windows_Feed_Discovered.wav
lea rdx, [rsp + 0x58]
call fcn.1400a8220
nop
mov rdx, rax
lea rcx, [rsi + 0x3268]
call fcn.14003f3d0
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400a855e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ab3f0
Capabilities:
Enumerate device drivers on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [rdx]
mov rbx, rdx
mov eax, dword [rcx - 0x10]
test eax, eax
je 0x1400ab4f1
js 0x1400ab429
lea rdx, str.common_steamvr_
call fcn.140100b40
test rax, rax
je 0x1400ab429
sub rax, qword [rbx]
sar rax, 1
cmp eax, 0xffffffff
jne 0x1400ab4bd
mov rcx, qword [rbx]
cmp dword [rcx - 0x10], 0
jl 0x1400ab44e
lea rdx, str.commonmixedrealityvrdriver_
call fcn.140100b40
test rax, rax
je 0x1400ab44e
sub rax, qword [rbx]
sar rax, 1
cmp eax, 0xffffffff
jne 0x1400ab4bd
mov rcx, qword [rbx]
cmp dword [rcx - 0x10], 0
jl 0x1400ab473
lea rdx, str.gldriverquery
call fcn.140100b40
test rax, rax
je 0x1400ab473
sub rax, qword [rbx]
sar rax, 1
cmp eax, 0xffffffff
jne 0x1400ab4bd
mov rcx, qword [rbx]
cmp dword [rcx - 0x10], 0
jl 0x1400ab498
lea rdx, str.steamerrorreporter
call fcn.140100b40
test rax, rax
je 0x1400ab498
sub rax, qword [rbx]
sar rax, 1
cmp eax, 0xffffffff
jne 0x1400ab4bd
mov rcx, qword [rbx]
cmp dword [rcx - 0x10], 0
jl 0x1400ab4c5
lea rdx, str.steamwebhelper
call fcn.140100b40
test rax, rax
je 0x1400ab4c5
sub rax, qword [rbx]
sar rax, 1
cmp eax, 0xffffffff
je 0x1400ab4c5
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx]
cmp dword [rcx - 0x10], 0
jl 0x1400ab4f1
lea rdx, str.steamservice
call fcn.140100b40
test rax, rax
je 0x1400ab4f1
sub rax, qword [rbx]
sar rax, 1
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400ac200
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareProcessLasso
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400ac2e5
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x5c]
mov dword [rsp + 0x58], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ThemeLocked
mov dword [rsp + 0x60], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ac2da
cmp dword [rsp + 0x58], 4
jne 0x1400ac2da
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x5c], 0
setne al
mov byte [rbx + 0x31b4], al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov byte [rbx + 0x31b4], al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret
Function at 0x1400ac300
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x5c]
movzx ebx, dl
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareProcessLasso
lea rax, [rsp + 0x50]
mov rdi, rcx
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400ac3a4
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.ThemeLocked
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x58], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1400ac3c8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov byte [rdi + 0x31b4], bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rdi + 0x31b4]
jmp 0x1400ac3ad
Function at 0x1400ae2b0
Capabilities:
Clear file content
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, qword [0x14017ae30]
lea rdi, [rcx + 0x30e8]
mov rbx, 0xffffffffffffffff
xor ebp, ebp
test rdx, rdx
jne 0x1400ae2f2
mov r8d, ebp
jmp 0x1400ae2ff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], bp
jne 0x1400ae2f5
mov rcx, rdi
call fcn.140005a90
lea rdx, str.My_First_Profile
mov rcx, qword [rdi]
call fcn.1401103e4
test eax, eax
je 0x1400ae399
mov word [rsp + 0x50], bp
mov r9d, 0x3ff
lea r8, [rsp + 0x50]
mov edx, 0x48d
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400ae388
cmp byte [0x1401776f0], bpl
je 0x1400ae359
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], bpl
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rsp + 0x50]
mov edx, 0x48d
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400ae388
mov word [rsp + 0x50], bp
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi]
call fcn.1401103e4
test eax, eax
jne 0x1400ae3a1
mov rcx, rdi
call fcn.1400056e0
mov rdi, qword [rdi]
mov qword [rsp + 0x40], rbp
lea rdx, [rsp + 0x40]
call fcn.140092890
nop
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 3]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400ae431
test rdi, rdi
je 0x1400ae41e
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400ae3f1
test r8d, r8d
je 0x1400ae41e
mov dword [rsp + 0x48], ebp
add r8d, r8d
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400ae44d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.Global0ae2c6c1_b291_4d9e_a73c_b14c257a8122
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x1400ae479
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, str.Global2409cafa_6caa_47e3_9ab6_98710bd57a57
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x1400ae4a5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x890]
add rsp, 0x860
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ae4d0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x2070
call fcn.1400ff8d0
sub rsp, rax
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x2060], rax
mov rsi, rdx
mov rcx, rdx
call fcn.1400056e0
xor r14d, r14d
mov qword [rsp + 0x48], r14
lea rdx, [rsp + 0x48]
call fcn.140092890
nop
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r14 + 3]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov rbx, 0xffffffffffffffff
cmp rax, rbx
jne 0x1400ae563
mov rcx, rsi
call fcn.1400056e0
jmp 0x1400ae6ab
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp eax, 0x1000
jae 0x1400ae69a
cmp dword [rsp + 0x40], 0
jne 0x1400ae69a
test eax, eax
jne 0x1400ae5ab
mov rcx, rsi
call fcn.1400056e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
jmp 0x1400ae6ae
xor edx, edx
mov r8d, 0x2002
lea rcx, [rsp + 0x50]
call fcn.14012ce40
mov dword [rsp + 0x44], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
mov r8d, ebp
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ae6a2
lea rax, [rsp + 0x50]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400ae5f0
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140005a90
lea r8, [0x1401467a0]
lea rdx, [0x140146da4]
mov rcx, rsi
call fcn.14003ee50
lea r8, [0x1401467a0]
lea rdx, [0x140146da8]
mov rcx, rsi
call fcn.14003ee50
lea r8, [0x1401467a0]
lea rdx, reloc.OLEAUT32.dll_VariantCopy
mov rcx, rsi
call fcn.14003ee50
lea r8, [0x1401467a0]
lea rdx, [0x14014a124]
mov rcx, rsi
call fcn.14003ee50
lea r8, [0x1401467a0]
lea rdx, [0x1401490d0]
mov rcx, rsi
call fcn.14003ee50
lea r8, [0x1401467a0]
lea rdx, [0x14014e87c]
mov rcx, rsi
call fcn.14003ee50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
jmp 0x1400ae6ae
mov rcx, rsi
call fcn.1400056e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor dil, dil
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400ae6cb
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret