joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497f3b
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push 0x214
mov eax, 0x4e6ed7
call fcn.004b5417
mov esi, ecx
call fcn.0049310b
test al, al
je 0x498039
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004b47e0
push str.temp_files
lea eax, [esi + 0x7c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00445250
add esp, 0x18
and dword [ebp - 4], 0
mov eax, dword [eax]
push str.safemonWscReg.exe
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0040d610
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x498039
lea ecx, [ebp - 0x21c]
call fcn.0040c7d0
mov dword [ebp - 4], 1
mov edi, 0x104
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040dc70
push edi
push eax
push str.CommonProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x49802a
push 0xffffffffffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040c8c0
push str.AV360_Total_SecurityUpgrade.exe
lea ecx, [ebp - 0x21c]
call fcn.00444b0f
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00496d16
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
call fcn.004b549a
ret

Function at 0x49831b
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x418
mov eax, 0x4e6fa1
call fcn.004b5417
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004b47e0
add esp, 0xc
push 1
push ebx
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x498367
xor al, al
jmp 0x4983db
xor eax, eax
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.004b47e0
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x49838c
mov esi, dword [esi + 4]
jmp 0x49838f
add esi, 4
push esi
lea eax, [ebp - 0x424]
push eax
mov ecx, 0x53fda0
call fcn.0047d67a
mov dword [ebp - 4], ebx
push dword [eax]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.0040d610
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
call fcn.004b549a
ret
Function at 0x499506
Capabilities:
Set registry value

Disassembly:
push 0x210
mov eax, 0x4e740b
call fcn.004b5417
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004b47e0
add esp, 0xc
push str.lnkpath
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x53fda0
call fcn.0047d67a
and dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call fcn.0049354c
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
lea eax, [ebp - 0x218]
push eax
call fcn.004b5ec7
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push str.StartMenu
push str.SOFTWARE360TotalSecurityShortcut
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.004b549a
ret
Function at 0x49ae91
Capabilities:
Enumerate processes

Disassembly:
push 0x24c
mov eax, 0x4e788e
call fcn.004b5417
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
test byte [0x540314], 1
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x248], ebx
mov esi, 0x5402f4
jne 0x49aee8
or dword [0x540314], 1
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.00471ab8
push 0x4ef7e7
call fcn.004b78c0
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x540310], ebx
je 0x49af10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x5402f0]
sub ecx, eax
cmp ecx, 0x1388
ja 0x49af10
cmp byte [ebp + 0x10], 1
jne 0x49aff2
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x49aff2
mov ecx, esi
call fcn.00470c48
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
mov edi, 0x22c
push ebx
mov dword [ebp - 0x23c], edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x49afdd
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.0044bc85
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.0044644e
mov ecx, eax
call fcn.00444d1f
lea ecx, [ebp - 0x244]
call fcn.00445121
lea eax, [ebp - 0x244]
push eax
mov ecx, esi
call fcn.0047158d
mov ecx, dword [ebp - 0x234]
push edi
mov dword [eax], ecx
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
mov dword [ebp - 0x23c], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.0040d610
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49af5d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x254]
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x240]
call fcn.0044bc85
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.00445121
push esi
push dword [0x54030c]
lea ecx, [ebp - 0x250]
call fcn.004424c1
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x258]
push eax
mov ecx, esi
call fcn.0046fdc4
mov ecx, eax
call fcn.004833f7
test al, al
je 0x49b06e
test edi, edi
je 0x49b064
lea eax, [ebp - 0x240]
push eax
mov ecx, esi
call fcn.0047158d
mov eax, dword [eax]
mov dword [edi], eax
mov dword [ebp - 0x248], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.0040d610
mov eax, dword [ebp - 0x248]
call fcn.004b549a
ret
Function at 0x49b4d5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
xor ebx, ebx
push ebx
push ebx
push ecx
push 0x49b4c4
push ebx
push ebx
mov dword [ebp - 8], ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xc350
push eax
mov dword [ebp - 0x10], eax
call edi
push ebx
push ebx
push dword [ebp - 8]
push 0x493773
push ebx
push ebx
call esi
push 0x2710
push eax
mov dword [ebp - 0x14], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x3e8
test eax, eax
jne 0x49b551
mov dword [ebp - 0xc], ebx
mov ecx, dword [ebp - 8]
call fcn.0049373b
mov byte [ebp - 1], al
cmp al, 1
je 0x49b54c
push esi
call edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 5
jl 0x49b531
cmp byte [ebp - 1], bl
jne 0x49b577
mov ecx, dword [ebp - 8]
call fcn.004964a5
mov dword [ebp - 0xc], ebx
mov ecx, dword [ebp - 8]
call fcn.0049373b
mov byte [ebp - 1], al
cmp al, 1
je 0x49b577
push esi
call edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xa
jl 0x49b55c
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x49b58d
cmp dword [ebp - 0x10], 0xffffffff
je 0x49b58d
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x14], ebx
je 0x49b59d
cmp dword [ebp - 0x14], 0xffffffff
je 0x49b59d
push dword [ebp - 0x14]
call esi
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49bffa
Capabilities:
Delete file

Disassembly:
push 0x248
mov eax, 0x4e7ae8
call fcn.004b5417
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x23c], eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x49c028
xor al, al
call fcn.004b549a
ret
lea ecx, [ebp - 0x254]
call fcn.0048d48e
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x254]
mov esi, 0x53fda0
push eax
mov ecx, esi
call fcn.00480666
test al, al
jne 0x49c062
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004679ad
mov al, bl
jmp 0x49c022
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov byte [ebp - 0x219], 1
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x248]
lea ecx, [ebp - 0x228]
call fcn.00442295
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
jmp 0x49c183
push 0x50ea8c
lea ecx, [ebp - 0x22c]
call fcn.0044bc85
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.0048212d
cmp dword [eax + 0x18], 8
jb 0x49c0e6
mov eax, dword [eax + 4]
jmp 0x49c0e9
add eax, 4
push eax
lea ecx, [ebp - 0x238]
call fcn.0044bc85
mov byte [ebp - 4], 2
lea eax, [ebp - 0x22c]
push eax
push edi
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
call fcn.0049bfb6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x238]
call fcn.0040d610
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x22c]
call fcn.0040d610
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], ebx
je 0x49c16a
push eax
push dword [ebp - 0x23c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x49c16a
mov byte [ebp - 0x219], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x220]
call fcn.0040d610
lea ecx, [ebp - 0x234]
call fcn.004a66b8
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x244]
lea ecx, [ebp - 0x228]
call fcn.00442295
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x234]
call fcn.0043cc0e
test al, al
je 0x49c0bc
mov bl, byte [ebp - 0x219]
jmp 0x49c04f
Function at 0x49d517
Capabilities:
List user account groups
List user accounts for group

Disassembly:
push 0x70
mov eax, 0x4e7e82
call fcn.004b53ae
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp + 8]
call fcn.0049d4ee
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push ebx
inc edi
push ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
call sub.NETAPI32.dll_NetLocalGroupEnum
cmp eax, ebx
je 0x49d566
cmp eax, 0xea
jne 0x49d5d2
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x49d5e2
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
jbe 0x49d5d2
cmp esi, ebx
je 0x49d5d2
mov eax, dword [esi]
cmp eax, ebx
je 0x49d5c4
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042b420
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x7c]
call fcn.00463870
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0049cfbb
mov ecx, eax
call fcn.00499710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00463852
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp - 0x5c]
call fcn.0040d590
add esi, 4
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jb 0x49d575
cmp dword [ebp - 0x14], ebx
je 0x49d5e2
push dword [ebp - 0x14]
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00476f02
jmp 0x49d6b2
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00478005
cmp dword [eax + 0x18], 8
jb 0x49d611
mov eax, dword [eax + 4]
jmp 0x49d614
add eax, 4
push ebx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
push ecx
push edi
push eax
push ebx
call sub.NETAPI32.dll_NetLocalGroupGetMembers
cmp eax, ebx
je 0x49d636
cmp eax, 0xea
jne 0x49d69a
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x49d6aa
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x10], ebx
jbe 0x49d69d
lea esi, [eax + 8]
lea eax, [esi - 8]
test eax, eax
je 0x49d69a
cmp dword [esi - 4], edi
jne 0x49d68c
push dword [esi]
lea ecx, [ebp - 0x5c]
call fcn.0042b420
mov dword [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00478005
mov ecx, eax
add ecx, 0x1c
call fcn.00462c73
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp - 0x5c]
call fcn.0040d590
add esi, 0xc
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jb 0x49d648
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x18], ebx
je 0x49d6aa
push dword [ebp - 0x18]
call sub.NETAPI32.dll_NetApiBufferFree
lea ecx, [ebp - 0x2c]
call fcn.004938d3
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.004424c1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043cc0e
test al, al
je 0x49d5f5
mov eax, esi
call fcn.004b5486
ret
Function at 0x49e62f
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x4dcfee
call fcn.004b53ae
mov esi, ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x53fda0
call fcn.0046fad7
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x80]
push eax
mov ecx, edi
call fcn.00446840
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040d610
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x49e684
push str.InstallProc3088
mov ecx, 0x53ff20
call fcn.00444b0f
xor al, al
jmp 0x49e6d5
lea edi, [esi + 0x88]
mov ecx, edi
call fcn.004a52b8
cmp al, 1
jne 0x49e6bb
push ebx
push ebx
push esi
push 0x49e565
push ebx
push ebx
call fcn.004ba979
add esp, 0x18
test eax, eax
je 0x49e6b4
mov ecx, edi
call fcn.004a4fc1
jmp 0x49e6ca
push str.InstallProc3100
jmp 0x49e6c0
push str.InstallProc3105
mov ecx, 0x53ff20
call fcn.00444b0f
xor eax, eax
cmp dword [esi + 0x84], ebx
sete al
call fcn.004b5486
ret

Function at 0x49e745
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x49e7c9
push esi
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x49e7c8
push 0x80020011
cmp dword [ebp + 8], esi
je 0x49e7bc
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x49e7c8
push esi
push 1
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
pop esi
xor eax, eax
leave
ret
Function at 0x49ebcb
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov byte [ebp - 0x415], bl
call esi
test eax, eax
jne 0x49ec01
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push edi
call esi
test eax, eax
je 0x49ecdb
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004b47e0
xor eax, eax
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.004b47e0
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.writeable_test__d.dat
lea eax, [ebp - 0x414]
push 0x208
push eax
call fcn.00411380
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
push 0x80
push 2
push ebx
push 7
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x49ecdb
or dword [ebp - 0x41c], 0xffffffff
push ebx
lea eax, [ebp - 0x420]
push eax
push 2
lea eax, [ebp - 0x41c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x49ecdb
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x415], 1
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x415]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret

Function at 0x49f61f
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x4e3dfe
call fcn.004b53ae
mov edi, ecx
push 0x541444
push 0x3b0
call fcn.004b90f6
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x49f653
mov ecx, eax
call fcn.004a42a1
jmp 0x49f655
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea esi, [edi + 0x70c]
push eax
mov ecx, esi
call fcn.0049e7cd
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x10100
push 0x86000000
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
mov ecx, dword [esi]
mov dword [ebp - 0x10], esp
push dword [edi + 4]
call fcn.0049f549
mov ecx, dword [esi]
mov ebx, 0x7e8
push ebx
push dword [edi + 4]
call fcn.004a3323
mov eax, dword [esi]
test eax, eax
je 0x49f6c8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49f6c8
push 0
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
mov eax, dword [esi]
push 1
push dword [eax + 4]
call edi
jmp 0x49f6d6
push 0
push 0
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004b5486
ret
Function at 0x49f741
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x10
mov eax, 0x4e814b
call fcn.004b53ae
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x53fda0
call fcn.0046fad7
and dword [ebp - 4], 0
push str.QHSafeMain.exe
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00445250
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0040d610
push 0x5063a0
lea ecx, [ebp - 0x10]
call fcn.0044bc85
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004420c1
mov byte [ebp - 4], 4
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004420c1
mov byte [ebp - 4], 5
push dword [0x53fb44]
mov byte [ebp - 4], 3
call fcn.0048ad44
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call esi
mov edi, eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x53fb44]
push 0x501294
call fcn.0044efd4
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x49f816
call esi
sub eax, edi
cmp eax, 0x1388
jbe 0x49f7d0
push 5
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str.open
push 0
call fcn.0046b9ff
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040d610
call fcn.004b5486
ret

Function at 0x4a091f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push 0x4a01f3
push 0
push 0
call fcn.004ba979
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4a095b
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret

Function at 0x4a095e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
add dword [0x53fee0], 0x2710
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x4a06e9
push eax
push eax
call fcn.004ba979
add esp, 0x18
mov dword [0x540388], eax
leave
ret
Function at 0x4a09e7
Capabilities:
Persist via run registry key

Disassembly:
push 0x4c
mov eax, 0x4e8379
call fcn.004b53ae
lea ecx, [ebp - 0x58]
call fcn.00456104
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x58]
push eax
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.RunOnce
call fcn.0044bc85
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersion
call fcn.0044bc85
mov byte [ebp - 4], 2
mov esi, 0x80000002
push esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00443769
mov byte [ebp - 4], 3
push eax
call fcn.0045c66a
mov ebx, eax
neg ebx
pop ecx
sbb bl, bl
pop ecx
inc bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00443c39
test bl, bl
je 0x4a0a79
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00452f5d
mov al, bl
call fcn.004b5486
ret
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x20]
call fcn.00442295
jmp 0x4a0b40
lea ecx, [ebp - 0x20]
call fcn.0048212d
push edi
push str.360safeuninst
mov ecx, eax
call fcn.0044211b
cmp eax, 0xffffffff
je 0x4a0b38
lea ecx, [ebp - 0x10]
call fcn.0040c7d0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.0048212d
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004420c1
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
call fcn.0044bc85
mov byte [ebp - 4], 6
push esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00443769
mov byte [ebp - 4], 7
push eax
call fcn.0044b15c
mov ebx, eax
neg ebx
pop ecx
sbb bl, bl
pop ecx
inc bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00443c39
test bl, bl
jne 0x4a0b2c
push edi
push str.remove360.bat
lea ecx, [ebp - 0x10]
call fcn.0044211b
cmp eax, 0xffffffff
jne 0x4a0b68
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040d610
lea ecx, [ebp - 0x20]
call fcn.0043cb99
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.00442295
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043cc0e
test al, al
je 0x4a0a8d
jmp 0x4a0a63
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040d610
mov bl, 1
jmp 0x4a0a65
Function at 0x4a1db3
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0x478
mov eax, 0x4e85e0
call fcn.004b5417
mov dword [ebp - 0x42c], ecx
call fcn.0047a731
mov ebx, eax
push 0x104
lea eax, [ebp - 0x420]
push eax
xor esi, esi
push esi
mov dword [ebp - 0x430], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [0x53fe51], 0
mov byte [ebp - 0x421], 1
je 0x4a1eff
cmp byte [0x53fe52], 0
jne 0x4a1eaf
xor eax, eax
mov dword [ebp - 0x440], esi
lea edi, [ebp - 0x43c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x480]
push esi
push eax
call fcn.004b47e0
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x454], ax
mov dword [ebp - 0x484], 0x44
mov dword [ebp - 0x458], 1
mov eax, str.__TSinstall
cmp dword [0x53fedc], esi
jne 0x4a1e5e
mov eax, 0x50ea8c
push eax
push str.wait
push str.post
lea eax, [ebp - 0x218]
push str.___s:_s_s
push eax
call fcn.0046783d
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x484]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0046a6c4
add esp, 0x3c
test eax, eax
je 0x4a1eaf
mov byte [ebp - 0x421], 0
cmp dword [ebx], esi
je 0x4a1fd7
push dword [ebx + 8]
lea eax, [ebp - 0x428]
mov edi, 0x53fda0
push eax
mov ecx, edi
call fcn.0047d67a
mov dword [ebp - 4], esi
mov eax, dword [eax]
push esi
push esi
push eax
push 0x50243c
mov ecx, edi
call fcn.0047d611
push eax
push esi
call fcn.0047f037
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.0040d610
jmp 0x4a1fd0
cmp dword [ebx], esi
je 0x4a1fef
push str.NEED_REBOOT
lea eax, [ebp - 0x428]
mov edi, 0x53fda0
push eax
mov ecx, edi
call fcn.0047d67a
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax]
push esi
push ecx
push eax
push 0x50243c
mov ecx, edi
call fcn.0047d611
push eax
push esi
call fcn.0047f037
add esp, 0x14
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.0040d610
test bl, bl
je 0x4a1fca
mov eax, str.__TSinstall
cmp dword [0x53fedc], esi
jne 0x4a1f6e
mov eax, 0x50ea8c
push eax
push str.post
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push str.__s____s_s
push eax
call fcn.0046783d
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push str.360ts
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
push 2
push 1
call fcn.0049e745
add esp, 0xc
mov ebx, dword [ebp - 0x430]
mov byte [ebp - 0x421], 0
cmp byte [ebp - 0x421], 0
jne 0x4a1fef
push dword [ebx + 4]
mov ecx, dword [ebp - 0x42c]
push esi
call fcn.004a098f
mov al, byte [ebp - 0x421]
call fcn.004b549a
ret