joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d7dbf60
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d7dbf70
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d7dbf80
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d7dbfc1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d7dbfb8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7dbfc3
add rax, 0x28
cmp rax, r9
jne 0x6d7dbfa4
xor eax, eax
ret

Function at 0x6d7dc060
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f91f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7dc0cd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7dc0cd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7dc0cd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7dc0c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7dc0cf
add rax, 0x28
cmp rax, r9
jne 0x6d7dc0b0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7dc1d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f91f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7dc1f0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7dc1e8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7dc24d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7dc244
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7dc254
add rax, 0x28
cmp rax, r9
jne 0x6d7dc230
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7dc270
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d7f91f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7dc2de
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7dc2de
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7dc2de
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7dc2de
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d7dc2d5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7dc2e5
add rcx, 0x28
cmp rcx, rax
jne 0x6d7dc2c0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7dc2f8
jmp 0x6d7dc2de
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7dc306
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7dc2de
test r9d, r9d
jg 0x6d7dc2f0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7dc640
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x180013210
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0x11eece0
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009a710]
mov eax, dword [rcx + rax]
xor eax, 0xfffffa88
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009a710]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
jmp 0x18001326a
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180013316
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp]
imul rax, rax, 0x1000193
mov qword [rsp], rax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a710]
mov eax, dword [rcx + rax]
xor eax, 0xfffffa77
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a710]
mov dword [rdx + rcx], eax
mov eax, 0xffffffff
mov rcx, qword [rsp]
and rcx, rax
mov rax, rcx
mov qword [rsp], rax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a710]
mov eax, dword [rcx + rax]
xor eax, 0xfffffa6c
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a710]
mov dword [rdx + rcx], eax
jmp 0x18001325d
mov eax, dword [rsp]
add rsp, 0x18
ret
Function at 0x180016460
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x18001646e
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x1800164a0
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call fcn.180018e20
jmp 0x180016523
movzx eax, byte [0x1800e8870]
test eax, eax
jne 0x1800164e5
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800164de
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800e8868], rax
mov byte [0x1800e8870], 1
cmp qword [0x1800e8868], 0
je 0x180016510
xor r9d, r9d
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [0x1800e8868]
jmp 0x180016523
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x38
ret

Function at 0x180016530
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x18001653e
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x28
ret

Function at 0x180018b40
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x18009b1a0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.18001b8c0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.180013b80
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2a0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call fcn.180018160
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x180018bd4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x50]
call fcn.180014060
mov eax, dword [rsp + 0x4c]
jmp 0x180018c92
mov dword [rsp + 0x68], 0x100
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180018c61
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180018b40
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x180018c54
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x50]
call fcn.180014060
mov eax, dword [rsp + 0x44]
jmp 0x180018c92
mov dword [rsp + 0x68], 0x100
jmp 0x180018bdc
lea rcx, [rsp + 0x50]
call fcn.180015fd0
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call fcn.180016460
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x50]
call fcn.180014060
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18005afa0
add rsp, 0x298
ret
Function at 0x180018e20
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x180018eac
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180018e5f
mov eax, 1
jmp 0x180018ece
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180018eaa
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x38]
jmp 0x180018ece
jmp 0x180018ec9
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x180018ec9
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x180018ece
mov eax, 1
add rsp, 0x48
ret
Function at 0x18001a490
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x18001a4a3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x18001a4e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x18001a4f3
cmp qword [rsp + 0x70], 0
je 0x18001a50b
mov dword [rsp + 0x38], 1
jmp 0x18001a513
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x18001a529
mov eax, SafeArrayGetDim
jmp 0x18001a5a8
xor eax, eax
test eax, eax
jne 0x18001a4f9
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.18005b618
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x30], 1
jne 0x18001a541
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret

Function at 0x18001a5b0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x18001a5c8
cmp qword [rsp + 0x60], 0
je 0x18001a5e0
mov dword [rsp + 0x30], 1
jmp 0x18001a5e8
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18001a5fe
mov eax, SafeArrayGetDim
jmp 0x18001a63e
xor eax, eax
test eax, eax
jne 0x18001a5ce
mov rcx, qword [rsp + 0x60]
call fcn.18005b618
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret
Function at 0x1800200e0
Capabilities:
Check mutex on windows

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0x90], 0
jne 0x180020102
xor al, al
jmp 0x180020345
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
cmp eax, 0x5cbc1b81
jne 0x18002012d
lea r8, [0x18009d820]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x58], rax
jmp 0x180020155
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x90]
call fcn.180020780
movzx eax, al
test eax, eax
jne 0x180020170
mov al, 1
jmp 0x180020345
cmp qword [0x1800e7a08], 0
je 0x18002018e
mov rcx, qword [rsp + 0x90]
call qword [0x1800e7a08]
mov dword [rsp + 0x20], eax
jmp 0x180020196
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x180020318
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009a980]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x18009a980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a980]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x18009a980]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180020229
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009a980]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x1800202de
cmp qword [0x1800e7110], 0
je 0x18002025f
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [0x1800e7110]
mov dword [rsp + 0x24], eax
jmp 0x180020267
mov dword [rsp + 0x24], 0
cmp dword [rsp + 0x24], 0
jne 0x1800202de
xor al, al
jmp 0x180020345
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.18001ec10
mov qword [rsp + 0x48], rax
mov dl, 1
mov rcx, qword [rsp + 0x48]
call fcn.18001f8d0
mov dword [rsp + 0x54], eax
jmp 0x180020343
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
xor eax, 0xfffff958
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov al, 1
add rsp, 0x88
ret
Function at 0x180020350
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [0x18009d674]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x1800203cc
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800203cc
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009a980]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
add eax, 0x8f3ec6c
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
call fcn.180027c70
mov eax, 9
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x18009a980]
cmp dword [rcx + rax*4], 1
jne 0x18002043b
movsx rax, word [rsp + 0x20]
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x18009a980]
mov dword [rdx + rcx*4], eax
call fcn.180027cc0
cmp qword [rax + 0x7c0], 0
je 0x180020480
cmp qword [0x1800e7150], 0
je 0x180020472
xor r9d, r9d
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [0x1800e7150]
mov dword [rsp + 0x24], eax
jmp 0x18002047a
mov dword [rsp + 0x24], 1
mov eax, dword [rsp + 0x24]
jmp 0x180020490
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x48
ret
Function at 0x1800204a0
Capabilities:
Delete registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x18009b1a0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
xor eax, 0xfffffd4d
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x78], 0
jne 0x180020512
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1800206e3
mov qword [rsp + 0x48], 0
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009a980]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x18009a980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a980]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x18009a980]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180020599
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009a980]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x88]
or eax, 0x20006
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1800206df
cmp qword [rsp + 0x48], 0
je 0x1800206df
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1800206e3
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18005afa0
add rsp, 0x68
ret
Function at 0x18002ca40
Capabilities:
Get file attributes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009aa10]
mov eax, dword [rcx + rax]
xor eax, 0xfffff691
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009aa10]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x40], 0
je 0x18002ca96
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x18002cac8
xor al, al
jmp 0x18002cb1f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x28]
movsxd rcx, ecx
lea rdx, [0x18009aa10]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x18002cb12
cmp dword [rsp + 0x20], 0xffffffff
je 0x18002cb12
mov dword [rsp + 0x24], 1
jmp 0x18002cb1a
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x1800348e0
Capabilities:
Delete registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x18009b1a0]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov edx, 1
lea rcx, [rsp + 0xb0]
call fcn.1800368b0
lea rcx, [rsp + 0xb0]
call fcn.18001ec60
nop
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.1800368b0
lea rcx, [rsp + 0x98]
call fcn.18001ec60
nop
cmp qword [rsp + 0xf0], 0
jne 0x180034998
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x78]
call fcn.18001ec10
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x98]
call fcn.18001f260
nop
lea rcx, [rsp + 0x78]
call fcn.180013e90
cmp qword [rsp + 0xe8], 0
je 0x1800349da
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x60]
call fcn.18001ec10
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.18001f260
nop
lea rcx, [rsp + 0x60]
call fcn.180013e90
mov qword [rsp + 0x90], 0
mov eax, dword [rsp + 0xf8]
or eax, 0x2001f
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xb0]
call fcn.18000be20
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x40]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180034a8d
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x98]
call fcn.180013e90
nop
lea rcx, [rsp + 0xb0]
call fcn.180013e90
mov eax, dword [rsp + 0x48]
jmp 0x180034c03
lea rcx, [rsp + 0x98]
call fcn.18000be20
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x44], SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x44]
movsxd rcx, ecx
lea rdx, [0x18009aa70]
mov dword [rdx + rcx*4], eax
cmp dword [rsp + 0x30], 0
je 0x180034b53
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009aa70]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x18009aa70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009aa70]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x18009aa70]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180034b53
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009aa70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x98]
call fcn.180013e90
nop
lea rcx, [rsp + 0xb0]
call fcn.180013e90
mov eax, dword [rsp + 0x34]
jmp 0x180034c03
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.18005afa0
add rsp, 0xd8
ret
Function at 0x1800384a0
Capabilities:
Check mutex on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x24], 0x80004005
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
cmp eax, 0x204907bd
jne 0x1800384e0
lea r8, str.Local42645120429456048928538424798376820098516203436550504x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x40], rax
jmp 0x180038508
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009ad00]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009ad00]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1800385f6
mov edx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x1800385f6
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroy
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x18009ad00]
cmp dword [rcx + rax*4], 1
jne 0x180038577
movsx rax, word [rsp + 0x20]
lea rcx, [0x18009ad00]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x18009ad00]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
xor eax, eax
jmp 0x1800385fa
mov eax, dword [rsp + 0x24]
add rsp, 0x58
ret

Function at 0x18003c710
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x48], 0
je 0x18003c730
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rcx], ax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x28], 0
je 0x18003c82d
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov rcx, rax
call fcn.180030fd0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18003c82d
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov rcx, rax
call fcn.180030fd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x40]
add rcx, 0x28
call fcn.180030fd0
mov ecx, dword [rsp + 0x28]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov rcx, rax
call fcn.180030fd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18003c7ee
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov rcx, rax
call fcn.180030fd0
mov r8d, 4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x18003c7ee
mov dword [rsp + 0x24], 0
jmp 0x18003c7f6
mov dword [rsp + 0x24], 1
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
cmp qword [rsp + 0x48], 0
je 0x18003c82d
cmp dword [rsp + 0x2c], 0
je 0x18003c819
mov eax, 0xffffffff
mov word [rsp + 0x20], ax
jmp 0x18003c820
xor eax, eax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x48]
movzx ecx, word [rsp + 0x20]
mov word [rax], cx
xor eax, eax
add rsp, 0x38
ret