joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eaa0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4713a6
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x310], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x328]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41ec44
mov ecx, esi
call fcn.0043bd50
test eax, eax
je 0x41ec44
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push eax
call edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0041e3d0
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov dword [esp + 0x334], 0
call ebx
test eax, eax
je 0x41ec3b
mov eax, dword [0x48f014]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x334], 1
call fcn.0043ce50
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x126]
push eax
mov word [esp + 0x128], dx
call fcn.00457170
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0x481204
push ecx
lea edx, [esp + 0x124]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x11c]
push eax
call ebx
test eax, eax
je 0x41ec48
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41ec48
call fcn.0043c330
mov esi, eax
test esi, esi
je 0x41ec48
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x26]
push edx
mov word [esp + 0x28], cx
call fcn.00457170
xor eax, eax
push 0x7e
push eax
lea ecx, [esp + 0xb2]
push ecx
mov word [esp + 0xb4], ax
call fcn.00457170
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
add esp, 0x18
push 0x40
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x124]
push ecx
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x40
lea ecx, [esp + 0xa0]
push ecx
push edi
push esi
call edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0042be40
lea edx, [esp + 0x124]
push edx
mov esi, eax
call fcn.004040f0
add esp, 0xc
test esi, esi
jge 0x41ec48
cmp eax, 1
jne 0x41ec48
lea ecx, [esp + 0x14]
call fcn.0041a630
lea ecx, [esp + 0x18]
call fcn.0041a630
xor eax, eax
jmp 0x41ec72
push 0
lea eax, [esp + 0x120]
push eax
push edi
call fcn.0042ce50
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.0041a630
lea ecx, [esp + 0x18]
call fcn.0041a630
mov eax, 1
mov ecx, dword [esp + 0x328]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0045715c
add esp, 0x320
ret

Function at 0x41eca0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.00457170
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 2
lea ecx, [esp + 0x10]
push ecx
push 0
call edi
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0041df10
push 1
push 0x17
lea eax, [esp + 0x10]
push eax
push 0
call edi
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0041df10
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.0045715c
add esp, 0x804
ret
Function at 0x41ed20
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4713eb
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov eax, dword [esp + 0x158]
mov ebx, ecx
mov ecx, 6
mov esi, 0x478694
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], 0x104
lea esi, [esp + 0x24]
mov ecx, 0xd3a
mov edi, 0xd
mov dl, byte [esi]
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
imul ecx, ecx, 0x343fd
shr eax, 0x10
and eax, 0x7fff
movzx ebp, dl
sub dl, al
add ecx, 0x269ec3
mov byte [esi], dl
mov dl, byte [esi + 1]
mov eax, ecx
shr eax, 0x10
and eax, 0x7fff
movzx ebp, dl
sub dl, al
mov byte [esi + 1], dl
add esi, 2
sub edi, 1
jne 0x41eda0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x20]
push eax
push str.ExeString
lea ecx, [esp + 0x34]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x41ee24
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov edi, 1
test eax, eax
jne 0x41ee28
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
call fcn.0043be50
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
jl 0x41ee48
lea eax, [esi - 0xc]
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41ee60
mov ecx, dword [0x48f014]
mov dword [esp + 0x14], ecx
push esi
lea ecx, [esp + 0x18]
call fcn.0041c500
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x15c]
push edx
mov edx, dword [esp + 0x20]
push eax
push edi
push ecx
push esi
push str.extVER:_sEC:_dPEG:_dTF:_dER:_d
push edx
mov dword [esp + 0x16c], 0
call fcn.0041e4d0
lea eax, [esi - 0xc]
add esp, 0x1c
cmp eax, dword [0x48f010]
je 0x41eeb9
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41eeb9
push esi
call fcn.00457d84
add esp, 4
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0045715c
add esp, 0x140
ret 0x10
Function at 0x41f680
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x471521
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x828]
mov dword fs:[0], eax
mov eax, dword [esp + 0x838]
mov edi, dword [esp + 0x83c]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x24], edi
mov dword [edi], ebx
call fcn.0041e730
sub eax, 0x8ca1
je 0x41f7d9
sub eax, 1
je 0x41f892
sub eax, 2
je 0x41f88c
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x41f892
call fcn.0043c330
mov edi, eax
cmp edi, ebx
je 0x41f892
mov ecx, dword [0x48f014]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x834], ebx
call fcn.0043ce50
test eax, eax
je 0x41f816
push 0x800
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.00457170
mov ecx, dword [esp + 0x24]
add esp, 0xc
push str.safemon360tray.exe
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, eax
mov dword [esp + 0x1c], ebx
test ebp, ebp
je 0x41f83c
mov ecx, dword [0x48f014]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x838]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x838], 1
call fcn.0041e6d0
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
lea edx, [esp + 0x1c]
push edx
push 1
push 1
push 5
push eax
mov eax, dword [ecx + 0x24]
lea edx, [esp + 0x38]
push edx
push edi
call eax
test eax, eax
je 0x41f823
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x41f808
lea ecx, [esp + 0x14]
call fcn.0041a630
lea ecx, [esp + 0x18]
call fcn.0041a630
mov eax, 1
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.0045715c
add esp, 0x820
ret 8
cmp eax, 0xffffffff
jne 0x41f82b
lea ecx, [esp + 0x14]
call fcn.0041a630
lea ecx, [esp + 0x18]
call fcn.0041a630
xor eax, eax
jmp 0x41f7de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x830], 0
call fcn.0041a630
mov ecx, dword [esi + 0xc]
call fcn.0043c040
test eax, eax
je 0x41f7d0
mov ecx, dword [0x48f014]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x1c]
push ebx
push ebp
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x840], 2
call fcn.0041ed20
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f880
mov edx, dword [esp + 0x14]
push edx
push 0x15
call fcn.0043d0b0
mov eax, dword [esp + 0x20]
mov dword [eax], 1
jmp 0x41f80d
mov dword [edi], 1
xor eax, eax
jmp 0x41f7de

Function at 0x41f8a0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0041d020
mov ecx, esi
call fcn.0041d2d0
mov ecx, esi
call fcn.0041d590
mov ecx, esi
pop esi
jmp fcn.0041eca0
Function at 0x4214d0
Capabilities:
Delete file
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
sub esp, 0x20c
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x478a9c
push 0x478a38
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00457170
add esp, 0xc
lea edx, [esp]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x421540
push 0x478a18
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0045715c
add esp, 0x20c
ret

Function at 0x421560
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.Start
push str.SYSTEMCurrentControlSetServicesPacket
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4215a6
xor eax, eax
add esp, 0xc
ret
cmp dword [esp], 3
jne 0x4215dc
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push edx
push str.Start
push str.SYSTEMCurrentControlSetServicesPacket
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x4215a0
mov eax, 1
add esp, 0xc
ret
Function at 0x4215f0
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x24
push esi
test eax, eax
je 0x421792
mov esi, dword [esp + 0x30]
test esi, esi
je 0x421792
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421610
sub eax, edx
push ebx
sar eax, 1
mov ebx, eax
push ebp
mov eax, esi
push edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421630
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
xor ecx, ecx
lea eax, [ebx + ebx + 2]
mov edx, 2
xor esi, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004469eb
mov ebp, eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
lea eax, [eax + eax + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004469eb
add esp, 8
mov edi, eax
test ebp, ebp
je 0x421779
test edi, edi
je 0x421770
mov eax, dword [esp + 0x38]
mov edx, ebp
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4216a0
xor eax, eax
mov word [ebp + ebx*2], ax
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov edx, edi
mov word [ebp + ebx*2 + 2], cx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4216c5
mov eax, dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
mov word [edi + eax*2], dx
mov word [edi + eax*2 + 2], cx
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4216f0
sub eax, edx
sar eax, 1
je 0x421715
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421715
push edi
call fcn.0043ef80
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2e], eax
lea eax, [esp + 0x14]
mov edx, 0x614
push eax
mov word [esp + 0x28], dx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebp
call fcn.00457d84
add esp, 4
test edi, edi
je 0x421786
push edi
call fcn.00457d84
add esp, 4
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
add esp, 0x24
ret 8
xor eax, eax
pop esi
add esp, 0x24
ret 8

Function at 0x4217e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [ecx + 4]
sub esp, 0xc
test ecx, ecx
je 0x42184b
call fcn.0043bdb0
test eax, eax
je 0x42184b
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push str.modules360se_ph.exe
push eax
call edx
test eax, eax
je 0x42184b
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.needrun
push str.Software360se_ph
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42184b
mov eax, 1
cmp dword [esp], eax
je 0x42184d
xor eax, eax
add esp, 0xc
ret
Function at 0x4219e0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, dword [esp + 0x80c]
push edi
mov edi, dword [esp + 0x814]
test esi, esi
je 0x421aa5
test edi, edi
je 0x421aa5
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00457170
add esp, 0xc
push edi
push esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421aa5
push ebx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x421a66
and ebx, 0xfffffffe
push ebx
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
pop ebx
je 0x421a9a
cmp dword [esp + 0x818], 0
jne 0x421aa5
lea edx, [esp + 8]
push edx
call fcn.00401d20
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0045715c
add esp, 0x804
ret
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.0045715c
add esp, 0x804
ret
Function at 0x421ac0
Capabilities:
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
mov eax, 0x1810
call fcn.004580a0
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x180c], eax
push ebx
mov ebx, dword [esp + 0x1820]
push ebp
mov ebp, dword [esp + 0x1828]
push esi
mov esi, dword [esp + 0x1820]
push edi
mov edi, dword [esp + 0x1828]
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00457170
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push str.libver
push 0x478d58
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.00457f98
add esp, 8
test eax, eax
jge 0x421bb6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421b57
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push str.libver
push 0x478d58
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421b90
sub eax, edx
sar eax, 1
add eax, eax
push eax
push edi
push 1
push str.libdate
push 0x478d58
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x800
lea ecx, [esp + 0x820]
push 0
push ecx
call fcn.00457170
add esp, 0xc
push str.updatecfg.ini
push ebx
lea edx, [esp + 0x824]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x800
lea eax, [esp + 0x1020]
push 0
push eax
call fcn.00457170
add esp, 0xc
lea ecx, [esp + 0x81c]
push ecx
push 0x40
lea edx, [esp + 0x1024]
push edx
push 0x481090
push 0x482084
push str.360lib
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x101c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421c30
sub eax, edx
sar eax, 1
jne 0x421c5a
lea eax, [esp + 0x81c]
push eax
push ebp
push 0x482084
push str.360lib
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x181c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0045715c
add esp, 0x1810
ret 0x10
Function at 0x421e20
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x1804
call fcn.004580a0
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x1800], eax
push esi
mov esi, dword [esp + 0x180c]
push edi
push 0x800
lea eax, [esp + 0x80c]
push 0
push eax
call fcn.00457170
push 0x800
lea ecx, [esp + 0x1018]
push 0
push ecx
call fcn.00457170
push 0x800
lea edx, [esp + 0x24]
push 0
push edx
call fcn.00457170
add esp, 0x24
push 0x208
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.360SoftMgr.cpl
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1010]
push edx
call edi
push str.SoftMgr360SoftMgr.cpl
push esi
lea eax, [esp + 0x810]
push eax
call edi
push 0
lea ecx, [esp + 0x100c]
push ecx
lea edx, [esp + 0x810]
push edx
call fcn.0042ce50
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x1808]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0045715c
add esp, 0x1804
ret 4

Function at 0x4220f0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x804
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
mov ebx, dword [esp + 0x810]
push esi
mov esi, dword [esp + 0x810]
push edi
push 0x800
xor edi, edi
lea eax, [esp + 0x10]
push edi
push eax
call fcn.00457170
add esp, 0xc
push str.360verify.dll
push esi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [0x49426c], edi
jne 0x42214f
lea edx, [esp + 0xc]
push edx
call fcn.00404a30
jmp 0x42217f
call fcn.00404070
test eax, eax
jne 0x422174
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422174
lea ecx, [esp + 0xc]
push ecx
call fcn.004040f0
add esp, 4
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4221a9
push str.GetCIDW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4221a2
mov ecx, dword [esp + 0x81c]
push ecx
push ebx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x80c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045715c
add esp, 0x804
ret 0xc
Function at 0x4222e0
Capabilities:
Check if file exists
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
mov eax, 0x1004
call fcn.004580a0
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x1014]
push 0x800
lea eax, [esp + 0x810]
push 0
push eax
mov esi, ecx
call fcn.00457170
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.ipcqutmipc.dll
push edi
lea ecx, [esp + 0x814]
push ecx
call ebx
cmp dword [0x49426c], 0
jne 0x422349
lea edx, [esp + 0x80c]
push edx
call fcn.00404a30
jmp 0x422382
call fcn.00404070
test eax, eax
jne 0x422374
lea eax, [esp + 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422374
lea ecx, [esp + 0x80c]
push ecx
call fcn.004040f0
add esp, 4
lea edx, [esp + 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x422398
push str.Uninstall
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422398
call eax
mov ecx, dword [esi + 4]
call fcn.0043c330
mov esi, eax
test esi, esi
je 0x422408
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00457170
add esp, 0xc
push str.safemon_safemon.dll
push edi
lea ecx, [esp + 0x14]
push ecx
call ebx
mov edx, dword [esi]
mov ecx, dword [edx + 0x20]
lea eax, [esp + 0xc]
push eax
push esi
call ecx
push str.safemon360seax.dll
push edi
lea edx, [esp + 0x14]
push edx
call ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0xc]
push ecx
push esi
call edx
push str.safemon360webpro.dll
push edi
lea eax, [esp + 0x14]
push eax
call ebx
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
lea edx, [esp + 0xc]
push edx
push esi
call eax
push str.Software360Safe_safemon
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0045715c
add esp, 0x1004
ret 4

Function at 0x422450
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0xa08], eax
push esi
mov esi, dword [esp + 0xa14]
push edi
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
mov edi, ecx
call fcn.00457170
add esp, 0xc
push str.AntiArpdpath.ini
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x10]
push ecx
call esi
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x812]
push eax
mov word [esp + 0x814], dx
call fcn.00457170
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x104
lea edx, [esp + 0x810]
push edx
push 0x481090
push str.datapath
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x422503
mov eax, dword [edi + 0x14]
push 0x47923c
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
lea edx, [esp + 8]
push edx
call fcn.0043ef80
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xa10]
pop edi
pop esi
xor ecx, esp
call fcn.0045715c
add esp, 0xa0c
ret 8