joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000a9d0
Capabilities:
Create thread

Disassembly:
push rsi
mov eax, 0x80
call fcn.180050b10
sub rsp, rax
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r8, rdx
mov rsi, rcx
test rdx, rdx
jne 0x18000aa03
mov eax, 0x80004005
jmp 0x18000abbc
mov qword [rcx + 0x118], r8
mov rcx, r8
mov rax, qword [rdx]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x98], rbx
call qword [rax]
mov ebx, dword [rsp + 0x48]
mov qword [rsi + 0x68], rbx
call fcn.18000b8a0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x30], rcx
xor r9d, r9d
mov dword [rsp + 0x28], 0xbb8
mov r8d, ebx
mov rcx, qword [rax + 8]
mov edx, 0x8021
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [rsp + 0x50], 0
jne 0x18000abb2
mov rcx, qword [rsi + 0x118]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x70], r14
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edx, dword [rsp + 0x44]
xorps xmm0, xmm0
mov ecx, dword [rsp + 0x40]
movdqu xmmword [rsp + 0x58], xmm0
call fcn.180010670
mov rbp, rax
test rax, rax
je 0x18000aba5
xor ecx, ecx
mov qword [rsp + 0x78], rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov rdx, rbp
mov rbx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsi + 0x118]
mov rdx, rbx
mov rdi, rax
mov r8, qword [rcx]
call qword [r8 + 0x20]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsi + 0x60]
mov rdi, qword [rsp + 0x78]
test rcx, rcx
je 0x18000ab0d
cmp rcx, rbp
je 0x18000ab0d
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rsi + 0x60], rbp
call fcn.18000b8a0
lea rcx, [rsp + 0x50]
mov r8, rsi
mov qword [rsp + 0x30], rcx
lea r9, [rsp + 0x58]
mov dword [rsp + 0x28], 0xbb8
mov edx, 0x8050
mov rcx, qword [rax + 8]
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov rcx, qword [rsi + 0x118]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
call fcn.18000a940
mov r9, rsi
mov qword [rsp + 0x28], r14
lea r8, [0x18000abe0]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call fcn.1800a2a9c
mov qword [rsi + 0x50], rax
test rax, rax
jne 0x18000ab97
mov rcx, qword [rsi + 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8020
call qword [sym.imp.USER32.dll_SendMessageW]
test rbx, rbx
je 0x18000aba5
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rbp, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x98]
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180050ad0
add rsp, 0x80
pop rsi
ret
Function at 0x1800126b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180012725
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180012725
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x180012715
nop
cmp rbx, rcx
jae 0x180012725
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x180012700
cmp rbx, rcx
jae 0x180012725
cmp word [rbx], 0
je 0x180012725
mov rax, rbx
jmp 0x180012727
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180013580
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rdx, qword [rdx]
lea rbx, [rcx + 0x50]
mov rcx, qword [rcx + 0x50]
lea r8, [rdx - 0x18]
lea rdi, [rcx - 0x18]
cmp r8, rdi
je 0x1800135f9
cmp dword [rdi + 0x10], 0
jl 0x1800135ea
mov rax, qword [rdi]
cmp qword [r8], rax
jne 0x1800135ea
mov rcx, r8
mov qword [rsp + 0x58], rsi
call fcn.180013250
mov rsi, rax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x1800135dc
mov rcx, qword [rdi]
mov rdx, rdi
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rcx, [rsi + 0x18]
mov rsi, qword [rsp + 0x58]
mov qword [rbx], rcx
jmp 0x1800135f9
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.180013680
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18001366c
mov rcx, qword [rbx]
xor eax, eax
mov qword [rsp + 0x50], rax
cmp dword [rcx - 0x10], eax
je 0x18001366c
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180013658
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x50], 0x40000000
jle 0x18001366c
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180014e30
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
xor ecx, ecx
cmp al, 6
setae cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x180014e50
Capabilities:
Check os version

Disassembly:
sub rsp, 0x188
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov ecx, dword [0x180141030]
xor eax, eax
test ecx, ecx
js 0x180014e90
setne al
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180050ad0
add rsp, 0x188
ret
xor edx, edx
mov dword [0x180141030], eax
mov r8d, 0x118
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.18009b170
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x180014ef4
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180014f55
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180014f55
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [rsp + 0x20]
cmp ax, 9
je 0x180014f2e
cmp ax, 6
jne 0x180014f55
mov dword [0x180141030], 1
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180050ad0
add rsp, 0x188
ret
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180050ad0
add rsp, 0x188
ret
Function at 0x180018930
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x1800189e5
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x1800189b1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800189d0
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800189d0
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x1800189d0
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x180153150], 0
jne 0x180018a30
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180018a20
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180153148], rax
mov byte [0x180153150], 1
jmp 0x180018a37
mov rax, qword [0x180153148]
mov byte [0x180153150], 1
jmp 0x180018a37
mov rax, qword [0x180153148]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x1800189ba
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax
Function at 0x18001a0b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov dword [rsp + 0x50], ebp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x58], rbp
lea rcx, [rsp + 0x48]
call fcn.180019b50
mov ebx, eax
test eax, eax
jne 0x18001a1c7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18001a1a1
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18001a0b0
mov ebx, eax
test eax, eax
jne 0x18001a1c7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x18001a150
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18001a1b6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov dword [rsp + 0x50], ebp
mov rcx, rdi
call fcn.180018930
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18001a1d7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180050ad0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001a6e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18001a76e
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18001a76e
call fcn.1800186e0
mov ebx, eax
jmp 0x18001a892
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x18001a78f
call fcn.1800186e0
jmp 0x18001a881
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x18001a7b2
call fcn.1800186e0
jmp 0x18001a881
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x18001a7d4
mov ebx, 0x8007000e
jmp 0x18001a883
mov ecx, eax
test eax, eax
je 0x18001a809
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18001a8ca
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18001a809
lea rcx, [rsp + 0x70]
call fcn.1800185c0
jmp 0x18001a813
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x18001a826
cmp qword [rsp + 0x70], 0
jne 0x18001a835
mov ebx, 0x8007000e
jmp 0x18001a883
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x18001a85e
call fcn.1800186e0
jmp 0x18001a881
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18001a200
mov ebx, eax
test rdi, rdi
je 0x18001a892
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18001a8a9
lea rcx, [rsp + 0x70]
call fcn.1800197d0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180050ad0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.180010480
int3
Function at 0x18001a8e0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x6b8
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x280]
lea rcx, [0x180141068]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9, [rsp + 0x280]
mov edx, 0x104
lea r8, str.CLSID_s
lea rcx, [rsp + 0x70]
call fcn.18001b900
test eax, eax
js 0x18001ab28
mov qword [rsp + 0x6c0], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x6b0], rdi
lea rdx, [rsp + 0x70]
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x30], rdi
mov ebx, 0x80004005
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18001ab16
movups xmm0, xmmword [str.Ludashi]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 0x10
lea r9d, [rdi + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
js 0x18001ab16
lea r9, [rsp + 0x280]
mov edx, 0x104
lea r8, str.CLSID_sInprocServer32
lea rcx, [rsp + 0x70]
call fcn.18001b900
test eax, eax
js 0x18001ab18
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jle 0x18001aa48
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x18001ab16
mov rcx, qword [0x1801530b8]
lea rdx, [rsp + 0x490]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x18001aab5
lea rcx, [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x50]
mov r9d, 1
add eax, eax
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jle 0x18001aab5
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x18001ab0b
mov eax, dword [0x1800f60c8]
lea rdx, str.ThreadingModel
movups xmm0, xmmword [str.Apartment]
mov rcx, qword [rsp + 0x50]
mov r9d, 1
mov dword [rsp + 0x68], eax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 0x14
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jle 0x18001ab0b
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x6c0]
mov rdi, qword [rsp + 0x6b0]
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.180050ad0
add rsp, 0x6b8
ret
Function at 0x18001e160
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
call fcn.180014e30
test eax, eax
je 0x18001e19f
lea rdx, str.ComputerZ_Tray
mov rcx, rbx
call fcn.18001e2c0
cmp eax, 1
je 0x18001e29d
mov qword [rsp + 0x280], rdi
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
xor edi, edi
lea rcx, [rsp + 0x38]
mov r9d, 0x2001f
mov qword [rsp + 0x38], rdi
mov rdx, 0xffffffff80000001
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x48], rdi
call fcn.180019b50
test eax, eax
jne 0x18001e280
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.18009b170
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ComputerZ_Tray
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18001e26e
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x18001e26e
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18001e269
test al, 1
jne 0x18001e26e
shr rax, 1
cmp word [rsp + rax*2 + 0x4e], di
jne 0x18001e26e
cmp word [rsp + 0x50], di
je 0x18001e26e
test rbx, rbx
je 0x18001e262
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x18001e295
mov word [rsp + 0x50], di
test rbx, rbx
je 0x18001e27c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x18001e295
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18001e290
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 2
mov rdi, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180050ad0
add rsp, 0x270
pop rbx
ret
Function at 0x18001f670
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x480
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.18009b170
mov rcx, qword [0x1801530b8]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.ComputerZ.set
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rbx, 0xffffffffffffffff
lea rcx, [r14 + 0x18]
mov rax, rbx
lea rdx, [rsp + 0x50]
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x18001f6f0
mov r8d, eax
lea rdx, [rsp + 0x50]
call fcn.180013680
xor edx, edx
lea rcx, [rsp + 0x260]
mov r8d, 0x208
call fcn.18009b170
xor r9d, r9d
lea rdx, [rsp + 0x260]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str.ludashi
lea rcx, [rsp + 0x260]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.ComputerZ.set
lea rcx, [rsp + 0x260]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [r14 + 0x20]
lea rax, [rsp + 0x260]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18001f770
mov r8d, ebx
lea rdx, [rsp + 0x260]
call fcn.180013680
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18001f7a6
mov rcx, r14
call fcn.18001f920
jmp 0x18001f859
mov qword [rsp + 0x498], rsi
xor esi, esi
mov qword [rsp + 0x4a0], rdi
lea rdi, [0x180141210]
nop
mov rax, qword [r14 + 0x38]
mov rbx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x18001f7ea
mov edx, dword [rdi]
cmp dword [rcx + 0x1c], edx
jge 0x18001f7de
mov rcx, qword [rcx + 0x10]
jmp 0x18001f7e4
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x18001f7d3
cmp rbx, rax
je 0x18001f7f6
mov eax, dword [rbx + 0x1c]
cmp dword [rdi], eax
jge 0x18001f834
lea r9, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x38]
lea rdx, [0x1800f6548]
lea rcx, [r14 + 0x38]
call fcn.18001e650
mov r8, rbx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x38]
lea r9, [rax + 0x1c]
call fcn.18001ece0
mov rbx, qword [rsp + 0x40]
mov eax, dword [rdi + 0x10]
inc esi
add rdi, 0x18
mov dword [rbx + 0x20], eax
cmp esi, 8
jb 0x18001f7c0
mov rdi, qword [rsp + 0x4a0]
mov rsi, qword [rsp + 0x498]
mov eax, 1
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180050ad0
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x480
pop r14
ret

Function at 0x18001f880
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x20
mov r9, qword [rcx + 0x18]
lea rdx, str.WarnningWhenTempHigher
mov rbx, rcx
mov r8d, 1
lea rcx, str.Sensor
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor edx, edx
test eax, eax
setne dl
mov dword [rbx + 0x4c], edx
mov eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x18001f8c0
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x28
mov r9, qword [rcx + 0x18]
lea rdx, str.AutoStart2
lea rcx, str.General
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x18001f920
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r12d, r12d
lea rdi, [0x180141210]
mov esi, r12d
mov r14, rcx
nop dword [rax + rax]
mov rax, qword [r14 + 0x38]
mov rbp, qword [r14 + 0x18]
mov rbx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], r12b
jne 0x18001f98e
mov edx, dword [rdi]
cmp dword [rcx + 0x1c], edx
jge 0x18001f982
mov rcx, qword [rcx + 0x10]
jmp 0x18001f988
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r12b
je 0x18001f977
cmp rbx, rax
je 0x18001f99a
mov eax, dword [rbx + 0x1c]
cmp dword [rdi], eax
jge 0x18001f9d8
lea r9, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x38]
lea rdx, [0x1800f6548]
lea rcx, [r14 + 0x38]
call fcn.18001e650
mov r8, rbx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x38]
lea r9, [rax + 0x1c]
call fcn.18001ece0
mov rbx, qword [rsp + 0x40]
mov r8d, dword [rdi + 0x10]
lea rcx, str.Sensor
mov rdx, qword [rdi + 8]
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc esi
add rdi, 0x18
mov dword [rbx + 0x20], eax
cmp esi, 8
jb 0x18001f960
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.18009b170
mov rax, qword [r14 + 0x20]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r8, [0x1800f6540]
lea rdx, str.BandShowItem
mov dword [rsp + 0x20], 0x104
lea rcx, str.General
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebp, eax
mov edi, r12d
mov eax, r12d
test ebp, ebp
je 0x18001faac
lea rsi, [rsp + 0x50]
cmp word [rsi], 0x7c
je 0x18001fa63
lea ecx, [rbp - 1]
cmp edi, ecx
jne 0x18001faa2
cdqe
lea rcx, [rsp + 0x50]
lea rcx, [rcx + rax*2]
call fcn.1800a53b4
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
lea rcx, [r14 + 0x28]
call fcn.18001e610
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x28]
lea r9, [rax + 0x1c]
call fcn.18001eed0
lea eax, [rdi + 1]
inc edi
add rsi, 2
cmp edi, ebp
jb 0x18001fa56
cmp qword [r14 + 0x30], r12
jne 0x18001fae2
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], 0x64
lea rcx, [r14 + 0x28]
call fcn.18001e610
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x28]
lea r9, [rax + 0x1c]
call fcn.18001eed0
mov r9, qword [r14 + 0x18]
lea rdx, str.WarnningWhenTempHigher
mov r8d, 1
lea rcx, str.Sensor
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, qword [r14 + 0x18]
lea rdx, str.ShowBand
test eax, eax
lea rcx, str.General
mov r8d, 1
setne r12b
mov dword [r14 + 0x4c], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, qword [r14 + 0x18]
lea rdx, str.CPUWarnningThresholdReady
xor r8d, r8d
mov dword [r14 + 0x50], eax
lea rcx, str.Sensor
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [r14 + 0x54], eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180050ad0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret