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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x1400465c0]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x1400458a0]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, str.notepad
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea edx, [rsi - 0x14]
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
lea r9d, [rsi + 2]
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140053550]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.140046170
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.140047820
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140049060
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140049d60
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140049daa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140049daa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140049daa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140049daa
cmp dword [rcx + 0x84], 0xe
jbe 0x140049daa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140049dac
xor al, al
add rsp, 0x28
ret
Function at 0x140051cc0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140051ccd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140051cdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140051cc5
lea eax, [rcx + 1]
jmp 0x140051ceb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140051cfe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140051ce4
sub eax, 3
jb 0x140051d1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140051d6d
sar eax, 1
movsxd rbp, eax
jb 0x140051d54
jmp 0x140051d2c
add ebx, ebx
jne 0x140051d2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140051d54
inc ecx
add ebx, ebx
jne 0x140051d3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140051d54
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140051d4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140051d3c
add ecx, 2
jmp 0x140051d59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140051c82
jmp 0x140051ccd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x31600
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140051db9
cmp rsi, rcx
jae 0x140051dc1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140051da0
cmp al, 0x8f
ja 0x140051da0
cmp byte [rsi - 2], 0xf
je 0x140051da6
sub al, 0xe8
cmp al, 1
ja 0x140051d8a
cmp rsi, rcx
jae 0x140051dc1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140051d90
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140051dc1
lodsb al, byte [rsi]
jmp 0x140051da0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4f000]
mov eax, dword [rdi]
or eax, eax
je 0x140051e2a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x521e4]
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 0x140051dce
jns 0x140051e03
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140051e0d
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 0x140051e24
mov qword [rbx], rax
add rbx, 8
jmp 0x140051dee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140051e64
cmp al, 0xef
ja 0x140051e56
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140051e36
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140051e45
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 + 0x23f]
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 0x140051eb8
sub rsp, 0xffffffffffffff80
jmp 0x14000ed68
Function at 0x140064e90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140064e9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140064ead
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140064e95
lea eax, [rcx + 1]
jmp 0x140064ebb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140064ece
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140064eb4
sub eax, 3
jb 0x140064eee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140064f3d
sar eax, 1
movsxd rbp, eax
jb 0x140064f24
jmp 0x140064efc
add ebx, ebx
jne 0x140064efa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064f24
inc ecx
add ebx, ebx
jne 0x140064f0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064f24
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140064f1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140064f0c
add ecx, 2
jmp 0x140064f29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140064e52
jmp 0x140064e9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140064f89
cmp rsi, rcx
jae 0x140064f91
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140064f70
cmp al, 0x8f
ja 0x140064f70
cmp byte [rsi - 2], 0xf
je 0x140064f76
sub al, 0xe8
cmp al, 1
ja 0x140064f5a
cmp rsi, rcx
jae 0x140064f91
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140064f60
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140064f91
lodsb al, byte [rsi]
jmp 0x140064f70
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x62000]
mov eax, dword [rdi]
or eax, eax
je 0x140064ffa
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x744c4]
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 0x140064f9e
jns 0x140064fd3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140064fdd
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 0x140064ff4
mov qword [rbx], rax
add rbx, 8
jmp 0x140064fbe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140065034
cmp al, 0xef
ja 0x140065026
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140065006
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140065015
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 + 0x237]
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 0x140065088
sub rsp, 0xffffffffffffff80
jmp 0x14000afb0
Function at 0x141072058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1410721df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141072089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14107206f
add dl, dl
jne 0x141072096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410720f6
xor eax, eax
add dl, dl
jne 0x1410720a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410721ad
add dl, dl
jne 0x1410720b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410720c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410720d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410720dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410720ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14107207e
mov eax, 1
add dl, dl
jne 0x141072106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141072113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410720fb
sub eax, ebx
mov ebx, 1
jne 0x14107214c
mov ecx, 1
add dl, dl
jne 0x14107212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14107213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141072123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14107207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141072168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141072175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14107215d
cmp eax, 0x7d00
jae 0x14107219b
cmp eax, 0x500
jb 0x141072196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14107207e
cmp eax, 0x7f
ja 0x14107219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14107207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410721d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14107207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x10005448c
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, r9
mov rdi, r8
mov esi, edx
mov rbx, rcx
lea r13, [0x100008f60]
mov qword [rsp + 0x30], r13
lea r14, [0x100008fb0]
mov qword [rsp + 0x38], r14
lea r15, [0x100008f48]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x183
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
xor r12d, r12d
mov word [rax - 0xa8], r12w
mov byte [rax - 0xa6], r12b
mov byte [rax - 0xa5], 1
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e842c
nop
mov word [rbp], r12w
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x18b
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, [0x100008fe0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
mov r8d, dword [rsp + 0x1a0]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, r12d
jne 0x100054607
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1000e7e00
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9, [0x100009050]
mov r8d, esi
mov rdx, rbx
lea rcx, [rsp + 0xe0]
call fcn.1000e97ec
int3
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x193
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rbp
lea r8, [0x1000090e0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
nop
mov rcx, rbx
call fcn.1000e7e7c
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x10005efa8
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push r12
push r13
push r14
sub rsp, 0x790
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x780], rax
xor edi, edi
mov rbx, rdx
lea r12, [0x1000091d0]
lea r13, [0x10000c368]
lea r14, [0x1000091b8]
lea rcx, [rsp + 0x58]
lea r8d, [rdi + 0x78]
xor edx, edx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0xe3f
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
xor r8d, r8d
call fcn.1000e842c
lea rcx, [rsp + 0x360]
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
je 0x10005f18d
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x360]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
cmp eax, edi
je 0x10005f18d
lea rdx, [rsp + 0x570]
lea rcx, [rsp + 0x150]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, edi
je 0x10005f104
lea rcx, [rsp + 0x570]
mov rdx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
lea rcx, [0x100008430]
lea r9, [0x100008450]
cmp eax, edi
lea rax, [0x100008440]
lea rdx, [0x100008420]
sete bl
mov r8d, 0xaa
cmp bl, dil
cmovne rax, rcx
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.1000e8a60
jmp 0x10005f1bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ebx, eax
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0xe4b
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
movzx eax, bx
lea r9, [rsp + 0x150]
lea r8, [0x10000c2f0]
or eax, 0x80070000
cmp ebx, edi
lea rdx, [rsp + 0x30]
cmovle eax, ebx
lea rcx, [rsp + 0xe0]
mov dword [rsp + 0x20], eax
call fcn.1000e9608
lea rax, [0x100008440]
lea r9, [0x100008450]
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
mov r8d, 0xaa
mov qword [rsp + 0x20], rax
call fcn.1000e8a60
mov bl, dil
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
mov al, bl
mov rcx, qword [rsp + 0x780]
xor rcx, rsp
call fcn.100130df0
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1000647c0
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0xe0
mov rbp, rcx
mov r12, 0xffffffff80000002
mov rdx, r8
mov rcx, r12
mov rsi, r8
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor ebx, ebx
mov edi, eax
cmp eax, 2
jne 0x10006488a
lea rax, [0x10000e360]
lea r8d, [rdi + 0x76]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [0x10000e320]
xor edx, edx
mov qword [rsp + 0x38], rax
lea rax, [0x10000e348]
mov dword [rsp + 0x48], 0x5c
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], bx
mov qword [rsp + 0x40], rax
mov byte [rsp + 0xd2], bl
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
lea r9, [0x10000e2e0]
lea rdx, [rsp + 0x30]
mov r8d, 0x80042308
mov rcx, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
call fcn.1000e97ec
int3
cmp eax, ebx
je 0x100064925
lea rax, [0x10000e360]
xor edx, edx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [0x10000e320]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [0x10000e348]
mov dword [rsp + 0x48], 0x5f
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], bx
mov qword [rsp + 0x40], rax
mov byte [rsp + 0xd2], bl
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
movzx r8d, di
lea r9, [0x10000e3d0]
or r8d, 0x80070000
cmp edi, ebx
lea rdx, [rsp + 0x30]
mov rcx, rbp
cmovle r8d, edi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
call fcn.1000ea25c
int3
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x10006494c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3c8
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x3b8], rax
mov rbx, qword [rsp + 0x438]
mov rsi, rcx
mov r15, r8
mov rdi, rdx
lea r13, [0x10000e3f8]
lea rcx, [r11 - 0x78]
mov r8d, 0x22
mov rdx, r13
mov rbp, r9
call sub.msvcrt.dll_memcpy
xor r14d, r14d
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
mov dword [rsi + 8], r14d
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
mov dword [rsp + 0x44], 0x1fe
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebx, [r14 + 1]
mov edi, eax
cmp eax, r14d
je 0x100064a7d
mov qword [rsp + 0x50], r13
lea r12, [0x10000e360]
lea r13, [0x10000e348]
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x60], 0xa8
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r14w
mov byte [rsp + 0xea], r14b
mov byte [rsp + 0xeb], bl
call sub.msvcrt.dll_memset
movzx r8d, di
xor eax, eax
lea r9, [0x10000e420]
or r8d, 0x80070000
cmp edi, eax
lea rdx, [rsp + 0x48]
mov rcx, rsi
cmovle r8d, edi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r15
call fcn.1000ea25c
int3
cmp dword [rsp + 0x40], ebx
je 0x100064c06
mov qword [rsp + 0x50], r13
mov word [rsp + 0xe8], r14w
mov byte [rsp + 0xea], r14b
lea r13, [0x10000e348]
mov r14d, 0x78
lea r12, [0x10000e360]
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8, r14
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x60], 0xae
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x68], 0xff
mov byte [rsp + 0xeb], bl
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x48]
call fcn.1000e7ec8
lea rdx, [rsp + 0xf0]
mov r8d, ebx
mov rcx, rax
call fcn.1000e7ec8
lea rdx, [rsp + 0x198]
mov r8, rbp
mov rcx, rax
call fcn.1000e825c
lea rdx, [rsp + 0x2e8]
mov r8, r15
mov rcx, rax
call fcn.1000e825c
mov r9d, ebx
mov edx, 0x3007
mov r8, rax
mov rcx, rsi
call fcn.1000eba6c
lea rcx, [rsp + 0x198]
call fcn.1000e7e7c
lea rcx, [rsp + 0xf0]
call fcn.1000e7e7c
lea rcx, [rsp + 0x240]
call fcn.1000e7e7c
lea rcx, [rsp + 0x48]
call fcn.1000e7e7c
lea rax, [0x10000e3f8]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
xor eax, eax
mov r8, r14
xor edx, edx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r13
mov word [rsp + 0xe8], ax
mov byte [rsp + 0xea], al
mov dword [rsp + 0x60], 0xaf
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x68], 0xff
mov byte [rsp + 0xeb], bl
call sub.msvcrt.dll_memset
mov r11d, dword [rsp + 0x40]
lea rax, [rsp + 0x390]
mov dword [rsp + 0x38], r11d
mov qword [rsp + 0x30], r15
lea r9, [0x10000e460]
lea rdx, [rsp + 0x48]
mov r8d, 0x80042302
mov rcx, rsi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.1000e97ec
int3
mov rcx, qword [rsp + 0x3b8]
xor rcx, rsp
call fcn.100130df0
add rsp, 0x3c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x100064c30
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x3c0
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov rbx, qword [rsp + 0x420]
mov rsi, rcx
mov r14, r8
mov rdi, rdx
lea r12, [0x10000e508]
lea rcx, [r11 - 0x68]
mov rdx, r12
mov r8d, reloc.ATL.DLL_AtlInternalQueryInterface
call sub.msvcrt.dll_memcpy
xor r15d, r15d
lea rax, [rsp + 0x44]
mov dword [rsi + 8], r15d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [0x100005eb8]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rbx
mov dword [rbx], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, r15d
je 0x100064d5f
mov qword [rsp + 0x50], r12
lea edi, [r15 + 1]
lea rbp, [0x10000e360]
lea r12, [0x10000e348]
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x60], 0xf3
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r15w
mov byte [rsp + 0xea], r15b
mov byte [rsp + 0xeb], dil
call sub.msvcrt.dll_memset
movzx r8d, bx
lea r9, [0x10000e420]
or r8d, 0x80070000
cmp ebx, r15d
lea rdx, [rsp + 0x48]
cmovle r8d, ebx
lea rbx, [0x100005eb8]
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
call fcn.1000ea25c
int3
cmp dword [rsp + 0x40], 4
je 0x100064ef4
mov edi, 1
mov qword [rsp + 0x50], r12
lea rbp, [0x10000e360]
lea r12, [0x10000e348]
lea rcx, [rsp + 0x70]
lea r8d, [rdi + 0x77]
xor edx, edx
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x60], 0xf9
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r15w
mov byte [rsp + 0xea], r15b
mov byte [rsp + 0xeb], dil
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x48]
call fcn.1000e7ec8
lea r8d, [rdi + 3]
lea rdx, [rsp + 0xf0]
mov rcx, rax
call fcn.1000e7ec8
lea rbx, [0x100005eb8]
lea rdx, [rsp + 0x198]
mov r8, rbx
mov rcx, rax
call fcn.1000e825c
lea rdx, [rsp + 0x2e8]
mov r8, r14
mov rcx, rax
call fcn.1000e825c
mov r9d, edi
mov edx, 0x3007
mov r8, rax
mov rcx, rsi
call fcn.1000eba6c
lea rcx, [rsp + 0x198]
call fcn.1000e7e7c
lea rcx, [rsp + 0xf0]
call fcn.1000e7e7c
lea rcx, [rsp + 0x240]
call fcn.1000e7e7c
lea rcx, [rsp + 0x48]
call fcn.1000e7e7c
lea rax, [0x10000e508]
lea r8d, [rdi + 0x77]
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0xfa
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r15w
mov byte [rsp + 0xea], r15b
mov byte [rsp + 0xeb], dil
call sub.msvcrt.dll_memset
mov r11d, dword [rsp + 0x40]
lea rax, [rsp + 0x390]
lea r9, [0x10000e530]
mov dword [rsp + 0x38], r11d
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x48]
mov r8d, 0x80042302
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1000e97ec
int3
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.100130df0
add rsp, 0x3c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret