joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002d60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b86b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.100178d0
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp + 0x10]
push 0x2000
mov dword [ebp - 0x201c], eax
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x2020]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x10002edd
cmp eax, 0x1fff
ja 0x10002edd
lea ecx, [ebp - 0x2010]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10002edd
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0x1003d330
lea eax, [ebp - 0x2010]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10002edd
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0x2018]
je 0x10002e33
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x10002e39
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [ebp - 0x2014]
test eax, eax
je 0x10002e45
mov dword [eax], ebx
mov eax, dword [ebp - 0x201c]
test eax, eax
je 0x10002e51
mov dword [eax], edi
test esi, esi
je 0x10002ed6
lea ecx, [ebp - 0x2014]
call fcn.100023f0
movzx eax, di
push eax
shr edi, 0x10
push edi
movzx eax, bx
push eax
shr ebx, 0x10
lea eax, [ebp - 0x2014]
push ebx
push str._d._d._d._d
push eax
mov dword [ebp - 4], 0
call fcn.10002c70
mov edx, dword [ebp - 0x2014]
add esp, 0x18
mov ecx, 0x104
sub edx, esi
nop dword [eax]
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x10002ebe
movzx eax, word [edx + esi]
test ax, ax
je 0x10002ebe
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x10002ea0
test ecx, ecx
lea eax, [esi - 2]
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2014]
call fcn.10002470
mov eax, 1
jmp 0x10002edf
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100178b1
mov esp, ebp
pop ebp
ret

Function at 0x10003710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10003769
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003769
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000375a
cmp esi, edx
jae 0x10003769
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10003748
cmp esi, edx
jae 0x10003769
cmp word [esi], 0
je 0x10003769
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100052b0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x208
mov esi, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Utils_arctrl.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call sym.nativeutils.dll_CheckSign
test eax, eax
je 0x1000534d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1000534d
push str.CheckAutoRun
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000534d
push esi
call eax
test eax, eax
je 0x100053c6
push str._autorun
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100053d7
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 4
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], 4
push eax
push str.AutoRun_Interval
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100053d7
mov ecx, dword [ebp - 0x210]
lea eax, [ecx - 1]
cmp eax, 0x12
ja 0x100053d7
push 1
push ecx
call fcn.100053f0
add esp, 8
test eax, eax
jne 0x100053d7
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100178b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.100178b1
mov esp, ebp
pop ebp
ret
Function at 0x10005c20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.100178d0
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.100214a0
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x10005d13
test edi, edi
je 0x10005d13
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x10005d13
cmp eax, 0x3fff
ja 0x10005d13
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10005d13
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x1003d330
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10005d13
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.100214a0
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
push edi
call fcn.10005e80
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100178b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100178b1
mov esp, ebp
pop ebp
ret

Function at 0x10005f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10005f81
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10005f81
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10005f81
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10005f81
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10005f7b
push esi
push ebx
push edi
call fcn.100209a0
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10005f7b
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006e10
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bad6
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x640]
mov dword [ebp - 4], 0
call fcn.100085c0
mov edi, dword [ebp - 0x640]
test eax, eax
jne 0x1000703b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x420]
mov edx, 0x104
lea esi, [ebp - 0x218]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10006f02
movzx eax, word [esi + ecx]
test ax, ax
je 0x10006f02
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10006ee4
lea eax, [ecx - 2]
test edx, edx
push str..HaloWp.exe
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10002f00
mov ecx, eax
test ecx, ecx
je 0x10007065
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x630], eax
push str._autorun
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x630]
push str.__s___s
push eax
call fcn.10002c70
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100214a0
add esp, 0x1c
mov dword [ebp - 0x62c], 0x208
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x634]
push eax
push 0
push str.HaloWP
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10006fc8
mov eax, dword [ebp - 0x634]
cmp eax, 1
je 0x10006fb6
cmp eax, 2
jne 0x10006fc8
cmp dword [ebp - 0x62c], 0
jne 0x10006fc8
xor eax, eax
mov word [ebp - 0x628], ax
mov esi, dword [ebp - 0x630]
lea eax, [ebp - 0x628]
push eax
push esi
call fcn.1002d28e
add esp, 8
test eax, eax
je 0x10007018
test esi, esi
je 0x10007018
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006ff0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.HaloWP
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10007034
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1000703d
xor esi, esi
test edi, edi
je 0x10007048
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100178b1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002690
int3
Function at 0x100084b0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100214a0
add esp, 0xc
mov dword [ebp - 0x418], 0x104
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.HaloWP
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x20c], 0
jne 0x1000859e
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.100214a0
add esp, 0xc
mov dword [ebp - 0x418], 0x104
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 1
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.HaloWP
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x414], 0
jne 0x1000859e
push str.HaloWP
call fcn.100081f0
add esp, 4
test eax, eax
jne 0x1000859e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100178b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.100178b1
mov esp, ebp
pop ebp
ret

Function at 0x10008670
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x1000868b
call fcn.10007070
test eax, eax
jne 0x100086c2
call fcn.10006e10
pop ebp
ret 4
push str.HaloWP
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.HaloWP
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.HaloWP
call fcn.10007fa0
add esp, 4
mov eax, 1
pop ebp
ret 4

Function at 0x100086d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.providerwpprovider.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000874d
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100178b1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10008777
push 0x1003efec
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10008777
push 0x1003ee40
call eax
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100178b1
mov esp, ebp
pop ebp
ret
Function at 0x10008980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x298], 1
mov dword [ebp - 0x294], 0x104
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x298]
push eax
push 0x1003f010
push str.SoftwareHaloWallpaper
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xfde9
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x290]
call fcn.10004a70
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
test edi, edi
je 0x10008a3b
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 0xc]
inc eax
cmp eax, ecx
jle 0x10008a2e
xor esi, esi
jmp 0x10008a3b
push dword [ebp - 0x290]
push ecx
push edi
call fcn.10008a70
mov eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x28c]
cmp eax, ecx
je 0x10008a54
push eax
call fcn.100231d9
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100178b1
mov esp, ebp
pop ebp
ret 8

Function at 0x10008ce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bdbb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10051114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x5c]
mov dword [edi], 0xb18c5a78
mov dword [edi + 4], 0x34f1cc93
mov dword [edi + 8], 0x26a862d
mov dword [edi + 0xc], 0xb47b5e45
mov dword [edi + 0x10], 0x8a1fb40b
mov dword [edi + 0x14], 0x96d88b7f
mov dword [edi + 0x18], 0x4f9fa12d
mov dword [edi + 0x1c], 0x89f60427
mov dword [edi + 0x20], 0x88328cf0
mov dword [edi + 0x24], 0xc8445ffd
mov dword [edi + 0x28], 0x43e99d4c
mov dword [edi + 0x2c], 0x7777fbd8
mov dword [edi + 0x30], 0xace3eeae
mov dword [edi + 0x34], 0xfbb86346
mov dword [edi + 0x38], 0x2eecb99
mov dword [edi + 0x3c], 0x4632ce24
mov dword [edi + 0x40], 0xd675abc6
mov dword [edi + 0x44], 0x5993d793
mov dword [edi + 0x48], 0xefae7b7d
mov dword [edi + 0x4c], 0x53821f02
mov dword [edi + 0x50], 0x13d3578e
mov word [edi + 0x54], 0x5633
mov byte [edi + 0x56], 0x35
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [edi + 0x58], 0
mov ecx, esi
mov eax, dword [esi]
push esi
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x736d6864
mov dword [ebp - 0x18], 0xc
mov dword [esi + 4], eax
call fcn.10008af0
mov eax, dword [esi]
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10009200
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1278
call fcn.100178d0
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10052c04]
test eax, eax
je 0x100093f2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x100093f2
push esi
push dword [0x10052c04]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x10052c04]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x10052c00]
call esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.wallpaper_host.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call sym.nativeutils.dll_CheckSign
test eax, eax
je 0x100093f1
xorps xmm0, xmm0
mov dword [ebp - 0x1278], 0x44
lea eax, [ebp - 0x1278]
movlpd qword [ebp - 0x1274], xmm0
push eax
movlpd qword [ebp - 0x126c], xmm0
movlpd qword [ebp - 0x1264], xmm0
movlpd qword [ebp - 0x125c], xmm0
movlpd qword [ebp - 0x1254], xmm0
movlpd qword [ebp - 0x124c], xmm0
movlpd qword [ebp - 0x1244], xmm0
movlpd qword [ebp - 0x123c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x124c], 1
mov word [ebp - 0x1248], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x1224]
push eax
movups xmmword [ebp - 0x1234], xmm0
call fcn.10009410
push 0x1000
lea eax, [ebp - 0x120c]
push 0
push eax
call fcn.100214a0
cmp dword [ebp - 0x1210], 0x10
lea eax, [ebp - 0x1224]
cmovae eax, dword [ebp - 0x1224]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x120c]
push str.__s___hs__fromhalo
push eax
call fcn.10008c60
add esp, 0x20
lea eax, [ebp - 0x1234]
push eax
lea eax, [ebp - 0x1278]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100093bb
push dword [ebp - 0x1230]
call esi
push dword [ebp - 0x1234]
call esi
mov edx, dword [ebp - 0x1210]
cmp edx, 0x10
jb 0x100093f1
mov ecx, dword [ebp - 0x1224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100093e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009400
push edx
push ecx
call fcn.10017540
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100178b1
mov esp, ebp
pop ebp
ret
call fcn.100230fc
int3
Function at 0x10009840
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1278
call fcn.100178d0
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.wallpaper_host.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call sym.nativeutils.dll_CheckSign
test eax, eax
jne 0x100098be
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100178b1
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x1278], 0x44
push edi
lea eax, [ebp - 0x1278]
movlpd qword [ebp - 0x1274], xmm0
push eax
movlpd qword [ebp - 0x126c], xmm0
movlpd qword [ebp - 0x1264], xmm0
movlpd qword [ebp - 0x125c], xmm0
movlpd qword [ebp - 0x1254], xmm0
movlpd qword [ebp - 0x124c], xmm0
movlpd qword [ebp - 0x1244], xmm0
movlpd qword [ebp - 0x123c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x124c], 1
mov word [ebp - 0x1248], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x1224]
push eax
movups xmmword [ebp - 0x1234], xmm0
call fcn.10009410
push 0x1000
lea eax, [ebp - 0x120c]
push 0
push eax
call fcn.100214a0
cmp dword [ebp - 0x1210], 0x10
lea eax, [ebp - 0x1224]
cmovae eax, dword [ebp - 0x1224]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x120c]
push str.__s___hs__fromhalo
push eax
call fcn.10008c60
add esp, 0x20
lea eax, [ebp - 0x1234]
push eax
lea eax, [ebp - 0x1278]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
jne 0x100099cc
push dword [ebp - 0x1230]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1210]
cmp edx, 0x10
jb 0x10009a02
mov ecx, dword [ebp - 0x1224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100099f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009a13
push edx
push ecx
call fcn.10017540
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.100178b1
mov esp, ebp
pop ebp
ret
call fcn.100230fc
int3
Function at 0x1000bb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], 1
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x418], 0x104
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 0xea
je 0x1000bbcc
push 0x208
lea eax, [ebp - 0x414]
mov dword [ebp - 0x41c], 1
push 0
push eax
mov dword [ebp - 0x418], 0x104
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 0xea
jne 0x1000bbd3
mov ecx, esi
call fcn.1000bf00
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100178b1
mov esp, ebp
pop ebp
ret
Function at 0x1000be60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10051114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.1000a6b0
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 1
push 0
push eax
mov dword [ebp - 0x210], 0x104
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowpapp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.halowallpaper.ico
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1000beec
mov ecx, esi
call fcn.1000bf00
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100178b1
mov esp, ebp
pop ebp
ret