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

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x198], ax
xor esi, esi
lea eax, [ebp + 0x19a]
inc esi
push eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x74], esi
call fcn.00441830
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp - 0x78]
push eax
push str.PartnerName
mov dword [ebp - 0x78], esi
mov edi, str.SOFTWARE360SafeCoop
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x7c], 0x208
call ebx
push 4
pop eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.userid
push str.Software360Safe
push SysReAllocString
call ebx
xor ebx, ebx
cmp word [ebp + 0x198], bx
jne 0x418c67
xor eax, eax
push 0x206
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
call fcn.00441830
add esp, 0xc
push 0x104
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360oemoeminfo.ini
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp + 0x198]
push ebx
push eax
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0x103
lea eax, [ebp + 0x198]
push eax
push ebx
push 0x489f5c
mov ebx, str.main
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x418bdd
cmp word [ebp + 0x198], 0
je 0x418be7
lea eax, [ebp - 0x70]
push eax
push 1
push 0x489f48
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x74], eax
cmp word [ebp + 0x198], 0
jne 0x418c02
mov eax, 0x104
push eax
push str.h_home
push eax
lea eax, [ebp + 0x198]
push eax
call fcn.00443979
add esp, 0x10
lea eax, [ebp + 0x198]
push eax
call fcn.00441cf4
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x198]
push eax
push 1
push str.PartnerName
push edi
push esi
call ebx
lea eax, [ebp + 0x198]
push eax
call fcn.00441cf4
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x198]
push eax
push 1
push str.PrePartner
push edi
push esi
call ebx
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push str.userid
push str.Software360Safe
push SysReAllocString
call ebx
xor ebx, ebx
cmp dword [ebp - 0x74], ebx
jne 0x418c73
mov dword [ebp - 0x74], 1
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push eax
lea ecx, [esi + 8]
call fcn.004017a9
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 0x3a0]
mov dword [esi + 4], eax
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.004420f4
add ebp, 0x3a4
leave
ret
Function at 0x41aa80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
cmp dword [ebp + 0x1a4], esi
je 0x41ab2f
cmp dword [edi + 0x43c], esi
jne 0x41ac8f
xor ebx, ebx
inc ebx
mov dword [edi + 0x43c], ebx
mov dword [edi + 0x16a8], esi
call fcn.004172b6
cmp eax, 2
je 0x41ac89
cmp eax, 0x18
jne 0x41aae2
mov dword [edi + 0x16a8], ebx
push eax
mov ecx, edi
call fcn.0041a670
cmp dword [edi + 0x16a8], esi
jne 0x41ab2f
push esi
push str.Q360BoxMain
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
cmp eax, esi
je 0x41ab0f
push esi
push esi
push 0x10
push eax
call ebx
push esi
push str.Q360FWMainClass
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, esi
je 0x41ac89
push esi
push esi
push 0x10
push eax
call ebx
jmp 0x41ac89
mov eax, dword [0x4b0bc4]
cmp eax, esi
je 0x41ab4a
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
jne 0x41ab4a
push esi
mov ecx, edi
call fcn.00418565
push esi
push esi
push 0xc98
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push esi
push str.Q360FWMainClass
call ebx
cmp eax, esi
je 0x41ab77
push esi
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 4
pop eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.OpenALLProtect
push 0x4850b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41abab
mov dword [ebp - 0x74], esi
cmp dword [ebp - 0x74], esi
je 0x41abc6
push 1
mov ecx, edi
call fcn.00419532
push esi
push str.OpenALLProtect
mov ecx, edi
call fcn.0041555e
lea eax, [edi + 0x58]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push esi
push str.Q360SafeMainClass
call ebx
cmp eax, esi
je 0x41abed
push esi
push 0x73
push 0x597
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
push 0x206
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push esi
push eax
call fcn.00441830
add esp, 0xc
push 0xc3ba
lea ecx, [ebp - 0x7c]
call fcn.0040297d
push dword [eax]
lea eax, [ebp - 0x70]
push 0x104
push eax
call fcn.00402ef4
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.00401100
lea eax, [ebp - 0x70]
push eax
push esi
push 0xc
call fcn.0041a21e
add esp, 0xc
push esi
push str.Q360NetFosClass
call ebx
cmp eax, esi
je 0x41ac53
push esi
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push str.Q360BoxMain
call ebx
cmp eax, esi
je 0x41ac6a
push esi
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push 0x168
push 0x10
mov ecx, 0x4af2d0
call fcn.0041b7fe
push esi
push esi
push 0x10
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [edi + 0x43c], esi
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004420f4
add ebp, 0x19c
leave
ret 4
Function at 0x41c770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
push edi
movzx eax, bx
push eax
push 6
push dword [ebp + 8]
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x41c797
xor eax, eax
jmp 0x41c7f6
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41c793
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x41c793
push esi
push 0x48
call fcn.00443495
mov esi, eax
pop ecx
test esi, esi
je 0x41c7ef
push 0x48
push 0
push esi
call fcn.00441830
mov ecx, dword [ebp - 4]
add esp, 0xc
push dword [ebp + 0x10]
mov dword [esi], ebx
push esi
push dword [ebp + 8]
mov word [esi + 4], di
call fcn.0041c677
test eax, eax
jne 0x41c7f3
push esi
call fcn.004433b8
pop ecx
xor eax, eax
jmp 0x41c7f5
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x41c9e3
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x10004]
mov eax, 0x10004
call fcn.00443860
push 0xffffffffffffffff
push 0x47fa79
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x10000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10010]
mov edi, dword [ebp + 0x1000c]
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], eax
call fcn.0042ce3e
push eax
lea ecx, [ebp - 0x14]
call fcn.004014ab
push dword [esi + 0x40]
and dword [ebp - 4], 0
push 0x8000
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea esi, [ebp]
mov dword [ebp - 0x1c], eax
mov ebx, esi
test eax, eax
jle 0x41cb85
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
movzx eax, word [esi]
cmp eax, 0x50
je 0x41cb17
cmp eax, 0x54
je 0x41ca91
cmp eax, 0x70
je 0x41cb17
cmp eax, 0x74
jne 0x41cab3
add esi, 4
push esi
push dword [ebp + 0x10014]
push 0x400
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
jmp 0x41cb0f
cmp word [esi], 0x39
ja 0x41cab9
inc esi
inc esi
cmp word [esi], 0x30
jae 0x41caab
xor eax, eax
mov word [esi], ax
inc esi
push ebx
inc esi
call fcn.00442459
pop ecx
push eax
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
call edi
push eax
call dword [sym.imp.USER32.dll_GetMenuItemID]
push esi
push ebx
call fcn.00442459
pop ecx
push eax
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
call edi
push eax
call dword [sym.imp.USER32.dll_GetMenuItemID]
push eax
push 0x400
push ebx
call fcn.00442459
pop ecx
push eax
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
call edi
push eax
call dword [sym.imp.USER32.dll_ModifyMenuW]
jmp 0x41cb69
inc esi
inc esi
mov ebx, esi
jmp 0x41cb25
cmp word [esi], 0x39
ja 0x41cb2b
inc esi
inc esi
cmp word [esi], 0x30
jae 0x41cb1d
push ebx
push dword [ebp - 0x18]
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x14]
push str._s_P_s
inc esi
push eax
inc esi
call fcn.004017ce
push ebx
call fcn.00442459
add esp, 0x14
push eax
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0041c9e3
jmp 0x41cb69
inc esi
inc esi
cmp word [esi], 0
jne 0x41cb67
inc esi
inc esi
mov eax, esi
lea ecx, [ebp]
sub eax, ecx
sar eax, 1
cmp eax, dword [ebp - 0x1c]
mov ebx, esi
jl 0x41ca72
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401100
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10000]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x10004
leave
ret 0xc
Function at 0x41da4d
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 0x10
mov eax, 0x47fc4d
call fcn.00442103
xor eax, eax
push 0x206
mov word [ebp + 0x800], ax
xor ebx, ebx
lea eax, [ebp + 0x802]
push ebx
push eax
mov dword [ebp - 0x18], ecx
call fcn.00441830
push str.links.ini
lea eax, [ebp + 0x800]
push 0x208
push eax
call fcn.00408052
lea eax, [ebp + 0x800]
push eax
call fcn.00407206
add esp, 0x1c
test al, al
jne 0x41dac1
xor eax, eax
jmp 0x41dc13
mov ecx, dword [ebp - 0x18]
call fcn.0041d977
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00441830
add esp, 0xc
call fcn.0042ce3e
push eax
lea ecx, [ebp - 0x10]
call fcn.004014ab
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov esi, 0x800
jmp 0x41dafe
xor ebx, ebx
push 0xc
call fcn.0042490c
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41db1c
mov ecx, eax
call fcn.0041d928
mov edi, eax
jmp 0x41db1e
xor edi, edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x48b068
push eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x1c], edi
call fcn.004017ce
push esi
lea eax, [ebp]
push ebx
push eax
call fcn.00441830
add esp, 0x18
lea eax, [ebp + 0x800]
push eax
push esi
lea eax, [ebp]
push eax
push ebx
push dword [ebp - 0x10]
push str.bknews
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
lea ebx, [edi + 4]
push eax
mov ecx, ebx
call fcn.004017a9
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x48b050
push eax
call fcn.004017ce
push esi
lea eax, [ebp]
push 0
push eax
call fcn.00441830
add esp, 0x18
lea eax, [ebp + 0x800]
push eax
push esi
lea eax, [ebp]
push eax
push 0
push dword [ebp - 0x10]
push str.bknews
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
lea ecx, [edi + 8]
push eax
call fcn.004017a9
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x41dbd7
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
je 0x41dbd7
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
add ecx, 4
call fcn.00405261
jmp 0x41dbe5
mov ecx, edi
call fcn.00403e9f
push edi
call fcn.0042493b
pop ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
jl 0x41dafc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
xor eax, eax
sar ecx, 2
cmp eax, ecx
mov ecx, dword [ebp - 0x10]
sbb esi, esi
add ecx, 0xfffffff0
neg esi
call fcn.00401100
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.004420f4
add ebp, 0xa0c
leave
ret

