joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140077890
Capabilities:
Check os version
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0xf0
mov r8d, dword [0x14012fd50]
mov rax, qword gs:[0x58]
xor r12d, r12d
mov rbx, qword [rax + r8*8]
mov rsi, rcx
mov rbp, rdx
mov r13d, 4
mov r14d, 8
lea r8d, [r12 + 0x60]
lea rcx, [rsp + 0x88]
xor edx, edx
mov dword [r13 + rbx], r12d
mov dword [r14 + rbx], r12d
call fcn.1400ad2f0
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rax, str.winsta0default
lea rcx, [rsp + 0x130]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x80], 0x68
mov qword [rsp + 0x130], r12
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x140077a57
lea rax, [rsp + 0x60]
xor r9d, r9d
mov r8, rbp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
xor edx, edx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x430
mov rcx, rsi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x120], rdi
mov dword [r13 + rbx], r12d
mov qword [rsp + 0x20], r12
mov edi, r12d
mov dword [r14 + rbx], r12d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x140077a2a
mov dword [r14 + rbx], 0xcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13 + rbx], eax
cmp eax, 0xe9
jne 0x140077a2a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jg 0x140077a2a
lea rax, [rsp + 0x60]
xor r9d, r9d
mov r8, rbp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
xor edx, edx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x430
mov rcx, rsi
mov dword [rsp + 0x28], r12d
mov dword [r13 + rbx], r12d
mov dword [r14 + rbx], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400779a1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x130]
mov rdi, qword [rsp + 0x120]
test rcx, rcx
je 0x140077a50
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rax, qword [rsp + 0x60]
jmp 0x140077a6c
mov dword [r14 + rbx], 0xcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13 + rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x128]
add rsp, 0xf0
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x140078600
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.1400ad2f0
xor ebx, ebx
mov r8b, 3
lea edx, [rbx + 2]
xor ecx, ecx
mov dword [rsp + 0x20], 0x11c
mov dword [rsp + 0x24], 6
mov dword [rsp + 0x28], ebx
mov word [rsp + 0x134], bx
mov word [rsp + 0x136], bx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [rbx + 1]
mov rcx, rax
mov r8b, 3
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [rbx + 0x20]
mov r8b, 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [rbx + 0x10]
mov r8b, 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [rbx + 0x33]
lea rcx, [rsp + 0x20]
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x1400786a8
lea eax, [rbx + 1]
jmp 0x1400786f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x1400786f2
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.1400ad2f0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400786f2
mov eax, dword [rsp + 0x24]
cmp eax, 6
ja 0x1400786e9
jne 0x1400786ee
mov ebx, 1
mov eax, ebx
jmp 0x1400786f4
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x150
pop rbx
ret

Function at 0x14007a0f0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rsi
xor esi, esi
mov qword [rax + 0x18], rsi
lea r8, [rax + 0x18]
call fcn.14007a020
xor edx, edx
lea r8d, [rsi + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1400ad2f0
mov dword [rsp + 0x70], 0x68
lea rax, str.winsta0default
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], rsi
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x100]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14007a1a5
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007a1d2
mov edx, dword [0x14012fd50]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rdx*8]
mov eax, 8
mov dword [rax + rdi], 0xd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 4
mov dword [rcx + rdi], eax
mov rcx, qword [rsp + 0x100]
call fcn.1400ad0b8
mov rax, rsi
mov rsi, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
Function at 0x14007a200
Capabilities:
Access peb ldr_data
Create process on windows
Create process suspended

