joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489255
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
mov eax, dword [ebp + 0x1d0]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1d4]
xor ebx, ebx
test byte [0x4fb278], 1
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x70], ebx
mov esi, 0x4fb258
jne 0x4892b1
or dword [0x4fb278], 1
mov ecx, esi
call fcn.0046ce1e
push 0x4c7648
call fcn.004982ba
pop ecx
cmp dword [0x4fb274], ebx
je 0x4892dc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4fb254]
sub ecx, eax
cmp ecx, 0x1388
ja 0x4892dc
cmp byte [ebp + 0x1d8], 1
jne 0x489385
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x489385
mov ecx, esi
call fcn.00487b3e
push 0x228
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.00497680
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
mov edi, 0x22c
push ebx
mov dword [ebp - 0x68], edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x489377
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00404050
lea ecx, [ebp - 0x6c]
call fcn.00409990
mov ecx, eax
call fcn.004099e0
lea ecx, [ebp - 0x6c]
call fcn.004050f0
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.004884e3
mov ecx, dword [ebp - 0x60]
push edi
mov dword [eax], ecx
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00497680
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebp - 0x68], edi
call fcn.00404d30
lea eax, [ebp - 0x68]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48931d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x7c]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x6c]
call fcn.00404050
lea ecx, [ebp - 0x6c]
call fcn.004050f0
push esi
push dword [0x4fb270]
lea ecx, [ebp - 0x78]
call fcn.0047b281
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.004868d6
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.0047065d
test al, al
jne 0x4893df
test edi, edi
je 0x4893d8
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.004884e3
mov eax, dword [eax]
mov dword [edi], eax
mov dword [ebp - 0x70], 1
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00404d30
mov ecx, dword [ebp + 0x1c4]
mov eax, dword [ebp - 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x1c8
leave
ret
Function at 0x489788
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
xor ebx, ebx
push ebx
push ebx
mov ebp, ecx
push ebp
push 0x48977a
push ebx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xc350
push eax
mov dword [esp + 0x1c], eax
call edi
push ebx
push ebx
push ebp
push 0x48564d
push ebx
push ebx
call esi
mov esi, eax
push 0x2710
push esi
call edi
test eax, eax
jne 0x4897f8
xor edi, edi
mov ecx, ebp
call fcn.00485618
mov byte [esp + 0x13], al
cmp al, 1
je 0x4897f2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jl 0x4897d2
cmp byte [esp + 0x13], bl
jne 0x489821
mov ecx, ebp
call fcn.00487138
xor edi, edi
mov ecx, ebp
call fcn.00485618
mov byte [esp + 0x13], al
cmp al, 1
je 0x489821
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x489801
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x489837
cmp eax, 0xffffffff
je 0x489837
push eax
call edi
cmp esi, ebx
je 0x489843
cmp esi, 0xffffffff
je 0x489843
push esi
call edi
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x48984e
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1cc]
sub esp, 0x24c
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x1c8], eax
mov eax, dword [ebp + 0x1d4]
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x489894
xor al, al
mov ecx, dword [ebp + 0x1c8]
xor ecx, ebp
call fcn.00497941
add ebp, 0x1cc
leave
ret
push ebx
lea ecx, [ebp - 0x80]
call fcn.00473420
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x4fa998
call fcn.00477670
test al, al
jne 0x4898c7
xor bl, bl
lea ecx, [ebp - 0x80]
call fcn.00476e23
push dword [ebp - 0x80]
call fcn.00493cb0
pop ecx
mov al, bl
pop ebx
jmp 0x48987f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push eax
mov byte [ebp - 0x41], 1
call fcn.00497680
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x4c]
call fcn.004155d0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
lea ecx, [ebp - 0x4c]
call fcn.004155d0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
call fcn.0047065d
test al, al
jne 0x4899eb
push esi
push edi
push 0x4d67f4
lea ecx, [ebp - 0x64]
call fcn.00404050
push str.lnk1
lea ecx, [ebp - 0x68]
call fcn.00404050
lea ecx, [ebp - 0x54]
call fcn.00475d48
cmp dword [eax + 0x18], 8
jb 0x489950
mov eax, dword [eax + 4]
jmp 0x489953
add eax, 4
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404050
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x5c]
push esi
push edi
push ebx
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x4fa9d4
call fcn.0047752f
lea ecx, [ebx - 0x10]
call fcn.00404d30
lea ecx, [edi - 0x10]
call fcn.00404d30
lea ecx, [esi - 0x10]
call fcn.00404d30
mov esi, dword [ebp - 0x58]
cmp dword [esi - 0xc], 0
je 0x4899b6
push esi
push dword [ebp - 0x60]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4899b6
mov byte [ebp - 0x41], al
lea ecx, [esi - 0x10]
call fcn.00404d30
lea ecx, [ebp - 0x54]
call fcn.00475d74
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
lea ecx, [ebp - 0x4c]
call fcn.004155d0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
call fcn.0047065d
test al, al
je 0x489923
pop edi
pop esi
mov bl, byte [ebp - 0x41]
jmp 0x4898b1
Function at 0x48a791
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push 0x4faa18
lea ecx, [ebp - 4]
call fcn.00404530
lea eax, [ebp - 4]
lea edi, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.00404570
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00404d30
mov eax, dword [edi]
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x48a7cc
xor al, al
jmp 0x48a801
push ebx
lea ebx, [esi + 0x64]
mov ecx, ebx
call fcn.00492628
cmp al, 1
jne 0x48a7f8
push edi
push edi
push esi
push 0x48a6e1
push edi
push edi
call fcn.0049befe
add esp, 0x18
test eax, eax
je 0x48a7f8
mov ecx, ebx
call fcn.0049235e
xor eax, eax
cmp dword [esi + 0x60], edi
pop ebx
sete al
pop edi
pop esi
leave
ret

Function at 0x48a845
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
jne 0x48a866
xor eax, eax
leave
ret
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]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
test eax, eax
jne 0x48a862
push 2
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
leave
ret
Function at 0x48abd3
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push edi
mov edi, dword [ebp + 0x3a8]
xor ebx, ebx
push edi
mov byte [ebp - 0x75], bl
call esi
test eax, eax
jne 0x48ac11
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push edi
call esi
test eax, eax
je 0x48acd7
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push ebx
push eax
call fcn.00497680
xor eax, eax
push esi
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push ebx
push eax
call fcn.00497680
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.writeable_test__d.dat
lea eax, [ebp - 0x74]
push 0x208
push eax
call fcn.00415b00
add esp, 0x10
lea eax, [ebp - 0x74]
push eax
push edi
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
push 0x80
push 2
push ebx
push 7
push 0x40000000
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebx
je 0x48acd7
cmp esi, 0xffffffff
je 0x48acd7
or dword [ebp - 0x7c], 0xffffffff
push ebx
lea eax, [ebp - 0x80]
push eax
push 2
lea eax, [ebp - 0x7c]
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 0x48acd7
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x75], 1
mov ecx, dword [ebp + 0x39c]
mov al, byte [ebp - 0x75]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x3a0
leave
ret

Function at 0x48b036
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x4cd7a4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x4cd7a8]
push esi
xor esi, esi
mov dword [ebp - 8], ecx
cmp dword [eax - 0xc], esi
jge 0x48b06f
push 0x80070057
call fcn.00404ce0
mov ax, word [eax]
push edi
mov word [ebp - 0xc], ax
xor eax, eax
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
pop edi
test eax, eax
je 0x48b0bd
mov eax, 0x4190ab00
cmp dword [ebp - 0x18], esi
ja 0x48b0ae
cmp dword [ebp - 0x1c], eax
jbe 0x48b0bd
cmp dword [ebp - 0x10], esi
ja 0x48b0b8
cmp dword [ebp - 0x14], eax
jbe 0x48b0bd
xor eax, eax
inc eax
jmp 0x48b0bf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00497941
leave
ret 4
Function at 0x48b2d4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [0x4fb098]
call fcn.00480377
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
call esi
mov edi, eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x4fb098]
push str.QHSafeMain.exe
call fcn.004088f0
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x48b36f
call esi
sub eax, edi
cmp eax, 0x1388
jbe 0x48b2f1
push 0x4faa18
lea ecx, [ebp - 4]
call fcn.00404530
push 0x4cf2ac
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004067a0
mov ecx, dword [ebp - 4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00404d30
mov esi, dword [ebp - 8]
push 5
push 0
push str._install
push esi
push str.open
push 0
call fcn.0046f524
add esp, 0x18
lea ecx, [esi - 0x10]
call fcn.00404d30
pop edi
pop esi
leave
ret

Function at 0x48bcb0
Capabilities:
Create thread
Terminate 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 0x48b81a
push 0
push 0
call fcn.0049befe
mov edi, eax
add esp, 0x18
test edi, edi
je 0x48bcfc
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48bcf5
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret
Function at 0x48bd36
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00410520
lea eax, [ebp - 0x44]
push eax
push 0
push ecx
mov ecx, esp
push str.RunOnce
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersion
call fcn.00404050
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040b9b0
push eax
call fcn.0040baa0
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x1c]
inc bl
call fcn.0040c410
test bl, bl
je 0x48bda9
xor bl, bl
lea ecx, [ebp - 0x44]
call fcn.00411c00
push dword [ebp - 0x44]
call fcn.00493cb0
pop ecx
pop esi
mov al, bl
pop ebx
leave
ret
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0xc]
call fcn.004155d0
jmp 0x48be4f
lea ecx, [ebp - 0xc]
call fcn.00409fd0
push 0
push str.360safeuninst
mov ecx, eax
call fcn.00404270
cmp eax, 0xffffffff
je 0x48be47
push 0x4fc0d8
lea ecx, [ebp - 4]
call fcn.00418850
lea ecx, [ebp - 0xc]
call fcn.00409fd0
lea ecx, [ebp - 4]
push ecx
push 0
push ecx
mov ecx, esp
push eax
call fcn.00404530
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
call fcn.00404050
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040b9b0
push eax
call fcn.0040be00
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
mov ebx, eax
call fcn.0040c410
test ebx, ebx
je 0x48be3c
push 0
push str.remove360.bat
lea ecx, [ebp - 4]
call fcn.00404270
cmp eax, 0xffffffff
jne 0x48be77
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00404d30
lea ecx, [ebp - 0xc]
call fcn.0040a000
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
call fcn.004155d0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00409fa0
test al, al
je 0x48bdbd
jmp 0x48bd90
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00404d30
mov bl, 1
jmp 0x48bd92
Function at 0x48cc31
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4fb1e0], 1
push edi
jne 0x48cd18
cmp byte [0x4faa31], 0
jne 0x48cd18
push ebx
push esi
push str.ID_RESTART_NOW
lea eax, [ebp - 0xc]
mov esi, 0x4fa998
push eax
mov ecx, esi
call fcn.00473572
mov edi, dword [eax]
push str.ID_RESTART_LATER
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.00473572
mov ebx, dword [eax]
push 0x4c997c
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.00473572
mov ecx, 0x4d67f4
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push edi
push ebx
push dword [eax]
call fcn.0048285a
mov ecx, dword [ebp - 4]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.00404d30
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00404d30
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00404d30
push str.NEED_REBOOT
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.00473572
mov eax, dword [eax]
push 2
xor edi, edi
inc edi
push edi
push eax
push 0x4cd754
mov ecx, esi
call fcn.0047351b
push eax
push dword [0x4fb2ac]
call fcn.004753f6
mov ecx, dword [ebp - 0xc]
add esp, 0x14
cmp eax, 2
sete bl
add ecx, 0xfffffff0
call fcn.00404d30
pop esi
test bl, bl
pop ebx
je 0x48cd18
mov dword [0x4fb1dc], edi
jmp 0x48cd4d
cmp byte [0x4faa32], 0
je 0x48cd2f
cmp dword [0x4fb1e4], 0
jne 0x48cd2f
call fcn.0048b2d4
cmp dword [ebp + 8], 0
je 0x48cd4d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48cd4d
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
leave
ret
Function at 0x48cd50
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3f8]
sub esp, 0x478
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x3f4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
call fcn.0046fc3e
mov ebx, eax
push 0x104
lea eax, [ebp - 0x1c]
push eax
xor esi, esi
push esi
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [0x4faa51], 0
mov byte [ebp - 0x1d], 1
je 0x48ce5d
cmp byte [0x4faa52], 0
jne 0x48ce17
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00497680
push 5
pop eax
push str.wait
push str.post
mov word [ebp - 0x50], ax
lea eax, [ebp + 0x1ec]
push str.___s:_s
push eax
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x54], 1
call fcn.0048a82f
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x1ec]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046e4e8
add esp, 0x44
test eax, eax
je 0x48ce17
mov byte [ebp - 0x1d], 0
cmp dword [ebx], esi
je 0x48cf05
push dword [ebx + 8]
lea eax, [ebp - 0x24]
mov edi, 0x4fa998
push eax
mov ecx, edi
call fcn.00473572
mov eax, dword [eax]
push esi
push esi
push eax
push 0x4cd754
mov ecx, edi
call fcn.0047351b
push eax
push esi
call fcn.004753f6
mov ecx, dword [ebp - 0x24]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.00404d30
jmp 0x48cf01
cmp dword [ebx], esi
je 0x48cf17
push str.NEED_REBOOT
lea eax, [ebp - 0x24]
mov edi, 0x4fa998
push eax
mov ecx, edi
call fcn.00473572
mov eax, dword [eax]
push esi
push 1
push eax
push 0x4cd754
mov ecx, edi
call fcn.0047351b
push eax
push esi
call fcn.004753f6
mov ecx, dword [ebp - 0x24]
add esp, 0x14
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00404d30
test bl, bl
je 0x48cefe
push str.post
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x1ec]
push str.__s____s
push eax
call fcn.0048a82f
add esp, 0x10
lea eax, [ebp + 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp + 0x1ec]
push eax
push 1
push str.360ts
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.0048a845
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 0x1d], 0
cmp byte [ebp - 0x1d], 0
jne 0x48cf17
push dword [ebx + 4]
mov ecx, dword [ebp - 0x28]
push esi
call fcn.0048bcff
mov ecx, dword [ebp + 0x3f4]
mov al, byte [ebp - 0x1d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x3f8
leave
ret
Function at 0x48e551
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x48e52f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
test edi, edi
je 0x48e59e
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
leave
ret

Function at 0x48e5c5
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.LocalQ360CleanupPlusWorking
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x48e5e5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x48e5e2
xor al, al
ret

Function at 0x48e62f
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 7
pop ecx
xor eax, eax
push 1
push eax
lea edi, [ebp - 0x24]
push eax
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
test eax, eax
je 0x48e6d0
push 0x10024
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
je 0x48e6c7
cmp byte [ebp + 0xc], 1
jne 0x48e6b5
lea eax, [ebp - 0x24]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x48e6b5
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x3e8
push ebx
call esi
lea eax, [ebp - 0x24]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x48e6ad
cmp dword [ebp - 0x20], 3
jne 0x48e6b3
push ebx
call esi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x48e69d
pop esi
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
leave
ret

Function at 0x48ebee
Capabilities:
Terminate process

Disassembly:
push esi
push dword [esp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x48ec1b
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x48ecde
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
add ecx, 0x940
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
ret
Function at 0x48eeb0
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x1b4], eax
push ebx
push esi
mov esi, dword [ebp + 0x1c0]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x54], ax
xor edi, edi
lea eax, [ebp - 0x52]
push edi
xor ebx, ebx
push eax
inc ebx
call fcn.00497680
mov eax, dword [esi + 4]
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
push 0x20019
push edi
push eax
push dword [esi]
mov dword [ebp - 0x60], 0x104
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48ef51
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x5c], edi
jbe 0x48ef51
xor ebx, ebx
cmp dword [ebp - 0x58], edi
je 0x48ef5f
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi + 4]
push dword [esi]
cmp ebx, 1
jne 0x48ef71
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x48ef77
call dword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
mov ecx, dword [ebp + 0x1b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x1b8
leave
ret