joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e16d
Capabilities:
Get common file path
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc20
push ebx
push esi
mov ebx, ecx
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41e]
mov word [ebp - 0x420], dx
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x420]
push 0x1a
push eax
push edx
mov dword [ebp - 8], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0xc], eax
mov eax, dword [0x43b4ec]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x420]
push str.360se360se.ini
push eax
lea eax, [ebp - 4]
push 0x43c530
push eax
call fcn.00409be5
add esp, 0x10
cmp dword [ebx + 0x150c], 0
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
mov esi, str.NotJoinPrivate
je 0x41e235
and word [ebp - 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
cmp dword [ebp + 8], eax
sete al
push eax
push 0x46358c
lea eax, [ebp - 0x218]
push 0x103
push eax
call ebx
add esp, 0x10
push dword [ebp - 4]
push 0
push esi
push str.Option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
inc eax
jmp 0x41e238
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
lea edi, [ebp - 0xc1e]
push str.Software360360se5
push str._sdefaultoption
mov dword [ecx + 0x14b8], eax
xor ecx, ecx
test eax, eax
sete cl
and word [ebp - 0xc20], 0
mov dword [0x4674a8], eax
mov eax, ecx
mov ecx, 0x1ff
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push 0x3ff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc20]
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x10]
push 4
push eax
push 4
lea eax, [ebp - 0xc20]
push esi
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0xc], 0
je 0x41e306
and word [ebp - 0x218], 0
push dword [ebp + 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
push 0x46358c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x218]
push 0x103
push eax
call ebx
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
mov ebx, str.option
push dword [ebp - 4]
push eax
push esi
push ebx
call edi
mov eax, dword [ebp - 8]
push dword [eax + 0x40]
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
call edi
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41e43d
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x208]
push 0x1a
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
pop edi
je 0x41e4cf
lea eax, [ebp - 0x208]
push str.360se
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e4cf
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e4cf
test al, 0x10
jne 0x41e4cf
lea eax, [ebp - 0x208]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
leave
ret
Function at 0x41e8c2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push esi
push edi
xor edi, edi
cmp word [0x46881c], di
je 0x41e8eb
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x41e954
cmp word [eax], di
je 0x41e954
mov esi, 0x46881c
jmp 0x41e8ee
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x466020
call fcn.00404264
mov word [ebp - 0x800], di
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x7fe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultoption
lea eax, [ebp - 0x800]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
shl eax, 1
push eax
push esi
push 1
lea eax, [ebp - 0x800]
push str.homepage
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
leave
ret 4

Function at 0x41e95a
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
mov esi, ecx
mov edx, 0x81
push edi
xor ebx, ebx
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x212]
cmp dword [esi + 0x14ec], ebx
mov word [ebp - 0x214], bx
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x41e9f9
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x41a]
mov word [ebp - 0x41c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0x41c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x41c]
push 0x4636d4
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
jmp 0x41ea1d
push dword [esi + 0x3c]
lea eax, [ebp - 0x214]
push 0x104
push eax
push 0x466054
push 0x4636d4
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x214], bx
je 0x41eaca
push 3
lea eax, [ebp - 0x214]
push 0x4636c0
push eax
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x41ea54
push 1
mov dword [esi + 0x14e4], 6
pop eax
jmp 0x41eacd
cmp dword [str.qvod], ebx
je 0x41eaca
mov eax, 0x4627a0
mov edi, eax
mov eax, dword [eax]
cmp eax, ebx
je 0x41ea82
cmp word [eax], bx
je 0x41ea82
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x41ea8d
add edi, 4
mov eax, edi
cmp dword [edi], ebx
jne 0x41ea63
jmp 0x41eaca
mov dword [esi + 0x14e4], 6
lea eax, [ebp - 0x214]
add esi, 0x14f0
mov dword [ebp - 4], 1
test eax, eax
je 0x41eabb
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x214]
push ecx
push eax
mov ecx, esi
call fcn.00404cc7
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41eb1e
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and word [ebp - 0x214], 0
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x212]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
and dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 8]
mov ebx, 0x466054
push eax
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_5.exe
push edi
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x104
call esi
test eax, eax
jne 0x41eb92
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ebc6
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se.exe
push edi
call esi
test eax, eax
jne 0x41ebe6
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ebe6
lea eax, [ebp - 0x214]
push eax
push 0x43baa0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop eax
jmp 0x41ec43
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
push edi
call esi
test eax, eax
jne 0x41ec40
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ec40
mov ecx, dword [ebp + 0x10]
push 1
pop eax
mov dword [ebp - 0xc], eax
mov dword [ecx], eax
lea eax, [ebp - 0x214]
push eax
push 0x43baa0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41ffac
Capabilities:
Check if file exists
Move file
Read .ini file
Set registry value

Disassembly:
cmp dword [ecx + 0x150c], 1
jne 0x41ffc3
cmp dword [ecx + 0x14ec], 0
jne 0x41ffc3
jmp fcn.0041fff1
ret

Function at 0x41ffc4
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x41ffe8
test byte [ebp - 4], 0x20
jne 0x41ffe8
test byte [ebp - 4], 7
jne 0x41ffec
xor eax, eax
leave
ret
push 1
pop eax
leave
ret
Function at 0x420654
Capabilities:
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
and word [ebp - 0x80c], 0
push ebx
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80a]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._sdefaultoption
lea eax, [ebp - 0x80c]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, str.EnableBSK
push dword [ebp + 8]
push 0
push edi
push str.option
call esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 4
push eax
push 4
lea eax, [ebp - 0x80c]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, SysReAllocString
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.EnableMBSK
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x80c]
push str.EnableMBSK
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.BossKey
push str.option
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push 4
lea eax, [ebp - 0x80c]
push str.BossKey
push eax
push ebx
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x420a6f
Capabilities:
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
and word [ebp - 0x804], 0
push ebx
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x802]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._sdefaultoption
lea eax, [ebp - 0x804]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, str.PIS_IMAGE
push dword [ebp + 8]
push 0
push edi
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, SysReAllocString
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.PIS_FLASH
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.PIS_FLASH
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.PIS_VIDEO
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.PIS_VIDEO
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.PIS_SCRIPT
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.PIS_SCRIPT
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.PIS_AXINST
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.PIS_AXINST
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.PIS_JAVA
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.PIS_JAVA
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.UnlockCMenu
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.UnlockCMenu
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.UnlockCopy
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.UnlockCopy
push eax
push ebx
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x420c20
Capabilities:
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
and word [ebp - 0x804], 0
push ebx
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x802]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._sdefaultoption
lea eax, [ebp - 0x804]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp + 8]
push 0
push str.TrayOn
push str.option
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.SysTray
mov ebx, SysReAllocString
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.MiniToTray
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.MiniToTray
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.CloseToTray
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.CloseToTray
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.SaveAudioState
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.AudioMute
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.ShowActiveTitle
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push str.ActiveCaption
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push str.Win7TaskNail
push str.option
call esi
neg eax
sbb eax, eax
push 4
inc eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x804]
push str.Win7TaskNail
push eax
push ebx
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42226a
Capabilities:
Delete registry value
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x43b4ec]
push edi
push dword [ecx + 0x44]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push str._slogin.ini
push eax
call fcn.00409be5
add esp, 0xc
push dword [ebp - 4]
push 0xffffffffffffffff
push str.IsAuto
push str.NowLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and word [ebp - 0x808], 0
mov dword [ebp - 8], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._sdefaultFAV
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
cmp dword [ebp - 8], 0
pop edi
jle 0x422308
lea eax, [ebp - 8]
push 4
push eax
push 4
lea eax, [ebp - 0x808]
push 0x4643d0
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x42231f
lea eax, [ebp - 0x808]
push 0x4643d0
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
leave
ret

Function at 0x422447
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa10
and word [ebp - 0xa10], 0
push ebx
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa0e]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0xa10]
push 0x3ff
push eax
call ebx
and word [ebp - 0x210], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
add esp, 0x10
mov esi, SysReAllocString
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov edi, 0x4636d4
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xa10]
push edi
push eax
push esi
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x206
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42250b
cmp word [ebp - 0x210], ax
je 0x42250b
cmp byte [ebp + 8], al
jne 0x42250b
lea eax, [ebp - 0x210]
push eax
push 0x43baa0
push 0x103
push 0x468608
call ebx
add esp, 0x10
jmp 0x42252d
mov ebx, 0x468608
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
push ebx
push 1
lea eax, [ebp - 0xa10]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4225e6
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and word [ebp - 0x214], 0
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x212]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
push 4
pop ebx
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultoption
lea eax, [ebp - 0x214]
push 0x103
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 8]
mov edi, str.BrowserMode
mov esi, SysReAllocString
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422665
cmp dword [ebp - 4], eax
je 0x42267e
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push eax
push ebx
lea eax, [ebp - 0x214]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x422683
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp dword [ebp - 0x10], 1
sete al
leave
ret

Function at 0x42269e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
mov dword [ebp - 8], 1
lea eax, [eax + eax - 2]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x18], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push str.Software360360se5defaultSearch
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42270b
cmp dword [ebp - 4], ebx
je 0x42270b
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 8]
push dword [ebp + 0x14]
push eax
lea eax, [ebp + 0x10]
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x422702
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret 0x14
Function at 0x42295e
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00432300
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x150c], 0
sete al
push eax
call fcn.00422447
mov ecx, esi
call fcn.0041ffac
and word [ebp - 0x1008], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1006]
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.Software360360se5
stosw word es:[edi], ax
push str._sdefaultoption
lea eax, [ebp - 0x1008]
push 0x3ff
push eax
call ebx
mov eax, dword [esi + 0x30]
push str.5.1.0.0
push eax
call fcn.00423f51
mov edi, eax
mov eax, dword [esi + 0x30]
push str.5.1.0.9
push eax
call fcn.00423f51
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x30]
push str.5.0.3.8
push eax
call fcn.00423f51
add esp, 0x28
test edi, edi
jl 0x4229fa
cmp dword [ebp - 4], 0
jl 0x4229fe
test eax, eax
jge 0x422a2a
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x1008]
push str.TabWidthMin
push eax
push SysReAllocString
call edi
lea eax, [ebp - 0x1008]
push str.TabWidthMax
push eax
push SysReAllocString
call edi
mov ecx, esi
call fcn.00422712
xor edi, edi
cmp dword [0x468814], edi
je 0x422aa8
push str.5.0.7.8
lea ecx, [ebp - 4]
call fcn.00404707
mov word [ebp - 0x808], di
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call ebx
mov eax, dword [ebp - 4]
add esp, 0x10
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0x808]
push str.Version
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
xor edi, edi
cmp dword [esi + 0x1520], edi
jne 0x422b68
cmp dword [0x468810], edi
jne 0x422b68
mov word [ebp - 0x808], di
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultWnd
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x808]
push 0x4649c0
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, 0x4649bc
lea ecx, [esi + 0x48]
push eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.004236d3
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
lea ecx, [ebp - 8]
call fcn.00404beb
cmp dword [esi + 4], 6
jle 0x422b4f
xor esi, esi
push esi
push esi
push 1
push dword [ebp - 4]
call fcn.00427da4
add esp, 0x10
test eax, eax
jne 0x422b60
push esi
push esi
jmp 0x422b53
push 0
push 0
push 1
push dword [ebp - 4]
call fcn.00427e77
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret