joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40610f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x47dc63
call fcn.00442103
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x218]
xor esi, esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push 8
push str.Software360safe_tpi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.00403681
test eax, eax
jne 0x4061e0
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 0x104
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4061e0
xor edi, edi
mov ebx, 0x4aa228
push dword [ebx]
lea eax, [ebp]
push eax
call fcn.00442f1d
pop ecx
pop ecx
test eax, eax
je 0x4061b7
inc edi
add ebx, 0x10
cmp edi, 0xe
jb 0x40619b
jmp 0x4061c1
mov eax, dword [ebp - 0x20]
mov dword [eax + edi*4], 1
mov ecx, dword [ebp - 0x28]
push esi
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00405fcf
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x100
jl 0x40616e
lea ecx, [ebp - 0x18]
call fcn.00403666
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.004420f4
add ebp, 0x20c
leave
ret 8

Function at 0x406f2a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x406f67
cmp dword [ebp - 0x78], 0
jne 0x406f67
xor eax, eax
inc eax
jmp 0x406f69
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x98
leave
ret

Function at 0x406f7e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x406fb8
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x406fba
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x98
leave
ret

Function at 0x406fcf
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x40700c
cmp dword [ebp - 0x78], 2
jne 0x40700c
xor eax, eax
inc eax
jmp 0x40700e
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x98
leave
ret
Function at 0x407023
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004420f4
leave
ret

Function at 0x4070fe
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x407159
lea eax, [ebp - 0x10]
push eax
push 0x485364
push esi
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x4071d8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00441830
xor eax, eax
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00441830
add esp, 0x18
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
pop esi
test eax, eax
je 0x40728c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x40728c
push str.param.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x40728c
lea eax, [ebp - 0x414]
push eax
push 0
push str.ProtectSelf
push str.Param
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x40728c
push 2
pop eax
jmp 0x40728e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004420f4
leave
ret
Function at 0x40729a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
push edi
push str.Q360SafeMonClass
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x407392
push esi
lea ecx, [ebp - 0x468]
push ecx
push 0x3e8
push 1
push edi
push 0x65
push 0x591
push eax
mov dword [ebp - 0x468], edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x464], ax
lea eax, [ebp - 0x462]
push edi
push eax
call fcn.00441830
xor eax, eax
push esi
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push edi
push eax
call fcn.00441830
add esp, 0x18
push 0x104
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
pop esi
test eax, eax
je 0x407392
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x407392
push str.param.ini
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x407392
lea eax, [ebp - 0x464]
push eax
push 0x28
lea eax, [ebp - 0x54]
push eax
push edi
push str.StateARP
push str.Param
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x407392
lea eax, [ebp - 0x54]
push eax
call fcn.00442443
pop ecx
jmp 0x407394
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004420f4
leave
ret

Function at 0x4073a1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 1
push 0x4840b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret

Function at 0x4073e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
jne 0x4073ee
push 0x57
pop eax
pop ebp
ret
push dword [ebp + 0x14]
call fcn.00441cf4
pop ecx
add eax, eax
push eax
push dword [ebp + 0x14]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ebp
ret

Function at 0x407410
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00441830
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
push 0x10000000
push dword [ebp + 8]
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
neg eax
sbb eax, eax
neg eax
leave
ret
Function at 0x40773a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00441830
add esp, 0xc
push str.GetNativeSystemInfo
push 0x4854f8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407773
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x40777d
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x24], 9
je 0x40778f
cmp word [ebp - 0x24], 6
je 0x40778f
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret

Function at 0x407794
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4077d7
cmp dword [ebp - 0x7c], 6
jne 0x4077d7
cmp dword [ebp - 0x78], 1
jne 0x4077d7
call fcn.0040773a
jmp 0x4077d9
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x98
leave
ret

Function at 0x4077ee
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jne 0x40782b
cmp dword [ebp - 0x78], 2
jne 0x40782b
xor eax, eax
inc eax
jmp 0x40782d
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x98
leave
ret

Function at 0x407adc
Capabilities:
Check if file exists

Disassembly:
call fcn.004020d9
test eax, eax
je 0x407ae9
xor eax, eax
inc eax
ret
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x407b28
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407b28
push esi
call fcn.0045fa10
pop ecx
test eax, eax
je 0x407b28
push esi
call fcn.00402101
pop ecx
test eax, eax
jne 0x407b28
push 1
call fcn.0045f6c0
push eax
push esi
call fcn.0045f8d0
add esp, 0xc
xor eax, eax
pop esi
ret
xor eax, eax
inc eax
pop esi
ret
Function at 0x407b77
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00443860
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push eax
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x407c3e
cmp eax, 0x3fff
ja 0x407c3e
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x407c3e
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x485360
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x407c3e
mov esi, dword [ebp + 0x10]
push esi
push 0
push edi
call fcn.00441830
mov eax, dword [ebp - 0x4008]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
dec esi
push esi
push edi
call fcn.00403161
xor eax, eax
add esp, 0x28
inc eax
jmp 0x407c40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004420f4
leave
ret
Function at 0x407c4e
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xfffffffffffffffe
push 0x49f270
push 0x443200
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4ac40c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x80c]
xor eax, eax
mov word [ebp], ax
push 0x7fe
xor esi, esi
push esi
lea eax, [ebp + 2]
push eax
call fcn.00441830
push edi
push str.__s_
push 0x800
lea eax, [ebp]
push eax
call fcn.00403161
push 5
push esi
lea eax, [ebp]
push eax
push str.Explorer
push 0x4841c0
push esi
call fcn.0045fb20
add esp, 0x34
cmp eax, 0x20
jle 0x407cea
xor eax, eax
inc eax
jmp 0x407db9
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x1c]
push eax
push 0x48ba20
push 0x15
push esi
push 0x48ba30
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x407daa
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x407d91
mov dword [ebp - 0x20], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x20], esi
je 0x407d46
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call fcn.00441cf4
pop ecx
test eax, eax
jbe 0x407d88
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x38], eax
xor eax, eax
mov word [ebp - 0x30], ax
push 8
pop eax
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push edx
push edx
push edx
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0xd0]
push dword [ebp - 0x38]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
jmp 0x407ce2
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x804
leave
ret
Function at 0x407efe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x78], 0
push esi
mov esi, dword [ebp + 0x1a8]
push edi
mov edi, dword [ebp + 0x1a0]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x484134
push 0x4845d0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 0x208
mov dword [ebp - 0x80], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x74], 0
jne 0x407fab
call fcn.004257e7
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x407fa4
push str.....
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [ebp - 0x74], 0
je 0x407fec
test esi, esi
je 0x407fd5
push esi
call fcn.00441cf4
pop ecx
test eax, eax
jbe 0x407fd5
push esi
lea eax, [ebp - 0x74]
push eax
push str._s_s
push dword [ebp + 0x1a4]
push edi
call fcn.00403161
add esp, 0x14
jmp 0x407fe5
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x1a4]
push edi
call fcn.00402ef4
mov dword [ebp - 0x78], 1
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x78]
pop edi
xor ecx, ebp
pop esi
call fcn.004420f4
add ebp, 0x198
leave
ret
Function at 0x408006
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00441830
lea esi, [edi + 2]
push esi
lea eax, [ebp - 0x74]
push 0
push eax
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x80], esi
call fcn.00441830
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40814f
and dword [ebp - 0x7c], eax
push edi
push eax
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push eax
call fcn.00441830
add esp, 0xc
cmp word [ebp - 0x74], 0x22
mov edi, str.safemon360Tray.exe___start
jne 0x4080c1
push 0x22
pop eax
push edi
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push esi
push eax
call fcn.00407efe
jmp 0x4080da
push str.safemon360Tray.exe__start
lea eax, [ebp + 0x194]
push esi
push eax
call fcn.00407efe
mov dword [ebp - 0x7c], 1
add esp, 0xc
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00442f1d
pop ecx
pop ecx
test eax, eax
je 0x4080fa
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x7c], 0
je 0x40814f
push 0x22
pop eax
push edi
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push esi
push eax
call fcn.00407efe
lea eax, [ebp + 0x194]
push eax
mov dword [ebp - 0x78], 1
call fcn.00441cf4
add esp, 0x10
add eax, eax
push eax
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x194]
push eax
push dword [ebp - 0x78]
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp + 0x39c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004420f4
add ebp, 0x3a0
leave
ret
Function at 0x408167
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5f0]
sub esp, 0x670
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x5ec], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push esi
push edi
xor esi, esi
push esi
push str.Q360SafeMainClass
call ebx
mov edi, eax
cmp edi, esi
je 0x4081db
cmp dword [ebp + 0x5fc], esi
je 0x4081b3
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp + 0x5f8], esi
jbe 0x40835b
push 0x168
push dword [ebp + 0x5f8]
push 0x52c
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40835b
xor eax, eax
push 0x40e
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2a]
push esi
push eax
call fcn.00441830
xor eax, eax
push 0x206
mov word [ebp + 0x3e4], ax
lea eax, [ebp + 0x3e6]
push esi
push eax
call fcn.00441830
add esp, 0x18
call fcn.004257e7
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp + 0x3e4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x3e4]
push 0x5c
push eax
call fcn.0044338c
pop ecx
pop ecx
cmp eax, esi
je 0x408275
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x3e4]
push 0x5c
push eax
call fcn.0044338c
pop ecx
pop ecx
cmp eax, esi
je 0x408275
mov ecx, eax
lea edx, [ebp + 0x3e4]
sub ecx, edx
sar ecx, 1
push str.360safe.exe
mov edx, 0x208
sub edx, ecx
push edx
push eax
call fcn.00402ef4
mov edi, 0x410
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x3e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
ja 0x4082a1
lea eax, [ebp + 0x3e4]
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.00402ef4
lea eax, [ebp - 0x2c]
push eax
call fcn.00407063
pop ecx
test al, al
je 0x40835b
lea eax, [ebp - 0x2c]
push eax
call fcn.00402308
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00441830
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x10
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x5fc]
neg eax
sbb eax, eax
and eax, 5
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40835b
cmp dword [ebp + 0x5f8], esi
jbe 0x40834b
push 0xbb8
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push esi
push str.Q360SafeMainClass
call ebx
cmp eax, esi
je 0x40834b
push 0x168
push dword [ebp + 0x5f8]
push 0x52c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x3c]
call esi
mov ecx, dword [ebp + 0x5ec]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004420f4
add ebp, 0x5f0
leave
ret
Function at 0x40856f
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
mov edi, dword [ebp + 0x194]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x7e]
push eax
call fcn.00441830
add esp, 0xc
call fcn.004257e7
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x80]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
je 0x40861d
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
je 0x40861d
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.SoftMgr
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
je 0x40861d
push str.SoftManager.exe
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
je 0x40861d
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40861d
push 5
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00407e5d
add esp, 0xc
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop esi
call fcn.004420f4
add ebp, 0x18c
leave
ret

Function at 0x408634
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.004257e7
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4086b0
push str...ipc360boxmain.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4086b0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4086b0
push 5
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00407e5d
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004420f4
leave
ret

Function at 0x4086bd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.004257e7
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x408739
push str.360realpro.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x408739
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408739
push 5
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00407e5d
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004420f4
leave
ret