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

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x34
mov eax, 0x488086
call fcn.004677c7
mov eax, dword [ebp + 0x21c]
mov esi, dword [ebp + 0x218]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x214]
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4257fd
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x104
push ebx
jmp 0x4257f0
inc dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004029f9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00406eb7
push 0x4a0ee8
lea eax, [ebp + 0x214]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d822
lea ecx, [ebp]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.0040d822
add esp, 0x18
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.004023e9
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.0043e18e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.0043e408
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0045c792
test al, al
jne 0x4257a6
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.0040aab6
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push esi
push ecx
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00402ee2
mov ecx, dword [ebp - 0x2c]
call fcn.004256a1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], 0x104
call fcn.004023e9
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004023e9
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x42571b
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x214]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x20c
leave
ret 0xc
Function at 0x425839
Capabilities:
Delete registry key

Disassembly:
push ebp
sub esp, 0x298
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x298], eax
push 0x4c
mov eax, 0x4880de
call fcn.004677c7
mov edi, ecx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
lea ecx, [ebp - 0x1c]
call fcn.004029f9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00458c06
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 1
call fcn.0044c6cf
and dword [ebp - 0x18], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42596e
jmp 0x42595c
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004029f9
push 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00421aa9
push 0x492064
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004201f8
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 2
call fcn.004023e9
test bl, bl
je 0x425941
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0042021a
sub esi, eax
dec esi
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00421aa9
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 4
je 0x425932
lea ecx, [ebp - 0x14]
call fcn.00406eb7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x58]
call fcn.0042518f
mov dword [eax], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004023e9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004023e9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
push eax
call dword [ecx + 4]
test eax, eax
jne 0x4258a2
lea ecx, [ebp - 0x38]
call fcn.0040aa77
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00402ee2
mov ecx, edi
call fcn.004256a1
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
xor esi, esi
sar eax, 2
test eax, eax
jbe 0x4259cb
push esi
lea ecx, [ebp - 0x38]
call fcn.00431a99
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
inc esi
sar eax, 2
cmp esi, eax
jb 0x4259a7
lea ecx, [ebp - 0x38]
call fcn.0040ad10
push dword [ebp - 0x38]
call fcn.00463780
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00440f4c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x298]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x29c
leave
ret
Function at 0x425a3f
Capabilities:
Delete file
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4921dc
push 0x492178
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x425aba
push 0x492158
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046711a
leave
ret

Function at 0x425ac6
Capabilities:
Set registry value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
call fcn.004673c7
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
add eax, eax
push eax
push dword [esp + 0x18]
xor ebp, ebp
inc ebp
push ebp
push str.adcount
mov ebx, str.Software360SafeLiveUp
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
push dword [esp + 0x18]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [esp + 0x1c]
push ebp
push str.plugcount
push ebx
push edi
call esi
push dword [esp + 0x1c]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [esp + 0x20]
push ebp
push str.stylecount
push ebx
push edi
call esi
push dword [esp + 0x20]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [esp + 0x24]
push ebp
push str.new0
push ebx
push edi
call esi
push dword [esp + 0x24]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [esp + 0x28]
push ebp
push str.new1
push ebx
push edi
call esi
push dword [esp + 0x28]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [esp + 0x2c]
push ebp
push str.new2
push ebx
push edi
call esi
push dword [esp + 0x2c]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [esp + 0x30]
push ebp
push str.ctext
push ebx
push edi
call esi
push dword [esp + 0x30]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [esp + 0x34]
push ebp
push str.curl
push ebx
push edi
call esi
push dword [esp + 0x34]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [esp + 0x38]
push ebp
push str.urlver
push ebx
push edi
call esi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 0x24
Function at 0x425bd9
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x425d15
cmp dword [ebp + 0xc], edi
je 0x425d15
push ebx
push esi
push dword [ebp + 8]
call fcn.004673c7
push dword [ebp + 0xc]
mov esi, eax
call fcn.004673c7
mov dword [ebp - 8], edi
lea edi, [esi + esi]
mov esi, 0x4c4fac
push esi
mov ebx, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468bae
push esi
mov dword [ebp - 4], eax
add ebx, ebx
xor ecx, ecx
push 2
pop edx
lea eax, [ebx + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468bae
add esp, 0x18
cmp dword [ebp - 4], 0
mov esi, eax
je 0x425d01
test esi, esi
je 0x425cf3
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.004689b2
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
add edi, eax
xor eax, eax
push esi
mov word [edi], ax
mov word [edi + 2], ax
call fcn.004689b2
xor eax, eax
add ebx, esi
push esi
mov word [ebx], ax
mov word [ebx + 2], ax
call fcn.004673c7
add esp, 0x14
test eax, eax
jbe 0x425cad
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425cad
push esi
call fcn.00453537
pop ecx
push 0x1e
xor edi, edi
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.004670a0
mov eax, 0x614
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x12], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xe], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
neg edi
sbb edi, edi
inc edi
jmp 0x425cf6
mov edi, dword [ebp - 8]
push dword [ebp - 4]
call fcn.00468ba3
pop ecx
jmp 0x425d04
mov edi, dword [ebp - 8]
test esi, esi
je 0x425d0f
push esi
call fcn.00468ba3
pop ecx
pop esi
mov eax, edi
pop ebx
jmp 0x425d17
xor eax, eax
pop edi
leave
ret 8

