joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411f18
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
push esi
push edi
mov dword [eax + 0x24], ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov edi, str.SOFTWARE360DrvMgr
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x411f58
lea eax, [ebp - 4]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
jmp 0x411f5c
test eax, eax
jne 0x411f83
cmp dword [ebp - 4], 0
je 0x411f83
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push str.UEEnabled
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 4

Function at 0x411f89
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x224], eax
xor eax, eax
mov esi, 0x208
push esi
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x21c], 1
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x474f2c
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360DrvMgr.exe
push ebx
mov dword [ebp - 0x220], esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x412076
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412076
call fcn.00412089
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x474f2c
push ebx
push edi
call esi
test eax, eax
jne 0x412076
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412076
lea eax, [ebp - 0x218]
push eax
push 0x475100
push 0x103
push dword [ebp - 0x224]
call fcn.0043f423
xor eax, eax
add esp, 0x10
inc eax
jmp 0x412078
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b155
leave
ret 4
Function at 0x412928
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x820
mov eax, 0x46b418
call fcn.004437b0
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x820], eax
mov eax, dword [0x487d3c]
mov dword [ebp - method.CResourceUnpack.virtual_0], vtable.CResourceUnpack.0
mov dword [ebp - 0x828], edi
mov dword [ebp - 0x824], edi
push 0x476864
push str.IDR_7Z_CAB_DLL
push eax
lea esi, [ebp - 0x82c]
mov dword [ebp - 4], edi
call fcn.0040b6af
test eax, eax
jne 0x412982
call fcn.00443833
ret 4
mov ebx, 0x485f6c
mov ecx, ebx
lea esi, [ebp - 0x81c]
call fcn.00402b4a
push edi
mov eax, esi
push eax
lea eax, [ebp - 0x82c]
push eax
mov byte [ebp - 4], 1
call fcn.0040b871
test eax, eax
jne 0x4129be
mov eax, dword [ebp - 0x81c]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, edi
jmp 0x41297a
push 0x800
lea eax, [ebp - 0x814]
push edi
push eax
call fcn.0043e1d0
mov edi, dword [ebp - 0x81c]
add esp, 0xc
push str.7z.dll
push edi
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, ebx
lea esi, [ebp - 0x818]
call fcn.00402b4a
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.0040236e
mov esi, dword [ebp - 0x818]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412a3c
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x412a3c
mov ecx, edi
call fcn.00416bd5
mov edi, dword [ebp - 0x820]
add edi, 0x2c
lea eax, [ebp - 0x818]
call fcn.00402b81
push dword [edi]
call fcn.004019b6
pop ecx
push 4
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esi - 0x10]
call fcn.004031f6
xor edi, edi
inc edi
jmp 0x4129ac

Function at 0x412a74
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
cmp dword [esi + 0x34], 0
je 0x412a83
call fcn.004019dc
and dword [esi + 0x34], 0
push ebx
push dword [esi + 0x2c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x412ab2
push edi
xor edi, edi
push dword [esi + 0x2c]
inc edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x412ab1
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 5
jl 0x412a96
pop edi
push dword [esi + 0x2c]
call ebx
pop ebx
test eax, eax
je 0x412ac9
push 4
push 0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x412aca
Capabilities:
Get disk information
Terminate process

Disassembly:
push 0x34
mov eax, 0x46bd97
call fcn.004437b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x487d3c]
cmp ebx, edx
je 0x412c8f
mov dword [ebp - 0x40], vtable.CResourceUnpack.0
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
push str.FILE
push ecx
push eax
lea esi, [ebp - 0x40]
mov dword [ebp - 4], edx
call fcn.0040b6af
test eax, eax
je 0x412c8f
push ebx
mov eax, esi
push eax
call fcn.0040b95c
mov edi, 0x485f6c
mov ecx, edi
lea esi, [ebp - 0x24]
call fcn.00402b4a
push str.7z.dll
push ebx
mov eax, esi
push 0x475124
push eax
mov byte [ebp - 4], 1
call fcn.00402e53
mov esi, dword [ebp - 0x2c]
xor ecx, ecx
add esi, 0x2c
add esp, 0x10
inc ecx
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.004089c3
xor ecx, ecx
inc ecx
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004089c3
mov byte [ebp - 4], 3
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x20], 1
call fcn.0040bb50
test eax, eax
je 0x412b8b
mov dword [ebp - 0x20], 3
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push esi
call fcn.00402445
pop ecx
pop ecx
push 3
pop ecx
cmp eax, ecx
jne 0x412c36
mov dword [0x48818c], ecx
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, word [ebx]
push eax
lea eax, [ebp - 0x1c]
push str._c:_
push eax
call fcn.0040323a
add esp, 0xc
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, eax
cmp edi, esi
je 0x412c11
test byte [ebp - 0x20], 8
je 0x412c11
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.00402ad3
mov ecx, dword [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call fcn.00412c99
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, edi
jmp 0x412c91
cmp eax, 2
jne 0x412baa
cmp dword [0x487d40], 0
jne 0x412c87
mov ecx, edi
lea esi, [ebp - 0x20]
call fcn.00402b4a
mov byte [ebp - 4], 4
push dword [ebp - 0x24]
mov eax, esi
push 0x476050
push eax
call fcn.00402e53
mov esi, dword [ebp - 0x20]
add esp, 0xc
push 0x10000
push 0x476084
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
call fcn.004031f6
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
call fcn.00443833
ret 4
Function at 0x412c99
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b3c9
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x483260]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x483260]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push dword [edi]
mov dword [esp + 0x24], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412e49
mov eax, dword [edi]
push dword [eax - 0xc]
mov esi, edi
call fcn.0040315e
push eax
call fcn.00402520
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop ecx
xor ebx, ebx
push ebx
push eax
call fcn.0040315e
push eax
call fcn.004025eb
lea eax, [esp + 0x1c]
push 0x4768a8
push eax
mov ecx, edi
call fcn.0040bc02
add esp, 0x10
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28c], ebx
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x412e3d
lea eax, [esp + 0x10]
push 0x474fcc
push eax
mov ecx, edi
call fcn.0040bc02
pop ecx
pop ecx
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x290], 1
call fcn.0040bcbf
test byte [esp + 0x24], 0x10
lea eax, [esp + 0x50]
je 0x412db9
push 0x4768b0
push eax
call fcn.0043f739
pop ecx
pop ecx
test eax, eax
je 0x412e09
lea eax, [esp + 0x50]
push 0x476048
push eax
call fcn.0043f739
pop ecx
pop ecx
test eax, eax
je 0x412e09
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
call fcn.00412c99
jmp 0x412e09
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00402ad3
push 0x4768b4
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x290], 2
call fcn.0040bb50
test eax, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
lea esi, [esp + 0x10]
jne 0x412dee
push 1
jmp 0x412def
push ebx
push eax
call fcn.0040315e
push eax
call fcn.004025eb
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004031f6
mov byte [esp + 0x288], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004031f6
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x412d4e
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004031f6
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0043b155
mov esp, ebp
pop ebp
ret 4
Function at 0x412e6f
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push 0x46c
mov eax, 0x46b380
call fcn.004437b0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.IsInstalled
push str.SOFTWAREMicrosoftActive_SetupInstalled_ComponentsEF289A85_8E57_408d_BE47_73B55609861A
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x430], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x428], edi
je 0x412ed1
xor eax, eax
inc eax
call fcn.00443833
ret
mov dword [ebp - method.CResourceUnpack.virtual_0], vtable.CResourceUnpack.0
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x434], edi
push str.ROOTSUPD
push 0x104
push edi
lea esi, [ebp - 0x43c]
mov dword [ebp - 4], edi
call fcn.0040b6af
test eax, eax
jne 0x412f08
xor eax, eax
jmp 0x412ecb
mov ecx, 0x485f6c
lea esi, [ebp - 0x424]
call fcn.00402b4a
push 1
mov eax, esi
push eax
lea eax, [ebp - 0x43c]
push eax
mov byte [ebp - 4], 1
call fcn.0040b871
test eax, eax
jne 0x412f41
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
call fcn.004031f6
jmp 0x412f04
xor eax, eax
push 0x40e
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.0043e1d0
mov esi, dword [ebp - 0x424]
add esp, 0xc
push str.rootsupd.exe
push esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x412f8b
lea eax, [esi - 0x10]
call fcn.004031f6
mov eax, edi
jmp 0x412ecb
push 0x38
lea eax, [ebp - 0x474]
push edi
push eax
call fcn.0043e1d0
lea eax, [ebp - 0x420]
mov dword [ebp - 0x468], eax
add esp, 0xc
lea eax, [ebp - 0x478]
push eax
mov dword [ebp - 0x478], 0x3c
mov dword [ebp - 0x474], 0x440
mov dword [ebp - 0x46c], 0x4769f0
mov dword [ebp - 0x464], 0x4769e0
mov dword [ebp - 0x45c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x412f7c
cmp dword [ebp - 0x458], 0x20
jle 0x412f7c
xor edi, edi
inc edi
jmp 0x412f7c

Function at 0x413dbc
Capabilities:
Set file attributes

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x414b4a
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x414b72
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x414b72
xor al, al
jmp 0x414b8d
push 1
push 0
push 0
push dword [ebp + 8]
call fcn.0045cc30
xor ecx, ecx
add eax, edi
adc edx, ecx
mov dword [esi], eax
mov dword [esi + 4], edx
mov al, 1
pop edi
pop ebp
ret 4
Function at 0x416706
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
call edi
test eax, eax
je 0x416730
xor eax, eax
inc eax
jmp 0x41679a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0043e1d0
lea edx, [ebp - 0x20c]
add esp, 0xc
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x416758
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x41679a
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x416791
lea eax, [ebp - 0x20c]
push eax
call fcn.00416706
pop ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b155
leave
ret

Function at 0x4167a8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4167ca
xor al, al
jmp 0x416843
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0043e1d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
push str._s_d.tmp
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0043f423
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4167c6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b155
leave
ret
Function at 0x41684f
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x678
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x670], edi
cmp edi, esi
jne 0x41687b
xor eax, eax
jmp 0x416a22
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416874
push 0x24c
lea eax, [ebp - 0x668]
push esi
push eax
mov dword [ebp - 0x66c], esi
call fcn.0043e1d0
add esp, 0xc
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push esi
push eax
call fcn.0043e1d0
add esp, 0xc
push 0x476aec
push edi
mov edi, 0x475124
push edi
mov esi, 0x103
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.0043f423
add esp, 0x14
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x674], eax
cmp eax, 0xffffffff
je 0x416874
mov ecx, 0x4768b0
lea eax, [ebp - 0x640]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416935
test dx, dx
je 0x416931
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416935
add eax, 4
add ecx, 4
test dx, dx
jne 0x41690f
xor eax, eax
jmp 0x41693a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4169e1
mov ecx, 0x476048
lea eax, [ebp - 0x640]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416973
test dx, dx
je 0x41696f
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416973
add eax, 4
add ecx, 4
test dx, dx
jne 0x41694d
xor eax, eax
jmp 0x416978
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4169e1
xor eax, eax
push ebx
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0043e1d0
add esp, 0xc
test byte [ebp - 0x66c], 0x10
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 0x670]
lea eax, [ebp - 0x214]
push edi
push esi
push eax
je 0x4169cc
call fcn.0043f423
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
call fcn.0041684f
pop ecx
jmp 0x4169e1
call fcn.0043f423
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416904
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push dword [ebp - 0x670]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x670]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b155
leave
ret
Function at 0x416e46
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416e9a
xor eax, eax
push 0x50
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
pop ecx
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], esi
mov word [ebp - 0x10], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x416e98
push dword [ebp - 0xa]
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop esi
leave
ret
Function at 0x4179ef
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bcce
mov eax, dword fs:[0]
push eax
mov eax, 0x1234
call fcn.0045fdc0
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x224]
push eax
push 0x1000
lea eax, [ebp - 0x1240]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x417a45
or eax, 0xffffffff
jmp 0x417bd8
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x23c]
push eax
shr esi, 2
call fcn.00418448
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x220], edi
cmp esi, edi
jbe 0x417b28
push dword [ebp + edi*4 - 0x1240]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x21c], ebx
test ebx, ebx
je 0x417b1f
lea eax, [ebp - 0x240]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x417b18
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0043e1d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
push ebx
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x417b18
lea eax, [ebp - 0x218]
push str.360DrvMgr.exe
push eax
call fcn.0043f739
pop ecx
pop ecx
test eax, eax
jne 0x417b18
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x23c]
call fcn.004184af
jmp 0x417b1f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x417a6d
mov ebx, dword [ebp - 0x22c]
sub ebx, dword [ebp - 0x230]
sar ebx, 2
test ebx, ebx
jbe 0x417bbf
xor ecx, ecx
push 4
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043afbf
pop ecx
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x417ba1
xor edi, edi
test ebx, ebx
jbe 0x417b81
lea esi, [ebp - 0x23c]
call fcn.00418496
mov eax, dword [eax]
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, ebx
jb 0x417b66
push 0xbb8
push 1
push dword [ebp - 0x21c]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x21c]
call fcn.0043e082
pop ecx
xor edi, edi
test ebx, ebx
jbe 0x417bbf
lea esi, [ebp - 0x23c]
call fcn.00418496
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jb 0x417ba7
lea esi, [ebp - 0x23c]
call fcn.004185e1
push dword [ebp - 0x23c]
call fcn.0043b14a
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043b155
leave
ret
Function at 0x418262
Capabilities:
Delete registry key
Set registry value

Disassembly:
push esi
push edi
push 2
push 0x476b2c
push 4
push 0x474f2c
mov edi, str.CLSID1A893393_71A8_4a50_95A1_2B89DE87B24C
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x418294
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov al, 1
jmp 0x418296
xor al, al
pop edi
pop esi
ret

Function at 0x418299
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x290]
mov eax, 0x1220
call fcn.0045fdc0
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x28c], eax
push esi
xor esi, esi
mov dword [ebp + 0x78], esi
cmp dword [ebp + 0x298], esi
je 0x4183b0
lea eax, [ebp + 0x74]
push eax
push 0x1000
lea eax, [ebp - 0xf90]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4183b0
push edi
mov edi, dword [ebp + 0x74]
shr edi, 2
mov dword [ebp + 0x7c], esi
mov dword [ebp + 0x80], esi
cmp edi, esi
jbe 0x4183aa
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41830a
xor esi, esi
mov eax, dword [ebp + 0x80]
push dword [ebp + eax*4 - 0xf90]
push esi
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41838e
lea eax, [ebp + 0x70]
push eax
push 4
lea eax, [ebp + 0x7c]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41838b
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x84], ax
lea eax, [ebp + 0x86]
push eax
call fcn.0043e1d0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x84]
push eax
push dword [ebp + 0x7c]
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x41838b
lea eax, [ebp + 0x84]
push str.360DrvMgr.exe
push eax
call fcn.0043f739
pop ecx
pop ecx
test eax, eax
je 0x4183a2
push esi
call ebx
inc dword [ebp + 0x80]
cmp dword [ebp + 0x80], edi
jb 0x418308
jmp 0x4183a9
mov dword [ebp + 0x78], 1
pop ebx
mov eax, dword [ebp + 0x78]
pop edi
jmp 0x4183b2
xor eax, eax
mov ecx, dword [ebp + 0x28c]
xor ecx, ebp
pop esi
call fcn.0043b155
add ebp, 0x290
leave
ret