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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
push edi
push 4
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x7cf3218c
push dword [0x7d04c778]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
call esi
test eax, eax
jne 0x7cf786ff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push 0x7cf3217c
push dword [0x7d04c778]
call esi
test eax, eax
jne 0x7cf786ff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 0x7cf32160
push dword [0x7d04c778]
call esi
test eax, eax
je 0x7cf78709
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageW]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [0x7d04cdfc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x50
mov dword [ebp - 0x60], 0x80
mov dword [ebp - 0x58], 0x415
mov dword [ebp - 0x4c], 0x7cf76319
mov dword [ebp - 0x44], 0x7cf7866a
call ebx
push dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
and dword [ebp - 8], 0
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x60], 8
mov dword [ebp - 0x58], 0x416
mov dword [ebp - 0x4c], 0x7cf7665f
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0x7d04c708
push dword [ebp - 8]
call fcn.7cf74c31
test eax, eax
je 0x7cf78810
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push 0
push 0
mov eax, dword [eax]
push 0x7cf3217c
mov dword [ebp - 0xc], edi
push dword [eax + 0x10]
call esi
test eax, eax
jne 0x7cf787d8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push 0
push 0
mov eax, dword [eax]
push 0x7cf32160
push dword [eax + 0x10]
call esi
test eax, eax
je 0x7cf787df
mov dword [ebp - 0x24], 0xa
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
push 0x104
push ecx
push eax
mov dword [ebp - 0x34], eax
call fcn.7cf76d2e
lea eax, [ebp - 0x64]
push eax
call ebx
push dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add dword [ebp - 4], edi
inc dword [ebp - 8]
cmp dword [ebp - 4], 0x7d04c774
jl 0x7cf78788
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x7cf78dc1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
push edi
je 0x7cf78e61
cmp word [esi], 0xc
jae 0x7cf78e05
lea eax, [ebp - 0x10]
push 0xc
push eax
call sym.SHELL32.dll_Ordinal_654
movzx ecx, word [esi]
mov eax, ecx
lea edi, [ebp - 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [ebp - 0x10], 0xc
lea esi, [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push 0x7cf32628
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x7cf78e61
mov eax, dword [esi + 4]
push 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 3
push 0
push 0x7cf326a8
and eax, 1
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
mov ebx, eax
lea eax, [ebp - 4]
push 4
push eax
push 4
push 0
neg ebx
push 0x7cf326c0
push dword [ebp + 8]
sbb ebx, ebx
inc ebx
call esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x7cf78e80
push 0x7cf39cf0
call dword [sym.imp.SHLWAPI.dll_Ordinal_222]
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_224]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 4

Function at 0x7cf7974a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_Str_SetPtrW]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push dword [ebp + 0xc]
mov dword [esi], edi
push esi
call ebx
mov eax, dword [esi]
cmp eax, edi
je 0x7cf797dc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x7cf32b58
lea ecx, [ebp - 0x14]
push 0xa
push ecx
push 0x7cf32b54
push eax
push 0x7cf32b3c
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x14], di
je 0x7cf7979b
push edi
jmp 0x7cf797e5
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax]
dec eax
mov dword [ebp + 0x10], eax
js 0x7cf797cd
jmp 0x7cf797ae
mov eax, dword [ebp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.COMCTL32.dll_DSA_GetItemPtr]
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cf797e3
dec dword [ebp + 0x10]
jns 0x7cf797ab
push esi
push ParseURLA
push dword [edi + 4]
call dword [sym.imp.COMCTL32.dll_DSA_InsertItem]
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0
push esi
call ebx
jmp 0x7cf797dc
Function at 0x7cf7986a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x788
push esi
push edi
push 6
xor esi, esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
mov dword [ebp - 0x28], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 1
push eax
push 0x7cf32b70
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cf79992
lea eax, [ebp + 0xc]
mov edi, 0x208
push eax
lea eax, [ebp - 0x788]
push eax
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x378]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 8], 0x80
mov dword [ebp + 0xc], edi
call esi
test eax, eax
jne 0x7cf79989
lea eax, [ebp - 0x580]
push 0x104
push eax
lea eax, [ebp - 0x788]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
test eax, eax
je 0x7cf79957
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x580]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x7cf79957
mov ecx, dword [ebp - 0x274]
push eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x580]
push eax
push dword [ebp + 8]
call fcn.7cf7974a
lea eax, [ebp + 0xc]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x788]
push eax
push 0
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 0x378]
push eax
mov dword [ebp - 8], 0x80
push dword [ebp - 4]
mov dword [ebp + 0xc], edi
push dword [ebp - 0xc]
jmp 0x7cf798d9
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 8
Function at 0x7cf79ba1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x43
call fcn.7cf5b11e
test eax, eax
jne 0x7cf79cb8
lea eax, [ebp - 8]
push eax
push 0x7cf32a70
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cf79cb8
lea eax, [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push eax
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x7cf32c04
mov dword [ebp - 0xc], ebx
push dword [ebp - 8]
mov dword [ebp - 4], 4
call esi
test eax, eax
jne 0x7cf79caf
call fcn.7cf831b6
movzx eax, ax
cmp dword [ebp - 0xc], eax
jne 0x7cf79caf
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push 0x7cf32ae8
push dword [ebp - 8]
call esi
test eax, eax
jne 0x7cf79caf
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [ebp + 8]
cmp eax, ebx
mov dword [edi + 0xc], eax
je 0x7cf79caf
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push ebx
push 0x7cf32ae8
push dword [ebp - 8]
call esi
test eax, eax
jne 0x7cf79caf
push dword [ebp - 4]
push dword [edi + 0xc]
call fcn.7cf79b85
test eax, eax
jne 0x7cf79c74
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [edi + 0xc], ebx
jmp 0x7cf79caf
push 4
call dword [sym.imp.COMCTL32.dll_DPA_Create]
cmp eax, ebx
mov dword [edi + 0x10], eax
je 0x7cf79caf
cmp dword [ebp - 4], ebx
jbe 0x7cf79ca7
mov esi, ebx
add esi, dword [edi + 0xc]
push esi
push ParseURLA
or dword [esi + 4], 1
push dword [edi + 0x10]
call dword [sym.imp.COMCTL32.dll_DPA_InsertPtr]
add ebx, dword [esi]
cmp ebx, dword [ebp - 4]
jb 0x7cf79c88
mov eax, dword [edi + 0x10]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cf79cbf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx + 0x18], 0
je 0x7cf79e19
mov eax, dword [ebx + 0x10]
mov edi, dword [eax]
mov eax, edi
mov dword [ebp - 8], edi
imul eax, eax, 0x2ec
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
mov dword [ebp - 0x10], esi
je 0x7cf79e19
and dword [ebp - 4], 0
test edi, edi
jle 0x7cf79db1
mov edi, dword [sym.imp.COMCTL32.dll_DPA_GetPtr]
push dword [ebp - 4]
push dword [ebx + 0x10]
call edi
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
mov dword [ebp + 8], ecx
jge 0x7cf79d80
add eax, 0x24
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
push dword [ebx + 0x10]
call edi
mov dword [ebp - 0x18], eax
add eax, 0x24
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x7cf79d80
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x7cf79d58
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jl 0x7cf79d26
jmp 0x7cf79d80
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jge 0x7cf79d7a
push eax
push dword [ebx + 0x10]
call edi
add eax, 0x24
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x7cf79d58
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jge 0x7cf79da5
push eax
push dword [ebx + 0x10]
call edi
push dword [eax]
push eax
push esi
call fcn.7d041e90
or dword [esi + 4], 2
add esi, dword [esi]
add esp, 0xc
inc dword [ebp - 4]
jmp 0x7cf79d80
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
jl 0x7cf79d0d
lea eax, [ebp - 0xc]
push eax
push 0x7cf32a70
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x7cf79e0c
call fcn.7cf831b6
movzx eax, ax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
push eax
push 4
push 0
push 0x7cf32c04
push dword [ebp - 0xc]
call edi
sub esi, dword [ebp - 0x10]
push esi
push dword [ebp - 0x10]
push 3
push 0
push 0x7cf32ae8
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebx + 0x18], 0
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cf7b994
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ebp + 8], 0
push esi
push edi
je 0x7cf7ba06
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push 0x7cf334d0
mov edi, eax
call esi
lea eax, [edi + eax + 2]
cmp eax, 0x104
jge 0x7cf7ba06
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x208]
push 0x7cf32ec8
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
push 1
push 0x7cf32eac
push 0x7cf32e8c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
inc eax
jmp 0x7cf7ba08
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x7cf7c753
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x7cf7c789
mov ax, word [edi]
push ebx
dec eax
and eax, 0x1f
push eax
call sym.SHELL32.dll_RealDriveType
cmp eax, 4
jne 0x7cf7c8c1
mov esi, 0x7cf32ef8
lea eax, [ebp - 0x228]
push esi
push edi
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
push 0x4000106
push 2
push ebx
push 3
lea eax, [ebp - 0x228]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x7cf7c843
lea eax, [ebp - 0x228]
push eax
call edi
lea eax, [ebp - 0x228]
push 0x7cf333a4
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x7cf7c83a
lea eax, [ebp - 0x44c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cf7c82a
lea eax, [ebp - 0x478]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x7cf7c831
jmp 0x7cf7c802
mov dword [ebp - 4], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
jne 0x7cf7c8c1
lea eax, [ebp - 0x20]
push ebx
push eax
push 1
push dword [ebp + 8]
call fcn.7cf6b292
push eax
call fcn.7cf6856d
lea eax, [ebp - 0x228]
push eax
call edi
mov eax, dword [ebp - 0x18]
push 3
sub eax, dword [ebp - 0x20]
pop ecx
cdq
idiv ecx
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCompactPathW]
cmp dword [ebp + 8], ebx
je 0x7cf7c8b2
lea eax, [ebp - 0x228]
push eax
push 0x10014
push 0x1008
push 0x1007
push dword [ebp + 8]
push dword [0x7d04cdfc]
call sym.SHELL32.dll_ShellMessageBoxW
add esp, 0x18
cmp eax, 6
je 0x7cf7c8c1
push dword [ebp + 0xc]
call sym.SHELL32.dll_Ordinal_94
mov dword [ebp - 0xc], 0x4c7
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x7cf7cfbe
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cmp eax, 0xffffffff
je 0x7cf7d008
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathBuildRootW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x7cf7d008
mov eax, dword [ebp + 8]
imul eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
jmp 0x7cf7d00a
xor eax, eax
leave
ret 4

Function at 0x7cf7d82a
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
test al, 7
je 0x7cf7d83f
and al, 0xef
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 8
Function at 0x7cf7e789
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x98]
cmp dword [eax + 8], 0
je 0x7cf7e7aa
xor eax, eax
jmp 0x7cf7e909
mov eax, dword [esi + 0x20]
push 1
test eax, eax
pop ebx
je 0x7cf7e8f3
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ebx
push eax
lea eax, [ebp - 4]
push eax
push edi
call fcn.7cf74e29
test eax, eax
je 0x7cf7e7dc
add esi, 0x58
push esi
call fcn.7cf7a9ac
jmp 0x7cf7e906
mov eax, dword [ebp - 4]
dec eax
dec eax
je 0x7cf7e8d2
dec eax
dec eax
je 0x7cf7e88c
sub eax, 4
je 0x7cf7e802
sub eax, 8
je 0x7cf7e802
sub eax, 0x10
jne 0x7cf7e8ab
cmp dword [ebp - 4], 8
jne 0x7cf7e80f
mov eax, 0x80
jmp 0x7cf7e823
xor eax, eax
cmp dword [ebp - 4], 0x20
setne al
dec eax
and eax, 0x60000
add eax, 0x20000
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [ebp + 0xc]
push edi
push eax
push ecx
lea eax, [esi + 0x18]
push dword [esi]
push eax
push esi
push dword [esi + 0x14]
call fcn.7cf7bff9
dec eax
dec eax
je 0x7cf7e862
sub eax, 5
jne 0x7cf7e8d2
lea eax, [esi + 0x58]
push eax
call fcn.7cf7a9ac
mov eax, dword [esi + 0x50]
mov dword [eax + 0x12], ebx
mov dword [ebp - 4], 7
jmp 0x7cf7e86b
mov eax, dword [esi + 0x50]
mov dword [eax + 0x12], ebx
mov dword [esi + 0x28], ebx
mov esi, dword [esi + 0x98]
test byte [esi + 0x30], 4
jne 0x7cf7e906
mov esi, dword [esi + 0x34]
test esi, esi
je 0x7cf7e906
or dword [esi + 0x30], 2
jmp 0x7cf7e906
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
push edi
je 0x7cf7e89f
call sym.SHELL32.dll_Ordinal_94
jmp 0x7cf7e8a4
call sym.SHELL32.dll_Win32DeleteFile
test eax, eax
mov dword [ebp - 4], eax
jne 0x7cf7e8b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x7cf7e906
and dword [ebp - 4], 0
lea eax, [esi + 0x58]
push eax
call fcn.7cf7a9ac
mov esi, dword [esi + 0x20]
test esi, esi
je 0x7cf7e906
push esi
call fcn.7cf7fdff
jmp 0x7cf7e906
and dword [ebp - 4], 0
test esi, esi
je 0x7cf7e8e0
and word [esi + 0xc], 0xffbf
mov eax, dword [esi + 0x20]
test eax, eax
je 0x7cf7e8ed
push eax
call fcn.7cf7fdff
push esi
call fcn.7cf7c5ba
lea edi, [esi + 0x58]
push edi
call fcn.7cf7a998
push 3
push ebx
push esi
push edi
call fcn.7cf7a7c6
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7cf800d1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 8]
push 0x7cf7fe8c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x7cf800f7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4
Function at 0x7cf80dd5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push 4
push 8
call dword [sym.imp.COMCTL32.dll_DSA_Create]
test eax, eax
mov dword [ebp - 8], eax
je 0x7cf80f04
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cf80f04
and dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0x218]
push 0x80
push eax
push 0
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x7cf80efa
push edi
push esi
mov esi, dword [sym.imp.COMCTL32.dll_DSA_InsertItem]
mov edi, ParseURLA
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x100
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call fcn.7cf5aef1
test eax, eax
jne 0x7cf80ed9
lea eax, [ebp - 0xc]
push eax
push 0x7cf4c3e0
push 0
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.7cf4e77a
test eax, eax
jl 0x7cf80ed9
lea eax, [ebp - 0x118]
push eax
call fcn.7cf9c7c5
mov eax, dword [ebp - 0xc]
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push 0x7cf397f0
push eax
call dword [ecx]
test eax, eax
jge 0x7cf80ec6
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x14]
push edx
push 0x7cf39870
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x7cf80ed0
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc dword [ebp - 4]
lea eax, [ebp - 0x218]
push 0x80
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
test eax, eax
je 0x7cf80e3f
pop esi
pop edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, dword [ebp - 8]
leave
ret 4

Function at 0x7cf8115e
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
xor edi, edi
cmp word [0x7d04c790], di
jne 0x7cf811a3
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
push 0x7cf3322c
call esi
push 0x7cf33218
mov word [0x7d04c790], ax
call esi
cmp word [0x7d04c790], di
mov word [0x7d04c794], ax
je 0x7cf8119f
cmp ax, di
jne 0x7cf811a3
xor eax, eax
jmp 0x7cf811dc
cmp dword [ebp + 8], edi
mov word [ebp - 0x4c], di
je 0x7cf811bb
lea eax, [ebp - 0x4c]
push 0x20
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x7cf810cd
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8
Function at 0x7cf81cff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x250]
mov dword [ebp - 0x254], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x664]
push esi
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.7cf815cc
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
cmp edi, esi
je 0x7cf81d9a
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 0x20019
push esi
push 0x7cf33250
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cf81d9a
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
jne 0x7cf81d91
push 1
pop esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x7cf81fff
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push edi
push eax
push 0x7cf32a70
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cf82036
push 0x7cf32ae8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
call sym.SHELL32.dll_SHGetDesktopFolder
xor esi, esi
push esi
push esi
call sym.SHELL32.dll_Ordinal_71
cmp dword [ebp - 8], esi
je 0x7cf820d6
push esi
push 3
push dword [ebp + 8]
call sym.SHELL32.dll_SHCloneSpecialIDList
mov edi, eax
cmp edi, esi
je 0x7cf820d6
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x14]
push edx
push 0x7cf398e0
mov ecx, dword [eax]
push esi
push edi
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x7cf820d0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0x40
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x7cf820c7
cmp dword [ebp + 0x14], esi
je 0x7cf820b5
lea eax, [ebp - 0x14]
push eax
push 0x7cf81fad
push dword [ebp + 8]
push 0x43c
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 0xffffffff
jne 0x7cf820be
lea eax, [ebp - 0x14]
push eax
call fcn.7cf81f62
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call sym.SHELL32.dll_ILFree
pop edi
pop esi
leave
ret 0x10