Function at 0x425d4e
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x425dfd
test esi, esi
je 0x425dfd
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004670a0
add esp, 0xc
push esi
push edi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425dfd
push ebx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x425dd5
and ebx, 0xfffffffe
push ebx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
pop ebx
je 0x425df0
cmp dword [ebp + 0x10], 0
jne 0x425dfd
lea eax, [ebp - 0x804]
push eax
call fcn.0041f5eb
pop ecx
jmp 0x425dfd
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046711a
leave
ret
Function at 0x425e0b
Capabilities:
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x179c]
mov eax, 0x181c
call fcn.00467130
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1798], eax
mov eax, dword [ebp + 0x17a4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x17a8]
push ebx
push esi
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x17ac]
push edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x17b0]
mov esi, 0x800
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x798]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x798]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.libver
mov ebx, 0x492384
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [ebp - 0x6c]
lea eax, [ebp + 0x798]
push eax
call fcn.00467c8a
pop ecx
pop ecx
test eax, eax
jge 0x425ee9
push dword [ebp - 0x6c]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [ebp - 0x6c]
push 1
push str.libver
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x70]
call fcn.004673c7
pop ecx
add eax, eax
push eax
push dword [ebp - 0x70]
push 1
push str.libdate
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004670a0
add esp, 0xc
push 0x492358
push dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
lea eax, [ebp + 0xf98]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x40
lea eax, [ebp + 0xf98]
push eax
push 0x4a11e8
mov edi, 0x4a2538
push edi
mov esi, str.360lib
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xf98]
push eax
call fcn.004673c7
pop ecx
test eax, eax
jne 0x425f60
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x80]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp + 0x1798]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0046711a
add ebp, 0x179c
leave
ret 0x10
Function at 0x425f7d
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.00467130
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x800
push esi
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004670a0
push esi
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.004670a0
push esi
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004670a0
add esp, 0x24
push 0x208
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.360SoftMgr.cpl
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1804]
push eax
call esi
push str.SoftMgr360SoftMgr.cpl
push edi
lea eax, [ebp - 0x1004]
push eax
call esi
push 0
lea eax, [ebp - 0x1804]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.00436a50
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0046711a
leave
ret 4

Function at 0x4262e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0c
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x800
lea eax, [ebp - 0xa0c]
push 0
push eax
mov edi, ecx
call fcn.004670a0
add esp, 0xc
push str.AntiArpdpath.ini
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa0c]
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0xa0c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x4a11e8
push str.datapath
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x426390
push 0x492564
push dword [edi + 0x14]
lea eax, [ebp - 0xa0c]
push eax
call esi
lea eax, [ebp - 0xa0c]
push eax
call fcn.00453537
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046711a
leave
ret 8
Function at 0x4263a0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42644f
test esi, esi
je 0x42644f
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004670a0
add esp, 0xc
push esi
push edi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42644f
push ebx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x426427
and ebx, 0xfffffffe
push ebx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
pop ebx
je 0x426442
cmp dword [ebp + 0x10], 0
jne 0x42644f
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42644f
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046711a
leave
ret

Function at 0x42645d
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0c
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x800
lea eax, [ebp - 0xa0c]
push 0
push eax
call fcn.004670a0
add esp, 0xc
push 0x49256c
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa0c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa0c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046711a
leave
ret

Function at 0x4264cd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
mov esi, ecx
call fcn.004670a0
add esp, 0xc
push str.360setupscan.exe
push dword [esi + 8]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046711a
leave
ret
Function at 0x426528
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.00467130
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x42664b
test esi, esi
je 0x42664b
push ebx
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004670a0
add esp, 0xc
push edi
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x804]
push eax
call ebx
test eax, eax
jne 0x42664a
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42664a
push 0x80
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4265c8
lea eax, [ebp - 0x804]
push eax
call ebx
mov ecx, 0x200
lea esi, [ebp - 0x804]
lea edi, [ebp - 0x1804]
rep movsd dword es:[edi], dword [esi]
push 0x800
xor esi, esi
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x1004]
push eax
push esi
push 0x492564
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x1004]
push eax
call ebx
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x42664a
push 4
push esi
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046711a
leave
ret 8
Function at 0x426a70
Capabilities:
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
push ebp
lea ebp, [esp - 0xf88]
mov eax, 0x1008
call fcn.00467130
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0xf84], eax
push ebx
push esi
mov esi, dword [ebp + 0xf90]
push edi
mov ebx, 0x800
push ebx
lea eax, [ebp - 0x7c]
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x80], esi
call fcn.004670a0
add esp, 0xc
push str.ipcqutmipc.dll
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x7c]
push eax
call esi
cmp dword [0x4c6514], 0
lea eax, [ebp - 0x7c]
push eax
jne 0x426ad7
call fcn.00402118
jmp 0x426adc
call fcn.00401df5
test eax, eax
je 0x426af2
push str.Uninstall
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x426af2
call eax
mov ecx, dword [edi + 4]
call fcn.0044c8ca
mov edi, eax
test edi, edi
je 0x426b6c
push ebx
lea eax, [ebp + 0x784]
push 0
push eax
call fcn.004670a0
add esp, 0xc
push str.safemon_safemon.dll
push dword [ebp - 0x80]
lea eax, [ebp + 0x784]
push eax
call esi
mov eax, dword [edi]
lea ecx, [ebp + 0x784]
push ecx
push edi
call dword [eax + 0x20]
push str.safemon360seax.dll
push dword [ebp - 0x80]
lea eax, [ebp + 0x784]
push eax
call esi
mov eax, dword [edi]
lea ecx, [ebp + 0x784]
push ecx
push edi
call dword [eax + 0x20]
push str.safemon360webpro.dll
push dword [ebp - 0x80]
lea eax, [ebp + 0x784]
push eax
call esi
mov eax, dword [edi]
lea ecx, [ebp + 0x784]
push ecx
push edi
call dword [eax + 0x20]
push str.Software360Safe_safemon
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.360Safetray
push 0x4914e8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [ebp + 0xf84]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0046711a
add ebp, 0xf88
leave
ret 4
Function at 0x426e22
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x7c]
push eax
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x426e94
lea eax, [ebp - 0x80]
push eax
push 0x25
push 0
call ebx
test eax, eax
jl 0x426e8b
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call esi
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 0x10]
call fcn.004025eb
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x426eda
lea eax, [ebp - 0x80]
push eax
push 0x24
push 0
call ebx
test eax, eax
jl 0x426ed1
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call esi
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 0x14]
call fcn.004025eb
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x426f20
lea eax, [ebp - 0x80]
push eax
push 2
push 0
call ebx
test eax, eax
jl 0x426f17
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call esi
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 0x18]
call fcn.004025eb
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x426f66
lea eax, [ebp - 0x80]
push eax
push 0
push 0
call ebx
test eax, eax
jl 0x426f5d
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call esi
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 0x1c]
call fcn.004025eb
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x426fac
lea eax, [ebp - 0x80]
push eax
push 0x15
push 0
call ebx
test eax, eax
jl 0x426fa3
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call esi
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 0x20]
call fcn.004025eb
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046711a
add ebp, 0x194
leave
ret