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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f7d0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push str.UpdatesDisableNotify
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.SOFTWAREMicrosoftSecurity_Center
mov edi, 1
push SysReAllocStringLen
mov dword [ebp - 0x20], edi
call esi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x1c]
push ecx
push 0x47aa78
push 0x17
push ebx
push 0x476cc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40dd0f
mov dword [ebp - 0x14], ebx
mov ebx, 2
mov byte [ebp - 4], bl
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
lea ecx, [ebp - 0x14]
push ecx
push eax
call edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40dcfc
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp - 0x24]
dec eax
cmp eax, 3
ja case.default.0x40dc3a
jmp dword [eax*4 + 0x40dd4c]
mov dword [ebp - 0x18], ebx
jmp 0x40dcab
mov dword [ebp - 0x18], 3
jmp 0x40dcab
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], 4
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
push 4
lea ecx, [ebp - 0x28]
push ecx
push 4
push str.UpdateInstallDay
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
push 4
lea edx, [ebp - 0x2c]
push edx
push 4
push str.UpdateInstallTime
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
cmp dword [ebp - 0x18], edi
je case.0x40dc3a.1
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push str.UpdateLevel
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
call edx
jmp 0x40dcf9
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push str.UpdateLevel
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [ebp - 0x18], ebx
call esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
test eax, eax
je 0x40dd0c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
test eax, eax
je 0x40dd1f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dd60
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f7a0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.UpdatesDisableNotify
push str.SOFTWAREMicrosoftSecurity_Center
xor ebx, ebx
push SysReAllocStringLen
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x3c]
push edx
push str.UpdateLevel
push str.SOFTWARE360SafeLeak
mov edi, 4
push SysReAllocStringLen
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call esi
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
push 0x47aa78
push 0x17
push ebx
push 0x476cc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x40df09
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40def6
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, 1
cmp dword [ebp - 0x18], ecx
jne 0x40def0
mov eax, dword [ebp - 0x28]
sub eax, ecx
je 0x40decc
sub eax, 2
je 0x40dec3
sub eax, ecx
je 0x40de57
mov dword [ebp - 0x18], 2
jmp 0x40decf
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
push str.UpdateInstallDay
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
call esi
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x2c]
push eax
push str.UpdateInstallTime
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [ebp - 0x24], edi
call esi
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
jmp 0x40decf
mov dword [ebp - 0x18], 3
jmp 0x40decf
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
call edx
xor ecx, ecx
cmp eax, ebx
setge cl
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40df06
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x40df18
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47116b
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x488], eax
push esi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x494]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4a4]
mov eax, dword [eax + 4]
push eax
lea esi, [esp + 0x10]
call fcn.004499b0
mov dword [esp + 0xc], vtable.WTL::CFileDialog.0
xor esi, esi
mov dword [esp + 0x49c], esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [esp + 0x30], esi
jne 0x411d1d
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x48e510
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x48e528]
lea edx, [esp + 0x14]
push 0x48e510
mov dword [esp + 0x20], ecx
mov dword [0x48e528], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x84], esi
je 0x411d6f
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x411d7a
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], esi
cmp eax, 1
jne 0x411da3
push ecx
mov edx, esp
mov dword [esp + 0xc], esp
push edx
lea ecx, [esp + 0x290]
call fcn.00454940
call fcn.00449560
mov dword [esp + 0x49c], 0xffffffff
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x411dbc
push eax
call fcn.0045e0f2
xor eax, eax
mov ecx, dword [esp + 0x494]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.00460259
add esp, 0x498
ret 4
Function at 0x4126f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x474d88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x15c]
xor eax, eax
test esi, esi
jl 0x41275a
push eax
push eax
mov eax, dword [edi + 0xe0]
add edi, 0xe0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jge 0x412758
push esi
mov edx, edi
call fcn.00454450
test eax, eax
je 0x412758
mov eax, dword [eax + 0x10]
jmp 0x41275a
xor eax, eax
mov ecx, dword [0x490ba8]
test ecx, ecx
je 0x412875
test eax, eax
je 0x412875
cmp eax, 0xfffffff0
jae 0x412875
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
mov edi, eax
test edi, edi
je 0x412875
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea esi, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.00449400
mov esi, eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x2c], 1
call fcn.00449300
mov byte [esp + 0x28], 2
mov edx, dword [esi]
mov eax, dword [eax]
mov ecx, dword [edi + 0x14]
push edx
push 0x490338
push 0x490270
push eax
push ecx
push str.http:__bbs.360.cn_index.php_cclientagotopatchtopicpatch_s_sexe_sdll_slib_s
lea edi, [esp + 0x28]
call fcn.004543e0
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412814
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412839
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
push 5
push 0
push 0
push esi
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412875
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470f91
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x34]
add eax, 0x10
mov dword [esp + 0xc], 1
cmp eax, 0xb
ja case.0x413a7a.13
movzx eax, byte [eax + 0x413ba4]
jmp dword [eax*4 + 0x413b8c]
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x9ce3
call fcn.00454940
mov dword [esp + 0x28], 1
mov eax, dword [eax]
push esi
push eax
call fcn.004543e0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x3c]
jmp 0x413b54
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x9ce1
call fcn.00454940
mov dword [esp + 0x28], 2
mov eax, dword [eax]
push esi
push eax
call fcn.004543e0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
jmp 0x413b54
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x9ce2
call fcn.00454940
mov dword [esp + 0x28], 3
mov eax, dword [eax]
push esi
push eax
call fcn.004543e0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x1c]
jmp 0x413b54
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x9cd4
call fcn.00454940
mov dword [esp + 0x28], 4
mov eax, dword [eax]
push esi
push eax
call fcn.004543e0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x20]
jmp 0x413b54
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x9cd0
call fcn.00454940
mov dword [esp + 0x28], 5
mov eax, dword [eax]
push esi
push eax
call fcn.004543e0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg case.0x413a7a.13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x20
ret 8
Function at 0x416dc0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x47399b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x6a8], 0
jne 0x416e45
push 0x20c
call fcn.004607ac
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x416e10
push eax
call fcn.00416f70
jmp 0x416e12
xor eax, eax
push ecx
mov dword [esp + 0x18], 0xffffffff
mov ecx, esp
mov dword [esp + 0xc], esp
push ecx
mov dword [ecx], 0
mov ecx, esp
mov dword [ecx], 0
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], esp
push ecx
mov esi, eax
call fcn.004279f0
mov dword [edi + 0x6a8], eax
movzx eax, word [esp + 0x1c]
mov ecx, dword [edi + 0x6a8]
push 0
push eax
push 0x4ef
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 0x6a8]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x416e90
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x47448b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [edi + 0x6ac], 0
jne 0x416f17
push 0x950
call fcn.004607ac
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x416ee2
push eax
call fcn.0040a400
jmp 0x416ee4
xor eax, eax
push ecx
mov dword [esp + 0x1c], 0xffffffff
mov ecx, esp
mov dword [esp + 0x10], esp
push ecx
mov dword [ecx], 0
mov ecx, esp
mov dword [ecx], 0
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], esp
push ecx
mov esi, eax
call fcn.00427aa0
mov dword [edi + 0x6ac], eax
mov eax, dword [edi + 0x6ac]
push 0
push 0
push 0x4f5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x6ac]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x418740
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x470ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
mov dword [esp + 0x24], edi
call fcn.00428240
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [edi + 0x18]
push 0
push 2
mov dword [eax + 8], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, 0xffffffff
je 0x418943
push 0x22c
lea edx, [esp + 0x28]
push 0
push edx
call fcn.00462160
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x2c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41893c
mov edi, edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00454940
lea ebx, [esp + 0x18]
mov dword [esp + 0x260], 0
call fcn.0044d8c0
mov ebx, eax
call fcn.0044d7d0
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x418840
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.004547f0
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.0046154e
add esp, 8
test esi, esi
jl 0x41892e
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x41892e
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [edx + esi*2], cx
push edi
lea ecx, [esp + 0x30]
call fcn.00427c10
mov edi, dword [esp + 0x18]
mov ebp, eax
mov esi, dword [ebp]
lea eax, [edi - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4188cf
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4188c0
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x4188c0
call fcn.00452ce0
mov edi, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x4188b8
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0x10
mov dword [ebp], edi
jmp 0x4188cb
mov ebx, dword [edi - 0xc]
push edi
mov eax, ebp
call fcn.00454860
mov edi, dword [esp + 0x18]
push 0x22c
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00462160
add edi, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x24], 0x22c
mov dword [esp + 0x260], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418912
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x418938
mov edi, dword [esp + 0x20]
jmp 0x4187f0
push 0x80070057
call fcn.0045bda0
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00460259
add esp, 0x250
ret
Function at 0x4189c0
Capabilities:
Set registry value

Disassembly:
push ecx
push edi
push eax
push esi
call fcn.00418e80
mov edi, dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 1
call edi
mov ecx, dword [esi + 4]
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 2
call edi
push 0
call fcn.00461565
add esp, 4
push 4
lea edx, [esp + 8]
push edx
push 4
push str.lastpopwndtime
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x1c], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [0x48cc4c], 0
je 0x418a2c
mov dword [0x48cc4c], 0
pop edi
pop ecx
ret
Function at 0x41aa30
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x491824]
add esi, 0x10
push esi
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x490038]
lea ecx, [esp + 8]
call fcn.00450260
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x41aa77
lea eax, [ebx + 0x90]
mov dword [esp + 8], eax
jmp 0x41aa7f
mov dword [esp + 8], 0
lea esi, [edi + 4]
lea edx, [esp + 8]
call fcn.0044f440
cmp dword [ebx + 0x2fc], 0
mov edi, 1
jne 0x41aaa6
cmp dword [ebx + 0x344], 0
jne 0x41aaa6
xor eax, eax
jmp 0x41aaa8
mov eax, edi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebx + 0xb0], eax
mov dword [0x490c30], eax
mov dword [0x490c34], edi
cmp dword [ebx + 0xb0], 0
je 0x41aae6
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push str.Silent
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x20], edi
call esi
cmp dword [ebx + 0x38c], 0
jne 0x41ab30
push str.aiAddMenu
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push str.UseAIRestore
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x24], 0
call esi
mov eax, 0x49139c
call fcn.0044b420
mov eax, dword [0x48ffc4]
push 0
push edi
push 0x4f3
push eax
mov dword [0x48ffcc], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x48ffc4]
push 0
push edi
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0x14]
mov eax, edi
pop edi
mov dword [edx], 0
pop esi
add esp, 8
ret 4
Function at 0x41ff90
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4748a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
cmp esi, 3
je 0x41fff9
cmp esi, 7
jne 0x42019a
lea ecx, [esi + 3]
call fcn.0041b0a0
jmp 0x42019a
lea esi, [edi + 0xc0]
push esi
lea ebx, [edi + 0xbc]
push ebx
mov dword [edi + 0xa8], 1
call fcn.00420830
mov ebx, dword [ebx]
add ebx, dword [esi]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.lastpopcount
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [edi + 0xc4], eax
call esi
push str.lastpopleakcount
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
push str.lastpopleakDate
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
push str.lastdowndiffdate
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
cmp dword [edi + 0xc4], 0
jbe 0x42010c
push edi
call fcn.004209e0
mov eax, dword [edi + 0xc4]
push eax
call fcn.00440c20
mov ecx, dword [edi + 0xc4]
push ecx
mov esi, 0x490608
call fcn.00445f30
test eax, eax
je 0x42019a
cmp dword [0x490c30], 0
je 0x4200f1
cmp dword [eax + 8], 1
jne 0x4200f1
push edi
call fcn.00422ac0
test eax, eax
je 0x42019a
cmp dword [0x491260], 0
mov eax, str.popform_fix_auto_c
jne 0x4200d2
mov eax, str.popform_fix_auto
push eax
push str.action_s
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
mov ecx, 0x490040
call fcn.0045dc00
add esp, 0x10
jmp 0x42019a
mov ecx, 0xb
call fcn.0041b0a0
mov eax, 1
mov esi, edi
call fcn.004189c0
jmp 0x42019a
test ebx, ebx
jbe 0x420165
push edi
call fcn.004209e0
cmp dword [0x490c30], 0
jne 0x4200b1
cmp dword [edi + 0xb8], 0
je 0x420139
xor eax, eax
mov esi, edi
call fcn.004189c0
push edi
call fcn.00422ac0
jmp 0x42019a
cmp dword [edi + 0xa0], 0
je 0x420150
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42019a
mov ecx, 5
call fcn.0041b0a0
xor eax, eax
mov esi, edi
call fcn.004189c0
jmp 0x42019a
mov eax, 0x490608
call fcn.00440fc0
test eax, eax
je 0x42018a
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42018a
mov eax, edi
call fcn.00418bd0
jmp 0x42019a
mov ecx, dword [edi + 4]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x20], 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 0x4201c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret