joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455401
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, dword [esi + 0x4ee560]
lea ecx, [ebp - 8]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45543e
cmp dword [ebp - 8], edi
jne 0x455456
add esi, 4
cmp esi, 8
jb 0x455416
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047548a
leave
ret
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, dword [esi + 0x4ee568]
cmp eax, edi
je 0x45548a
push edi
push edi
push 3
push edi
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x455494
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x45549b
add esi, 4
cmp esi, 8
jb 0x455461
jmp 0x455446
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x455448

Function at 0x4554a0
Capabilities:
Check if file exists

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor edi, edi
push edi
push edi
push 3
push edi
xor ebp, ebp
inc ebp
push ebp
push edi
push str..BAPI
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
jne 0x4554dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
mov dword [esp + 0x10], ecx
jmp 0x4554e4
push eax
mov dword [esp + 0x14], ebp
call ebx
push edi
push edi
push 3
push edi
push ebp
push edi
push 0x4d2818
call esi
cmp eax, 0xffffffff
jne 0x45550a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x45550f
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push eax
call ebx
jmp 0x455502
cmp dword [esp + 0x10], edi
jne 0x455502
xor eax, eax
jmp 0x455504

Function at 0x455a69
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00475410
push dword [esi]
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00478194
push 0x4d2b48
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004767fa
add esp, 0x24
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x455af3
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047548a
leave
ret
cmp word [ebp - 0x430], 0x2e
jne 0x455b12
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x455af3
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x455ae5
Function at 0x456111
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 4]
call fcn.0040260e
xor esi, esi
push esi
push str._uninstall
lea ecx, [ebp - 4]
call fcn.0041f476
test eax, eax
jl 0x45613a
inc esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, esi
pop esi
leave
ret
Function at 0x4566d5
Capabilities:
Check if file exists

Disassembly:
push 0x60
mov eax, 0x4b1ff1
call fcn.00476519
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x5c], ebx
cmp edi, ebx
jne 0x4566f7
xor eax, eax
call fcn.0047659c
ret
push 0x4f9e00
lea ecx, [ebp - 0x60]
call fcn.0040293e
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004600b7
push str.entclientQhEntinfo.dll
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00403a22
add esp, 0xc
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 1
mov dword [ebp - 0x5c], 1
call esi
test eax, eax
jne 0x456768
push str.deepscanQhEntinfo.dll
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00403a22
add esp, 0xc
push dword [eax]
mov dword [ebp - 0x5c], 3
call esi
mov byte [ebp - 0x55], 1
test eax, eax
je 0x45676b
mov byte [ebp - 0x55], bl
test byte [ebp - 0x5c], 2
je 0x456780
mov ecx, dword [ebp - 0x68]
and dword [ebp - 0x5c], 0xfffffffd
add ecx, 0xfffffff0
call fcn.00402963
test byte [ebp - 0x5c], 1
mov dword [ebp - 4], ebx
je 0x456794
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.00402963
cmp byte [ebp - 0x55], bl
je 0x4567ab
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, ebx
jmp 0x4566f1
mov ecx, edi
call fcn.0045e7a8
mov ecx, eax
call fcn.0043ce2d
test eax, eax
je 0x45682f
mov dword [ebp - 0x54], 7
mov esi, 0x4bcb10
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
push 0x3a
lea eax, [ebp - 0x4a]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.00475410
add esp, 0xc
push 0x4bfee0
lea ecx, [ebp - 0x5c]
call fcn.0040260e
push 0x96
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00432535
push ebx
push ebx
push ebx
push 0x40
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x6c]
push 1
push dword [eax]
mov byte [ebp - 4], 3
push dword [ebp - 0x5c]
push ebx
call fcn.0045fa71
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.00402963
xor ebx, ebx
inc ebx
jmp 0x456799
Function at 0x456837
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x24c
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x24c], eax
push 0x14
mov eax, 0x4b2036
call fcn.004764b0
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], esi
cmp esi, edi
jne 0x45688b
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 + 0x24c]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x250
leave
ret
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.0040293e
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004600b7
push str.360Entclient.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403a22
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402963
test bl, bl
je 0x4568ea
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
jmp 0x456866
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00455e93
pop ecx
test eax, eax
jne 0x4568da
mov ecx, esi
call fcn.0043a6c5
mov esi, eax
cmp esi, edi
jne 0x456919
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, edi
jmp 0x456868
push 0x208
lea eax, [ebp + 0x44]
push edi
push eax
call fcn.00475410
mov eax, dword [esi]
add esp, 0xc
push 0x102
lea ecx, [ebp + 0x44]
push ecx
push esi
call dword [eax + 0x34]
push 0xf7
lea ecx, [ebp - 0x18]
call fcn.00432535
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040260e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00402963
push edi
mov esi, 0x4bff88
push esi
lea ecx, [ebp - 0x14]
call fcn.0041f476
test eax, eax
jl 0x456984
lea eax, [ebp + 0x44]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0041db5c
mov dword [ebp], 7
mov esi, 0x4bcb10
lea edi, [ebp + 4]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x3a
xor esi, esi
lea eax, [ebp + 0xa]
push esi
push eax
call fcn.00475410
add esp, 0xc
push 0x96
lea ecx, [ebp - 0x20]
call fcn.00432535
push esi
push esi
push esi
push 0x40
lea ecx, [ebp]
push ecx
mov ecx, dword [ebp - 0x1c]
push 1
push dword [eax]
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
push esi
call fcn.0045fa71
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
xor edi, edi
inc edi
jmp 0x456907

Function at 0x456ad4
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4f7c20
call fcn.0043a044
test eax, eax
je 0x456b31
mov ecx, eax
call fcn.0045e781
test eax, eax
je 0x456b31
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
push eax
lea ecx, [ebp - 4]
call fcn.0040260e
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456b26
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x456b26
push 4
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00402963
leave
ret
Function at 0x456b33
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0044432e
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x456bb7
cmp word [ebp - 0x804], 0
push esi
lea esi, [ebp - 0x804]
je 0x456bb3
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x456ba2
push esi
mov ecx, edi
call fcn.004445da
push esi
call fcn.00475eae
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x456b8e
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0047548a
leave
ret
Function at 0x45873b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.BCD00000000Objects9dea862c_5cdd_4e70_acc1_f32b344d4795Elements1600007e
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4587a1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x4c03a8
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 1
sete al
jmp 0x4587a3
xor eax, eax
pop esi
leave
ret

Function at 0x4587a6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00450256
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
shrd eax, ecx, 0x14
push 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push str.cnt_cpu
mov edi, str.SOFTWARE360Safe_stat
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
shr ecx, 0x14
call ebx
push 4
lea eax, [ebp - 0x28]
push eax
push 4
push str.cnt_mem_m
push edi
push esi
call ebx
cmp dword [ebp - 0x18], 0
je 0x458882
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push 0x4c04a8
push edi
push esi
mov dword [ebp - 0x18], 1
call ebx
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push str.Neverup
push str.SOFTWARELiveUpdate360
push esi
mov dword [ebp - 0x18], 1
call ebx
mov esi, 0x4b8044
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00475eae
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push str.NeverupBy
push str.SOFTWARELiveUpdate360
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047548a
leave
ret
Function at 0x4588fe
Capabilities:
Modify service
Pause service
Start service
Stop service

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
call fcn.0041273f
push 1
push ebp
push ebp
mov byte [esp + 0x20], al
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp + 0x18], edi
call ebx
push eax
push edi
push str.Start360KrnlService::OpenSCManager_Handle:_x_Error:_d_r_n
push dword [esp + 0x20]
push esi
call fcn.0041256e
add esp, 0x14
cmp edi, ebp
je 0x4589fc
push 1
mov ecx, esi
call fcn.004123cc
push 0x30130
push str.ZhuDongFangYu
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
call ebx
push eax
push edi
push str.Start360KrnlService::OpenService_Handle:_x_Error:_d_r_n
push dword [esp + 0x20]
push esi
call fcn.0041256e
add esp, 0x14
cmp edi, ebp
je 0x4589f2
push 1
mov ecx, esi
call fcn.0041253f
push 2
mov ecx, esi
call fcn.004123f6
push ebp
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [esp + 0x10], eax
call ebx
push eax
push dword [esp + 0x14]
push str.Start360KrnlService::StartService___Ret:_d_Error:_d
push dword [esp + 0x20]
push esi
call fcn.0041256e
add esp, 0x14
cmp dword [esp + 0x10], ebp
je 0x4589eb
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea eax, [esp + 0x1c]
push eax
push 0x8c
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [esp + 0x10], 1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x458a08
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041273f
mov ecx, esi
mov byte [ebp - 4], al
call fcn.004586bd
mov ebx, dword [ebp - 4]
mov edi, eax
xor eax, eax
test edi, edi
setge al
push eax
push str.RepairService:Service_Status:_d_r_n
push ebx
push esi
call fcn.0041256e
add esp, 0x10
test edi, edi
jl 0x458a4a
xor eax, eax
inc eax
jmp 0x458b0e
mov edi, dword [ebp + 8]
test edi, edi
jne 0x458a58
xor eax, eax
jmp 0x458b0e
push 0x38
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00475410
push str.RepairService:Reinstall_Service__r_n
mov dword [ebp - 0x30], edi
push ebx
xor edi, edi
push esi
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x1040
mov dword [ebp - 0x34], str.open
mov dword [ebp - 0x2c], str.__install
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x24], 5
mov dword [ebp + 8], 0x80004005
call fcn.0041256e
lea eax, [ebp - 0x40]
push eax
call fcn.0044498a
add esp, 0x1c
test eax, eax
je 0x458b06
push 0x2710
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 8], edi
je 0x458acf
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.004588fe
test eax, eax
jne 0x458b15
push edi
push str.RepairService:Start360Service_Fails_and_Retry___d_r_n
push ebx
push esi
call fcn.0041256e
add esp, 0x10
push 0x3e8
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, dword [ebp + 0xc]
jb 0x458acf
push str.Repair_Service_Fails__Cannot_Execute_Repair_Command_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
cmp dword [ebp + 8], eax
sete al
pop edi
pop esi
pop ebx
leave
ret 8
and dword [ebp + 8], 0
push str.RepairService:Start360Service_Succeed__r_n
push ebx
push esi
call fcn.0041256e
add esp, 0xc
jmp 0x458b06

Function at 0x458b2a
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x4b2280
call fcn.004764b0
mov esi, ecx
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x458b5e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402963
xor eax, eax
call fcn.00476588
ret 8
cmp dword [ebp + 0xc], 1
je 0x458bb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x458bad
call fcn.0045e781
test eax, eax
je 0x458bad
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x458bad
push dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x88]
cmp dword [eax + 4], 0
mov ecx, dword [eax]
jg 0x458bad
jl 0x458b9c
test ecx, ecx
ja 0x458bad
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, esi
jmp 0x458b56
xor esi, esi
inc esi
jmp 0x458b9e
push dword [ebp + 8]
call fcn.00401e3f
pop ecx
test eax, eax
je 0x458b9c
push 0
push dword [ebp + 8]
call fcn.0040239b
pop ecx
pop ecx
test eax, eax
jne 0x458bad
jmp 0x458b9c
Function at 0x458e06
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x58
mov eax, 0x4b22db
call fcn.004764b0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push str.IsInstalled
push str.SOFTWAREMicrosoftActive_SetupInstalled_ComponentsEF289A85_8E57_408d_BE47_73B55609861A
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x14], esi
je 0x458e85
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x414
leave
ret
push str.run_ROOTSUPD._r_n
call fcn.00404d2e
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00404d99
push str.ROOTSUPD
push 0x111
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00404dce
test eax, eax
jne 0x458ed5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_Load_ROOTSUPD_from_resource_fail__err_code_d._r_n
call fcn.00404d2e
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404dc7
xor eax, eax
jmp 0x458e62
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.0040293e
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00405053
test eax, eax
jne 0x458f18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_unpack_ROOTSUPD_to_temp_dir_fail__err_code_d._r_n
call fcn.00404d2e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
jmp 0x458ec5
push dword [ebp - 0x10]
push str.unpack_ROOTSUPD_to_path_s._r_n
call fcn.00404d2e
xor eax, eax
push 0x40e
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.00475410
add esp, 0x14
push str.rootsupd.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x458f84
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_combine_path_of_ROOTSUPD_fail__err_code_d._r_n
call fcn.00404d2e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404dc7
mov eax, esi
jmp 0x458e62
push 0x38
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.00475410
lea eax, [ebp]
mov dword [ebp - 0x54], eax
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x440
mov dword [ebp - 0x58], str.open
mov dword [ebp - 0x50], 0x4c08d4
mov dword [ebp - 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x458fe7
cmp dword [ebp - 0x44], 0x20
jle 0x458fe7
push str.Create_ROOTSUPD_process_success_r_n
call fcn.00404d2e
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
xor esi, esi
inc esi
jmp 0x458f71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_run_ROOTSUPD_fail__err_code_d._r_n
jmp 0x458f5f
Function at 0x4595a8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x4b23a6
call fcn.004764b0
mov edi, ecx
mov ecx, dword [edi + 8]
xor ebx, ebx
cmp ecx, ebx
je 0x459771
push str.360tray.exe
call fcn.0045eaaa
test eax, eax
je 0x4595e9
push ebx
push ebx
push 0x3ea
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
jmp 0x459771
mov ecx, dword [edi + 8]
call fcn.0045e7a8
mov ecx, dword [edi + 8]
mov esi, eax
call fcn.0045e750
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0043cde4
test eax, eax
jne 0x459771
mov ecx, esi
call fcn.0043cdd0
test eax, eax
jne 0x459771
push 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push str.manexit
push str.SOFTWARE360Safe_stat
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x18], ebx
jne 0x459771
push ebx
push ebx
push 0x3ec
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
push ebx
push ebx
push 0x3ee
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
call fcn.0044cbc2
push 0x2860
lea ecx, [ebp - 0x24]
call fcn.0040260e
mov eax, dword [eax]
push ebx
push ebx
push eax
call fcn.00477872
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402963
push str.__showtrayicon
lea ecx, [ebp - 0x10]
call fcn.0040260e
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x4596c5
push 0x4d3230
lea ecx, [ebp - 0x10]
call fcn.00402894
mov ecx, dword [edi + 8]
call fcn.0045e717
test eax, eax
lea eax, [ebp - 0x10]
push eax
jne 0x459715
lea eax, [ebp - 0x24]
cmp dword [0x4f7cc8], ebx
je 0x459701
push str._TrayInstall__cleantrust
push eax
call fcn.00432c5f
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.0043161d
mov ecx, dword [ebp - 0x24]
jmp 0x459737
push str._TrayInstall__clean
push eax
call fcn.00432c5f
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x4596f2
lea eax, [ebp - 0x28]
push str._TrayInstall
push eax
call fcn.00432c5f
add esp, 0xc
push dword [eax]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0043161d
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402963
mov ecx, dword [edi + 8]
push str.360tray.exe
call fcn.0045eaaa
test eax, eax
je 0x459766
push ebx
push ebx
push 0x3f0
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
call fcn.00476588
ret
Function at 0x459777
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x88
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov ecx, 0x4f7c20
call fcn.0043a07e
mov esi, eax
test esi, esi
je 0x459826
push edi
push 0x80
xor edi, edi
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00475410
mov eax, dword [esi]
add esp, 0xc
push 0x40
lea ecx, [ebp - 0xc]
push ecx
push esi
call dword [eax + 0x58]
lea eax, [ebp - 0xc]
push eax
call fcn.00475eae
pop ecx
test eax, eax
jne 0x4597d1
inc edi
lea eax, [ebp - 0xc]
push str.10.0.0.1001
push eax
call fcn.00448df0
pop ecx
pop ecx
test eax, eax
jge 0x4597e8
xor edi, edi
inc edi
test edi, edi
pop edi
je 0x459826
push str.Default
lea ecx, [ebp - 0x10]
call fcn.0040260e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.Skin
push str.SOFTWARE360SafeTheme
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.0047548a
add ebp, 0x78
leave
ret