joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d24d
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
and word [ebp - 0x214], 0
push ebx
push esi
mov ebx, ecx
mov edx, 0x81
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x212]
and word [ebp - 0x41c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x41a]
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x104
lea eax, [ebp - 0x214]
push edi
push eax
push dword [ebx + 0x4c]
call esi
lea eax, [ebp - 0x41c]
push edi
push eax
push dword [ebx + 0x48]
call esi
lea eax, [ebp - 0x214]
lea ecx, [ebp - 4]
push eax
call fcn.00404707
lea eax, [ebp - 0x41c]
lea ecx, [ebp - 8]
push eax
call fcn.00404707
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se.exe
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x466094
push ebx
push edi
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.Path
push ebx
push edi
call esi
mov eax, dword [ebp - 8]
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x466094
push ebx
push edi
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.Path
push ebx
push edi
call esi
push 0x5c
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcsrchr]
pop ecx
test eax, eax
pop ecx
je 0x41d398
sub eax, dword [ebp - 4]
sar eax, 1
cmp eax, 0xffffffff
je 0x41d398
push eax
lea eax, [ebp - 0xc]
push 0
push eax
lea ecx, [ebp - 4]
call fcn.004182b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.PathSub
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se.exe
push edi
call esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.PathSub
push ebx
push edi
call esi
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d432
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push esi
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], dx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x218]
push 0x17
push eax
push edx
call esi
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 2
push eax
push edx
call esi
mov eax, dword [0x43b4ec]
mov edi, str._s360
mov dword [ebp - 8], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 8]
push edi
push eax
call fcn.00409be5
mov eax, dword [0x43b4ec]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov esi, 0x4631b8
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409be5
mov eax, dword [0x43b4ec]
add esp, 0xc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00409be5
mov eax, dword [0x43b4ec]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00409be5
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 8]
call esi
test eax, eax
je 0x41d523
push dword [ebp - 8]
call fcn.004241fc
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x41d535
push dword [ebp - 4]
call fcn.004241fc
pop ecx
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x41d547
push dword [ebp - 0xc]
call fcn.004241fc
pop ecx
push dword [ebp - 0x10]
call esi
pop edi
pop esi
test eax, eax
je 0x41d55b
push dword [ebp - 0x10]
call fcn.004241fc
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
leave
ret 4
Function at 0x41df42
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2098
call fcn.00432320
push ebx
push esi
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
xor edi, edi
push dword [esi + 0x3c]
push edi
push str.IsSave
push str.AddUnstall
call ebx
test eax, eax
jne 0x41e07c
cmp dword [esi + 0x150c], edi
jne 0x41e07c
mov word [ebp - 0x1050], di
mov ecx, 0x411
lea edi, [ebp - 0x104e]
mov dword [ebp - 4], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 4]
push eax
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, str.http:__hao.360.cn
mov eax, edi
test eax, eax
jne 0x41dfdd
xor eax, eax
jmp 0x41dfe0
push edi
call ebx
push edi
push eax
lea ecx, [esi + 0x14f4]
call fcn.00404cc7
cmp dword [esi + 0x1504], 0
jne 0x41e03d
cmp word [ebp - 0x1050], 0
je 0x41e018
lea eax, [ebp - 0x1050]
push str.about:blank
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x41e03d
mov eax, edi
test eax, eax
je 0x41e021
push edi
call ebx
push edi
push eax
lea ecx, [esi + 0x14f4]
call fcn.00404cc7
mov dword [esi + 0x14e4], 3
jmp 0x41e168
xor eax, eax
lea ecx, [ebp - 0x1050]
cmp dword [esi + 0x1504], eax
lea edi, [esi + 0x14f8]
test ecx, ecx
je 0x41e05e
lea eax, [ebp - 0x1050]
push eax
call ebx
lea ecx, [ebp - 0x1050]
push ecx
push eax
mov ecx, edi
call fcn.00404cc7
mov dword [esi + 0x14e4], 5
jmp 0x41e168
mov word [ebp - 0x2098], di
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x2096]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2098]
push 0x1047
push eax
mov ecx, esi
call fcn.0041e595
push dword [esi + 0x3c]
push 0
push str.IE6Mode
push str.option
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2098]
push str.http:__hao.360.cn_
push eax
call edi
test eax, eax
jne 0x41e10d
lea eax, [ebp - 0x2098]
push str.hao.360.cn
push eax
call edi
test eax, eax
jne 0x41e10d
lea eax, [ebp - 0x2098]
lea edi, [esi + 0x14f4]
test eax, eax
je 0x41e102
lea eax, [ebp - 0x2098]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2098]
jmp 0x41e064
mov ebx, dword [sym.imp.MSVCRT.dll__wcsicmp]
mov edi, str.http:__hao.360.cn
lea eax, [ebp - 0x2098]
push edi
push eax
mov dword [esi + 0x14e4], 2
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x41e146
lea eax, [ebp - 0x2098]
push str.hao.360.cn
push eax
call ebx
pop ecx
test eax, eax
pop ecx
je 0x41e168
cmp dword [ebp - 4], 1
jne 0x41e168
mov eax, edi
add esi, 0x14f4
test eax, eax
je 0x41e15f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00404cc7
pop edi
pop esi
pop ebx
leave
ret
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 [0x4674e8], 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 0x41e8c2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push esi
push edi
xor edi, edi
cmp word [0x46885c], di
je 0x41e8eb
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x41e954
cmp word [eax], di
je 0x41e954
mov esi, 0x46885c
jmp 0x41e8ee
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x466060
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 0x466094
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, 0x466094
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 0x42228c
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 0x42232a
lea eax, [ebp - 8]
push 4
push eax
push 4
lea eax, [ebp - 0x808]
push 0x464408
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x422341
lea eax, [ebp - 0x808]
push 0x464408
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
leave
ret

Function at 0x422469
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 0x42252d
cmp word [ebp - 0x210], ax
je 0x42252d
cmp byte [ebp + 8], al
jne 0x42252d
lea eax, [ebp - 0x210]
push eax
push 0x43baa0
push 0x103
push 0x468648
call ebx
add esp, 0x10
jmp 0x42254f
mov ebx, 0x468648
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 0x422608
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 0x422687
cmp dword [ebp - 4], eax
je 0x4226a0
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 0x4226a5
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 0x4226c0
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 0x42272d
cmp dword [ebp - 4], ebx
je 0x42272d
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 0x422724
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret 0x14
Function at 0x422980
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00432320
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x150c], 0
sete al
push eax
call fcn.00422469
mov ecx, esi
call fcn.0041ffce
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.00423f73
mov edi, eax
mov eax, dword [esi + 0x30]
push str.5.1.0.9
push eax
call fcn.00423f73
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x30]
push str.5.0.3.8
push eax
call fcn.00423f73
add esp, 0x28
test edi, edi
jl 0x422a1c
cmp dword [ebp - 4], 0
jl 0x422a20
test eax, eax
jge 0x422a4c
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.00422734
xor edi, edi
cmp dword [0x468854], edi
je 0x422aca
push str.5.0.8.1
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 0x422b8a
cmp dword [0x468850], edi
jne 0x422b8a
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 0x4649f8
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, 0x4649f4
lea ecx, [esi + 0x48]
push eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.004236f5
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
lea ecx, [ebp - 8]
call fcn.00404beb
cmp dword [esi + 4], 6
jle 0x422b71
xor esi, esi
push esi
push esi
push 1
push dword [ebp - 4]
call fcn.00427dc6
add esp, 0x10
test eax, eax
jne 0x422b82
push esi
push esi
jmp 0x422b75
push 0
push 0
push 1
push dword [ebp - 4]
call fcn.00427e99
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret