joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4080e0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x13c
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x40822c
mov ecx, dword [esp + 0x15c]
test ecx, ecx
je 0x40822c
mov ecx, dword [esp + 0x160]
test ecx, ecx
je 0x40822c
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40822c
mov edi, dword [esp + 0x154]
test edi, edi
jne 0x408144
lea edi, [esp + 0x14]
mov ebp, dword [esp + 0x158]
test ebp, ebp
jne 0x408153
lea ebp, [esp + 0x54]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x10]
push 0
push eax
push 0x40
push edi
push esi
call ebx
test eax, eax
je 0x408225
cmp dword [esp + 0x10], 0x40
jne 0x408225
cmp word [edi], 0x5a4d
jne 0x408225
mov ecx, dword [edi + 0x3c]
push 0
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [edi + 0x3c]
jne 0x408225
lea edx, [esp + 0x10]
push 0
push edx
push 0xf8
push ebp
push esi
call ebx
test eax, eax
je 0x408225
cmp dword [esp + 0x10], 0xf8
jne 0x408225
cmp dword [ebp], 0x4550
jne 0x408225
cmp word [ebp + 6], 0
je 0x408225
xor eax, eax
push 1
mov ax, word [ebp + 0x14]
push 0
sub eax, 0xe0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x164]
shl edx, 3
push edx
push eax
push esi
call ebx
test eax, eax
je 0x408225
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xcccccccd
pop edi
mul dword [esp + 0xc]
mov eax, edx
pop esi
pop ebp
pop ebx
shr eax, 5
add esp, 0x13c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x13c
ret
Function at 0x4084d0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x408534
lea edx, [esp + 8]
push edx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x408529
mov ecx, dword [esp]
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
push 0
push ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
ret

Function at 0x408540
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push esi
push edi
call fcn.004084d0
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push 4
push 0
push 0x40
call edi
mov esi, eax
test esi, esi
jne 0x40856d
push 8
push eax
push 0x40
call edi
mov esi, eax
test esi, esi
jne 0x40856d
pop edi
pop esi
pop ecx
ret
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
push 0
push 0x80
jne 0x408588
push 2
jmp 0x40858a
push 1
push 0
push 0
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4085ac
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ecx
ret
push 3
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4086c0
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
Function at 0x4086f0
Capabilities:
Download url
Get common file path
Read .ini file
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x415c6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x21c]
stosb byte es:[edi], al
call fcn.00414010
mov edi, dword [esp + 0x43c]
lea eax, [esp + 0x14]
push 0x104
push eax
push ebx
mov dword [esp + 0x440], ebx
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x220]
call fcn.00414080
test eax, eax
je 0x4088e4
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x224]
call fcn.00414190
test eax, eax
je 0x4088e4
cmp dword [esp + 0xc], ebx
je 0x4088e4
lea ecx, [esp + 0x14]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x118]
lea eax, [esp + 0x14]
push edx
push ebx
push str.killerset
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
lea ecx, [esp + 0x11c]
push ebx
push ecx
push str.http:__update.360safe.com_safe_fixtool.ini
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jl 0x4088e4
mov edx, dword [esp + 0xc]
xor ecx, ecx
cmp byte [edx], bl
je 0x40881a
mov al, byte [edx]
cmp al, 0x20
je 0x408812
cmp al, 0x2c
je 0x40880c
mov byte [esp + ecx + 0x14], al
jmp 0x408811
mov byte [esp + ecx + 0x14], 0x2e
inc ecx
mov al, byte [edx + 1]
inc edx
cmp al, bl
jne 0x4087fc
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x118]
push edx
lea eax, [esp + 0x32c]
push 0x104
push eax
push str.1.0.0.2078
push 0x41aa9c
push str.fixtoolmain
mov byte [esp + ecx + 0x2c], bl
call esi
test eax, eax
jbe 0x4088e4
lea ecx, [esp + 0x118]
push ecx
push ebx
push str.update
push str.fixtoolmain
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [edi], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x328]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x4088e4
mov edx, dword [esp + 0x444]
mov eax, dword [esp + 0x440]
lea ecx, [esp + 0x118]
push ecx
push edx
push eax
push str.http:__dl.360safe.com_fixtool.exe
push 0x41aa60
push str.fixtoolmain
call esi
lea ecx, [esp + 0x21c]
mov dword [esp + 0x434], 0xffffffff
call fcn.00414050
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x420]
mov dword fs:[0], ecx
add esp, 0x42c
ret
lea ecx, [esp + 0x21c]
mov dword [esp + 0x434], 0xffffffff
call fcn.00414050
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x42c
ret

Function at 0x408920
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x408946
lea ecx, [esp + 4]
push ecx
push 0
push eax
push 0x408950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x408a20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x140
push esi
mov esi, dword [esp + 0x148]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x408a41
pop esi
add esp, 0x140
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x408a73
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x408a68
xor eax, eax
pop esi
add esp, 0x140
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 4]
not al
and eax, 0xff
pop esi
shr eax, 4
and eax, 1
add esp, 0x140
ret

Function at 0x408c40
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x415c88
push eax
mov dword fs:[0], esp
sub esp, 8
push str.SYSTEMCurrentControlSetServicescnsminkp
push 0x80000002
call fcn.00406250
add esp, 8
test eax, eax
jne 0x408c84
push str.SYSTEMCurrentControlSetServicesyaskp
push 0x80000002
call fcn.00406250
add esp, 8
test eax, eax
je 0x408ccf
push esi
lea ecx, [esp + 4]
call fcn.004141e0
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0
call fcn.00414280
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.SYSTEMCurrentControlSetServicescnsminkp
push 0x80000002
call esi
push str.SYSTEMCurrentControlSetServicesyaskp
push 0x80000002
call esi
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00414210
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x408fa0
Capabilities:
Check if file exists
Delete registry key
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x210
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x218]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 8]
push ecx
push edx
push str.ImagePath
push edi
push 0x80000002
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4090a8
push esi
push 0xc
lea eax, [esp + 0x14]
push str.rundll32.exe
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x409084
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea ecx, [esp + 0x10]
push str..log_start
push ecx
call esi
test eax, eax
je 0x409084
lea edx, [esp + 0x1d]
push str._start
push edx
call esi
test eax, eax
je 0x409084
mov byte [eax], 0
lea eax, [esp + 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x1d]
lea edx, [esp + 0x114]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x409084
lea ecx, [esp + 0x114]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x409084
lea edx, [esp + 0x114]
push edx
call fcn.00406390
add esp, 4
push edi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
pop esi
mov dword [0x41ed1c], 1
mov eax, 1
pop edi
add esp, 0x210
ret
mov eax, 1
pop edi
add esp, 0x210
ret

Function at 0x4090c0
Capabilities:
Persist via appinit_dlls registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push str.AppInit_DLLs
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push 0x80000002
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40916a
mov ax, word [0x41ae74]
mov cl, byte [0x41ae76]
mov ebx, dword [sym.imp.MSVCRT.dll__mbstok]
mov word [esp + 0x10], ax
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x1a], cl
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x40916a
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push 2
push 0x41ae70
push esi
call edi
test eax, eax
jne 0x409158
push str..LOG
push esi
call ebp
test eax, eax
jne 0x409177
lea ecx, [esp + 0x10]
push ecx
push 0
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x40913e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40c
ret
Function at 0x4094f0
Capabilities:
Delete registry value
Get common file path
Get file attributes
Persist via appinit_dlls registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x120]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push str.AppInit_DLLs
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push 0x80000002
mov dword [esp + 0x30], 0x104
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov ebp, dword [esp + 0x228]
mov esi, eax
cmp esi, 0xea
jne 0x40955c
test ebp, ebp
mov edi, 1
je 0x40955c
push str.AppInit_DLLs
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push 0x80000002
call ebx
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.MSVCRT.dll__mbslwr]
add esp, 4
test esi, esi
jne 0x4095ac
cmp dword [esp + 0x14], 1
jne 0x4095ac
lea ecx, [esp + 0x120]
push str.msos
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
je 0x4095ac
test ebp, ebp
mov edi, 1
je 0x4095ac
push str.AppInit_DLLs
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push 0x80000002
call ebx
lea edx, [esp + 0x1c]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x1c]
push str.msosmhfp00.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x4095f1
test ebp, ebp
mov edi, 1
je 0x4095f1
lea edx, [esp + 0x1c]
push edx
call fcn.004086c0
add esp, 4
lea eax, [esp + 0x10]
mov ecx, 0x41ec90
push eax
push 0x20
mov dword [esp + 0x18], 0
call fcn.00413780
mov ecx, dword [esp + 0x10]
mov esi, eax
inc ecx
test esi, esi
mov dword [esp + 0x10], ecx
je 0x409668
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
lea ecx, [esi + 4]
push str.fpids32
push ecx
call ebx
add esp, 8
test eax, eax
je 0x409653
lea edx, [esp + 0x10]
mov ecx, 0x41ec90
push edx
push 0x20
call fcn.00413780
mov ecx, dword [esp + 0x10]
mov esi, eax
inc ecx
test esi, esi
mov dword [esp + 0x10], ecx
jne 0x40961f
jmp 0x409668
test ebp, ebp
mov edi, 1
je 0x409668
push edi
push esi
mov ecx, 0x41ec90
call fcn.00412c10
push ebp
call fcn.004093d0
add esp, 4
test eax, eax
mov eax, 1
jne 0x40967c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret
Function at 0x409690
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
mov dl, byte [0x41eb28]
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x109]
mov byte [esp + 0x108], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x108]
lea edx, [esp + 4]
push ecx
push str._s_realplayer.exe
push 0x104
push edx
call fcn.00406680
lea eax, [esp + 0x14]
push eax
call fcn.00406350
add esp, 0x14
test eax, eax
pop edi
je 0x409718
mov eax, 1
add esp, 0x208
ret
lea ecx, [esp + 0x104]
lea edx, [esp]
push ecx
push str._s_nbbho.dll
push 0x104
push edx
call fcn.00406680
lea eax, [esp + 0x10]
push eax
call fcn.00406350
add esp, 0x14
test eax, eax
je 0x409751
mov eax, 1
add esp, 0x208
ret
lea ecx, [esp + 0x104]
lea edx, [esp]
push ecx
push str._s_brlmon.dll
push 0x104
push edx
call fcn.00406680
lea eax, [esp + 0x10]
push eax
call fcn.00406350
add esp, 0x14
test eax, eax
je 0x40978a
mov eax, 1
add esp, 0x208
ret
push str.CLSID295CD217_AD34_4B66_91BA_48D5EFD9CA20
push 0x80000000
call fcn.00406250
add esp, 8
test eax, eax
je 0x4097ac
mov eax, 1
add esp, 0x208
ret
lea ecx, [esp + 0x104]
lea edx, [esp]
push ecx
push str._sIeFilter.dll
push 0x104
push edx
call fcn.00406680
lea eax, [esp + 0x10]
push eax
call fcn.00406350
add esp, 0x14
test eax, eax
je 0x4097e5
mov eax, 1
add esp, 0x208
ret
lea ecx, [esp + 0x104]
push 0x104
push ecx
call fcn.00406290
add esp, 8
lea edx, [esp + 0x104]
lea eax, [esp]
push edx
push str._sTencentQQMessenger.exe
push 0x104
push eax
call fcn.00406680
lea ecx, [esp + 0x10]
push ecx
call fcn.00406350
add esp, 0x14
neg eax
sbb eax, eax
neg eax
add esp, 0x208
ret
Function at 0x409830
Capabilities:
Delete registry key
Delete registry value
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
call fcn.00409690
test eax, eax
je 0x409a65
mov dl, byte [0x41eb28]
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x22f]
mov byte [ebp - 0x230], dl
mov byte [ebp - 0x12c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x12b]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x230]
mov dword [ebp - 0x28], str.realplayer.exe
push eax
mov dword [ebp - 0x24], str.RavMon.dll
mov dword [ebp - 0x20], str.nbbho.dll
mov dword [ebp - 0x1c], str.brlmon.dll
mov dword [ebp - 0x18], str.gnimatmd.bat
mov dword [ebp - 0x14], str.IeFilter.dll
mov dword [ebp - 0x10], str.Maxthonz.dll
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x12c]
push ecx
push str._s_realplayer.exe
push 0x103
push edx
call fcn.00406680
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 0x10
push 0
call esi
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00406eb0
add esp, 0xc
push 0
call esi
push eax
push str.TencentQQMessenger.exe
call fcn.00406eb0
add esp, 0xc
lea esi, [ebp - 0x28]
mov edi, 7
mov ecx, dword [esi]
lea edx, [ebp - 0x230]
push ecx
push edx
push str._s_s
lea eax, [ebp - 0x12c]
push 0x103
push eax
call fcn.00406680
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00406390
add esp, 0x18
add esi, 4
dec edi
jne 0x409915
push str.realplayer.exe
call fcn.00407410
push str.Messenger.exe
call fcn.00407410
lea edx, [ebp - 0x230]
push 0x104
push edx
mov dword [ebp - 0xc], str.Messenger.exe
mov dword [ebp - 8], str.Messenger.dll
mov dword [ebp - 4], str.RTraveler.dll
call fcn.00406290
add esp, 0x10
lea esi, [ebp - 0xc]
mov edi, 3
mov eax, dword [esi]
lea ecx, [ebp - 0x230]
push eax
push ecx
push str._sTencentQQ_s
lea edx, [ebp - 0x12c]
push 0x103
push edx
call fcn.00406680
lea eax, [ebp - 0x12c]
push eax
call fcn.00406390
add esp, 0x18
add esi, 4
dec edi
jne 0x40998f
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.SoftwareMicrosoft_NT
push 0x80000002
call esi
push str.Clsid295CD217_AD34_4B66_91BA_48D5EFD9CA20
push 0x80000000
call esi
mov ecx, dword [str.about:blank]
mov eax, dword [0x41aff4]
mov edx, dword [0x41aff0]
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x32c], eax
mov ecx, 0x3e
xor eax, eax
lea edi, [ebp - 0x328]
push str.Start_Page
mov dword [ebp - 0x330], edx
push str.softwaremicrosoftinternet_explorermain
push 0x80000001
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
nop
lea edi, [ebp - 0x334]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebp - 0x334]
push ecx
push 1
push str.Start_Page
push str.softwaremicrosoftinternet_explorermain
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop edi
mov dword [0x41ed20], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409cf0
Capabilities:
Check if file exists
Delete directory
Delete file
Get common file path
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x415cab
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov esi, dword [esp + 0x11c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x409d9d
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x409d9d
lea eax, [esp + 8]
push eax
push 0
push 0x41b3f0
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x409d92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x409d92
lea ecx, [esp + 4]
call fcn.004144e0
push 0x1f01ff
push 0
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0
call fcn.00414790
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 4]
mov dword [esp + 0x114], 0xffffffff
call fcn.00414510
jmp 0x409d9d
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret

Function at 0x409dc0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
lea ecx, [esp]
push eax
push str._c_rd___s___s__q
push 0x104
push ecx
call fcn.00406680
add esp, 0x10
lea edx, [esp]
push 0
push 0
push edx
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
cmp ecx, eax
sbb eax, eax
neg eax
add esp, 0x104
ret

Function at 0x409e10
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push esi
push edi
mov edi, dword [esp + 0x118]
mov esi, 0x41b354
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x409e81
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
je 0x409e81
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x409e74
lea ecx, [esp + 0x10]
push ecx
call fcn.00409cf0
lea edx, [esp + 0x14]
push edx
call fcn.00409dc0
add esp, 8
jmp 0x409e81
lea eax, [esp + 0x10]
push eax
call fcn.004086c0
add esp, 4
add esi, 4
cmp esi, 0x41b364
jb 0x409e32
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x409ea0
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov al, byte [0x41eb28]
push esi
push edi
mov byte [esp + 0x14], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x18]
push ecx
stosb byte es:[edi], al
call fcn.00406290
add esp, 8
test eax, eax
je 0x409efe
lea edx, [esp + 0x14]
push str.360Safe
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x14]
push eax
call fcn.00409cf0
lea ecx, [esp + 0x18]
push ecx
call fcn.00409e10
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x409f4d
lea edx, [esp + 0x14]
push edx
call fcn.00409cf0
lea eax, [esp + 0x18]
push eax
call fcn.00409e10
add esp, 8
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, 0x41b364
mov ecx, dword [esi]
lea edx, [esp + 0x118]
push ecx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_s
push 0x103
push edx
call fcn.00406680
add esp, 0x10
lea eax, [esp + 0x118]
push eax
push 0x80000002
call edi
add esi, 4
cmp esi, str.mmc.exe
jb 0x409f58
lea ecx, [esp + 8]
push 1
push ecx
mov dword [esp + 0x10], str..360safe.com
call fcn.004079f0
add esp, 8
pop edi
pop esi
add esp, 0x214
ret