joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429f60
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x80
mov eax, dword [0x4f2be0]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0042b0b0
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], 0xc3d2e1f0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x78], ebx
call fcn.0042be90
add esp, 4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x78]
call fcn.0042bf70
mov dword [esp + 0x10], ebx
jmp 0x42a000
movzx ebx, byte [esp + ebx + 0x78]
mov eax, ebx
shr eax, 4
movzx ecx, word [eax*2 + str.0123456789abcdef]
mov eax, dword [esi]
mov ebp, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebp + 1]
sub eax, edi
or edx, eax
mov dword [esp + 0x14], ecx
jge 0x42a038
mov ecx, edi
mov eax, esi
call fcn.0042ba30
mov ecx, dword [esi]
mov dx, word [esp + 0x14]
mov word [ecx + ebp*2], dx
test edi, edi
jl 0x42a0d1
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x42a0d1
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
and ebx, 0xf
movzx ebp, word [ebx*2 + str.0123456789abcdef]
mov ebx, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebx + 1]
sub eax, edi
or edx, eax
jge 0x42a08a
mov ecx, edi
mov eax, esi
call fcn.0042ba30
mov ecx, dword [esi]
mov word [ecx + ebx*2], bp
test edi, edi
jl 0x42a0d1
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x42a0d1
mov ebx, dword [esp + 0x10]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
inc ebx
xor eax, eax
mov word [edx + edi*2], ax
mov dword [esp + 0x10], ebx
cmp ebx, 0x14
jb 0x42a000
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00474a8a
add esp, 0x80
ret
push 0x80070057
call fcn.004029ee
int3
Function at 0x42a3e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b34d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f2be0]
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 0x42a4ec
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 0x42a49e
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x42a475
push 0x80004005
call fcn.004029ee
push ecx
push eax
call fcn.00474cc6
add esp, 8
test eax, eax
je 0x42a49e
mov esi, dword [esi]
test esi, esi
je 0x42a49e
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 0x42a4ad
lea eax, [esi + 0xd]
jmp 0x42a4c2
push esi
call ebp
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push 0x4d7ce8
push edi
call ebx
xor edx, edx
test eax, eax
sete dl
mov esi, edx
test edi, edi
je 0x42a4d6
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 0x42bdb0
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 0x42be1e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x42bdef
cmp eax, 2
jne 0x42be0a
mov eax, dword [esp]
test esi, esi
je 0x42be18
test eax, eax
je 0x42be13
test al, 1
jne 0x42be0a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x42be18
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 0x42d7f0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x454
mov eax, dword [0x4f2be0]
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 0x42d858
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], eax
jmp 0x42d864
xor eax, eax
jmp 0x42d986
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 0x42d972
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 0x42d905
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.0042bdb0
test eax, eax
jne 0x42d8f2
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x42d91b
cmp ebx, ebp
je 0x42d901
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 0x42d860
jmp 0x42d972
push str.BusType
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x1c], 0x104
call fcn.0042bdb0
test eax, eax
jne 0x42d967
mov eax, esi
push eax
call fcn.00476bfd
add esp, 4
cmp eax, 5
jne 0x42d967
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [ecx], 1
push edx
mov ecx, ebx
call fcn.0042d6c0
add esp, 4
cmp ebx, ebp
je 0x42d972
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x42d981
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.00474a8a
add esp, 0x454
ret
Function at 0x430500
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e94f4]
sub esp, 0x64
push ebx
xor ebx, ebx
inc ebx
push edi
cmp eax, ebx
je 0x4305a1
test eax, eax
je 0x4305a1
push 9
pop ecx
push str.GetNativeSystemInfo
xor eax, eax
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 0x43054d
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x430557
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 4
ja 0x430567
mov dword [0x4e94f4], ebx
mov eax, ebx
jmp 0x4305a1
push 0x40
xor edi, edi
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00474a10
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 0x430599
cmp dword [ebp - 0x58], ebx
ja 0x430599
jb 0x43055d
cmp dword [ebp - 0x5c], edi
jbe 0x43055d
mov dword [0x4e94f4], edi
xor eax, eax
pop edi
pop ebx
leave
ret

Function at 0x4305f4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4f2be0]
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 0x43066c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x430659
lea eax, [ebp - 0x20c]
push str.360Tray.exe
push eax
call fcn.00474cc6
pop ecx
pop ecx
test eax, eax
je 0x43065f
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x430635
jmp 0x430665
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.00474a8a
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x498
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.0043067a
mov esi, eax
test esi, esi
jne 0x4306af
xor eax, eax
jmp 0x430731
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 0x4306a8
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.00474a10
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 0x4306a8
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.00474a8a
leave
ret
Function at 0x4307f5
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 0x430866
cmp dword [ebp - 0x10], 0
je 0x430866
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x788], eax
push 0x800
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00474a10
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 0x430974
xor eax, eax
jmp 0x430985
cmp word [ebp - 0x78], 0
je 0x430970
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x78c
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0xac], eax
push esi
push edi
push 6
pop ecx
mov esi, 0x4d3070
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 0x4309e9
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 0x430a4b
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x430a4b
xor eax, eax
inc eax
jmp 0x430a4d
xor eax, eax
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0xb0
leave
ret
Function at 0x430bbb
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1fa4]
mov eax, 0x2024
call fcn.004760e0
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x1fa0], eax
push edi
mov edi, dword [ebp + 0x1fac]
test edi, edi
jne 0x430bec
xor eax, eax
jmp 0x430c71
push esi
push 0x1e
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00474a10
mov esi, 0x2000
push esi
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00474a10
push esi
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [ebp - 0x7c], 3
call fcn.00474a10
mov eax, 0x1000
push eax
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00475cd6
lea eax, [ebp - 0x60]
push eax
call fcn.004754ae
xor ecx, ecx
mov word [ebp + eax*2 - 0x60], cx
lea eax, [ebp - 0x60]
push eax
call fcn.004754ae
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.00474a8a
add ebp, 0x1fa4
leave
ret
Function at 0x431288
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f2be0]
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.00430e8b
push 0x208
mov ebx, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00474a10
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.004754ae
pop ecx
test eax, eax
jbe 0x43130c
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00430e8b
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.00474a8a
leave
ret

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

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x4ae8eb
call fcn.00475a5f
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 0x43154c
test eax, eax
je 0x43154c
test ecx, ecx
je 0x43154c
cmp dword [edi + 8], 0
je 0x43154c
mov ecx, edi
call fcn.0043067a
mov esi, eax
test esi, esi
je 0x43154c
cmp dword [ebp + 0x820], 0
je 0x4314bf
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43154c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x431530
push 0x4f8ce0
lea ecx, [ebp - 0x14]
call fcn.004029af
mov ecx, dword [edi + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.0045fd29
push 0x800
lea eax, [ebp]
push 0
push eax
call fcn.00474a10
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.004029d4
jmp 0x431548
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 0x43154e
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.00474a8a
add ebp, 0x804
leave
ret 0x18
Function at 0x431620
Capabilities:
Delete registry key
Persist via windows service
Set registry value

Disassembly:
push 8
mov eax, 0x4b2af6
call fcn.00475a5f
mov edi, ecx
call fcn.0043067a
mov esi, eax
test esi, esi
je 0x431704
mov eax, dword [edi + 8]
test eax, eax
je 0x431668
lea ecx, [eax + 0x18]
call fcn.0043cae2
test eax, eax
je 0x431668
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 0x4f8ce0
lea ecx, [ebp - 0x10]
call fcn.004029af
mov ecx, dword [edi + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0045fd29
push dword [ebp - 0x10]
push str.ExitAllProgram_Start__Dir___s_n
call fcn.00404dac
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 0x4316c8
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.00404dac
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.004029d4
call fcn.00475b37
ret 0xc

Function at 0x43170c
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 0x43171e
xor eax, eax
jmp 0x43176d
call fcn.0045e3d5
test eax, eax
je 0x43171a
mov ecx, dword [esi + 8]
push edi
call fcn.0045e3e9
push eax
lea ecx, [ebp - 4]
call fcn.00403cb4
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 0x431762
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.004029d4
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x431df3
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 4
mov eax, 0x4ae91b
call fcn.00475a5f
mov edi, dword [ebp + 0x80c]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
jne 0x431e4c
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.00474a8a
add ebp, 0x804
leave
ret 4
cmp word [edi], bx
je 0x431e25
push 0x4f8ce0
lea ecx, [ebp - 0x10]
call fcn.004029af
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.0045fd29
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x431e7f
lea ecx, [eax - 0x10]
call fcn.004029d4
jmp 0x431e25
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x431e94
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x431e78
push 0x800
lea eax, [ebp]
push ebx
push eax
call fcn.00474a10
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 0x431ed0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
mov eax, ebx
jmp 0x431e27
xor ebx, ebx
inc ebx
jmp 0x431ebe

Function at 0x431fb6
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 4
mov eax, 0x4ae91b
call fcn.00475a5f
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x432050
push 0x4f8ce0
lea ecx, [ebp - 0x10]
call fcn.004029af
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
call fcn.0045fd29
push 0x800
lea eax, [ebp]
push edi
push eax
call fcn.00474a10
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.004029d4
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.00474a8a
add ebp, 0x804
leave
ret
Function at 0x43240d
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x178c]
mov eax, 0x180c
call fcn.004760e0
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x1788], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1794]
mov esi, 0x800
push esi
lea eax, [ebp + 0xf88]
push 0
push eax
mov dword [ebp - 0x80], edi
call fcn.00474a10
push esi
lea eax, [ebp + 0x788]
push 0
push eax
call fcn.00474a10
add esp, 0x18
push 0x8a
lea ecx, [ebp - 0x7c]
call fcn.00432299
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
lea eax, [ebp + 0xf88]
push eax
call esi
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.004029d4
lea eax, [ebp + 0xf88]
push eax
call fcn.0046a707
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ecx
push 0x80
lea eax, [ebp + 0xf88]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp + 0xf88]
push eax
call ebx
push 0xb2
lea ecx, [ebp - 0x7c]
call fcn.00432299
push dword [eax]
lea eax, [ebp + 0x788]
push dword [ebp - 0x80]
push eax
call esi
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.004029d4
lea eax, [ebp + 0x788]
push eax
call fcn.0046a707
pop ecx
push 0x80
lea eax, [ebp + 0x788]
push eax
call edi
lea eax, [ebp + 0x788]
push eax
call ebx
push 0x255
lea ecx, [ebp - 0x7c]
call fcn.00432299
push dword [eax]
lea eax, [ebp + 0xf88]
push dword [ebp - 0x80]
push eax
call esi
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.004029d4
push 0x800
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00474a10
add esp, 0xc
push 0x8a
lea ecx, [ebp - 0x7c]
call fcn.00432299
push dword [eax]
lea eax, [ebp + 0xf88]
push eax
lea eax, [ebp - 0x78]
push eax
call esi
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.004029d4
lea eax, [ebp - 0x78]
push eax
call fcn.0046a707
pop ecx
push 0x80
lea eax, [ebp + 0xf88]
push eax
call edi
lea eax, [ebp + 0xf88]
push eax
call ebx
mov ecx, dword [ebp + 0x1788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474a8a
add ebp, 0x178c
leave
ret 4