joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d8dc
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.14005f030
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x1170], rax
mov esi, r8d
mov rdi, rdx
mov qword [rsp + 0x50], rdx
xor r14d, r14d
mov dword [rsp + 0x34], r14d
lea rbx, [rcx + 0x1b0]
mov rax, qword [rbx]
cmp dword [rax - 0x10], r14d
jne 0x14000d9ce
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, str.Path
lea rdx, str.SOFTWAREShadow_Defender
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x14000d99e
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [r14 + 0x5c]
lea rcx, [rsp + 0x60]
call fcn.140064f68
mov word [rax], r14w
lea r8, str._res.ini
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400673e8
lea rcx, [rsp + 0x60]
call fcn.1400675ec
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000521c
call fcn.1400279a4
mov rcx, rax
test rax, rax
je 0x14000da9e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, esi
lea rdx, [0x140088a80]
lea rcx, [rsp + 0x38]
call fcn.140004f88
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rbp + 0x170]
lea r8, [0x140085170]
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
lea rcx, str.common
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rbp + 0x170]
mov rcx, rdi
call fcn.140003464
mov dword [rsp + 0x34], 1
lea r8, [0x140088ef4]
lea rdx, [0x140088ef8]
mov rcx, rdi
call fcn.14000ef50
nop
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000da7e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.14005ef50
add rsp, 0x1280
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003bc0
int3
Function at 0x14000daf0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.14005f030
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x1170], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
xor r12d, r12d
mov dword [rsp + 0x34], r12d
lea r15, [rcx + 0x1b0]
mov rax, qword [r15]
cmp dword [rax - 0x10], r12d
jne 0x14000dbfe
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, str.Path
lea rdx, str.SOFTWAREShadow_Defender
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x14000dbc7
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [r12 + 0x5c]
lea rcx, [rsp + 0x60]
call fcn.140064f68
mov word [rax], r12w
lea r8, str._res.ini
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400673e8
lea rcx, [rsp + 0x60]
call fcn.1400675ec
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.14000521c
mov rax, qword [r14 + 0x1b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rbp + 0x170]
lea r8, [0x140085170]
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rbp + 0x170]
mov rcx, rbx
call fcn.140003464
mov dword [rsp + 0x34], 1
lea r8, [0x140088ef4]
lea rdx, [0x140088ef8]
mov rcx, rbx
call fcn.14000ef50
nop
mov rdx, qword [rsi]
sub rdx, 0x18
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000dc74
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14000dc92
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rbx
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.14005ef50
add rsp, 0x1280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000dcb8
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rdx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
call fcn.140064220
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeW
movsxd rdi, eax
test eax, eax
jle 0x14000dd9e
mov rcx, rdi
call fcn.14002700c
mov rbx, rax
test rax, rax
je 0x14000dd9e
mov r9, rax
lea rcx, [rsp + 0x40]
mov r8d, edi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000dd9e
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x30]
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x38]
lea rdx, [0x140085174]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
mov rax, qword [rsp + 0x38]
mov rcx, rsi
mov edx, dword [rax + 0xc]
mov r8d, dword [rax + 8]
movzx eax, dx
shr edx, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str._d._d._d._d
movzx r9d, r8w
shr r8d, 0x10
call fcn.140004f88
mov rcx, rbx
call fcn.140027004
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005ef50
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000ddc8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, rdx
mov qword [rsp + 0x48], rdx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.1400279a4
mov rcx, rax
test rax, rax
je 0x14000df20
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
lea r8, str.Path
lea rdx, str.SOFTWAREShadow_Defender
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x14000de93
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [rdi + 0x5c]
lea rcx, [rsp + 0x60]
call fcn.140064f68
mov word [rax], di
lea r8, str.user.dat
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400673e8
lea rdx, [rsp + 0x50]
movzx ecx, word [rsp + 0x60]
call fcn.1400620e0
test eax, eax
je 0x14000dedf
cmp dword [rsp + 0x54], 1
jne 0x14000dedf
mov dword [rsp + 0x38], 0x104
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140061ce0
lea rcx, [rsp + 0x60]
call fcn.1400675ec
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000521c
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14005ef50
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003bc0
int3
Function at 0x14000df2c
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov ebx, r8d
mov rdi, rdx
lea rdx, [rsp + 0x68]
call fcn.14000ddc8
nop
call fcn.140061820
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, str.00000000000000000000000000000000
lea rdx, str.hash
lea rcx, str.common
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
call fcn.140061710
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000dfa9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14000e714
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
call fcn.1400293ac
lea rdx, [rsp + 0x48]
mov rcx, qword [rax + 8]
call fcn.14000ddc8
nop
mov r9, qword [rsp + 0x48]
mov r8d, 1
lea rdx, str.hibernation
lea rcx, str.common
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ebx, ebx
test eax, eax
setne bl
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000e77d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14000ebac
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
xor eax, eax
mov ecx, dword [rcx + 0x1b8]
test ecx, ecx
jne 0x14000ec0c
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
jb 0x14000ec01
mov dword [rbx + 0x1b8], 1
mov eax, 1
jmp 0x14000ec12
or dword [rbx + 0x1b8], 0xffffffff
xor eax, eax
jmp 0x14000ec12
cmp ecx, 1
sete al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14005ef50
add rsp, 0x150
pop rbx
ret

