joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41aa46
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4ac40c]
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 0x41aaf5
cmp dword [edi + 0x43c], esi
jne 0x41ac55
xor ebx, ebx
inc ebx
mov dword [edi + 0x43c], ebx
mov dword [edi + 0x16a8], esi
call fcn.004172da
cmp eax, 2
je 0x41ac4f
cmp eax, 0x18
jne 0x41aaa8
mov dword [edi + 0x16a8], ebx
push eax
mov ecx, edi
call fcn.0041a636
cmp dword [edi + 0x16a8], esi
jne 0x41aaf5
push esi
push str.Q360BoxMain
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
cmp eax, esi
je 0x41aad5
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 0x41ac4f
push esi
push esi
push 0x10
push eax
call ebx
jmp 0x41ac4f
mov eax, dword [0x4afbc4]
cmp eax, esi
je 0x41ab10
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
jne 0x41ab10
push esi
mov ecx, edi
call fcn.0041852b
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 0x41ab3d
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 0x4840b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41ab71
mov dword [ebp - 0x74], esi
cmp dword [ebp - 0x74], esi
je 0x41ab8c
push 1
mov ecx, edi
call fcn.004194f8
push esi
push str.OpenALLProtect
mov ecx, edi
call fcn.00415555
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 0x41abb3
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.0041a1e4
add esp, 0xc
push esi
push str.Q360NetFosClass
call ebx
cmp eax, esi
je 0x41ac19
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 0x41ac30
push esi
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push 0x168
push 0x10
mov ecx, 0x4ae2d0
call fcn.0041b7c4
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 0x41c75e
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 0x41c785
xor eax, eax
jmp 0x41c7e4
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41c781
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x41c781
push esi
push 0x48
call fcn.00443495
mov esi, eax
pop ecx
test esi, esi
je 0x41c7dd
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.0041c643
test eax, eax
jne 0x41c7e1
push esi
call fcn.004433b8
pop ecx
xor eax, eax
jmp 0x41c7e3
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x41c9d6
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x10004]
mov eax, 0x10004
call fcn.00443860
push 0xffffffffffffffff
push 0x47f781
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4ac40c]
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.0042ce56
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 0x41cb78
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
movzx eax, word [esi]
cmp eax, 0x50
je 0x41cb0a
cmp eax, 0x54
je 0x41ca84
cmp eax, 0x70
je 0x41cb0a
cmp eax, 0x74
jne 0x41caa6
add esi, 4
push esi
push dword [ebp + 0x10014]
push 0x400
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
jmp 0x41cb02
cmp word [esi], 0x39
ja 0x41caac
inc esi
inc esi
cmp word [esi], 0x30
jae 0x41ca9e
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 0x41cb5c
inc esi
inc esi
mov ebx, esi
jmp 0x41cb18
cmp word [esi], 0x39
ja 0x41cb1e
inc esi
inc esi
cmp word [esi], 0x30
jae 0x41cb10
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.004017d8
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.0041c9d6
jmp 0x41cb5c
inc esi
inc esi
cmp word [esi], 0
jne 0x41cb5a
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 0x41ca65
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 0x41d950
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 0x10
mov eax, 0x47f8e3
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.00407efe
lea eax, [ebp + 0x800]
push eax
call fcn.00407063
add esp, 0x1c
test al, al
jne 0x41d9c4
xor eax, eax
jmp 0x41db16
mov ecx, dword [ebp - 0x18]
call fcn.0041d8a7
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.0042ce56
push eax
lea ecx, [ebp - 0x10]
call fcn.004014ab
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov esi, 0x800
jmp 0x41da01
xor ebx, ebx
push 0xc
call fcn.0042490c
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41da1f
mov ecx, eax
call fcn.0041d838
mov edi, eax
jmp 0x41da21
xor edi, edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x48a050
push eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x1c], edi
call fcn.004017d8
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.004017b3
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x48a038
push eax
call fcn.004017d8
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.004017b3
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x41dada
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
je 0x41dada
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
add ecx, 4
call fcn.00422922
jmp 0x41dae8
mov ecx, edi
call fcn.00403d3f
push edi
call fcn.00424946
pop ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
jl 0x41d9ff
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 0x41ea3a
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 0x4840b8
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 0x4200bc
Capabilities:
Create thread

Disassembly:
jmp 0x45fc50
call fcn.00461be0
mov ecx, eax
jmp 0x461ab0
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x461abf
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esi + 4]
push edi
test eax, eax
je 0x461ad2
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x461ad6
mov edi, dword [esp + 8]
cmp dword [esi + 0x24], 0
jne 0x461afd
push 0
push 0
push esi
push 0x461a30
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 0x461b08
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x4200c6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4200d5
xor eax, eax
jmp 0x420127
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 0x4200d1
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4200d1
push esi
call fcn.00441cf4
dec eax
lea eax, [esi + eax*2]
cmp word [eax], 0x5c
pop ecx
jne 0x42010f
xor ecx, ecx
mov word [eax], cx
mov eax, 0x104
push eax
push 0x48a68c
push eax
push esi
call fcn.0044388b
xor eax, eax
add esp, 0x10
inc eax
pop esi
pop ebp
ret
Function at 0x420186
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x24
mov eax, 0x47fc2a
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 0x420268
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 + 0x4aabd4]
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x420256
inc ebx
cmp ebx, 0xe
jb 0x420233
jmp 0x420399
mov eax, dword [ebx*8 + 0x4aabd0]
add eax, 0x64
mov dword [ebp - 0x10], eax
jmp 0x420399
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00420bc5
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x420399
cmp dword [ebp - 0x14], ebx
jbe 0x420399
push dword [ebp - 0x14]
push 0x4f484951
push esi
call fcn.00420b97
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.004150ba
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.00414b22
push ebx
push str.homePageProtect
mov edi, str.option
push edi
lea ecx, [ebp - 0x30]
call fcn.00414f3d
mov esi, eax
neg esi
sbb esi, esi
neg esi
je 0x42031c
push 0x104
lea eax, [ebp + 0x208]
push eax
push 0x4841c0
push str.homepage
push edi
lea ecx, [ebp - 0x30]
call fcn.00414f98
mov dword [ebp - 0x10], 0x73
jmp 0x42034e
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 + 0x4aabd4]
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x420370
inc edi
cmp edi, 0xe
jb 0x420350
jmp 0x420384
neg esi
sbb esi, esi
and esi, 0xffffff9c
add esi, 0x64
add esi, dword [edi*8 + 0x4aabd0]
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.0041507c
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 0x4206eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
inc dword [0x4afddc]
mov eax, dword [0x4afddc]
cmp eax, dword [0x4aac40]
jl 0x42074c
push 0x4841c0
push 0x4b05e0
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x42071b
call fcn.0042049a
push esi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x42045d
push esi
push esi
call fcn.00442565
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x4b0de0]
mov dword [0x4afddc], esi
pop esi
mov eax, dword [0x4b0de0]
cmp eax, 7
jl 0x420762
mov dword [0x4aac40], 0x870
leave
ret
cmp eax, 1
jl 0x420771
mov dword [0x4aac40], 0x78
leave
ret
Function at 0x4208b7
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 [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x74], eax
cmp dword [0x4afdd8], 0
jne 0x420b28
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 [0x4afdd8], 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 0x420b25
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 0x420b25
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.00408e7c
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 0x48ab18
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 0x4846cc
push str.Software360safeLiveup
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ebx, 0x800
push ebx
push 0
mov esi, 0x4afde0
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 [0x4ae2bc], 0
je 0x420a8a
push str.typeupdate
push ebx
push esi
call fcn.0041701d
call fcn.004203bf
mov dword [ebp - 0x53c], eax
test eax, eax
mov eax, str.nb1
jne 0x420aa3
mov eax, str.nb0
push eax
push ebx
push esi
call fcn.0041701d
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 0x4840b8
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x540]
push eax
push ebx
push esi
push 0x42087f
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 0x420bc5
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 0x420bee
xor eax, eax
jmp 0x420c5f
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 0x420c52
cmp esi, 0x1000000
jae 0x420c52
shl eax, 2
push eax
call fcn.00443495
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x420c52
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 0x420c4b
cmp dword [ebp - 0xc], esi
jne 0x420c4b
mov eax, dword [ebp + 0xc]
push dword [ebp - 4]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x420c5d
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 0x420df3
Capabilities:
Create thread

Disassembly:
call fcn.00407023
test eax, eax
jne 0x420dfd
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 0x420ce3
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 0x4238b8
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 0x48b8a0
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 0x423b36
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.004238f6
mov ecx, esi
call fcn.00422c46
xor eax, eax
push eax
push eax
push eax
push 0x4239cd
push eax
push eax
call fcn.00442565
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x423c8a
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, ecx
call fcn.0040234e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XDOpen
push eax
mov dword [esi + 4], eax
call edi
push str.XDClose
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push str.XDAddRecordsEx
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push str.XDDeleteRecords
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
push str.XDGetFirst
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
push str.XDGetNext
push dword [esi + 4]
mov dword [esi + 0x24], eax
call edi
push str.XDGetCounts
push dword [esi + 4]
mov dword [esi + 0x28], eax
call edi
push str.XDGetLastFlag
push dword [esi + 4]
mov dword [esi + 0x2c], eax
call edi
xor edi, edi
mov dword [esi + 0x30], eax
cmp dword [esi + 0x14], edi
je 0x423d37
cmp dword [esi + 0x18], edi
je 0x423d37
cmp dword [esi + 0x1c], edi
je 0x423d37
cmp dword [esi + 0x20], edi
je 0x423d37
cmp dword [esi + 0x24], edi
je 0x423d37
cmp dword [esi + 0x28], edi
je 0x423d37
cmp dword [esi + 0x2c], edi
je 0x423d37
cmp eax, edi
je 0x423d37
xor eax, eax
inc eax
mov dword [esi + 0xc], eax
jmp 0x423d62
mov eax, dword [esi + 4]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
cmp eax, edi
je 0x423d60
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], edi
xor eax, eax
pop edi
pop esi
ret 4

Function at 0x423db0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x42bbfd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42bc44
call fcn.004257e7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42bc44
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42bc60
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042b775
mov esi, eax
test edi, edi
je 0x42bc5e
test ebx, ebx
je 0x42bc5e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4