Function at 0x41eb69
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 0x4850b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
sete al
leave
ret 4
Function at 0x4201ec
Capabilities:
Create thread

Disassembly:
jmp 0x45fbf0
call fcn.00461ec0
mov ecx, eax
jmp 0x461a00
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x461a0f
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esi + 4]
push edi
test eax, eax
je 0x461a22
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x461a26
mov edi, dword [esp + 8]
cmp dword [esi + 0x24], 0
jne 0x461a4d
push 0
push 0
push esi
push 0x461980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xb48], eax
mov dword [esi + 0x24], 1
test edi, edi
je 0x461a58
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x4201f6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x420205
xor eax, eax
jmp 0x420257
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x420201
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x420201
push esi
call fcn.00441cf4
dec eax
lea eax, [esi + eax*2]
cmp word [eax], 0x5c
pop ecx
jne 0x42023f
xor ecx, ecx
mov word [eax], cx
mov eax, 0x104
push eax
push 0x48b68c
push eax
push esi
call fcn.0044388b
xor eax, eax
add esp, 0x10
inc eax
pop esi
pop ebp
ret
Function at 0x4202b6
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x24
mov eax, 0x47ff71
call fcn.00442103
push 0x104
lea eax, [ebp]
push eax
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], 0xd7
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...HomePageLib.dat
lea eax, [ebp]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420398
push 0x206
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp - 0x18]
push eax
push str.Start_Page
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [ebx*8 + 0x4abbd4]
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x420386
inc ebx
cmp ebx, 0xe
jb 0x420363
jmp 0x4204c9
mov eax, dword [ebx*8 + 0x4abbd0]
add eax, 0x64
mov dword [ebp - 0x10], eax
jmp 0x4204c9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00420cf5
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x4204c9
cmp dword [ebp - 0x14], ebx
jbe 0x4204c9
push dword [ebp - 0x14]
push 0x4f484951
push esi
call fcn.00420cc7
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.004150c3
xor eax, eax
push 0x206
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00441830
add esp, 0xc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
push esi
call fcn.00414b2b
push ebx
push str.homePageProtect
mov edi, str.option
push edi
lea ecx, [ebp - 0x30]
call fcn.00414f46
mov esi, eax
neg esi
sbb esi, esi
neg esi
je 0x42044c
push 0x104
lea eax, [ebp + 0x208]
push eax
push 0x4851c0
push str.homepage
push edi
lea ecx, [ebp - 0x30]
call fcn.00414fa1
mov dword [ebp - 0x10], 0x73
jmp 0x42047e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.Start_Page
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor edi, edi
push dword [edi*8 + 0x4abbd4]
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4204a0
inc edi
cmp edi, 0xe
jb 0x420480
jmp 0x4204b4
neg esi
sbb esi, esi
and esi, 0xffffff9c
add esi, 0x64
add esi, dword [edi*8 + 0x4abbd0]
mov dword [ebp - 0x10], esi
push dword [ebp - 0x20]
call fcn.004433b8
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00415085
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x414
leave
ret
Function at 0x42081b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
inc dword [0x4b0ddc]
mov eax, dword [0x4b0ddc]
cmp eax, dword [0x4abc40]
jl 0x42087c
push 0x4851c0
push 0x4b15e0
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x42084b
call fcn.004205ca
push esi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x42058d
push esi
push esi
call fcn.00442565
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x4b1de0]
mov dword [0x4b0ddc], esi
pop esi
mov eax, dword [0x4b1de0]
cmp eax, 7
jl 0x420892
mov dword [0x4abc40], 0x870
leave
ret
cmp eax, 1
jl 0x4208a1
mov dword [0x4abc40], 0x78
leave
ret
Function at 0x4209e7
Capabilities:
Create thread
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x5c0
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x74], eax
cmp dword [0x4b0dd8], 0
jne 0x420c58
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x324], ax
xor esi, esi
lea eax, [ebp - 0x322]
inc esi
push eax
mov dword [0x4b0dd8], esi
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x534]
push eax
push str.Partner
mov ebx, str.Software360safeCoop
push ebx
mov dword [ebp - 0x534], esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x530], 0x208
call esi
test eax, eax
je 0x420c55
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x534]
push eax
push str.PrePartner
push ebx
push edi
call esi
test eax, eax
jne 0x420c55
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x52c], ax
lea eax, [ebp - 0x52a]
push eax
call fcn.00441830
lea eax, [ebp - 0x52c]
push 0x208
push eax
call fcn.00408fd0
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
call fcn.00441830
add esp, 0x20
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x534]
push eax
push 0x48bb18
push ebx
push edi
mov dword [ebp - 0x530], 0xc8
mov dword [ebp - 0x534], 1
call esi
and dword [ebp - 0x538], 0
push 4
pop eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], eax
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x548]
push eax
push str.UserID
push str.Software360safe
push SysReAllocString
call esi
push 0x4856cc
push str.Software360safeLiveup
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ebx, 0x800
push ebx
push 0
mov esi, 0x4b0de0
push esi
call fcn.00441830
call fcn.00403393
push eax
push dword [ebp - 0x538]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x324]
push eax
push str.http:__inst.360safe.com_reg_safe_ins.htm_partner_sver_sbid_suid_dm_s
push ebx
push esi
call fcn.00403161
add esp, 0x2c
cmp dword [0x4af2bc], 0
je 0x420bba
push str.typeupdate
push ebx
push esi
call fcn.00416ff9
call fcn.004204ef
mov dword [ebp - 0x53c], eax
test eax, eax
mov eax, str.nb1
jne 0x420bd3
mov eax, str.nb0
push eax
push ebx
push esi
call fcn.00416ff9
push 0xc8
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.00441830
xor eax, eax
cmp dword [ebp - 0x53c], ebx
setne al
add eax, 0x30
mov word [ebp - 0x11c], ax
lea eax, [ebp - 0x11c]
push eax
call fcn.00441cf4
add esp, 0x10
add eax, eax
push eax
lea eax, [ebp - 0x11c]
push eax
push 1
push str.IsNetBar
push 0x4850b8
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x540]
push eax
push ebx
push esi
push 0x4209af
push ebx
push ebx
mov dword [ebp - 0x540], ebx
call fcn.00442565
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x78
leave
ret
Function at 0x420cf5
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x420d1e
xor eax, eax
jmp 0x420d8f
push ebx
push esi
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0xc], edi
cmp dword [ebp - 8], edi
ja 0x420d82
cmp esi, 0x1000000
jae 0x420d82
shl eax, 2
push eax
call fcn.00443495
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x420d82
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420d7b
cmp dword [ebp - 0xc], esi
jne 0x420d7b
mov eax, dword [ebp + 0xc]
push dword [ebp - 4]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x420d8d
push ebx
call fcn.004433b8
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret

Function at 0x420f23
Capabilities:
Create thread

Disassembly:
call fcn.004071c6
test eax, eax
jne 0x420f2d
ret
push esi
push edi
push 0x28
call fcn.0042490c
push 0x28
xor edi, edi
mov esi, eax
push edi
push esi
call fcn.00441830
mov eax, dword [esp + 0x1c]
add esp, 0x10
push edi
push edi
push esi
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
push 0x420e13
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x24]
push edi
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
inc eax
pop esi
ret

Function at 0x4238bd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x48c8a0
push str.Software360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret

Function at 0x423b3b
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.004238fb
mov ecx, esi
call fcn.00422c4b
xor eax, eax
push eax
push eax
push eax
push 0x4239d2
push eax
push eax
call fcn.00442565
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret