joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a350
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b3fd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3bd0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
push eax
push 0x202
push ebx
push str.SOFTWARE360SafeLiveup
mov dword [esp + 0x38], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42a45c
mov eax, dword [esi]
mov edi, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x200
je 0x42a40e
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x42a3e5
push 0x80004005
call fcn.0040288a
push ecx
push eax
call fcn.00475826
add esp, 8
test eax, eax
je 0x42a40e
mov esi, dword [esi]
test esi, esi
je 0x42a40e
push esi
call ebp
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push str.m2_old
push edi
call ebx
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
test esi, esi
jne 0x42a41d
lea eax, [esi + 0xd]
jmp 0x42a432
push esi
call ebp
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push 0x4d8dc0
push edi
call ebx
xor edx, edx
test eax, eax
sete dl
mov esi, edx
test edi, edi
je 0x42a446
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x42bd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bd8e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x42bd5f
cmp eax, 2
jne 0x42bd7a
mov eax, dword [esp]
test esi, esi
je 0x42bd88
test eax, eax
je 0x42bd83
test al, 1
jne 0x42bd7a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x42bd88
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x42d760
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x454
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x44c], eax
mov eax, dword [esp + 0x458]
push ebx
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x468]
push edi
mov dword [eax], ebp
mov dword [esp + 0x30], ecx
mov dword [ecx], ebp
lea ecx, [esp + 0x28]
push ecx
push 8
push ebp
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x42d7c8
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], eax
jmp 0x42d7d4
xor eax, eax
jmp 0x42d8f6
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
push ebp
push ebp
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x264]
push edx
push eax
mov esi, 0x104
push edi
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42d8e2
lea eax, [esp + 0x20]
push eax
push 1
push ebp
lea ecx, [esp + 0x25c]
push ecx
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jne 0x42d875
mov ebx, dword [esp + 0x20]
push str.NetCfgInstanceId
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], esi
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x20], ebx
call fcn.0042bd20
test eax, eax
jne 0x42d862
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x42d88b
cmp ebx, ebp
je 0x42d871
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0x100
mov dword [esp + 0x24], eax
jl 0x42d7d0
jmp 0x42d8e2
push str.BusType
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x1c], 0x104
call fcn.0042bd20
test eax, eax
jne 0x42d8d7
mov eax, esi
push eax
call fcn.004777cd
add esp, 4
cmp eax, 5
jne 0x42d8d7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [ecx], 1
push edx
mov ecx, ebx
call fcn.0042d630
add esp, 4
cmp ebx, ebp
je 0x42d8e2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x42d8f1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004755ea
add esp, 0x454
ret
Function at 0x43047f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4304f7
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4304e4
lea eax, [ebp - 0x20c]
push str.360Tray.exe
push eax
call fcn.00475826
pop ecx
pop ecx
test eax, eax
je 0x4304ea
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4304c0
jmp 0x4304f0
mov dword [esi], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004755ea
leave
ret

Function at 0x430514
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x498
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.00430505
mov esi, eax
test esi, esi
jne 0x43053a
xor eax, eax
jmp 0x4305bc
push 0x208
lea eax, [ebp - 0x498]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430533
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.00475570
mov eax, dword [esi]
add esp, 0xc
push 0x40
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x498]
push ecx
push esi
call dword [eax + 0x64]
test eax, eax
je 0x430533
push 0x80
lea eax, [ebp - 0x84]
push eax
push 1
push str.SetupVersion
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004755ea
leave
ret

Function at 0x430680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 4
pop esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push str.NetCheck
push str.SOFTWARE360Safe360Scan
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push str.IsNotiryShowed
push str.SOFTWARE360Safe360Scan
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call edi
cmp dword [ebp - 0xc], 0
pop edi
pop esi
pop ebx
je 0x4306f1
cmp dword [ebp - 0x10], 0
je 0x4306f1
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x430793
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x788], eax
push 0x800
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4307f5
xor eax, eax
jmp 0x430806
cmp word [ebp - 0x78], 0
je 0x4307f1
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x78c
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0xac], eax
push esi
push edi
push 6
pop ecx
mov esi, 0x4d4150
lea edi, [ebp + 0x90]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
lea ecx, [ebp + 0x90]
mov esi, 0xd3a
mov dword [ebp - 0x78], 0x1a
mov al, byte [ecx]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov edx, esi
shr edx, 0x10
and edx, 0x7fff
movzx edi, al
sub al, dl
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x78]
jne 0x43086a
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.ExeString
lea eax, [ebp + 0x90]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x4308cc
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4308cc
xor eax, eax
inc eax
jmp 0x4308ce
xor eax, eax
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
call fcn.004755ea
add ebp, 0xb0
leave
ret
Function at 0x430b5b
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x4c
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
xor ebp, ebp
push edi
xor ebx, ebx
inc ebp
mov edi, 0x4f7b3c
jmp 0x430b8a
cmp eax, ebp
jne 0x430b99
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebp
push edi
call esi
cmp eax, 2
jne 0x430b7f
jmp 0x430c94
cmp eax, ebx
jne 0x430c94
mov esi, 0x4f7a20
push esi
mov dword [0x4f7a20], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x430c58
push 0x3f
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.00475570
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x430c30
movsx eax, byte [esp + 0x18]
sub eax, 0x30
mov dword [0x4f7a24], eax
lea eax, [esp + 0x1a]
push eax
mov dword [0x4f7a30], 2
call fcn.00476cd1
pop ecx
mov dword [0x4f7a28], eax
jmp 0x430c58
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
mov dword [0x4f7a28], eax
xor eax, eax
cmp ecx, 4
seta al
mov dword [0x4f7a24], ecx
inc eax
mov dword [0x4f7a30], eax
mov eax, dword [0x4f7a24]
cmp eax, 6
ja 0x430c6d
jne 0x430c8b
cmp dword [0x4f7a28], 2
jb 0x430c8b
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x430c8b
push esi
call eax
push 2
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x4f7a20
call fcn.004755ea
add esp, 0x4c
ret

Function at 0x430cdc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov ebx, 0x4f7b44
jmp 0x430cfe
cmp eax, 1
jne 0x430d0c
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 1
push ebx
call esi
cmp eax, 2
jne 0x430cf1
jmp 0x430d68
test eax, eax
jne 0x430d68
push edi
push 9
pop ecx
push str.GetNativeSystemInfo
lea edi, [ebp - 0x24]
push 0x4b8fd0
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop edi
test eax, eax
je 0x430d3d
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x430d47
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x24], 9
je 0x430d55
cmp word [ebp - 0x24], 6
jne 0x430d5f
mov dword [0x4f7b40], 1
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [0x4f7b40]
pop esi
pop ebx
leave
ret
Function at 0x430d71
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1fa4]
mov eax, 0x2024
call fcn.00476c90
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x1fa0], eax
push edi
mov edi, dword [ebp + 0x1fac]
test edi, edi
jne 0x430da2
xor eax, eax
jmp 0x430e27
push esi
push 0x1e
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00475570
mov esi, 0x2000
push esi
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00475570
push esi
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [ebp - 0x7c], 3
call fcn.00475570
mov eax, 0x1000
push eax
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00476887
lea eax, [ebp - 0x60]
push eax
call fcn.0047600e
xor ecx, ecx
mov word [ebp + eax*2 - 0x60], cx
lea eax, [ebp - 0x60]
push eax
call fcn.0047600e
xor ecx, ecx
mov word [ebp + eax*2 - 0x5e], cx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, 0x614
mov word [ebp - 0x70], ax
add esp, 0x3c
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
pop esi
mov ecx, dword [ebp + 0x1fa0]
xor ecx, ebp
pop edi
call fcn.004755ea
add ebp, 0x1fa4
leave
ret

Function at 0x430e3d
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ea4f4]
sub esp, 0x64
push ebx
xor ebx, ebx
inc ebx
push edi
cmp eax, ebx
je 0x430eff
test eax, eax
je 0x430eff
call fcn.00430cdc
test eax, eax
je 0x430ef7
call fcn.00430cac
test eax, eax
jne 0x430ef7
call fcn.00430cc4
test eax, eax
jne 0x430ef7
push 9
pop ecx
push str.GetNativeSystemInfo
lea edi, [ebp - 0x24]
push str.kernel32.dll
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x430eab
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x430eb5
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 4
jbe 0x430ef7
push 0x40
xor edi, edi
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x430eed
cmp dword [ebp - 0x58], ebx
ja 0x430eed
jb 0x430ef7
cmp dword [ebp - 0x5c], edi
jbe 0x430ef7
mov dword [0x4ea4f4], edi
xor eax, eax
jmp 0x430eff
mov eax, ebx
mov dword [0x4ea4f4], ebx
pop edi
pop ebx
leave
ret
Function at 0x43143f
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10000000
push esi
push str.Administrators
push edi
call fcn.00431042
push 0x208
mov ebx, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00475570
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], 0x103
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0047600e
pop ecx
test eax, eax
jbe 0x4314c3
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00431042
add esp, 0xc
and ebx, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004755ea
leave
ret

Function at 0x4315a1
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x4af3fb
call fcn.00476610
mov eax, dword [ebp + 0x814]
mov ebx, dword [ebp + 0x810]
mov edi, ecx
mov ecx, dword [ebp + 0x80c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x818]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x4316cb
test eax, eax
je 0x4316cb
test ecx, ecx
je 0x4316cb
cmp dword [edi + 8], 0
je 0x4316cb
mov ecx, edi
call fcn.00430505
mov esi, eax
test esi, esi
je 0x4316cb
cmp dword [ebp + 0x820], 0
je 0x43163e
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4316cb
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4316af
push 0x4f9e18
lea ecx, [ebp - 0x14]
call fcn.0040284b
mov ecx, dword [edi + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00460e88
push 0x800
lea eax, [ebp]
push 0
push eax
call fcn.00475570
add esp, 0xc
push ebx
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp + 0x81c]
mov eax, dword [esi]
push dword [ebp - 0x10]
lea ecx, [ebp]
push dword [ebp - 0x18]
push ecx
push dword [ebp - 0x1c]
push esi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402870
jmp 0x4316c7
push dword [ebp + 0x81c]
mov eax, dword [esi]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x1c]
push esi
call dword [eax + 0x2c]
mov esi, eax
mov eax, esi
jmp 0x4316cd
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x804
leave
ret 0x18
Function at 0x4317e9
Capabilities:
Delete registry key
Persist via windows service
Set registry value

Disassembly:
push 8
mov eax, 0x4b3687
call fcn.00476610
mov edi, ecx
call fcn.00430505
mov esi, eax
test esi, esi
je 0x4318cd
mov eax, dword [edi + 8]
test eax, eax
je 0x431831
lea ecx, [eax + 0x18]
call fcn.0043cc15
test eax, eax
je 0x431831
mov eax, dword [esi]
push str.360EntDT.exe
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esi]
push str.360EntClientSetupFull.exe
mov ecx, esi
call dword [eax + 0x10]
push 0x4f9e18
lea ecx, [ebp - 0x10]
call fcn.0040284b
mov ecx, dword [edi + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00460e88
push dword [ebp - 0x10]
push str.ExitAllProgram_Start__Dir___s_n
call fcn.00404d91
mov eax, dword [esi]
pop ecx
pop ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 4
jle 0x431891
push dword [ebp + 0xc]
mov ecx, dword [esi]
push dword [ebp + 8]
push eax
push esi
call dword [ecx + 0x18]
push dword [ebp - 0x10]
push str.ExitAllProgram_Done__Dir___s_n
call fcn.00404d91
pop ecx
pop ecx
push str.SYSTEMCurrentControlSetServiceszhudongfangyu
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push str.RFlags
push str.SOFTWARE360Safe360krnlsvc
push esi
mov dword [ebp - 0x14], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
call fcn.004766e8
ret 0xc

Function at 0x4318d5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4318e7
xor eax, eax
jmp 0x431936
call fcn.0045f3cd
test eax, eax
je 0x4318e3
mov ecx, dword [esi + 8]
push edi
call fcn.0045f3e1
push eax
lea ecx, [ebp - 4]
call fcn.00403c96
mov esi, dword [ebp - 4]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
xor edi, edi
inc edi
push edi
push str.PreVersion
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x43192b
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.00402870
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x431fbc
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 4
mov eax, 0x4af42b
call fcn.00476610
mov edi, dword [ebp + 0x80c]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
jne 0x432015
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x804
leave
ret 4
cmp word [edi], bx
je 0x431fee
push 0x4f9e18
lea ecx, [ebp - 0x10]
call fcn.0040284b
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.00460e88
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x432048
lea ecx, [eax - 0x10]
call fcn.00402870
jmp 0x431fee
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x43205d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x432041
push 0x800
lea eax, [ebp]
push ebx
push eax
call fcn.00475570
add esp, 0xc
push edi
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call esi
test eax, eax
jne 0x432099
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
mov eax, ebx
jmp 0x431ff0
xor ebx, ebx
inc ebx
jmp 0x432087

Function at 0x43217f
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 4
mov eax, 0x4af42b
call fcn.00476610
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x432219
push 0x4f9e18
lea ecx, [ebp - 0x10]
call fcn.0040284b
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
call fcn.00460e88
push 0x800
lea eax, [ebp]
push edi
push eax
call fcn.00475570
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.config_newui_themesdefault360realpro_theme.ui
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp]
push eax
call edi
push str.config_newui_themesdefault360realpro_themes.ui
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call esi
lea eax, [ebp]
push eax
call edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x804
leave
ret