joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43057f
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 0x4305f7
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4305e4
lea eax, [ebp - 0x20c]
push str.360Tray.exe
push eax
call fcn.004756d6
pop ecx
pop ecx
test eax, eax
je 0x4305ea
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4305c0
jmp 0x4305f0
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.0047549a
leave
ret

Function at 0x430614
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.00430605
mov esi, eax
test esi, esi
jne 0x43063a
xor eax, eax
jmp 0x4306bc
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 0x430633
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.00475420
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 0x430633
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.0047549a
leave
ret

Function at 0x430780
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 0x4307f1
cmp dword [ebp - 0x10], 0
je 0x4307f1
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x430893
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.00475420
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 0x4308f5
xor eax, eax
jmp 0x430906
cmp word [ebp - 0x78], 0
je 0x4308f1
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
call fcn.0047549a
add ebp, 0x78c
leave
ret

Function at 0x43091b
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, 0x4d3410
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 0x43096a
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 0x4309cc
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4309cc
xor eax, eax
inc eax
jmp 0x4309ce
xor eax, eax
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
call fcn.0047549a
add ebp, 0xb0
leave
ret
Function at 0x430c17
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 0x430c46
cmp eax, ebp
jne 0x430c55
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebp
push edi
call esi
cmp eax, 2
jne 0x430c3b
jmp 0x430d50
cmp eax, ebx
jne 0x430d50
mov esi, 0x4f7a20
push esi
mov dword [0x4f7a20], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x430d14
push 0x3f
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.00475420
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 0x430cec
movsx eax, byte [esp + 0x18]
sub eax, 0x30
mov dword [0x4f7a24], eax
lea eax, [esp + 0x1a]
push eax
mov dword [0x4f7a30], 2
call fcn.00476b81
pop ecx
mov dword [0x4f7a28], eax
jmp 0x430d14
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 0x430d29
jne 0x430d47
cmp dword [0x4f7a28], 2
jb 0x430d47
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 0x430d47
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.0047549a
add esp, 0x4c
ret

Function at 0x430d98
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 0x430dba
cmp eax, 1
jne 0x430dc8
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 1
push ebx
call esi
cmp eax, 2
jne 0x430dad
jmp 0x430e24
test eax, eax
jne 0x430e24
push edi
push 9
pop ecx
push str.GetNativeSystemInfo
lea edi, [ebp - 0x24]
push 0x4b7fd0
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 0x430df9
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x430e03
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x24], 9
je 0x430e11
cmp word [ebp - 0x24], 6
jne 0x430e1b
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 0x430e2d
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1fa4]
mov eax, 0x2024
call fcn.00476b40
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x1fa0], eax
push edi
mov edi, dword [ebp + 0x1fac]
test edi, edi
jne 0x430e5e
xor eax, eax
jmp 0x430ee3
push esi
push 0x1e
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00475420
mov esi, 0x2000
push esi
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00475420
push esi
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [ebp - 0x7c], 3
call fcn.00475420
mov eax, 0x1000
push eax
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00476737
lea eax, [ebp - 0x60]
push eax
call fcn.00475ebe
xor ecx, ecx
mov word [ebp + eax*2 - 0x60], cx
lea eax, [ebp - 0x60]
push eax
call fcn.00475ebe
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.0047549a
add ebp, 0x1fa4
leave
ret

Function at 0x430ef9
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 0x430fbb
test eax, eax
je 0x430fbb
call fcn.00430d98
test eax, eax
je 0x430fb3
call fcn.00430d68
test eax, eax
jne 0x430fb3
call fcn.00430d80
test eax, eax
jne 0x430fb3
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 0x430f67
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x430f71
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 4
jbe 0x430fb3
push 0x40
xor edi, edi
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00475420
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 0x430fa9
cmp dword [ebp - 0x58], ebx
ja 0x430fa9
jb 0x430fb3
cmp dword [ebp - 0x5c], edi
jbe 0x430fb3
mov dword [0x4ea4f4], edi
xor eax, eax
jmp 0x430fbb
mov eax, ebx
mov dword [0x4ea4f4], ebx
pop edi
pop ebx
leave
ret
Function at 0x43158d
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.00431190
push 0x208
mov ebx, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00475420
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.00475ebe
pop ecx
test eax, eax
jbe 0x431611
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00431190
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.0047549a
leave
ret

Function at 0x4316ef
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, 0x4af31b
call fcn.004764c0
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 0x431827
test eax, eax
je 0x431827
test ecx, ecx
je 0x431827
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x431827
call fcn.00460dda
test eax, eax
jne 0x431827
mov ecx, edi
call fcn.00430605
mov esi, eax
test esi, esi
je 0x431827
cmp dword [ebp + 0x820], 0
je 0x43179a
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431827
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x43180b
push 0x4f9e00
lea ecx, [ebp - 0x14]
call fcn.004027fb
mov ecx, dword [edi + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00460be6
push 0x800
lea eax, [ebp]
push 0
push eax
call fcn.00475420
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.00402820
jmp 0x431823
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 0x431829
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.0047549a
add ebp, 0x804
leave
ret 0x18
Function at 0x4318fb
Capabilities:
Delete registry key
Persist via windows service
Set registry value

Disassembly:
push 8
mov eax, 0x4b3327
call fcn.004764c0
mov edi, ecx
call fcn.00430605
mov esi, eax
test esi, esi
je 0x4319df
mov eax, dword [edi + 8]
test eax, eax
je 0x431943
lea ecx, [eax + 0x18]
call fcn.0043ce25
test eax, eax
je 0x431943
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 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
mov ecx, dword [edi + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00460be6
push dword [ebp - 0x10]
push str.ExitAllProgram_Start__Dir___s_n
call fcn.00404da7
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 0x4319a3
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.00404da7
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.00402820
call fcn.00476598
ret 0xc

Function at 0x4319e7
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 0x4319f9
xor eax, eax
jmp 0x431a48
call fcn.0045f262
test eax, eax
je 0x4319f5
mov ecx, dword [esi + 8]
push edi
call fcn.0045f276
push eax
lea ecx, [ebp - 4]
call fcn.00403cb9
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 0x431a3d
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.00402820
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4320ce
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, 0x4af37b
call fcn.004764c0
mov edi, dword [ebp + 0x80c]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
jne 0x432127
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.0047549a
add ebp, 0x804
leave
ret 4
cmp word [edi], bx
je 0x432100
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.00460be6
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x43215a
lea ecx, [eax - 0x10]
call fcn.00402820
jmp 0x432100
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x43216f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x432153
push 0x800
lea eax, [ebp]
push ebx
push eax
call fcn.00475420
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 0x4321ab
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
mov eax, ebx
jmp 0x432102
xor ebx, ebx
inc ebx
jmp 0x432199

Function at 0x432291
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, 0x4af37b
call fcn.004764c0
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x43232b
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
call fcn.00460be6
push 0x800
lea eax, [ebp]
push edi
push eax
call fcn.00475420
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.00402820
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.0047549a
add ebp, 0x804
leave
ret
Function at 0x43271b
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x178c]
mov eax, 0x180c
call fcn.00476b40
mov eax, dword [0x4f3bd0]
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.00475420
push esi
lea eax, [ebp + 0x788]
push 0
push eax
call fcn.00475420
add esp, 0x18
push 0x8a
lea ecx, [ebp - 0x7c]
call fcn.004325a7
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.00402820
lea eax, [ebp + 0xf88]
push eax
call fcn.0046b1b5
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.004325a7
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.00402820
lea eax, [ebp + 0x788]
push eax
call fcn.0046b1b5
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.004325a7
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.00402820
push 0x800
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00475420
add esp, 0xc
push 0x8a
lea ecx, [ebp - 0x7c]
call fcn.004325a7
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.00402820
lea eax, [ebp - 0x78]
push eax
call fcn.0046b1b5
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.0047549a
add ebp, 0x178c
leave
ret 4
Function at 0x432b11
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x418
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x418], eax
push 0xc
mov eax, 0x4af413
call fcn.004764c0
mov ebx, ecx
xor eax, eax
mov esi, 0x208
push esi
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00475420
add esp, 0xc
mov ecx, ebx
call fcn.00430893
push esi
push 0
test eax, eax
jne 0x432bad
mov word [ebp + 0x20c], ax
lea eax, [ebp + 0x20e]
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4d28bc
push 0x4d28c8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x14], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.safemon_setting.ini
jmp 0x432bfc
xor eax, eax
mov word [ebp + 0x20c], ax
lea eax, [ebp + 0x20e]
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4d28bc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.setting.ini
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
push dword [ebp + 0x424]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x4d2c24
push eax
call fcn.00403b2e
mov esi, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp]
push eax
push esi
push str.level
push str.PWTracker
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esi - 0x10]
call fcn.00402820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x418]
xor ecx, ebp
call fcn.0047549a
add ebp, 0x41c
leave
ret 4