joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419660
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4680cb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24c]
mov esi, dword [esp + 0x250]
mov ecx, dword [esp + 0x25c]
mov ebp, dword [esp + 0x248]
mov edi, dword [esp + 0x254]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], ecx
cmp esi, eax
je 0x419793
xor edx, edx
mov word [esi], dx
cmp edi, eax
je 0x4196db
mov dword [edi], eax
mov ebx, dword [0x484064]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x240], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x41976b
lea ecx, [esp + 0x20]
push ecx
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x41975f
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x36]
push eax
mov word [esp + 0x38], dx
call fcn.0044e060
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.00417f60
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebx - 8], 0
jne 0x41979a
lea eax, [ebx - 0xc]
cmp eax, dword [0x484060]
je 0x419793
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419793
push esi
call fcn.0044ec74
add esp, 4
xor eax, eax
jmp 0x419820
push str.Wininet.dll
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [esp + 0x1c]
call fcn.00415d40
mov ecx, dword [esp + 0x14]
push ecx
call sub.KERNEL32.dll_LoadLibraryW
mov ebx, eax
test ebx, ebx
je 0x4197f6
push str.InternetGetCookieExW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4197ef
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x258]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edi
push esi
push edx
push ebp
call eax
mov dword [esp + 0x18], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [esp + 0x14]
lea eax, [esi - 0xc]
cmp eax, dword [0x484060]
je 0x41981c
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41981c
push esi
call fcn.0044ec74
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0044e04c
add esp, 0x230
ret
Function at 0x419950
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov eax, 0x1808
call fcn.0044ef90
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x1804], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1818]
push edi
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0044e060
push 0x800
lea ecx, [esp + 0x824]
push 0
push ecx
call fcn.0044e060
add esp, 0x18
push 0x8a
lea ecx, [esp + 0x14]
call fcn.00418500
mov edx, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edx
push esi
lea eax, [esp + 0x1c]
push eax
call edi
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x4199e7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4199e7
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0044ec74
add esp, 4
lea eax, [esp + 0x14]
push eax
call fcn.00435f90
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 4
push 0x80
lea ecx, [esp + 0x18]
push ecx
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [esp + 0x14]
push edx
call ebp
push 0xb2
lea ecx, [esp + 0x14]
call fcn.00418500
mov eax, dword [eax]
push eax
push esi
lea ecx, [esp + 0x81c]
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, dword [0x484060]
je 0x419a5c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419a5c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
lea ecx, [esp + 0x814]
push ecx
call fcn.00435f90
add esp, 4
push 0x80
lea edx, [esp + 0x818]
push edx
call ebx
lea eax, [esp + 0x814]
push eax
call ebp
push 0x255
lea ecx, [esp + 0x14]
call fcn.00418500
mov ecx, dword [eax]
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
call edi
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x419acb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419acb
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0044ec74
add esp, 4
push 0x800
lea eax, [esp + 0x1018]
push 0
push eax
call fcn.0044e060
add esp, 0xc
push 0x8a
lea ecx, [esp + 0x14]
call fcn.00418500
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x101c]
push eax
call edi
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x419b2f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419b2f
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0044ec74
add esp, 4
lea eax, [esp + 0x1014]
push eax
call fcn.00435f90
add esp, 4
push 0x80
lea ecx, [esp + 0x18]
push ecx
call ebx
lea edx, [esp + 0x14]
push edx
call ebp
mov ecx, dword [esp + 0x1814]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e04c
add esp, 0x1808
ret 4
Function at 0x41a160
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x468166
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov eax, dword [0x484064]
mov esi, ecx
push 0x2712
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.00418410
mov ebx, dword [esp + 0x18]
push ebx
mov dword [esp + 0x234], 0
call fcn.0044ef31
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41a2ce
mov ecx, dword [esi + 0xc]
call fcn.00433490
mov ecx, eax
call fcn.00421270
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x41a20e
mov esi, eax
lea ecx, [esi - 0xc]
push ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41a226
mov edx, dword [0x484064]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.00417f60
mov esi, dword [esp + 0x10]
cmp dword [esi - 8], 0
mov byte [esp + 0x230], 1
jne 0x41a2a3
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x2e]
push ecx
mov word [esp + 0x30], ax
call fcn.0044e060
push 0
push 0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
push str.userid
push str.http:__my.360safe.com
mov dword [esp + 0x40], 0x100
call fcn.00419660
lea eax, [esp + 0x48]
add esp, 0x24
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a280
sub eax, edx
sar eax, 1
je 0x41a2a3
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
call fcn.00417f60
mov esi, dword [esp + 0x10]
push esi
call fcn.0044ef31
lea edx, [esi - 0xc]
add esp, 4
mov dword [esp + 0x14], eax
cmp edx, dword [0x484060]
je 0x41a2ce
add esi, 0xfffffff4
push esi
call ebp
test eax, eax
jg 0x41a2ce
push esi
call fcn.0044ec74
add esp, 4
cmp dword [esp + 0x14], 0
jbe 0x41a31c
push 4
lea eax, [esp + 0x18]
push eax
push 4
push str.UserID
push str.Software360safe
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x41a31c
lea ecx, [ebx - 0xc]
cmp ecx, dword [0x484060]
je 0x41a315
lea esi, [ebx - 0xc]
push esi
call ebp
test eax, eax
jg 0x41a315
push esi
call fcn.0044ec74
add esp, 4
mov eax, 1
jmp 0x41a33c
lea edx, [ebx - 0xc]
cmp edx, dword [0x484060]
je 0x41a33a
lea esi, [ebx - 0xc]
push esi
call ebp
test eax, eax
jg 0x41a33a
push esi
call fcn.0044ec74
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0044e04c
add esp, 0x224
ret
Function at 0x41a370
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x485d30]
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.0044e060
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.00419950
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.00419950
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.0044e04c
add esp, 0x804
ret
Function at 0x41abd0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00418a10
mov ecx, esi
call fcn.00418c90
mov ecx, esi
call fcn.00418f50
mov ecx, esi
pop esi
jmp fcn.0041a370
Function at 0x41c800
Capabilities:
Delete file
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
sub esp, 0x20c
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x46f9bc
push 0x46f958
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.0044e060
add esp, 0xc
lea edx, [esp]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41c870
push 0x46f938
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.0044e04c
add esp, 0x20c
ret

Function at 0x41c890
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 0x41c8d6
xor eax, eax
add esp, 0xc
ret
cmp dword [esp], 3
jne 0x41c90c
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 0x41c8d0
mov eax, 1
add esp, 0xc
ret
Function at 0x41c920
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x24
push esi
test eax, eax
je 0x41cac2
mov esi, dword [esp + 0x30]
test esi, esi
je 0x41cac2
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c940
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 0x41c960
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.0043d8ab
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.0043d8ab
add esp, 8
mov edi, eax
test ebp, ebp
je 0x41caa9
test edi, edi
je 0x41caa0
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 0x41c9d0
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 0x41c9f5
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 0x41ca20
sub eax, edx
sar eax, 1
je 0x41ca45
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ca45
push edi
call fcn.00435f90
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.0044ec74
add esp, 4
test edi, edi
je 0x41cab6
push edi
call fcn.0044ec74
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 0x41cb10
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [ecx + 4]
sub esp, 0xc
test ecx, ecx
je 0x41cb7b
call fcn.00433380
test eax, eax
je 0x41cb7b
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push str.modules360se_ph.exe
push eax
call edx
test eax, eax
je 0x41cb7b
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 0x41cb7b
mov eax, 1
cmp dword [esp], eax
je 0x41cb7d
xor eax, eax
add esp, 0xc
ret
Function at 0x41cd10
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x485d30]
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 0x41cdd5
test edi, edi
je 0x41cdd5
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0044e060
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 0x41cdd5
push ebx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x41cd96
and ebx, 0xfffffffe
push ebx
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
pop ebx
je 0x41cdca
cmp dword [esp + 0x818], 0
jne 0x41cdd5
lea edx, [esp + 8]
push edx
call fcn.00401dd0
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0044e04c
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.0044e04c
add esp, 0x804
ret
Function at 0x41cdf0
Capabilities:
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
mov eax, 0x1810
call fcn.0044ef90
mov eax, dword [0x485d30]
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.0044e060
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 0x46fc78
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.0044ee88
add esp, 8
test eax, eax
jge 0x41cee6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ce87
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 0x46fc78
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 0x41cec0
sub eax, edx
sar eax, 1
add eax, eax
push eax
push edi
push 1
push str.libdate
push 0x46fc78
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x800
lea ecx, [esp + 0x820]
push 0
push ecx
call fcn.0044e060
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.0044e060
add esp, 0xc
lea ecx, [esp + 0x81c]
push ecx
push 0x40
lea edx, [esp + 0x1024]
push edx
push 0x477630
push 0x47825c
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 0x41cf60
sub eax, edx
sar eax, 1
jne 0x41cf8a
lea eax, [esp + 0x81c]
push eax
push ebp
push 0x47825c
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.0044e04c
add esp, 0x1810
ret 0x10
Function at 0x41d160
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x1804
call fcn.0044ef90
mov eax, dword [0x485d30]
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.0044e060
push 0x800
lea ecx, [esp + 0x1018]
push 0
push ecx
call fcn.0044e060
push 0x800
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0044e060
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.004253d0
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.0044e04c
add esp, 0x1804
ret 4

Function at 0x41d430
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x804
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
mov ebx, dword [esp + 0x810]
push esi
push edi
mov edi, dword [esp + 0x814]
push 0x800
xor esi, esi
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0044e060
add esp, 0xc
push str.360verify.dll
push edi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d4b0
lea eax, [esp + 0xc]
push eax
call fcn.00404600
add esp, 4
test eax, eax
jne 0x41d4b0
call fcn.0044dbe0
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0044ddf0
add esp, 8
jmp 0x41d4e5
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41d4e5
push str.GetCIDW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d4de
mov ecx, dword [esp + 0x81c]
push ecx
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x80c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e04c
add esp, 0x804
ret 0xc
Function at 0x41d620
Capabilities:
Check if file exists
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
mov eax, 0x1004
call fcn.0044ef90
mov eax, dword [0x485d30]
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.0044e060
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
lea edx, [esp + 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d6af
lea eax, [esp + 0x80c]
push eax
call fcn.00404600
add esp, 4
test eax, eax
jne 0x41d6af
call fcn.0044dbe0
push eax
lea ecx, [esp + 0x810]
push ecx
call fcn.0044ddf0
add esp, 8
jmp 0x41d6d3
lea edx, [esp + 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41d6d3
push str.Uninstall
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d6d3
call eax
mov ecx, dword [esi + 4]
call fcn.00433680
mov esi, eax
test esi, esi
je 0x41d743
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044e060
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 + 0x1c]
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 + 0x1c]
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 + 0x1c]
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.0044e04c
add esp, 0x1004
ret 4

Function at 0x41d790
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x485d30]
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.0044e060
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.0044e060
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x104
lea edx, [esp + 0x810]
push edx
push 0x477630
push str.datapath
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x41d843
mov eax, dword [edi + 0x14]
push 0x47015c
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
lea edx, [esp + 8]
push edx
call fcn.00435f90
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xa10]
pop edi
pop esi
xor ecx, esp
call fcn.0044e04c
add esp, 0xa0c
ret 8