Function at 0x14000ec2c
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140064220
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x30]
call fcn.140064f68
xor ebx, ebx
lea r8, str.DefenderDaemon.exe
mov edx, 0x104
lea rcx, [rsp + 0x30]
mov word [rax], bx
call fcn.1400673e8
xor r9d, r9d
mov dword [rsp + 0x28], 5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14005ef50
add rsp, 0x250
pop rbx
ret

Function at 0x14000eda0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbx, rdx
mov rsi, rcx
jne 0x14000ee2a
cmp qword [rdx + 0x10], 9
jne 0x14000ee2a
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
test ax, ax
jns 0x14000ee2a
lea ecx, [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ebx, ax
call fcn.14003c714
mov rcx, rax
test ebx, ebx
jns 0x14000ee0a
test rax, rax
je 0x14000ee00
mov rax, qword [rax]
call qword [rax + 0xe8]
mov rdi, rax
mov rcx, rdi
call fcn.140011804
jmp 0x14000ee23
test rcx, rcx
je 0x14000ee1b
mov rax, qword [rax]
call qword [rax + 0xe8]
mov rdi, rax
mov rcx, rdi
call fcn.1400117b4
mov eax, 1
jmp 0x14000ee35
mov rdx, rbx
mov rcx, rsi
call fcn.14003cd30
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000ee48
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x28
lea rdx, str.SeShutdownPrivilege
call fcn.14000d688
mov edx, 0x30000
mov ecx, 6
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_ExitWindowsEx]

Function at 0x14000f1f0
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x28
lea rdx, str.SeShutdownPrivilege
call fcn.14000d688
mov edx, 0x30000
mov ecx, InitCommonControls
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_ExitWindowsEx]
Function at 0x14000feb8
Capabilities:
Check if file exists
Copy file
Query or enumerate registry value
Set file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x180], rax
call fcn.1400279a4
mov rcx, rax
xor esi, esi
test rax, rax
je 0x1400100e5
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
call fcn.1400279a4
mov rcx, rax
test rax, rax
je 0x1400100da
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x208
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8, str.Path
lea rdx, str.SOFTWAREShadow_Defender
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, 0x104
test eax, eax
je 0x14000ff97
mov r8d, edi
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x70]
call fcn.140064f68
mov word [rax], si
lea r8, str.user.dat
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400673e8
lea rcx, [rsp + 0x70]
call fcn.1400675ec
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000521c
lea rdx, [rsp + 0x58]
movzx ecx, word [rsp + 0x70]
call fcn.1400620e0
mov rbx, qword [rsp + 0x40]
test eax, eax
je 0x140010075
cmp dword [rsp + 0x5c], 1
jne 0x140010075
mov dword [rsp + 0x3c], edi
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.140061ce0
lea rcx, [rsp + 0x70]
call fcn.1400675ec
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.14000521c
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, esi
jmp 0x140010068
cmp edi, 3
jge 0x140010075
inc edi
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140010045
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140010093
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400100b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14005ef50
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003bc0
nop
mov ecx, 0x80004005
call fcn.140003bc0
int3
Function at 0x140011650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rdi, rdx
mov rbx, rcx
call fcn.1400293ac
mov rsi, qword [rax + 0x18]
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140011797
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
je 0x140011797
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140011797
mov edx, ebx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140011797
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001178e
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
call fcn.140064b40
and qword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x140011785
mov rsi, qword [rsp + 0x50]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140011756
lea rax, vtable.Gdiplus::Image.0
mov qword [rbx], rax
lea rdx, [rbx + 8]
and qword [rdx], 0
mov rcx, rsi
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [rbx + 0x10], eax
jmp 0x140011758
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
test rbx, rbx
je 0x140011785
mov ecx, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test ecx, ecx
jne 0x140011778
mov rax, rbx
jmp 0x140011799
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400188cc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r10, r8
lea rcx, [rsp + 0x38]
mov rax, rdx
mov qword [rsp + 0x20], rcx
mov rdi, r9
mov rcx, rax
mov r9d, 1
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140018951
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x30], 0x104
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005ef50
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x140018974
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov dword [rsp + 0x28], r8d
mov rdi, rdx
mov r8, rdx
mov rbx, rcx
xor esi, esi
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
ja 0x140018adc
lea r9, [rbp - 0x20]
mov rdx, 0xffffffff80000000
lea r8, str..htm
mov rcx, rbx
call fcn.1400188cc
test eax, eax
jne 0x140018adc
lea rdx, str._shellopencommand
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r9, [rbp - 0x20]
mov rdx, 0xffffffff80000000
lea r8, [rbp - 0x20]
mov rcx, rbx
call fcn.1400188cc
test eax, eax
jne 0x140018adc
lea rdx, str.__1_
lea rcx, [rbp - 0x20]
call fcn.14006501c
mov rbx, rax
test rax, rax
jne 0x140018a63
lea rdx, [0x14008be24]
lea rcx, [rbp - 0x20]
call fcn.14006501c
mov rbx, rax
test rax, rax
jne 0x140018a63
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rbp + rcx*2 - 0x22]
jmp 0x140018a66
mov word [rax], si
lea rdx, [0x14008be2c]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rsi
xor ecx, ecx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140018ae1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.14005ef50
mov rbx, qword [rsp + 0x520]
add rsp, 0x500
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400190b8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, rcx
xor ebp, ebp
cmp qword [rcx + 0x120], rbp
jne 0x1400191f6
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x120], rax
test rax, rax
jne 0x1400191f6
call fcn.1400279a4
mov rcx, rax
test rax, rax
je 0x14001920b
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea ecx, [rbp + 1]
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
mov esi, 0x104
sub eax, esi
or eax, ecx
jge 0x140019148
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.14000516c
mov rbx, qword [rsp + 0x40]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14006b848
test eax, eax
js 0x140019216
cmp eax, dword [rbx - 0xc]
jg 0x140019216
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], bp
lea rcx, str.winhlp32.exe
call fcn.1400675ec
mov r8d, eax
lea rdx, str.winhlp32.exe
lea rcx, [rsp + 0x40]
call fcn.1400054b4
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400191d2
mov edx, 0x6a
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadCursorW]
test rax, rax
je 0x1400191d2
mov rcx, rax
call qword [sym.imp.USER32.dll_CopyIcon]
mov qword [rdi + 0x120], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400191f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003bc0
nop
mov ecx, 0x80070057
call fcn.140003bc0
int3
Function at 0x14001b4d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r8, rdx
mov edx, 0x91
jmp method.CAboutPage.virtual_720

Function at 0x14001b744
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov ebx, r8d
mov rdi, rdx
mov rbp, rcx
call fcn.1400293ac
mov rsi, qword [rax + 0x18]
movzx edx, bx
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14001b790
xor eax, eax
jmp 0x14001b7e8
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001b78c
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140042e04
nop
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14001b68c
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
nop
lea rcx, [rsp + 0x30]
call fcn.140042e88
mov eax, ebx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret