joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dd30
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x2024
call fcn.0044ef90
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x2020], eax
xor eax, eax
test esi, esi
je 0x40ddbb
push 0x2000
mov dword [esp + 8], eax
push eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x10], 3
call fcn.0044e060
push 0x1000
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.0044effb
add esp, 0x18
lea ecx, [esp]
lea edx, [esp + 0x20]
mov eax, 0x614
push ecx
mov dword [esp + 0xc], edx
mov word [esp + 0x14], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, 1
mov ecx, dword [esp + 0x2020]
xor ecx, esp
call fcn.0044e04c
add esp, 0x2024
ret

Function at 0x40e0f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46b790
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x1c], vtable.CResourceUnpack.0
mov edx, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [0x4891e8]
push edx
mov edx, dword [ecx + 0x28]
push eax
push 0x4891e8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
cmp eax, ebx
jne 0x40e16c
xor eax, eax
jmp 0x40e1ed
mov eax, dword [0x487cf8]
mov edx, dword [eax + 0xc]
mov ecx, 0x487cf8
xor ebp, ebp
call edx
add eax, 0x10
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x34], 1
call fcn.00403380
mov esi, dword [esp + 0x48]
add esp, 4
test eax, eax
je 0x40e1c3
mov eax, esi
lea edi, [esp + 0x1c]
call fcn.0040d620
test eax, eax
je 0x40e1c3
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push esi
push eax
call edx
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e1eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
Function at 0x40ec70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.00408150
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.0040eac0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40eceb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esi + 0x1c]
mov esi, dword [esi + 4]
test esi, esi
je 0x40ecfb
cmp esi, dword [esp + 0x14]
je 0x40ed00
call fcn.0044e69a
xor eax, eax
cmp edi, dword [esp + 0x18]
setne al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40ed20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.00408150
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.0040eac0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ed9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 4]
add esi, 4
test edi, edi
je 0x40edb0
cmp edi, eax
je 0x40edb5
call fcn.0044e69a
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40edca
push eax
push edi
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.0040f120
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ff80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41002a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41002a
lea eax, [esp + 0x14]
push eax
mov edi, str.version1.0_encodingutf_16
call fcn.00404760
lea ecx, [esp + 0x10]
push ecx
mov edi, esi
mov dword [esp + 0x6c], 0
call fcn.00404760
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x74], 1
call fcn.0040a250
lea edi, [esp + 0x10]
call fcn.00404800
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 4
call fcn.00404800
cmp dword [esp + 0x4c], 0
sete al
test al, al
sete al
test al, al
jne 0x410040
lea ecx, [esp + 0x48]
call fcn.00409f10
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea edx, [esp + 0x14]
push edx
mov edi, 0x4789c4
call fcn.00404760
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x18]
lea esi, [esp + 0x3c]
mov byte [esp + 0x6c], 5
call fcn.00409e10
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 7
call fcn.00404800
cmp dword [esp + 0x40], 0
sete al
test al, al
sete al
test al, al
je 0x4100a3
cmp dword [esp + 0x3c], 0
sete al
test al, al
sete al
test al, al
je 0x4100a3
mov edx, dword [ebp + 8]
add edx, 8
mov ecx, esi
call fcn.00410220
lea ecx, [esp + 0x14]
push ecx
mov edi, str.Plugin_AfterSetup
call fcn.00404760
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x18]
lea esi, [esp + 0x2c]
mov byte [esp + 0x6c], 8
call fcn.00409e10
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 0xa
call fcn.00404800
cmp dword [esp + 0x30], 0
sete al
test al, al
sete al
test al, al
je 0x410106
cmp dword [esp + 0x2c], 0
sete al
test al, al
sete al
test al, al
je 0x410106
mov edx, dword [ebp + 8]
add edx, 0x20
mov ecx, esi
call fcn.00410220
lea eax, [esp + 0x14]
push eax
mov edi, str.Plugin_BeforeUninstall
call fcn.00404760
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
lea esi, [esp + 0x1c]
mov byte [esp + 0x6c], 0xb
call fcn.00409e10
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 0xd
call fcn.00404800
cmp dword [esp + 0x20], 0
sete al
test al, al
sete al
test al, al
je 0x410169
cmp dword [esp + 0x1c], 0
sete al
test al, al
sete al
test al, al
je 0x410169
mov edx, dword [ebp + 8]
add edx, 0x38
mov ecx, esi
call fcn.00410220
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0xa
call fcn.004048d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 7
call fcn.004048d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 4
call fcn.004048d0
lea ecx, [esp + 0x48]
call fcn.00409f10
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4107d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x485d30]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 4]
push ecx
push edx
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esi]
sub eax, 0
je 0x41084b
sub eax, 2
jne 0x4108db
mov ecx, dword [0x4891e8]
mov edx, dword [ecx + 0x10]
push 0x4891e8
call edx
test eax, eax
je 0x4108db
movzx edx, byte [esi + 0x10]
mov ecx, dword [eax]
push 0
push edx
mov edx, dword [esi + 8]
push 1
push 5
push edx
lea edx, [ebp - 0x80c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
jmp 0x4108db
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410886
lea edx, [ebp - 0x80c]
push edx
call fcn.00404600
add esp, 4
test eax, eax
jne 0x410886
call fcn.0044dbe0
push eax
lea eax, [ebp - 0x80c]
push eax
call fcn.0044ddf0
add esp, 8
jmp 0x4108db
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4108db
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4108a4
xor eax, eax
jmp 0x4108cd
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4108b7
xor eax, eax
jmp 0x4108cd
lea edi, [eax + eax]
mov eax, edi
call fcn.004506e0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00411710
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4108db
call eax
mov eax, 1
lea esp, [ebp - 0x81c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044e04c
mov esp, ebp
pop ebp
ret 4
Function at 0x413800
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x634
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push edi
push esi
call ecx
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x41392d
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x413862
call fcn.0044e69a
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
cmp dword [ecx - 0xc], 0
je 0x41391d
cmp dword [esi + 0x1c], 0
je 0x413913
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x41389e
push 4
lea edx, [eax + 0x14]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 4
push edx
push ecx
push eax
call ebx
jmp 0x41391d
cmp edx, 1
jne 0x4138c1
mov edx, dword [eax + 0x18]
mov ebx, dword [edx - 0xc]
add ebx, ebx
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 1
push edx
push ecx
push eax
call ebx
jmp 0x41391d
cmp edx, 2
jne 0x41391d
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push edi
push esi
call eax
lea eax, [esp + 0x430]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4138e0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x434]
push edx
mov edx, dword [esp + 0x20]
push 1
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call ebx
jmp 0x41391d
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add dword [esp + 0x10], 0x1c
inc edi
cmp edi, dword [esp + 0x14]
jl 0x413840
mov ecx, dword [esp + 0x63c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044e04c
mov esp, ebp
pop ebp
ret 4

Function at 0x414750
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
mov dword [edi + 0xc], eax
cmp ecx, eax
jne 0x414786
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0044e04c
mov esp, ebp
pop ebp
ret
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
push ecx
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004151c0
add esp, 4
mov eax, esi
call fcn.004152d0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, 1
call fcn.0044e04c
mov esp, ebp
pop ebp
ret
Function at 0x414800
Capabilities:
Read file via mapping

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
xor ebx, ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x4148b3
push esi
push eax
push 1
push 3
push eax
push 1
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4148b0
cmp esi, 0xffffffff
je 0x4148a9
push ebp
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
push ebx
push ebx
mov ebp, eax
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 2
push 0
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
mov dword [esp + 0x14], 1
call fcn.00414750
add esp, 4
test ebx, ebx
je 0x414899
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test ebp, ebp
je 0x4148a4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop edi
pop ebx
add esp, 8
ret

Function at 0x4155c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push str.NetCheck
push str.SOFTWARE360Safe360Scan
mov edi, 4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x46e690
push str.SOFTWARE360Safe360Scan
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call esi
cmp dword [esp + 0x10], 0
pop edi
pop esi
je 0x415649
cmp dword [esp + 0xc], 0
je 0x415649
mov eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret
Function at 0x415700
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x288
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x8a]
push ecx
mov word [esp + 0x8c], ax
call fcn.0044e060
add esp, 0xc
mov ecx, 0x12
mov esi, str.Control_PanelDesktopWindowMetrics
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 8]
push edx
mov ecx, 8
mov esi, str.Shell_Icon_Size
lea edi, [esp + 0x1c]
lea eax, [esp + 0x84]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push SysReAllocString
mov dword [esp + 0x20], 0x20a
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x415821
mov ecx, dword [0x46e6f8]
mov dx, word [0x46e6fc]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 6
lea eax, [esp + 0x14]
push eax
push 1
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x24]
mov word [esp + 0x20], dx
push ecx
lea edx, [esp + 0x48]
push edx
push SysReAllocString
call edi
test eax, eax
jne 0x415821
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push eax
push 0x1388
push 2
push eax
push 0x2a
push 0x1a
push 0xffff
call esi
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x415821
push eax
push 0x1388
push 2
push eax
push 0x2a
push 0x1a
push 0xffff
call esi
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
xor ecx, esp
call fcn.0044e04c
add esp, 0x288
ret

Function at 0x415860
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x808], eax
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0044e060
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4158d4
xor eax, eax
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0044e04c
add esp, 0x80c
ret
cmp word [esp + 8], 0
je 0x4158bd
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0044e04c
add esp, 0x80c
ret
Function at 0x415f10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x994
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x990], eax
push ebx
mov ebx, dword [esp + 0x9a0]
push edi
mov edi, dword [esp + 0x9a0]
test edi, edi
je 0x41603b
test ebx, ebx
je 0x41603b
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415f50
sub eax, edx
sar eax, 1
cmp eax, 0x64
ja 0x41603b
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415f70
sub eax, edx
sar eax, 1
cmp eax, 0x40
ja 0x41603b
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp word [0x4877c0], cx
jne 0x415fb9
push 0x208
push 0x4877c0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Drivers
push 0x4877c0
push 0x4877c0
call esi
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044e060
add esp, 0xc
push edi
push 0x4877c0
lea ecx, [esp + 0x14]
push ecx
call esi
mov ecx, 0x11
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x80c]
rep movsd dword es:[edi], dword [esi]
push 0x14a
lea edx, [esp + 0x856]
push 0
push edx
movsw word es:[edi], word [esi]
call fcn.0044e060
push ebx
lea eax, [esp + 0x81c]
push 0xc8
push eax
call fcn.0044e6aa
mov ecx, dword [esp + 0x9c4]
push ecx
lea edx, [esp + 0x828]
push edx
lea eax, [esp + 0x2c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.004358b0
add esp, 0x28
pop esi
jmp 0x41603d
xor eax, eax
mov ecx, dword [esp + 0x998]
pop edi
pop ebx
xor ecx, esp
call fcn.0044e04c
add esp, 0x994
ret 0xc
Function at 0x4166b0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x467d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x80c]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4166f5
xor eax, eax
jmp 0x4167a3
mov eax, dword [0x484064]
mov dword [esp + 4], eax
lea edx, [esp + 4]
push edx
mov dword [esp + 0x818], 0
call fcn.00433dd0
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0044e060
mov ecx, dword [esp + 0x10]
add esp, 0xc
push str.safemon360tray.exe__start
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416743
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0xc]
push ecx
push 1
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [esp + 4]
lea edx, [eax - 0xc]
cmp edx, dword [0x484060]
je 0x41679e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41679e
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x80c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0044e04c
add esp, 0x814
ret
Function at 0x4167d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x467d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov edi, dword [esp + 0x838]
mov eax, dword [esp + 0x83c]
mov ebp, dword [esp + 0x834]
mov ebx, dword [esp + 0x840]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test edi, edi
je 0x41691e
test ebx, ebx
je 0x41691e
test ebp, ebp
je 0x41691e
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x41691e
call fcn.00433680
mov esi, eax
test esi, esi
je 0x41691e
cmp dword [esp + 0x848], 0
je 0x416881
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41691e
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x416902
mov ecx, dword [0x484064]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x830], 0
call fcn.00433dd0
push 0x800
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.0044e060
mov edx, dword [esp + 0x20]
add esp, 0xc
push edi
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [esp + 0x844]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x24]
lea edx, [esp + 0x2c]
push edx
push ebp
push esi
call eax
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00415e60
mov eax, esi
jmp 0x416920
mov edx, dword [esp + 0x844]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x24]
push edx
push ebx
push eax
push edi
push ebp
push esi
call ecx
mov esi, eax
jmp 0x416920
xor eax, eax
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0044e04c
add esp, 0x81c
ret 0x18
Function at 0x416d10
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x467f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x814]
mov dword fs:[0], eax
cmp dword [esp + 0x824], 0
mov edi, ecx
je 0x416d5e
push 4
lea eax, [esp + 0x10]
push eax
jmp 0x416d6f
cmp dword [esp + 0x828], 0
je 0x416d93
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push str.360Preview
push str.Software360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x416e39
push str.360Preview
push str.Software360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x416db6
xor eax, eax
jmp 0x416e3e
call fcn.00433680
mov esi, eax
test esi, esi
je 0x416daf
cmp dword [esp + 0x82c], 0
jne 0x416e39
mov edx, dword [0x484064]
mov dword [esp + 0xc], edx
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x820], 0
call fcn.00433dd0
push 0x800
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.0044e060
mov edx, dword [esp + 0x18]
add esp, 0xc
push str.utils360preview.exe
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
push 0
push 0
push 1
push 5
push str._start
lea edx, [esp + 0x24]
push edx
push esi
call eax
lea ecx, [esp + 0xc]
call fcn.00415e60
mov eax, 1
mov ecx, dword [esp + 0x814]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0044e04c
add esp, 0x814
ret 0xc