Disassembly:
mov r11, rsp
push rsi
push r12
push r13
sub rsp, 0xe0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov rbp, r8
mov dword [r8], 0x198
mov r9d, dword [0x14012fd50]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + r9*8]
mov r12d, 4
xor ebx, ebx
mov dword [r12 + rsi], ebx
mov r13d, 8
mov dword [r13 + rsi], ebx
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x18], rbx
lea r8, [r11 + 0x18]
call fcn.14007a020
xor edx, edx
lea r8d, [rbx + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1400ad2f0
mov dword [rsp + 0x70], 0x68
lea rax, str.winsta0default
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], rbx
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14007a367
mov rax, qword [rsp + 0x50]
test rax, rax
cmovne rbx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14007a37a
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14007a352
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebp, eax
test eax, eax
jne 0x14007a337
mov dword [r13 + rsi], 0xd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + rsi], eax
mov rcx, qword [rsp + 0x110]
call fcn.1400ad0b8
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
jmp 0x14007a398
mov dword [r13 + rsi], 0xd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + rsi], eax
jmp 0x14007a37a
mov dword [r13 + rsi], 0xd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + rsi], eax
mov rcx, qword [rsp + 0x110]
call fcn.1400ad0b8
nop
test rbx, rbx
je 0x14007a396
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop r12
pop rsi
ret
Function at 0x14007aa20
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov qword [r11 + 8], rbp
xor ebx, ebx
mov qword [r11 + 0x10], rsi
mov qword [r11 - 0x38], rbx
mov qword [r11 - 0x10], r12
lea rax, [r11 - 0x28]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rbx
mov r12, rdx
mov qword [r11 - 0x18], r13
mov ebp, r9d
mov rsi, rcx
mov r13d, r8d
lea rdx, str.softwareWeatherTool
xor r9d, r9d
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], ebx
mov qword [r11 - 0x28], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14007ab63
mov qword [rsp + 0x90], rdi
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov rdi, qword [rsp + 0x90]
not rcx
cmp rcx, 1
je 0x14007ab32
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14007ab20
mov eax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x58]
mov r9d, ebp
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007ab63
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14007ab63
mov eax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
mov r9d, ebp
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
test rcx, rcx
je 0x14007ab8d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x70
pop rbx
ret
Function at 0x14007ad80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x4b0
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rcx, [rsp + 0x292]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x290], bx
call fcn.1400ad2f0
lea rcx, [rsp + 0x82]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x38], rbx
mov edi, ebx
mov word [rsp + 0x80], bx
call fcn.1400ad2f0
lea r8, [0x1400f9500]
lea rdx, str.softwareWeatherTool
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x80]
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007ae67
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.INSTALL_FIRST_TIME
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x290]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete dil
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007ae77
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14007ae9f
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x290]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x14007ae9f
mov eax, 1
jmp 0x14007af89
xor eax, eax
lea r9, [0x1400eef78]
xor r8d, r8d
mov qword [rsp + 0x42], rax
mov qword [rsp + 0x4a], rax
mov qword [rsp + 0x52], rax
mov qword [rsp + 0x5a], rax
mov qword [rsp + 0x62], rax
mov qword [rsp + 0x6a], rax
mov qword [rsp + 0x72], rax
mov dword [rsp + 0x7a], eax
mov word [rsp + 0x7e], ax
lea rax, [rsp + 0x40]
xor edx, edx
mov ecx, 0x800
mov dword [rsp + 0x28], 0x20
mov word [rsp + 0x40], bx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
lea r8, [0x1400eef74]
lea rcx, [rsp + 0x40]
mov edx, 0x20
call fcn.1400ae0f0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea r9, [0x1400eef60]
xor r8d, r8d
repne scasw ax, word [rdi]
xor edx, edx
mov dword [rsp + 0x28], 0xc
not rcx
lea rax, [rsp + rcx*2 + 0x3e]
mov ecx, 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
lea rdx, str.INSTALL_FIRST_TIME
repne scasw ax, word [rdi]
mov r9d, 1
xor r8d, r8d
not rcx
lea eax, [rcx + rcx]
lea rcx, [0x1400f9500]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.14007aa20
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x4c0]
add rsp, 0x4b0
pop rdi
ret
Function at 0x14007afb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rbx, rcx
lea rcx, [rsp + 0x652]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x30], 0x104
mov word [rsp + 0x650], si
call fcn.1400ad2f0
lea rcx, [rsp + 0x442]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x440], si
call fcn.1400ad2f0
lea r8, [0x1400f9500]
lea rdx, str.softwareWeatherTool
lea rcx, [rsp + 0x440]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, [rsp + 0x38]
mov r9d, 0x20119
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x440]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007b097
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.PartnerID
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x650]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007b0a7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x650]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
jne 0x14007b194
lea rcx, [rsp + 0x242]
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x240], si
call fcn.1400ad2f0
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x40], si
call fcn.1400ad2f0
lea rdx, [0x1400eefb8]
mov rcx, rbx
call fcn.1400ad0c0
test rax, rax
je 0x14007b150
lea r8, [rax + 4]
lea rcx, [rsp + 0x40]
mov edx, 0x100
call fcn.1400aeb10
lea rdx, [0x1400eefb8]
lea rcx, [rsp + 0x40]
call fcn.1400ad0c0
test rax, rax
je 0x14007b150
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x240]
mov edx, 0x100
mov word [rax], si
call fcn.1400aeb10
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x240]
repne scasw ax, word [rdi]
lea rdx, str.PartnerID
mov r9d, 1
not rcx
xor r8d, r8d
lea eax, [rcx + rcx]
lea rcx, [0x1400f9500]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
call fcn.14007aa20
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400ad2c0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007b850
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x290
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x2c8], rbx
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov esi, r8d
mov rdi, rdx
mov qword [rsp + 0x50], rdx
mov rbp, rcx
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov qword [rsp + 0x68], rax
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14007b8e2
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call rax
test eax, eax
jne 0x14007b907
test rbx, rbx
je 0x14007b8db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14007ba6e
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14007b907
test rbx, rbx
je 0x14007b900
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14007ba6e
mov r9d, esi
or r9d, 0x30019
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14007b943
test rbx, rbx
je 0x14007b93c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14007ba6e
xor ecx, ecx
mov edi, ecx
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14007b9fb
xor ebx, ebx
nop dword [rax + rax]
mov eax, dword [rsp + 0x40]
mov word [rsp + rax*2 + 0x80], bx
mov r8d, esi
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.14007b850
mov edi, eax
test eax, eax
jne 0x14007b9f6
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14007b990
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x14007ba5e
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14007ba3a
xor r9d, r9d
mov r8d, esi
mov rdx, qword [rsp + 0x50]
mov rcx, rbp
call rax
test eax, eax
jne 0x14007ba5e
test rbx, rbx
je 0x14007ba36
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14007ba6e
mov rdx, qword [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14007ba5e
test rbx, rbx
je 0x14007ba5a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14007ba6e
test rbx, rbx
je 0x14007ba6c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007c080
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov edi, ecx
lea rcx, [rsp + 0x72]
xor ebx, ebx
xor edx, edx
mov r8d, 0x8a
mov word [rsp + 0x70], bx
call fcn.1400ad2f0
xor eax, eax
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea r8d, [rbx + 0x46]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9d, [rbx + 0xa]
lea r8d, [rbx + 0x20]
lea rdx, [rsp + 0xbc]
mov ecx, edi
call fcn.1400afaa0
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x40], rbx
xor eax, eax
lea rdi, [rsp + 0x70]
lea rdx, str.softwareWeatherToolQUIT
repne scasw ax, word [rdi]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
not rcx
mov qword [rsp + 0x30], rbx
lea edi, [rcx + rcx]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x2011f
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14007c19b
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x70]
lea r9d, [rbx + 1]
lea rdx, str.QuitSession
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14007c19b
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007c194
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14007c1ad
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007c1ab
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x128]
add rsp, 0x110
pop rdi
ret
Function at 0x14007c1d0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x40]
lea rdx, str.SOFTWAREDtsEncodeTools
xor ebx, ebx
mov r9d, 0x102
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007c23a
mov rcx, qword [rsp + 0x40]
lea rdx, str.3B7FD029_D932_411b_AF15_C96CF8EF0C18
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x60], bx
call fcn.1400ad2f0
lea rax, [rsp + 0x50]
lea rdx, str.SOFTWAREDtsEncodeTools
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007c2d2
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x14007c2d2
lea r8d, [rax - 3]
lea rdx, str.SOFTWAREDtsEncodeTools
mov rcx, 0xffffffff80000002
call fcn.14007b850
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x280
pop rbx
ret
sub rsp, 0x28
call fcn.140085ab0
call fcn.140082e40
call fcn.140080800
lea rdx, str.softwareWeatherTool
mov r8d, 0x100
mov rcx, 0xffffffff80000001
call fcn.14007b850
lea rdx, str.softwareWeatherTool
mov r8d, 0x100
mov rcx, 0xffffffff80000002
call fcn.14007b850
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallWeatherTool
mov r8d, 0x100
mov rcx, 0xffffffff80000002
call fcn.14007b850
add rsp, 0x28
jmp 0x14007c1d0
Function at 0x14007d920
Capabilities:
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx + 0x20], 7
mov qword [rcx + 0x18], rax
mov word [rcx + 8], ax
mov dword [rsp + 0x20], 1
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetThreadUILanguage
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007d97b
call rax
jmp 0x14007d981
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
cmp ecx, 0x41e
jg 0x14007d9e3
cmp ecx, 0x41e
je 0x14007d9c9
sub ecx, 0x401
je 0x14007da12
sub ecx, 0x10
je 0x14007d9ac
cmp ecx, 5
je 0x14007da2c
jmp 0x14007d9f8
mov r8d, 2
lea rdx, [0x1400ef278]
mov rcx, rbx
call fcn.140025a70
mov rax, rbx
jmp 0x14007da5e
mov r8d, 2
lea rdx, [0x1400ef270]
mov rcx, rbx
call fcn.140025a70
mov rax, rbx
jmp 0x14007da5e
sub ecx, 0x804
je 0x14007da46
sub ecx, 0x12
je 0x14007da2c
cmp ecx, 0x3eb
je 0x14007da12
mov r8d, 2
lea rdx, [0x1400ef268]
mov rcx, rbx
call fcn.140025a70
mov rax, rbx
jmp 0x14007da5e
mov r8d, 2
lea rdx, [0x1400ef260]
mov rcx, rbx
call fcn.140025a70
mov rax, rbx
jmp 0x14007da5e
mov r8d, 2
lea rdx, [0x1400ef258]
mov rcx, rbx
call fcn.140025a70
mov rax, rbx
jmp 0x14007da5e
mov r8d, 2
lea rdx, [0x1400ef250]
mov rcx, rbx
call fcn.140025a70
mov rax, rbx
add rsp, 0x40
pop rbx
ret

Function at 0x14007e6a0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edi, edi
mov rbx, rcx
test edx, edx
je 0x14007e766
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], di
call fcn.1400ad2f0
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, 0x104
call fcn.1400aeb10
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rsp + 0x20]
call fcn.14007e5d0
cmp qword [rax + 0x20], 8
jb 0x14007e717
mov rdx, qword [rax + 8]
jmp 0x14007e71b
lea rdx, [rax + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x40], 8
jb 0x14007e738
mov rcx, qword [rsp + 0x28]
call fcn.1400ad0b8
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14007e786
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14007e786
mov eax, 1
jmp 0x14007e795
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14007e75f
lea edx, [rax + 1]
mov rcx, rbx
call fcn.14007e6a0
test eax, eax
je 0x14007e786
mov eax, 1
jmp 0x14007e795
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret