joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42285e
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0xa88
mov eax, 0x5c1004
call fcn.0058ec94
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, 0x3ff
push esi
mov dword [ebp - 0xa90], eax
lea eax, [ebp - 0xa2b]
push ebx
mov dword [ebp - 0xa94], ebx
push eax
mov byte [ebp - 0xa2c], bl
call fcn.00586790
add esp, 0xc
push esi
lea eax, [ebp - 0x62b]
push ebx
push eax
mov byte [ebp - 0x62c], bl
call fcn.00586790
lea eax, [ebp - 0x62c]
add esp, 0xc
push eax
call fcn.00423cf9
lea eax, [ebp - 0x22c]
mov dword [esp], 0x104
push eax
mov dword [ebp - 0xa88], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0xa88], ebx
cmp eax, ebx
je 0x422910
cmp eax, 3
jb 0x422910
push ebx
push ebx
push ebx
xor eax, eax
push ebx
mov word [ebp - 0x226], ax
lea eax, [ebp - 0xa88]
push eax
push ebx
push ebx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, ebx
setne al
jmp 0x422912
xor al, al
mov edi, 0x400
cmp al, bl
je 0x42294d
lea eax, [ebp - 0x62c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x422924
push dword [ebp - 0xa88]
sub eax, edx
mov ecx, edi
sub ecx, eax
push str._08X
push ecx
lea eax, [ebp + eax - 0x62c]
push eax
call fcn.005818af
add esp, 0x10
lea ecx, [ebp - 0xa84]
call fcn.00420f62
lea eax, [ebp - 0x62c]
push eax
mov eax, edi
lea esi, [ebp - 0xa84]
call fcn.004329ed
pop ecx
mov edx, esi
lea ecx, [ebp - 0x24]
call fcn.00432a87
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1d]
push eax
movzx eax, byte [ebp - 0x1e]
push eax
movzx eax, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push eax
movzx eax, byte [ebp - 0x21]
push eax
movzx eax, byte [ebp - 0x22]
push eax
movzx eax, byte [ebp - 0x23]
push eax
movzx eax, byte [ebp - 0x24]
push eax
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.005818af
add esp, 0x4c
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0xa8c]
push eax
call fcn.00408474
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0xa8c]
push eax
push dword [ebp - 0xa90]
call fcn.00420afa
pop ecx
pop ecx
mov dword [ebp - 0xa94], esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa8c]
call fcn.004084b5
mov eax, dword [ebp - 0xa90]
call fcn.0058ed17
ret
Function at 0x422a29
Capabilities:
Get mac address on windows

Disassembly:
push 0xc
mov eax, 0x5bdc07
call fcn.0058ec2b
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
push ebx
mov dword [ebp - 0x10], ebx
xor esi, esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x422a59
push dword [ebp - 0x10]
call fcn.005807c3
pop ecx
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp esi, ebx
je 0x422ad2
lea eax, [ebp - 0x14]
push eax
call fcn.0040855f
xor edi, edi
inc edi
mov dword [ebp - 4], edi
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02x:_02x:_02x:_02x:_02x:_02x
lea eax, [ebp - 0x14]
call fcn.004310f7
add esp, 0x1c
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.00408586
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.004085f6
jmp 0x422ae9
push 0x6810b8
push dword [ebp + 8]
call fcn.004085b5
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
call fcn.0058ed03
ret

Function at 0x422c42
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x422c8a
xor eax, eax
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00581268
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x422cb4
xor esi, esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x422c75
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x422cc1
and dword [esp + 0x14], ecx
jmp 0x422cd2
mov eax, dword [esi + 0x14]
sub eax, ecx
cdq
mov edi, 0x22c
idiv edi
mov dword [esp + 0x14], eax
mov edi, dword [esi + 0x10]
mov eax, edi
sub eax, ecx
cdq
mov ebx, 0x22c
idiv ebx
cmp eax, dword [esp + 0x14]
jae 0x422cf9
lea eax, [esp + 0x20]
push eax
push 1
push edi
call fcn.0042dbbb
mov dword [esi + 0x10], eax
jmp 0x422d17
cmp ecx, edi
jbe 0x422d02
call fcn.0058204a
mov eax, dword [esi]
push edi
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, esi
call fcn.0042db08
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x422cb4
xor esi, esi
inc esi
jmp 0x422ca6
Function at 0x422dce
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x5b6169
call fcn.0058ec2b
xor ebx, ebx
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], ebx
je 0x422e1f
cmp dword [ebp - 0x14], ebx
je 0x422dfd
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x422e53
mov eax, dword [ebp - 0x14]
jmp 0x422e24
mov eax, reloc.OLEAUT32.dll_SysReAllocString
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push dword [ebp + 0xc]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, ebx
jne 0x422e53
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 8], ebx
jne 0x422e48
mov eax, reloc.OLEAUT32.dll_SysReAllocString
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [ebp - 0xd], 1
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x422e61
push dword [ebp - 0x14]
call esi
mov al, byte [ebp - 0xd]
call fcn.0058ed03
ret

Function at 0x422e6a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x5b61af
call fcn.0058ec2b
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 4
cmp byte [0x6ddebc], bl
je 0x422e99
cmp byte [ebp + 0x10], bl
je 0x422e99
mov esi, 0x101
jmp 0x422e9c
xor esi, esi
inc esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], ebx
je 0x422ed7
cmp dword [ebp - 0x10], ebx
je 0x422eba
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x422f05
mov eax, dword [ebp - 0x10]
jmp 0x422edc
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x422f02
cmp dword [ebp - 0x18], 4
jne 0x422f02
cmp dword [ebp - 0x1c], ebx
jne 0x422f05
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x422f16
push dword [ebp - 0x10]
call edi
mov eax, esi
call fcn.0058ed03
ret
Function at 0x423b0e
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0x34
mov eax, 0x5b4792
call fcn.0058ec2b
lea eax, [ebp - 0x18]
push eax
push 0x5ddbcc
xor edi, edi
inc edi
push edi
xor ebx, ebx
push ebx
push 0x5ddc9c
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x423b44
xor eax, eax
call fcn.0058ed03
ret
push dword [ebp - 0x18]
lea esi, [ebp - 0x1c]
call fcn.0043132d
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x6880e4
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x423b88
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 4]
jmp 0x423b3c
push dword [ebp - 0x14]
lea esi, [ebp - 0x24]
call fcn.00431381
mov byte [ebp - 4], 1
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x423bc4
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x24]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 4]
jmp 0x423b71
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_Processor
push 0x6880fc
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, ebx
jge 0x423c19
xor edi, edi
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x24]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov eax, edi
jmp 0x423b3e
push dword [ebp - 0x10]
lea esi, [ebp - 0x2c]
call fcn.004313d5
mov byte [ebp - 4], 2
xor edi, edi
xor esi, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x10], ebx
je 0x423c9a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [eax + 0x10]
cmp dword [ebp - 0x28], ebx
je 0x423c7f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x40]
push edx
push ebx
push str.MaxClockSpeed
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x423c70
inc edi
add esi, dword [ebp - 0x38]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x10], ebx
jne 0x423c37
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x423c8c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
je 0x423c9a
mov eax, esi
xor edx, edx
div edi
mov edi, eax
jmp 0x423c9c
xor edi, edi
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
jmp 0x423be7
Function at 0x423cf9
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f38
call fcn.00586dc0
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x2f34], eax
mov byte [eax], 0
mov ebx, 0x400
push ebx
lea eax, [ebp - 0x80c]
push eax
mov byte [ebp - 0x2f29], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push dword [ebp - 0x80c]
lea eax, [ebp - 0x2f30]
push eax
call fcn.00423e69
pop ecx
pop ecx
test al, al
je 0x423e54
push dword [ebp - 0x2f30]
lea eax, [ebp - 0x80c]
push str..PhysicalDrive_d
push ebx
push eax
call fcn.00583236
add esp, 0x10
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push closesocket
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2f30], eax
cmp eax, 0xffffffff
je 0x423e54
xor eax, eax
lea edi, [ebp - 0x2f28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x2710
push edi
lea eax, [ebp - 0x2f1c]
push esi
push eax
mov dword [ebp - 0x2f38], esi
mov dword [ebp - 0x2f28], esi
mov dword [ebp - 0x2f24], esi
call fcn.00586790
add esp, 0xc
push esi
lea eax, [ebp - 0x2f38]
push eax
push edi
lea eax, [ebp - 0x2f1c]
push eax
push 0xc
lea eax, [ebp - 0x2f28]
push eax
push 0x2d1400
push dword [ebp - 0x2f30]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x423e48
mov eax, dword [ebp - 0x2f04]
mov edi, dword [ebp - 0x2f34]
cmp eax, 0xffffffff
je 0x423e1b
mov esi, edi
lea ecx, [ebp - 0x2f1c]
call fcn.004240fe
xor esi, esi
mov eax, dword [ebp - 0x2f0c]
cmp eax, esi
je 0x423e3c
cmp byte [edi], 0
jne 0x423e41
lea eax, [ebp + eax - 0x2f1c]
push eax
push ebx
push edi
call fcn.0058431a
add esp, 0xc
cmp byte [edi], 0
je 0x423e48
mov byte [ebp - 0x2f29], 1
push dword [ebp - 0x2f30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0x2f29]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00581268
leave
ret

Function at 0x4242e2
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x5bda49
call fcn.0058ec94
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
push 0x104
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
call fcn.0042b233
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push esi
push dword [ebp + 0xc]
xor edi, edi
lea eax, [ebp - 0x2c]
call fcn.0042b255
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
lea eax, [ebp - 0x2c]
jne 0x42432c
xor ecx, ecx
jmp 0x424349
xor edi, edi
call fcn.0042b255
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x424336
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.0042b275
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42435a
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
call fcn.004085b5
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0
push 0
push esi
lea esi, [ebp - 0x2c]
call fcn.00409da6
mov eax, dword [ebp - 0x30]
call fcn.0058ed17
ret
Function at 0x42460a
Capabilities:
Parse url

Disassembly:
push 0x40
mov eax, 0x5ba5ee
call fcn.0058ec2b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
call fcn.0040844d
mov dword [ebp - 0x10], esi
mov esi, 0x400
push esi
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.005807c3
pop ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x424684
push dword [ebp - 0x3c]
push dword [ebp + 8]
call fcn.00408519
push dword [ebp - 0x3c]
call fcn.005820bb
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.004084b5
mov eax, dword [ebp + 8]
call fcn.0058ed03
ret

Function at 0x424a74
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 0xc
mov eax, 0x5bda00
call fcn.0058ec2b
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x18], edi
call fcn.0040855f
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x424acb
push 0x6810b8
push edi
call fcn.004085b5
jmp 0x424b35
lea eax, [ebp]
push eax
push ebx
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x424af4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6810b8
push edi
call fcn.004085b5
jmp 0x424b35
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x238]
je 0x424b0f
lea eax, [ebp]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x424af4
jmp 0x424b24
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040865a
lea eax, [ebp - 0x10]
call fcn.00408807
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00408586
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004085f6
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.00581268
add ebp, 0x230
leave
ret
Function at 0x424c67
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x20
mov eax, 0x5bd9c4
call fcn.0058ec2b
and dword [ebp - 0x14], 0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], 0
mov esi, 0x688578
push 0x80
push dword [ebp + 8]
call fcn.00424fac
pop ecx
pop ecx
push dword [ebp + 8]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x424ce8
push esi
lea eax, [ebp - 0x24]
push eax
call fcn.004085b5
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.004116ea
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
call edi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004085f6
push dword [ebp + 8]
call ebx
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x424d38
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.004085b5
mov dword [ebp - 4], 2
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.004116ea
pop ecx
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
call ebx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004085f6
cmp dword [ebp - 0x18], 0
jne 0x424d7f
cmp dword [ebp - 0x1c], 0
je 0x424d7f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
jb 0x424c8c
cmp dword [0x6c438c], 1
jl 0x424d76
push str.CLEAN:_Processing_file:_file_failed_to_delete
push str.Helper::virDeleteFile
push 1
call fcn.00540a02
add esp, 0xc
mov al, byte [ebp - 0xd]
call fcn.0058ed03
ret
cmp dword [0x6c438c], 1
mov byte [ebp - 0xd], 1
jl 0x424d76
push str.CLEAN:_Processing_file:_file_deleted_successfully
jmp 0x424d67

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

Disassembly:
push 8
mov eax, 0x5bd989
call fcn.0058ec2b
push 0x688578
lea eax, [ebp - 0x14]
push eax
call fcn.004085b5
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.004116ea
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
mov edi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004085f6
cmp edi, 0xffffffff
jne 0x424fa4
push dword [ebp + 8]
call esi
mov edi, eax
mov eax, edi
call fcn.0058ed03
ret
Function at 0x424fac
Capabilities:
Set file attributes

Disassembly:
push 0x10
mov eax, 0x5bd95e
call fcn.0058ec2b
push dword [ebp + 0xc]
and dword [ebp - 0x10], 0
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call esi
mov dword [ebp - 0x14], eax
push 0x688578
lea eax, [ebp - 0x1c]
push eax
call fcn.004085b5
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
xor ebx, ebx
push ecx
inc ebx
mov ecx, eax
mov dword [ebp - 0x10], ebx
call fcn.004116ea
pop ecx
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push 3
pop edi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
push eax
call esi
test eax, eax
jne 0x425011
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x425013
mov esi, ebx
and dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x18]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x10], bl
je 0x42503b
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x1c]
call fcn.004085f6
test esi, esi
je 0x42504e
cmp dword [0x6c438c], ebx
jl 0x425069
push str.CLEAN:_Processing_file:_attributes_changed_successfully
jmp 0x42505b
cmp dword [0x6c438c], ebx
jl 0x425069
push str.CLEAN:_Processing_file:_attributes_failed_to_change
push str.Helper::virSetFileAttributes
push ebx
call fcn.00540a02
add esp, 0xc
test esi, esi
setne al
call fcn.0058ed03
ret
Function at 0x4252b8
Capabilities:
Get storage device properties

Disassembly:
push 0x60
mov eax, 0x5bd907
call fcn.0058ec94
xor ebx, ebx
push str..X:
lea esi, [ebp - 0x3c]
mov byte [ebp - 0x65], bl
call fcn.0040820f
mov dword [ebp - 4], ebx
push 4
pop edi
mov eax, esi
call fcn.0042b255
mov ecx, dword [ebp + 8]
mov cx, word [ecx]
mov word [eax], cx
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x4252f8
lea eax, [ebp - 0x38]
push ebx
push ebx
push 3
push ebx
push 7
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42535f
xor eax, eax
push 9
pop ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
push ebx
mov dword [ebp - 0x64], ebx
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push eax
push 0x28
lea eax, [ebp - 0x64]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x2d1400
push esi
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x425358
cmp dword [ebp - 0x48], 7
sete byte [ebp - 0x65]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00409da6
mov al, byte [ebp - 0x65]
call fcn.0058ed17
ret

Function at 0x425a4e
Capabilities:
Get session user name

Disassembly:
push 0x2c
mov eax, 0x5bd8da
call fcn.0058ec94
mov eax, dword [ebp + 8]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x30], eax
mov eax, 0x101
push eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
call fcn.0042b233
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x34]
push eax
xor edi, edi
lea eax, [ebp - 0x2c]
call fcn.0042b255
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
lea eax, [ebp - 0x2c]
je 0x425ab9
call fcn.0042b255
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x425a9f
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.0042b275
jmp 0x425abe
call fcn.00408353
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x425aca
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
call fcn.004085b5
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 0
push 0
push esi
lea esi, [ebp - 0x2c]
call fcn.00409da6
mov eax, dword [ebp - 0x30]
call fcn.0058ed17
ret