joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016e70
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
call fcn.140023c3c
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140016eab
mov ecx, 0x80004005
call fcn.140019e30
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0xf0], rbx
lea rcx, [rsp + 0xf8]
call fcn.140012e60
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140016f28
cmp dword [rbx + 0x10], 0
jl 0x140016f16
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140016f16
call fcn.1400198b0
mov rsi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140016f08
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0xf0], rax
jmp 0x140016f28
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0xf0]
call fcn.140019e50
nop
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140016f44
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.ElantechETDIntelligent.exe
lea rcx, [rsp + 0xf0]
call fcn.140018b00
lea rcx, [rsp + 0xa0]
call fcn.14002eff8
nop
xor r8d, r8d
mov rbx, qword [rsp + 0xf0]
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.14002f32c
mov esi, eax
cmp eax, 1
jne 0x140016fe7
xor edx, edx
lea r8d, [rax + 0x6b]
lea rcx, [rsp + 0x34]
call fcn.14019c000
mov dword [rsp + 0x30], VarBstrFromDisp
mov dword [rsp + 0x34], 0x400
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x60], 0
cmp dword [rbx - 8], esi
jle 0x140016fd6
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0xf0]
call fcn.140019cc0
mov rbx, qword [rsp + 0xf0]
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
lea rcx, [rsp + 0xa0]
call fcn.14002f258
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017009
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140017020
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push rbx
sub rsp, 0x340
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140267b40]
xor rax, rsp
mov qword [rsp + 0x330], rax
movaps xmm0, xmmword [str._ProgramFiles_ElantechETDTouch.exe]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm1, xmmword [0x140227720]
movaps xmmword [rsp + 0xf0], xmm1
movaps xmm0, xmmword [0x140227730]
movaps xmmword [rsp + 0x100], xmm0
movaps xmm1, xmmword [0x140227740]
movaps xmmword [rsp + 0x110], xmm1
movsd xmm0, qword [0x140227750]
movsd qword [rsp + 0x120], xmm0
movzx eax, word [0x140227758]
mov word [rsp + 0x128], ax
mov r8d, 0x100
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0xa0]
call fcn.14002eff8
nop
xor r8d, r8d
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xa0]
call fcn.14002f32c
mov ebx, eax
cmp eax, 1
jne 0x140017147
xor edx, edx
lea r8d, [rax + 0x6b]
lea rcx, [rsp + 0x34]
call fcn.14019c000
mov dword [rsp + 0x30], VarBstrFromDisp
mov dword [rsp + 0x34], 0x400
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [rbx + 0x4f]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, ebx
jle 0x14001713e
movzx ecx, bl
jmp 0x140017140
xor ecx, ecx
call qword [0x1402791e8]
nop
lea rcx, [rsp + 0xa0]
call fcn.14002f258
mov eax, ebx
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.140199f00
add rsp, 0x340
pop rbx
ret
Function at 0x140017170
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
call fcn.140023c3c
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400171ab
mov ecx, 0x80004005
call fcn.140019e30
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0xf0], rbx
lea rcx, [rsp + 0xf8]
call fcn.140012e60
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140017228
cmp dword [rbx + 0x10], 0
jl 0x140017216
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140017216
call fcn.1400198b0
mov rsi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140017208
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0xf0], rax
jmp 0x140017228
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0xf0]
call fcn.140019e50
nop
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017244
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.ElantechETDOSD.exe
lea rcx, [rsp + 0xf0]
call fcn.140018b00
lea rcx, [rsp + 0xa0]
call fcn.14002eff8
nop
xor r8d, r8d
mov rbx, qword [rsp + 0xf0]
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.14002f32c
mov esi, eax
cmp eax, 1
jne 0x1400172e7
xor edx, edx
lea r8d, [rax + 0x6b]
lea rcx, [rsp + 0x34]
call fcn.14019c000
mov dword [rsp + 0x30], VarBstrFromDisp
mov dword [rsp + 0x34], 0x400
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x60], 0
cmp dword [rbx - 8], esi
jle 0x1400172d6
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0xf0]
call fcn.140019cc0
mov rbx, qword [rsp + 0xf0]
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
lea rcx, [rsp + 0xa0]
call fcn.14002f258
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017309
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140017320
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
mov qword [rsp + 0x20], 0xfffffffffffffffe
lea rcx, [rsp + 0xa0]
call fcn.14002eff8
nop
xor r8d, r8d
mov rdx, qword [0x14027a400]
lea rcx, [rsp + 0xa0]
call fcn.14002f32c
mov ebx, eax
cmp eax, 1
jne 0x1400173bc
xor edx, edx
lea r8d, [rax + 0x6b]
lea rcx, [rsp + 0x34]
call fcn.14019c000
mov dword [rsp + 0x30], VarBstrFromDisp
mov dword [rsp + 0x34], 0x400
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x60], eax
mov rcx, qword [0x14027a400]
cmp dword [rcx - 8], ebx
jle 0x1400173ab
mov edx, dword [rcx - 0x10]
lea rcx, [0x14027a400]
call fcn.140019cc0
mov rcx, qword [0x14027a400]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
lea rcx, [rsp + 0xa0]
call fcn.14002f258
mov eax, ebx
add rsp, 0xe0
pop rbx
ret
Function at 0x140017630
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov edi, ecx
lea rdx, str.SoftwareElantechOtherSetting
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400176db
lea rdx, str.IsUsbMousePlugIn
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rbx
call fcn.140019f40
mov rcx, qword [rsp + 0x50]
mov r9d, 4
mov rbx, rax
lea rax, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rbx]
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
mov rbx, qword [rsp + 0x40]
jg 0x1400176c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x30
pop rdi
ret
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140018630
Capabilities:
Set registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov qword [rsp + 0x30], 0xfffffffffffffffe
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMain
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018748
call fcn.140023c3c
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14001868e
mov ecx, 0x80004005
call fcn.140019e30
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
lea rdx, str.SmoothScroll
lea rcx, [rsp + 0x78]
call fcn.140019f40
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.14000a6a0
mov dword [0x140269428], eax
cmp eax, 0xffffffff
jne 0x140018734
lea rdx, str.SmoothScroll
lea rcx, [rsp + 0x38]
call fcn.140019f40
mov rbx, rax
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140018725
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [0x140269428], 1
mov rbx, qword [rsp + 0x70]
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140018748
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x1400188e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareElantechTempRegistry
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001899d
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.LastUserDefinedTPstate
xor r8d, r8d
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140018987
mov dword [rsp + 0x40], 0
xor edx, edx
mov ecx, VariantTimeToDosDateTime
call qword [0x140279260]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x38
ret
mov eax, dword [rsp + 0x40]
cmp eax, 1
jne 0x140018994
mov edx, eax
jmp 0x140018967
cmp eax, 2
jne 0x140018965
mov edx, eax
jmp 0x140018967
xor eax, eax
add rsp, 0x38
ret
Function at 0x1400189b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareElantechTempRegistry
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018a66
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.LastUserDefinedTPstate
xor r8d, r8d
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x140018a5b
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
lea rdx, str.LastUserDefinedTPstate
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x38
ret

Function at 0x140019a60
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 0x140019a93
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 0x140019ad9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140019ad4
nop
cmp rbx, rcx
jae 0x140019ad9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x140019ac0
cmp rbx, rcx
jb 0x140019add
xor eax, eax
jmp 0x140019ae9
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 0x14001e67c
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 rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xe0], rdx
test rdx, 0xffffffffffff0000
jne 0x14001e6bb
cmp dword [rcx + 0xd8], 0
jne 0x14001e6bb
movzx eax, dx
mov dword [rcx + 0xd8], eax
call fcn.1400240d4
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14001ea18
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e718
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.1400240d4
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14001e774
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.14001e7ac
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14001f3b4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x14026e0b4]
test eax, eax
je 0x14001f406
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14026e0b4]
test eax, eax
jne 0x14001f40f
call fcn.14001f504
test eax, eax
je 0x14001f42b
lea rdx, [rsp + 0x30]
mov rcx, qword [0x140266128]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14001f433
xor eax, eax
jmp 0x14001f48b
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x14001f46d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14001f46f
xor edi, edi
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14001f488
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x140021284
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x1400212fe
xor r8d, r8d
call fcn.140021548
mov rsi, rax
test rax, rax
jne 0x1400212ba
mov eax, edi
jmp 0x140021314
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x1400212b6
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140021e40
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 0x140021ea3
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140021eb7
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140021eb7
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x140021ebc
cmp dword [rcx + 8], 0
je 0x140021eb7
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140021ebc
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140026b04
Capabilities:
Extract resource via kernel32 functions

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 r14
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x140026b6c
call fcn.1400240d4
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140026b6c
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140026b8e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.140031918
mov esi, eax
test rdi, rdi
je 0x140026b8c
test rbx, rbx
je 0x140026b8c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140028570
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.140034204
mov rdi, rax
test rax, rax
je 0x1400285ec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1400285e7
cmp dword [rbx], 0x40
jb 0x1400285e7
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x1400285e7
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1400285f0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14002c2c8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x70
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15d, ecx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x14026e0b4]
test eax, eax
je 0x14002c31a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14026e0b4]
test eax, eax
jne 0x14002c323
call fcn.14001f504
test eax, eax
je 0x14002c33f
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140266128]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14002c34a
xor eax, eax
jmp 0x14002c3f8
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x14002c3da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14002c3dc
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14002c3f5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x14002c414
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x20], 0
xor ebx, ebx
mov eax, dword [0x14026e0b4]
test eax, eax
je 0x14002c45e
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14026e0b4]
test eax, eax
jne 0x14002c467
call fcn.14001f504
test eax, eax
je 0x14002c483
lea rdx, [rsp + 0x58]
mov rcx, qword [0x140266128]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14002c48b
xor eax, eax
jmp 0x14002c4d2
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x14002c4b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14002c4b7
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14002c4d0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14002c4e8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140271498]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14026e0b4]
test eax, eax
je 0x14002c533
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14026e0b4]
test eax, eax
jne 0x14002c53c
call fcn.14001f504
test eax, eax
je 0x14002c558
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140266128]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14002c560
xor eax, eax
jmp 0x14002c5bd
test rbx, rbx
jne 0x14002c580
lea rcx, [0x1401c6300]
call fcn.14002c218
mov rbx, rax
test rax, rax
je 0x14002c58b
mov qword [0x140271498], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14002c5a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14002c5a2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14002c5bb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret