joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44de18
Capabilities:
Get number of processors
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x48ab7d
call fcn.004677c7
mov ebx, dword [ebp + 0x214]
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov edi, ecx
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.PartnerName
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x44dea8
push 0x4e
pop eax
push 0x55
mov word [ebp], ax
pop eax
push 0x4c
mov word [ebp + 2], ax
pop eax
mov word [ebp + 4], ax
mov word [ebp + 6], ax
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
and dword [ebp - 4], 0
push str.http:__s.360.cn_safe_uninstall.html_p_sm_s
lea ecx, [ebp - 0x14]
call fcn.004029f9
lea esi, [edi + 0x108]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 1
jne 0x44dee4
push str.NULL
mov ecx, esi
call fcn.004025eb
push dword [esi]
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.00404c90
add esp, 0x10
push ebx
lea ecx, [ebp - 0x10]
call fcn.00422dc2
mov eax, dword [edi + 0x14]
mov esi, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x64
push esi
push eax
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
lea ecx, [esi - 0x10]
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x20c
leave
ret 4

Function at 0x44df49
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0xc
mov eax, 0x48abb5
call fcn.004677c7
xor eax, eax
push 0x7fe
mov word [ebp], ax
xor esi, esi
lea eax, [ebp + 2]
push esi
push eax
mov ebx, ecx
call fcn.004670a0
add esp, 0xc
lea eax, [ebp]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ecx
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004029f9
call fcn.004310d7
pop ecx
cmp eax, esi
jne 0x44e00c
push esi
push esi
push 0x32e
mov ecx, ebx
call fcn.0044d603
push 0x96
lea ecx, [ebp - 0x10]
call fcn.00421f25
mov edi, eax
push 0xd4
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00421f25
push 1
push 0x40
push dword [edi]
mov ecx, ebx
push dword [eax]
mov byte [ebp - 4], 1
push esi
call fcn.0044cf46
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
xor eax, eax
jmp 0x44e00f
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 + 0x800]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x804
leave
ret
Function at 0x44efc7
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
push 5
push dword [esi + 0x104]
call edi
push 0
push dword [esi + 0x138]
call edi
pop edi
pop esi
ret

Function at 0x44f07c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, ecx
push 0x45e
push dword [esi + 4]
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x44f117
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x2c]
add eax, 0xffffffd8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add eax, 0x1e
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x60]
call edi
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push 1
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_MoveWindow]
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.00434501
mov ecx, edi
call fcn.00433d5a
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 0xc]
call edi
push 0x463
push dword [esi + 4]
call ebx
test eax, eax
je 0x44f116
push 5
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44f11b
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
mov esi, ecx
push 0x463
push dword [esi + 4]
call ebx
mov ebp, eax
test ebp, ebp
je 0x44f16c
push edi
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x60]
call edi
push 0
push ebp
call edi
push 0x45e
push dword [esi + 4]
call ebx
test eax, eax
je 0x44f16b
push 5
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x44f3a2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xd9
lea ecx, [ebp - 4]
call fcn.00421f25
push 1
xor ecx, ecx
push ecx
push ecx
push dword [eax]
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004023e9
leave
ret
Function at 0x44fa5f
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x48b38e
call fcn.004677c7
mov esi, ecx
push 0
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0x4c4f30
push edi
lea ecx, [ebp - 0x14]
mov dword [esi + 0x1d8], 1
call fcn.00401ce4
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push str._c:Program_Files360
push eax
call fcn.00404c90
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x1dc]
push eax
call fcn.00401d13
push edi
lea ecx, [ebp - 0x10]
call fcn.00401ce4
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push 0x498198
push eax
mov byte [ebp - 4], 1
call fcn.00404c90
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
mov ebx, 0x45e
push ebx
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
mov ecx, esi
call fcn.0044f015
add ebx, 5
push ebx
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
mov ecx, esi
call fcn.0044f015
lea eax, [esi + 0x1dc]
push eax
lea ecx, [esi + 0x134]
call fcn.00430ce0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
xor eax, eax
call fcn.0046789f
ret 0x10
Function at 0x450443
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x45045c
push 0x80004005
call fcn.0040253a
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, ebx
je 0x4504cb
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x4504c6
cmp dword [ebp + 0x10], ebx
jbe 0x4504bc
cmp dword [ebp + 0x10], 2
jbe 0x4504ae
cmp dword [ebp + 0x10], 7
jne 0x4504bc
test cl, 1
jne 0x4504bc
shr ecx, 1
cmp ecx, 1
jb 0x4504bc
cmp word [esi + ecx*2 - 2], bx
jne 0x4504bc
cmp ecx, 1
jbe 0x4504cb
cmp word [esi + ecx*2 - 4], bx
jmp 0x4504ba
test cl, 1
jne 0x4504bc
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x4504cb
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x4504cb
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x450899
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x48ddeb
call fcn.004677c7
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
mov esi, ecx
call fcn.004670a0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ebx, word [ebp]
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
movzx eax, bx
push eax
lea eax, [ebp - 0x10]
push 0x498358
push eax
mov dword [ebp - 4], edi
call fcn.00404c90
mov ebx, dword [ebp - 0x10]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x450953
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
lea ecx, [ebx - 0x10]
call fcn.004023e9
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x20c
leave
ret
push 8
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x45097b
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
jmp 0x45098e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
xor edi, edi
inc edi
jmp 0x450926
Function at 0x450993
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x48ad86
call fcn.004677c7
mov ecx, dword [ebp + 0x214]
mov edi, dword [ebp + 0x218]
xor esi, esi
push 0x4c4f30
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], esi
call fcn.00401ce4
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 1
lea eax, [ebp]
cmp edi, esi
jne 0x4509f8
push 0x208
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x450a00
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, esi
je 0x450a8c
push ebx
push 2
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push edi
push ebx
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4a0ee8
push edi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x1c]
mov cx, word [eax + 0x12]
mov dx, word [eax + 0x10]
mov di, word [eax + 0x16]
movzx eax, word [eax + 0x14]
push eax
movzx eax, di
push eax
movzx eax, dx
push eax
movzx eax, cx
push eax
push str._d._d._d._d
push dword [ebp - 0x10]
call fcn.00404c90
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x20c
leave
ret
Function at 0x450e82
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x398], eax
push esi
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
mov esi, ecx
call fcn.004670a0
add esi, 4
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x7c], 0x406
cmp dword [eax - 0xc], 0
jne 0x450efd
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x4970c4
push 0x4a0a38
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.004025eb
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x450f37
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x78]
push eax
call fcn.004673c7
pop ecx
test eax, eax
jbe 0x450f37
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.004025eb
mov ecx, dword [ebp + 0x398]
xor ecx, ebp
pop esi
call fcn.0046711a
add ebp, 0x39c
leave
ret
Function at 0x45100f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x10c
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x78], eax
xor eax, eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp dword [esi], ebx
push edi
sete al
lea edi, [esi + 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x94], eax
xor eax, eax
cmp dword [esi + 0x3c], ebx
sete al
mov dword [ebp - 0x74], eax
xor eax, eax
cmp dword [esi + 0x40], ebx
setne al
mov dword [ebp - 0x64], eax
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x4510af
push str.NULL
mov ecx, edi
call fcn.004025eb
lea ecx, [esi + 0x74]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
jne 0x4510c3
push 0x491d2c
call fcn.004025eb
lea ecx, [esi + 0x78]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
jne 0x4510d7
push 0x491d2c
call fcn.004025eb
xor eax, eax
push 0xc6
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x56]
push ebx
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x98]
push eax
push 0x492b30
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x88], 0x64
mov dword [ebp - 0x98], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x64]
lea ebx, [esi + 0x7c]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push dword [ebp - 0x6c]
push dword [ebp - 0x94]
push dword [esi + 0x6c]
push dword [esi + 0x68]
push dword [esi + 0x5c]
push dword [esi + 0x64]
push dword [esi + 0x60]
push dword [ebp - 0x74]
push dword [esi + 0x78]
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push dword [edi]
push str.V_sOV_d__dOW_dIV_dSV_sQTS_sQTL_sP_dL1_d_d_dL2_d_dD_dT_dS_I64dM_I64dC_dTJ_dipartner_s
push ebx
call fcn.00404c90
mov ecx, dword [ebp - 0x78]
add esp, 0x64
push ebx
call fcn.00401d13
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046711a
add ebp, 0x74
leave
ret 4
Function at 0x4511a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x20
mov eax, 0x48ae9b
call fcn.004677c7
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x10], ecx
call fcn.004670a0
xor eax, eax
push esi
push eax
mov word [ebp + 0x208], ax
xor ebx, ebx
lea eax, [ebp + 0x20a]
inc ebx
mov edi, 0x104
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], edi
call fcn.004670a0
xor eax, eax
push esi
push eax
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
call fcn.004670a0
add esp, 0x24
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x4a11e8
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
mov dword [ebp - 0x28], ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x20], edi
call ebx
test eax, eax
jne 0x4512b5
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00450993
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
cmp dword [eax - 0xc], edx
mov dword [ebp - 4], edx
jge 0x45127f
push 0x80070057
call fcn.0040253a
movzx ecx, word [eax]
mov edi, dword [ebp - 0x10]
cmp cx, 0x33
jne 0x451292
mov dword [edi + 0x4c], 3
cmp dword [eax - 0xc], edx
jl 0x451275
movzx ecx, word [eax]
cmp cx, 0x34
jne 0x4512a7
mov dword [edi + 0x50], 4
or dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0x10]
call fcn.004023e9
jmp 0x4512b8
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4a11e8
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se.exe
push esi
call ebx
test eax, eax
jne 0x4512fc
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00450993
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [edi + 0x54], 5
call fcn.004023e9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x4a11e8
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
push esi
call ebx
test eax, eax
jne 0x451340
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00450993
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [edi + 0x58], 6
call fcn.004023e9
xor eax, eax
lea ecx, [edi + 0x70]
cmp dword [edi + 0x4c], eax
je 0x45135d
cmp dword [edi + 0x58], eax
je 0x451356
push 0x4985bc
jmp 0x45139e
push 0x4985b8
jmp 0x45139e
cmp dword [edi + 0x50], eax
je 0x451375
cmp dword [edi + 0x58], eax
je 0x45136e
push 0x4985b0
jmp 0x45139e
push 0x4985ac
jmp 0x45139e
cmp dword [edi + 0x54], eax
je 0x45138d
cmp dword [edi + 0x58], eax
je 0x451386
push 0x4985a4
jmp 0x45139e
push 0x4985a0
jmp 0x45139e
cmp dword [edi + 0x58], eax
je 0x451399
push 0x49859c
jmp 0x45139e
push 0x491d2c
call fcn.004025eb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x61c
leave
ret
Function at 0x4513c6
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x48aed5
call fcn.004677c7
mov ebx, ecx
cmp dword [ebx], 1
je 0x451477
call fcn.00450e82
lea esi, [ebx + 4]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x451477
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x451477
push esi
lea ecx, [ebp - 0x10]
call fcn.00402ee2
xor esi, esi
push str._safemon360GuardBase.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00402f00
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x45146c
push 0x10
call fcn.00463750
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, esi
je 0x451443
push esi
push dword [ebp - 0x10]
mov ecx, eax
call fcn.004507ba
jmp 0x451445
xor eax, eax
mov byte [ebp - 4], 0
cmp eax, esi
je 0x45146c
cmp dword [eax + 8], esi
je 0x451457
cmp dword [eax + 0xc], esi
jne 0x451463
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
xor eax, eax
jmp 0x451469
mov dword [ebx], 1
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
call fcn.0046789f
ret
Function at 0x45183f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1bc]
sub esp, 0x23c
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1b8], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x50], ax
xor esi, esi
lea eax, [ebp - 0x4e]
inc esi
push eax
mov dword [ebp - 0x54], esi
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x64]
push eax
mov ebx, str.registtime
push ebx
mov dword [ebp - 0x64], esi
mov edi, str.Software360SafeCoop
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x68], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x451976
push 0x4a11e8
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x451923
lea eax, [ebp - 0x70]
push eax
call fcn.00450738
push str._Y:_m:_d
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x70]
call fcn.0045147d
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x451907
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.004023e9
xor eax, eax
inc eax
jmp 0x451979
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
push 0x104
push eax
call fcn.0040dfa7
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.004023e9
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push str._d:_d:_d
push eax
call fcn.0046be53
add esp, 0x14
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x7a]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x80]
push eax
push dword [ebp - 0x60]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call fcn.0045054e
add esp, 0x18
inc eax
test eax, eax
jg 0x451979
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 0x1b8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046711a
add ebp, 0x1bc
leave
ret
Function at 0x451a3b
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xa18
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0xa18], eax
push 0x14
mov eax, 0x48af5b
call fcn.004677c7
mov ebx, dword [ebp + 0xa24]
mov edi, dword [ebp + 0xa28]
mov esi, ecx
test ebx, ebx
je 0x451bb5
test edi, edi
je 0x451bb5
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0044d477
push dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
mov dword [esi + 0x2c], eax
call fcn.004023e9
mov ecx, ebx
call fcn.00428edd
mov edi, eax
test edi, edi
je 0x451bb5
xor eax, eax
push 0x3fe
push eax
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push eax
call fcn.004670a0
mov eax, dword [edi]
add esp, 0xc
push 0x200
lea ecx, [ebp + 0x410]
push ecx
push edi
call dword [eax + 0x34]
lea eax, [ebp + 0x410]
push eax
lea ecx, [esi + 0x30]
call fcn.004025eb
call fcn.0045183f
mov dword [esi + 0x38], eax
xor eax, eax
push 0x40e
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.004670a0
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.360Safetray
push 0x4914e8
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x104
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3c], eax
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x810], ax
lea eax, [ebp + 0x812]
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x810]
push eax
lea eax, [ebp - 0x20]
push eax
push str.SScanDate
push str.software360safe_scan
push ebx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 0x104
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x40], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa18]
xor ecx, ebp
call fcn.0046711a
add ebp, 0xa1c
leave
ret 8