joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac49
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x788], eax
push edi
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.0042bbb0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.Path
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40acf6
push str.360ver.dll
lea eax, [ebp - 0x78]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40acf6
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00409d1c
mov esi, eax
pop ecx
test esi, esi
je 0x40acf5
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp + 0x788]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0042bb9b
add ebp, 0x78c
leave
ret

Function at 0x40ad0e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0042ddf0
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.0042bbb0
add esp, 0xc
push 0x443ca0
mov esi, 0x800
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.004082fb
push edi
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.004082fb
push 0x443c74
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.004082fb
push edi
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.004082fb
push str.vL
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.004082fb
push ebx
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.004082fb
push 0x443c30
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.004082fb
push 0x14
push edi
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x40ae0f
call fcn.00407c91
test eax, eax
je 0x40adf8
call fcn.0040ac49
test eax, eax
je 0x40adf8
push 5
xor eax, eax
push eax
push eax
push 0x44d338
jmp 0x40ae03
push 5
xor eax, eax
push eax
push eax
push 0x44d1a0
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x10], 0
je 0x40ae1c
push 0
call fcn.0042e566
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bb9b
leave
ret

Function at 0x40ae2d
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00409cde
pop ecx
test eax, eax
je 0x40ae42
xor eax, eax
inc eax
pop esi
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ae5d
push 1
push 0x44d008
push esi
call fcn.0040ad0e
add esp, 0xc
xor eax, eax
pop esi
ret
Function at 0x40b9d9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x394], eax
mov eax, dword [ebp + 0x3a0]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov esi, dword [ebp + 0x3a4]
push edi
xor edi, edi
push 2
push edi
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x74], eax
cmp eax, edi
jne 0x40ba34
call fcn.00408d43
mov esi, eax
jmp 0x40bafa
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x40ba4d
call fcn.00408d43
jmp 0x40baef
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x40ba43
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x40baa9
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x40ba80
lea ecx, [ebp - 0x70]
call fcn.004094ce
mov esi, 0x8007000e
lea ecx, [ebp - 0x78]
call fcn.00409408
mov ecx, dword [ebp + 0x394]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bb9b
add ebp, 0x398
leave
ret 0x10
push eax
lea ecx, [ebp - 0x70]
call fcn.00409e0b
cmp dword [ebp - 0x70], edi
jne 0x40babe
mov esi, 0x8007000e
jmp 0x40baf1
push esi
push dword [ebp - 0x70]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x40ba43
mov edx, dword [ebp - 0x70]
push dword [ebp + 0x3ac]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x80]
call fcn.0040b00a
mov esi, eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x40ba85
lea ecx, [ebp - 0x70]
call fcn.004094ce
jmp 0x40ba85
Function at 0x40c2b5
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [0x4537c0], 0
push esi
push edi
push str.Global__Q360TBListMutex__
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4537c0], eax
test eax, eax
je 0x40c384
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40c384
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x443e00
mov edi, str.Q360FWMainClass
push edi
call esi
test eax, eax
je 0x40c30f
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x40c36e
push str.360
push edi
call esi
mov esi, eax
test esi, esi
je 0x40c36e
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x40c364
mov edx, dword [ebp - 4]
cmp edx, 1
jle 0x40c364
push 0
push ecx
mov ecx, esp
push dword [eax + edx*4 - 4]
call fcn.0040bfd5
call fcn.0040c0a1
pop ecx
pop ecx
mov dword [0x44d004], eax
mov eax, dword [0x44d004]
cmp eax, 0xffffffff
jg 0x40c373
xor eax, eax
inc eax
jmp 0x40c386
push 2
push eax
push 0x3400
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40c36e
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x40c38a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x398], eax
push ebx
mov ebx, dword [ebp + 0x3a4]
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
mov dword [ebp - 0x80], 0xffffff9c
call fcn.0042bbb0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push edi
push eax
mov word [ebp + 0x190], ax
lea eax, [ebp + 0x192]
push eax
call fcn.0042bbb0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x190]
push esi
push eax
call fcn.0042beec
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
add esp, 0x18
lea eax, [ebp + 0x190]
push eax
call esi
lea eax, [ebp + 0x190]
push eax
call esi
push str.360Util.dll
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x190]
mov esi, 0x454920
push eax
mov ecx, esi
call fcn.0040838c
test eax, eax
je 0x40c489
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040bfd5
push str.__elevated
lea ecx, [ebp - 0x7c]
call fcn.00409afc
push ebx
push 5
push 0xbb8
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.00421859
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.0040813c
mov ecx, dword [ebp + 0x398]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bb9b
add ebp, 0x39c
leave
ret
Function at 0x40c93c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x488]
sub esp, 0x508
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x484], eax
push ebx
push esi
push edi
call fcn.0040c2b5
test eax, eax
je 0x40c96a
xor eax, eax
jmp 0x40cb1e
xor esi, esi
lea eax, [ebp - 0x80]
mov ebx, 0x4537cc
push eax
mov ecx, ebx
mov dword [ebp - 0x80], 0x443918
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
call fcn.0040aaec
call fcn.00408974
lea ecx, [ebp - 0x30]
call fcn.0040b4e6
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, esi
je 0x40c9d4
mov edx, dword [ebp - 0x48]
cmp edx, 1
jle 0x40c9d4
push 1
push ecx
mov ecx, esp
push dword [eax + edx*4 - 4]
call fcn.0040bfd5
call fcn.0040c0a1
pop ecx
pop ecx
push esi
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [0x454d50]
neg eax
sbb eax, eax
push esi
and eax, 0x40000000
push eax
mov edi, 0x44768c
push edi
push ecx
mov eax, esp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0x1ae
mov dword [ebp - 0x38], 0x168
mov dword [eax], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
lea ecx, [ebp - 4]
call fcn.0040c550
cmp eax, esi
jne 0x40ca3e
lea ecx, [ebp - 0x30]
call fcn.00408429
lea ecx, [ebp - 0x70]
call fcn.004079f4
lea ecx, [ebp - 0x7c]
call fcn.004079f4
mov eax, esi
jmp 0x40cb1e
lea ecx, [ebp + 0x434]
call fcn.0040a081
push esi
push ecx
mov eax, esp
mov dword [eax], esi
push 0x64
pop eax
push esi
push esi
push edi
push ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, esp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [eax], ecx
push esi
lea ecx, [ebp + 0x460]
call fcn.0040c5b5
cmp eax, esi
jne 0x40ca89
lea ecx, [ebp + 0x434]
call fcn.0040854c
xor esi, esi
inc esi
jmp 0x40ca1f
lea ecx, [ebp - 0x80]
call fcn.0040800b
push esi
mov ecx, 0x454d60
mov edi, eax
call fcn.0040d255
push esi
mov ecx, 0x454d74
call fcn.0040d255
push str.sites.dll
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], esi
call fcn.0040836a
lea eax, [ebp - 0x34]
push esi
push eax
push 0x443eb0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
call fcn.0040a1ca
mov eax, dword [ebp - 0x34]
cmp eax, esi
jne 0x40cadf
push 0x80004003
call fcn.0042b8e0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov ecx, ebx
call fcn.0040b158
mov eax, dword [ebp - 0x34]
cmp eax, esi
je 0x40caf9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x434]
call fcn.0040854c
lea ecx, [ebp - 0x30]
call fcn.00408429
lea ecx, [ebp - 0x70]
call fcn.004079f4
lea ecx, [ebp - 0x7c]
call fcn.004079f4
mov eax, edi
mov ecx, dword [ebp + 0x484]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bb9b
add ebp, 0x488
leave
ret
Function at 0x40cb36
Capabilities:
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x5ac]
sub esp, 0x62c
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x5a8], eax
mov eax, dword [ebp + 0x5b4]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040c38a
pop ecx
cmp eax, 1
je 0x40cd07
cmp eax, 2
je 0x40cd07
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x3400
call fcn.0040794e
mov dword [esp], 0x1417
call fcn.0040794e
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push esi
push eax
call fcn.0042bbb0
add esp, 0x10
mov edi, 0x104
push edi
lea eax, [ebp - 0x70]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push ebx
mov word [ebp + 0x3a0], ax
lea eax, [ebp + 0x3a2]
push esi
push eax
call fcn.0042bbb0
add esp, 0xc
push edi
lea eax, [ebp + 0x3a0]
push eax
push dword [0x455024]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x3a0]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040bfd5
push 0x5c
lea ecx, [ebp - 0x74]
call fcn.004080e8
push eax
push esi
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040c032
push eax
lea ecx, [ebp - 0x74]
call fcn.0040b1a5
lea ecx, [ebp - 0x78]
call fcn.0040813c
push 0x5c
lea ecx, [ebp - 0x74]
call fcn.004080e8
push eax
push esi
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040c032
push eax
lea ecx, [ebp - 0x74]
call fcn.0040b1a5
lea ecx, [ebp - 0x78]
call fcn.0040813c
push str.Config_newui_themesdefault_
lea ecx, [ebp - 0x74]
call fcn.00409afc
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor eax, eax
push ebx
mov word [ebp + 0x198], ax
push esi
lea eax, [ebp + 0x19a]
push eax
call fcn.0042bbb0
push str.sites.dll
lea eax, [ebp + 0x198]
push edi
push eax
call fcn.0040e738
lea eax, [ebp + 0x198]
push eax
call fcn.0040ae61
push 1
call fcn.0040781e
add esp, 0x20
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.00407aad
pop ecx
push esi
push dword [ebp - 0x7c]
push esi
mov esi, 0x4537cc
mov ecx, esi
call fcn.0040808d
push dword [ebp - 0x7c]
mov ecx, 0x44eec8
call fcn.004107c2
push dword [ebp + 0x5c0]
push dword [ebp + 0x5bc]
call fcn.0040c93c
pop ecx
pop ecx
mov ecx, esi
mov edi, eax
call fcn.0040b131
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x74]
call fcn.0040813c
mov eax, edi
pop edi
pop esi
pop ebx
jmp 0x40cd09
xor eax, eax
mov ecx, dword [ebp + 0x5a8]
xor ecx, ebp
call fcn.0042bb9b
add ebp, 0x5ac
leave
ret 0x10
Function at 0x40e266
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1f94]
mov eax, 0x2014
call fcn.0042ddf0
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x1f90], eax
mov eax, dword [ebp + 0x1fa4]
push ebx
mov ebx, dword [ebp + 0x1fa0]
push esi
push edi
mov edi, dword [ebp + 0x1f9c]
mov esi, 0x1fff
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov byte [ebp - 0x70], 0
call fcn.0042bbb0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x40e307
cmp eax, esi
ja 0x40e307
lea ecx, [ebp - 0x70]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40e307
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x44404c
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40e307
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x40e309
xor eax, eax
mov ecx, dword [ebp + 0x1f90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bb9b
add ebp, 0x1f94
leave
ret

Function at 0x40e364
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xbb8
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40e399
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
inc eax
pop esi
ret
Function at 0x40e55a
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xfffffffffffffffe
push 0x449dc8
push 0x42bd60
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x451fbc]
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.0042bbb0
push edi
push str.__s_
push 0x800
lea eax, [ebp]
push eax
call fcn.0040db88
add esp, 0x1c
push 5
push esi
lea eax, [ebp]
push eax
push str.Explorer
push 0x44768c
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40e5f7
xor eax, eax
inc eax
jmp 0x40e6c6
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 0x445bc8
push 0x15
push esi
push 0x445bd8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40e6b7
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40e69e
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 0x40e653
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.0042e8e1
pop ecx
test eax, eax
jbe 0x40e695
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 0x40e5ef
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.0042bb9b
add ebp, 0x804
leave
ret
Function at 0x40e738
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x451fbc]
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.0042bbb0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
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 0x40e7e8
push 0x104
lea eax, [ebp - 0x74]
push eax
push str.360realpro.exe
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40e7e1
push str.....
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [ebp - 0x74], 0
je 0x40e829
test esi, esi
je 0x40e812
push esi
call fcn.0042e8e1
pop ecx
test eax, eax
jbe 0x40e812
push esi
lea eax, [ebp - 0x74]
push eax
push str._s_s
push dword [ebp + 0x1a4]
push edi
call fcn.0040e526
add esp, 0x14
jmp 0x40e822
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x1a4]
push edi
call fcn.004082c9
mov dword [ebp - 0x78], 1
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x78]
pop edi
xor ecx, ebp
pop esi
call fcn.0042bb9b
add ebp, 0x198
leave
ret
Function at 0x40ea79
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1e4]
sub esp, 0x264
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x1e0], eax
push esi
push edi
mov edi, dword [ebp + 0x1ec]
xor eax, eax
push 0x206
mov word [ebp - 0x28], ax
xor esi, esi
lea eax, [ebp - 0x26]
push esi
push eax
call fcn.0042bbb0
mov eax, dword [0x44d4f4]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x40eb8a
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x444110
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x40
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.0042bbb0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 5
pop eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x44], 1
call fcn.00409afc
push 0x44410c
lea ecx, [ebp - 0x2c]
call fcn.00409afc
push 0x4440f4
lea ecx, [ebp - 0x2c]
call fcn.00409afc
push edi
lea ecx, [ebp - 0x2c]
call fcn.00409afc
push 0x4440f0
lea ecx, [ebp - 0x2c]
call fcn.00409afc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x2c]
call fcn.00409b23
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x2c]
call fcn.00409bee
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [eax - 8], esi
mov word [eax], cx
lea ecx, [ebp - 0x2c]
call fcn.0040813c
mov ecx, dword [ebp + 0x1e0]
pop edi
xor ecx, ebp
pop esi
call fcn.0042bb9b
add ebp, 0x1e4
leave
ret
Function at 0x40f1dd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push esi
xor esi, esi
push esi
push str.Q360SafeMonClass
call ebx
test eax, eax
jne 0x40f2ab
push edi
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0042bbb0
xor eax, eax
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push 5
stosd dword es:[edi], eax
pop eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0xc]
push str.360Tray.exe
push eax
mov dword [ebp - 0x60], 0x44
call fcn.0040f1b4
pop ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040f17b
push dword [eax]
lea ecx, [ebp - 4]
call fcn.0040d2b4
lea ecx, [ebp - 8]
call fcn.0040813c
lea ecx, [ebp - 0xc]
call fcn.0040813c
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x40f264
mov eax, dword [eax]
jmp 0x40f266
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40f29e
push 0x3e8
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x1c]
call edi
mov ecx, dword [ebp - 4]
pop edi
cmp ecx, esi
je 0x40f2ab
call fcn.0040d4c5
push esi
push str.Q360SafeMonClass
call ebx
pop esi
pop ebx
leave
ret