joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7cf67d2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push 0x40000002
call sym.SHELL32.dll_SHRestricted
test eax, eax
je 0x7cf67d4a
xor eax, eax
jmp 0x7cf67e28
cmp dword [ebp + 8], 0
push edi
push esi
mov eax, 0x7cf3ee94
push ebx
mov ebx, 0x7cf5a435
mov esi, eax
je 0x7cf67dd5
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
mov edi, 0x104
push edi
lea eax, [ebp - 0x22c]
push 0x7cf35574
push eax
call esi
push edi
lea eax, [ebp - 0x22c]
push dword [ebp + 8]
push eax
call esi
push 4
and dword [ebp - 4], 0
pop eax
lea esi, [ebp - 0x22c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x7cf3ee80
push dword [ebp + 8]
push ParseURLA
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 4]
neg eax
sbb eax, eax
and eax, 0xa
add eax, 0xa
jmp 0x7cf67de9
push 0x40000030
call sym.SHELL32.dll_SHRestricted
cmp eax, 1
jae 0x7cf67de9
mov eax, 0x96
test byte [ebp + 0x10], 1
je 0x7cf67df4
mov ebx, 0x7cfce8d0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0x18
test ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], reloc.SHLWAPI.dll_ParseURLA
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
je 0x7cf67e1b
mov dword [ecx], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.COMCTL32.dll_CreateMRUListW]
pop ebx
pop esi
pop edi
leave
ret 0xc

Function at 0x7cf682d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push eax
push 0x20019
push ebx
push 0x7cf47c54
push reloc.SHLWAPI.dll_ParseURLA
mov dword [ebp - 8], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cf6835d
lea eax, [ebp + 0xc]
push esi
push eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea eax, [ebp - 0xc]
push edi
push eax
push ebx
push 0x7cf47c30
mov dword [ebp + 0xc], 4
push dword [ebp - 4]
call esi
test eax, eax
jne 0x7cf68353
mov eax, dword [edi]
shl eax, 4
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
push ebx
push 0x7cf47c0c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x7cf68353
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret 8
Function at 0x7cf69a2d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x7d04ce04]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], ecx
cmp eax, edi
jne 0x7cf69a49
call fcn.7cf95d92
lea ecx, [ebp - 0xc]
push ecx
push 0x7cf4810c
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cf69af7
push 0x27
lea eax, [ebp - 0x18]
pop ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push edi
push edi
push eax
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 8], ebx
push eax
push edi
push dword [ebp - 0xc]
mov dword [ebp - 4], 1
call esi
test eax, eax
jne 0x7cf69aee
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push eax
call sym.SHELL32.dll_SHCLSIDFromString
test eax, eax
jl 0x7cf69ad0
lea eax, [ebp - 0x10]
push eax
push 0x7cf396a0
push 3
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.7cf4d6fc
test eax, eax
jl 0x7cf69ad0
mov ecx, dword [ebp - 0x14]
push 0xfffffff
push dword [ebp - 0x10]
call fcn.7cf6b4df
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push edi
lea ecx, [ebp - 0x18]
push edi
push ecx
inc dword [ebp - 4]
lea ecx, [ebp - 8]
push edi
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp - 8], ebx
jmp 0x7cf69a87
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7cf69c1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x7d04cb88], esi
jne 0x7cf69c4a
push esi
call sym.SHELL32.dll_Ordinal_660
cmp dword [0x7d04cb88], esi
jne 0x7cf69c4a
mov eax, 0x80004005
jmp 0x7cf69ded
push esi
push 0x7cf3fbac
push reloc.SHLWAPI.dll_ParseURLW
call fcn.7cf50bf3
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x43c]
push 0x104
push eax
push dword [0x7d04cdfc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, 0x7d04b584
push dword [0x7d04cb88]
mov ebx, dword [edi - 4]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp dword [edi], eax
jl 0x7cf69dbc
cmp dword [ebp - 0xc], esi
je 0x7cf69d45
push ebx
lea eax, [ebp - 0x2c]
push 0x7cf34808
push eax
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x18]
mov word [ebp - 0x234], si
push eax
lea eax, [ebp - 0x234]
push eax
push esi
lea eax, [ebp - 0x2c]
push esi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
cmp word [ebp - 0x234], si
je 0x7cf69d45
lea eax, [ebp - 0x234]
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
push dword [0x7d04cb94]
lea ecx, [ebp - 0x14]
movzx edx, word [0x7d04cb9c]
push 2
push esi
push ecx
movzx ecx, word [0x7d04cba4]
shl ecx, 0x10
or ecx, edx
movzx edx, word [0x7d04cb98]
push ecx
movzx ecx, word [0x7d04cba0]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.7cf5ea7d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], esi
jne 0x7cf69da6
push dword [0x7d04cb94]
lea esi, [ebx*4 + 0x7cf34c48]
push dword [0x7d04cb9c]
movzx eax, word [esi]
push dword [0x7d04cb98]
push 1
push eax
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadImageW]
push dword [0x7d04cb94]
mov dword [ebp - 4], eax
movzx eax, word [esi]
push dword [0x7d04cba4]
push dword [0x7d04cba0]
push 1
push eax
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadImageW]
xor esi, esi
mov dword [ebp - 8], eax
cmp dword [ebp - 4], esi
je 0x7cf69dbc
push esi
lea eax, [ebp - 0x43c]
push ebx
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.7cf65351
mov dword [edi], eax
push dword [edi + 4]
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_SetOverlayImage]
push dword [edi]
push dword [0x7d04cb88]
call ebx
push dword [edi + 4]
push dword [edi]
push dword [0x7d04cb8c]
call ebx
add edi, 0x10
cmp edi, 0x7d04b5b4
jb 0x7cf69c7a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7cf6a063
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.7cf5ab65
xor edi, edi
sub eax, edi
je 0x7cf6a086
dec eax
je 0x7cf6a0e6
dec eax
dec eax
je 0x7cf6a08e
jmp 0x7cf6a06f
call dword [sym.imp.USER32.dll_WaitMessage]
jmp 0x7cf6a06f
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
push edi
push 0x7d0219d1
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
mov edi, fcn.7d02197d
push edi
call esi
cmp dword [ebp - 4], 0
je 0x7cf6a0e6
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x3a98
ja 0x7cf6a0e6
mov ecx, dword [ebp - 8]
call fcn.7cf5ab65
test eax, eax
jne 0x7cf6a0dc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
jmp 0x7cf6a0b3
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7cf6a5a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
lea eax, [ebp - 4]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
push 0x7cf48414
mov ebx, reloc.SHLWAPI.dll_ParseURLW
push 0x7cf38594
mov dword [esi + 4], 0x7cf3eb80
or dword [esi + 0x65c], 0xffffffff
push ebx
mov dword [esi + 0xc], 1
mov dword [esi], 0x7cf48400
mov dword [esi + 4], 0x7cf483e8
mov dword [ebp - 4], 0x208
call edi
test eax, eax
jne 0x7cf6a61d
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x634]
push eax
call dword [sym.imp.COMCTL32.dll_Str_SetPtrW]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x7cf483b0
push 0x7cf37798
push ebx
call edi
test eax, eax
jne 0x7cf6a656
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x638]
push eax
call dword [sym.imp.COMCTL32.dll_Str_SetPtrW]
push 1
lea eax, [ebp - 0x20c]
push 0x2f
push eax
push 0
call sym.SHELL32.dll_Ordinal_175
test eax, eax
je 0x7cf6a687
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esi + 0x63c]
push eax
call dword [sym.imp.COMCTL32.dll_Str_SetPtrW]
lea eax, [esi + 0x650]
push 2
push eax
push 0x7674
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7cf6af1b
Capabilities:
Parse pe header
Read file on windows
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.7cf6b0f5
cmp eax, 0x646d632e
je 0x7cf6b0e9
cmp eax, 0x6578652e
je 0x7cf6af81
cmp eax, 0x6d6f632e
je 0x7cf6af59
cmp eax, 0x7461622e
je 0x7cf6b0e9
jmp 0x7cf6b0e5
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x7cf6b0e5
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerShareW]
test eax, eax
jne 0x7cf6b0e5
mov eax, 0x5a4d
jmp 0x7cf6b0ee
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push reloc.SHLWAPI.dll_IUnknown_GetSite
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov word [ebp - 0xe], bx
call esi
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 4], edi
jne 0x7cf6afc4
push ebx
push ebx
push 3
push ebx
push 3
push ParseURLA
push dword [ebp + 8]
call esi
cmp eax, edi
mov dword [ebp - 4], eax
je 0x7cf6b0e5
mov edi, eax
lea eax, [ebp - 0x54]
push ebx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x7cf6afe2
lea eax, [ebp - 0x54]
push ebx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x94]
push 0x40
push eax
push edi
call esi
test eax, eax
je 0x7cf6b0de
cmp dword [ebp - 0xc], 0x40
jne 0x7cf6b0de
cmp word [ebp - 0x94], 0x5a4d
jne 0x7cf6b0de
push ebx
push ebx
push dword [ebp - 0x58]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call edi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x4c]
push 0x40
push eax
push dword [ebp - 4]
call esi
cmp word [ebp - 0x4c], 0x4550
jne 0x7cf6b091
mov eax, dword [ebp - 0x58]
push ebx
add eax, 0x48
push ebx
push eax
push dword [ebp - 4]
call edi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [ebp - 4]
call esi
xor eax, eax
push ebx
mov al, byte [ebp - 6]
push ebx
mov ah, byte [ebp - 8]
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x58]
add eax, 0x5c
push eax
push dword [ebp - 4]
call edi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [ebp - 4]
call esi
cmp word [ebp - 8], 2
je 0x7cf6b0c6
jmp 0x7cf6b0c2
cmp word [ebp - 0x4c], 0x454c
je 0x7cf6b0bc
cmp word [ebp - 0x4c], 0x454e
jne 0x7cf6b0bc
cmp byte [ebp - 0x16], 2
je 0x7cf6b0b6
cmp byte [ebp - 0x16], bl
je 0x7cf6b0b6
mov word [ebp - 0x4c], 0x5a4d
mov word [ebp - 0xe], bx
cmp word [ebp - 0xe], bx
jne 0x7cf6b0c6
mov word [ebp - 0x4c], 0x5a4d
mov word [ebp - 0xe], bx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x4c]
shl eax, 0x10
or eax, ecx
jmp 0x7cf6b0ee
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x7cf6b0ee
mov eax, 0x4550
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cf6b1cb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [0x7d04cedc], edi
jne 0x7cf6b239
lea eax, [ebp - 4]
push esi
push eax
push 0x7cf38a6c
push reloc.SHLWAPI.dll_ParseURLA
xor esi, esi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cf6b21a
push edi
push edi
push edi
push edi
push 0x7cf38d8c
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x7cf6b22e
push 0x7cf38d7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x7d04ced4], eax
mov dword [0x7d04cedc], 1
pop esi
mov eax, dword [0x7d04ced4]
pop edi
leave
ret
Function at 0x7cf6bddd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push esi
add eax, eax
xor esi, esi
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x10]
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x7cf6be0c
push 1
pop esi
test esi, esi
jne 0x7cf6be21
cmp dword [ebp + 0x14], esi
je 0x7cf6be21
push dword [ebp + 0x14]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x7cf6bf38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
test byte [ebp + 0x10], 2
push esi
push edi
mov dword [ebp - 4], 0x208
mov eax, 0x7cf43de4
jne 0x7cf6bf5a
mov eax, 0x7cf4a298
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp + 0x10]
push ecx
push eax
push 0x7cf4a2a8
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, eax
test edi, edi
jne 0x7cf6bfa0
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push dword [esi]
push dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi], eax
mov eax, edi
pop edi
neg eax
sbb eax, eax
pop esi
and eax, 0x80004005
leave
ret 0xc

Function at 0x7cf6c027
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
mov ebx, ecx
push edi
mov esi, 0x104
lea eax, [ebp - 0x424]
push dword [ebx + 0x630]
push 0x7cf3c510
push esi
push eax
call fcn.7d032e56
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
lea eax, [ebp - 0x424]
push edi
push eax
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cf6c102
lea eax, [ebp - 0x10]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push 0x7cf3c5f8
mov dword [ebp - 0x10], 4
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
jne 0x7cf6c0ad
mov eax, dword [ebp - 0xc]
and eax, 1
mov dword [ebx + 0x640], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebx + 0x644], eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
call edi
test eax, eax
jne 0x7cf6c0f2
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
push dword [ebp - 4]
call fcn.7cf6c109
inc dword [ebp - 8]
lea eax, [ebp - 0x21c]
push esi
push eax
push dword [ebp - 8]
push dword [ebp - 4]
jmp 0x7cf6c0c8
mov ecx, ebx
call fcn.7cf6c391
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cf71116
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ebp + 8], 0x2000
push esi
je 0x7cf7117a
cmp dword [ebp + 8], 0x8000000
jne 0x7cf711aa
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call fcn.7cf6abf1
push 0
push 0x7cf35148
push 1
push 0x7cf3514c
push 0x7cf35164
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x7cf711aa
push 0
push 0
push 0x45a
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x7cf711aa
push dword [ebp + 0xc]
call sym.SHELL32.dll_ILFindLastID
push eax
call fcn.7cf4d635
test eax, eax
je 0x7cf711aa
lea ecx, [ebp - 0x208]
push 0x104
push ecx
push eax
call fcn.7cf4e858
lea eax, [ebp - 0x208]
push eax
call fcn.7cf88d98
pop esi
leave
ret 0xc

Function at 0x7cf715f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov eax, dword [esi]
and word [eax], 0
mov eax, dword [ebx]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push dword [esi]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
cmp eax, 0xea
mov dword [ebp + 0x14], eax
jne 0x7cf71664
push 2
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
test eax, eax
je 0x7cf71664
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx], eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push dword [esi]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x7cf720df
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
jl 0x7cf72191
cmp dword [esi*4 + 0x7d04c708], 0xffffffff
je 0x7cf72191
push esi
call fcn.7cf7219a
test eax, eax
je 0x7cf72115
push 1
pop eax
jmp 0x7cf72193
push edi
push esi
call sym.SHELL32.dll_RealDriveType
cmp eax, 3
je 0x7cf7213a
cmp esi, 0x1a
jne 0x7cf72136
lea eax, [ebp - 0x208]
push eax
call fcn.7cf71e89
test eax, eax
jne 0x7cf7213a
xor ebx, ebx
jmp 0x7cf7213d
push 1
pop ebx
cmp ebx, edi
je 0x7cf7218d
cmp esi, 0x1a
je 0x7cf7218d
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.7cf71bf3
lea eax, [ebp - 0x410]
push 0x104
push eax
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x208]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x7cf7218b
lea eax, [ebp - 0x410]
push 0x7cf3208c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cf7218d
xor ebx, ebx
mov eax, ebx
jmp 0x7cf72193
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x7cf721d3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0xc], 0x320
jne 0x7cf7221f
mov eax, dword [esi]
test eax, eax
je 0x7cf721ee
cmp eax, 2
jne 0x7cf72215
push 0
push 0
push 0
mov dword [esi], 5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 0xc]
push 0
push eax
push 0x14
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
cmp dword [esi], 5
sete al
jmp 0x7cf72221
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x7cf72226
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
push ebx
push esi
push 1
push 1
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 0x320
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.7cf747ae
mov ebx, eax
cmp ebx, 0xffffffff
je 0x7cf722fa
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push esi
push esi
push ebx
call edi
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [ebp - 0x18]
push 0x14
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x7cf722d7
cmp dword [ebp - 0x1c], 0x14
jne 0x7cf722d7
mov eax, dword [ebp + 8]
mov eax, dword [eax*4 + 0x7d04c708]
push dword [eax + 4]
call dword [sym.imp.SHLWAPI.dll_Ordinal_223]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push esi
push eax
push dword [ebp + 8]
call fcn.7cf73bf3
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
push esi
push esi
push ebx
mov dword [ebp - 8], eax
call edi
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0x18]
push 0x14
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp - 0x344]
push dword [ebp - 0xc]
push 1
push eax
push ebx
call fcn.7cf7453c
test eax, eax
jne 0x7cf722d7
push dword [ebp + 8]
push ebx
call fcn.7cf74762
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 4
Function at 0x7cf72303
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 0x14], 5
neg eax
sbb eax, eax
push esi
push esi
and eax, 0x208
push esi
add eax, 0x118
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 0xc]
push esi
push eax
lea eax, [ebp - 0x14]
push 0x14
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
leave
ret 8
Function at 0x7cf72ac6
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
push esi
push edi
lea eax, [ebp - 0x458]
push 0x7cf320ac
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x660]
push eax
push dword [ebp + 8]
call fcn.7cf71c3a
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov word [ebp - 0x458], si
cmp edi, 0xffffffff
jne 0x7cf72b2e
xor eax, eax
jmp 0x7cf72b81
lea eax, [ebp - 0x224]
push eax
call fcn.7cf72b87
test eax, eax
jne 0x7cf72b66
lea eax, [ebp - 0x224]
push 0x7cf334d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cf72b66
lea eax, [ebp - 0x224]
push eax
call fcn.7cf7449c
cmp eax, esi
jle 0x7cf72b66
mov esi, eax
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x7cf72b2e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
leave
ret 4