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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
and dword [ebp - 0x18], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4beed0
mov eax, dword [esi + 0x14]
lea ecx, [esi + 4]
cmp dword [ecx + 0x14], 8
jb 0x4bed56
mov ecx, dword [ecx]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add eax, eax
push eax
push ecx
push 1
push 0
push str.item
push dword [ebp - 0x18]
call edi
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x74]
cmp dword [ecx + 0x14], 8
jb 0x4bed80
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 1
push 0
push str.location
push dword [ebp - 0x18]
call edi
mov eax, dword [esi + 0xa0]
lea ecx, [esi + 0x90]
cmp dword [ecx + 0x14], 8
jb 0x4beda6
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 1
push 0
push str.path
push dword [ebp - 0x18]
call edi
mov eax, dword [esi + 0x68]
lea ecx, [esi + 0x58]
cmp dword [ecx + 0x14], 8
jb 0x4bedc6
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 1
push 0
push str.command
push dword [ebp - 0x18]
call edi
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x20]
cmp dword [ecx + 0x14], 8
jb 0x4bede6
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 1
push 0
push str.backup
push dword [ebp - 0x18]
call edi
mov eax, dword [esi + 0x4c]
add esi, 0x3c
cmp dword [esi + 0x14], 8
jb 0x4bee06
mov esi, dword [esi]
add eax, eax
push eax
push esi
push 1
push 0
push str.backupExtension
push dword [ebp - 0x18]
call edi
cmp dword [ebx + 0x40], 0
jne 0x4beec1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x14]
xor ebx, ebx
push 4
pop esi
push esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push str.YEAR
push dword [ebp - 0x18]
call edi
movzx eax, word [ebp - 0x12]
push esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push str.MONTH
push dword [ebp - 0x18]
call edi
movzx eax, word [ebp - 0xe]
push esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push 0x6d1150
push dword [ebp - 0x18]
call edi
movzx eax, word [ebp - 0xc]
push esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push 0x6d1158
push dword [ebp - 0x18]
call edi
movzx eax, word [ebp - 0xa]
push esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push 0x6d1164
push dword [ebp - 0x18]
call edi
movzx eax, word [ebp - 8]
push esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push 0x6d1174
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
jmp 0x4beed2
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4befaf
Capabilities:
Delete file
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [esi + 4], 1
jne 0x4befd8
lea eax, [ebp - 4]
push eax
push 0x20106
push ecx
push 0x6d1670
push SysReAllocString
jmp 0x4beff2
cmp dword [esi + 4], 2
jne 0x4bf01c
lea eax, [ebp - 4]
push eax
push 0x20106
push ecx
push 0x6d1718
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], 0
je 0x4bf01c
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x4bf009
mov eax, dword [eax]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 0x7c]
cmp dword [eax + 0x14], 8
pop esi
jb 0x4bf028
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret 4

Function at 0x4bf22c
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
call fcn.004bef97
mov edx, dword [ebp + 8]
xor esi, esi
push esi
push 0x18
pop eax
push 7
pop ecx
cmp edx, 1
mov dword [edi + 4], edx
cmove eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4bf29d
cmp word [ebp - 0x20c], si
je 0x4bf288
lea eax, [ebp - 0x20c]
push eax
call fcn.00647fd1
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [edi + 0xc]
call fcn.004044d0
xor eax, eax
inc eax
jmp 0x4bf29f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 4

Function at 0x4bf2b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
mov ecx, dword [ebp + 8]
and dword [ebp - 0x14], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edx
push 0x20119
push 0
push eax
xor esi, esi
push ecx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bf340
push edi
mov byte [ebp - 0x10], al
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
push 0xc
mov dword [ebp - 0x1c], 3
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop eax
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00644240
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop edi
test eax, eax
jne 0x4bf337
movzx ecx, byte [ebp - 0x10]
not ecx
and esi, ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c1317
Capabilities:
Get user security identifier

Disassembly:
push 0x34c
mov eax, 0x696de0
call fcn.0056e23b
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x1c], ebx
jne 0x4c13f2
cmp dword [edi + 0x18], ebx
je 0x4c13f2
mov eax, 0x100
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.005657fe
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x4c13f2
lea ecx, [ebp - 0x32c]
call fcn.004173bc
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004d258b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x348]
call fcn.004174ae
mov byte [ebp - 4], 1
lea ecx, [edi + 0x14]
push eax
lea eax, [ebp - 0x354]
push eax
call fcn.004930ca
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x348]
call fcn.0041786a
mov eax, dword [ebp - 0x354]
cmp eax, dword [edi + 0x14]
je 0x4c13e3
add eax, 0x2c
mov dword [edi + 0x1c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x32c]
call fcn.0041786a
mov eax, dword [edi + 0x1c]
call fcn.0056e1e5
ret
Function at 0x4c140f
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x696e13
mov eax, dword fs:[0]
push eax
mov eax, 0x2028
call fcn.0056e5a0
mov eax, dword [0x783760]
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
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov ecx, edi
push esi
push 0x6d1cb0
call fcn.004044d0
test ebx, ebx
je 0x4c1569
lea ecx, [ebp - 0x202c]
call fcn.004173bc
mov dword [ebp - 4], esi
call fcn.00564e00
test eax, eax
lea eax, [ebp - 0x202c]
push ebx
je 0x4c1483
push str.HKEY_LOCAL_MACHINE_X64SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList_s
jmp 0x4c1488
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionProfileList_s
push eax
call fcn.0041ccda
add esp, 0xc
lea eax, [ebp - 0x2028]
cmp dword [ebp - 0x2014], 8
cmovae eax, dword [ebp - 0x2028]
push 0x20019
push eax
call fcn.00567b83
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4c155a
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0x2000
push eax
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2034]
push eax
push esi
push str.ProfileImagePath
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c1553
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2010]
push eax
push esi
call fcn.004552fa
add esp, 0xc
lea ecx, [ebp - 0x202c]
push str.NtUser.Dat
call fcn.00419c79
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
cmovae eax, dword [ebp - 0x2028]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c1553
lea eax, [ebp - 0x2028]
cmp edi, eax
je 0x4c1547
push 0xffffffffffffffff
push esi
push eax
mov ecx, edi
call fcn.00401e50
cmp dword [edi + 0x14], 8
jb 0x4c1551
mov esi, dword [edi]
jmp 0x4c1553
mov esi, edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x202c]
call fcn.0041786a
mov eax, esi
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.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x4c1587
Capabilities:
Get user security identifier

Disassembly:
push 0x310
mov eax, 0x696e47
call fcn.0056e23b
mov esi, dword [ebp + 8]
test esi, esi
je 0x4c1684
mov eax, dword fs:[0x2c]
mov ebx, 0x796ab8
mov ecx, dword [0x7e8494]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x796ad4]
cmp eax, dword [ecx + 4]
jle 0x4c15f8
mov edi, 0x796ad4
push edi
call fcn.0056e069
cmp dword [0x796ad4], 0xffffffff
pop ecx
jne 0x4c15f8
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.004173bc
push 0x6ac153
call fcn.0056e584
or dword [ebp - 4], 0xffffffff
push edi
call fcn.0056e02a
pop ecx
pop ecx
cmp dword [0x796acc], 0
jne 0x4c1656
mov eax, 0x100
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.005657fe
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x4c1656
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.004d258b
pop ecx
pop ecx
lea ecx, [esi + 0x24]
cmp dword [ecx + 0x14], 8
jb 0x4c1661
mov ecx, dword [ecx]
cmp dword [0x796ad0], 8
mov eax, 0x796abc
push ecx
cmovae eax, dword [0x796abc]
push eax
call fcn.0064806f
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x4c1686
xor eax, eax
call fcn.0056e1e5
ret
Function at 0x4c212c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x696fc8
mov eax, dword fs:[0]
push eax
mov eax, 0x2028
call fcn.0056e5a0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x4c2268
lea ecx, [ebp - 0x202c]
call fcn.004173bc
mov dword [ebp - 4], esi
call fcn.00564e00
test eax, eax
lea eax, [ebp - 0x202c]
push edi
je 0x4c218f
push 0x6d19e0
jmp 0x4c2194
push 0x6d1a88
push eax
call fcn.0041ccda
add esp, 0xc
lea eax, [ebp - 0x2028]
cmp dword [ebp - 0x2014], 8
cmovae eax, dword [ebp - 0x2028]
push 0x20019
push eax
call fcn.00567b83
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4c2259
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0x2000
push eax
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2034]
push eax
push esi
push 0x6d19bc
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c2252
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x202c]
push str._sNtUser.Dat
push eax
call fcn.0041ccda
cmp dword [ebp - 0x2014], 8
lea ecx, [ebp - 0x2028]
lea eax, [ebp - 0x2028]
cmovae eax, dword [ebp - 0x2028]
push ecx
push eax
push esi
call fcn.004552fa
add esp, 0x18
lea eax, [ebp - 0x2028]
cmp dword [ebp - 0x2014], 8
cmovae eax, dword [ebp - 0x2028]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x202c]
call fcn.0041786a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 4

Function at 0x4c7381
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.00644240
add esp, 0xc
mov dword [ebp - 0x210], edi
push esi
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4c7419
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4c7412
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4c7412
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004c7331
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 8
Function at 0x4c86ef
Capabilities:
Get file system object information

Disassembly:
push 0x30c
mov eax, 0x6979fb
call fcn.0056e23b
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, esi
call fcn.004c7ea9
mov dword [esi + 8], edi
cmp dword [edi + 0xc0], 0
je 0x4c88d5
lea ecx, [ebp - 0x2c]
call fcn.004173bc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov byte [ebp - 4], 1
lea eax, [edi + 0xb0]
cmp dword [eax + 0x14], 8
jb 0x4c8748
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push eax
push 0
call fcn.004552fa
mov edi, 0x6d3654
push edi
call fcn.00647fd1
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
push 0
push edi
call fcn.0042c956
mov edi, eax
cmp edi, 0xffffffff
je 0x4c87bd
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407b80
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4c8793
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x48]
call fcn.004179fb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
push 0
push 1
call fcn.00401d60
lea ecx, [ebp - 0x48]
call fcn.0041df2f
push edi
lea ecx, [ebp - 0x28]
call fcn.00401cc0
lea ecx, [ebp - 0x2c]
call fcn.0041df2f
push 0x6d3658
lea ecx, [ebp - 0x2c]
call fcn.0042dea6
cmp dword [ebp - 0x34], 0
jne 0x4c87dc
xor eax, eax
jmp 0x4c87ee
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00649635
pop ecx
cdq
lea ecx, [ebp - 0x28]
mov edi, eax
xor edi, edx
push 1
sub edi, edx
push 0
neg edi
cmp dword [ebp - 0x14], 8
push 0
cmovae ecx, dword [ebp - 0x28]
push 1
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x4c88bd
and dword [ebp - 0x318], 0
lea ecx, [ebp - 0x318]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push ecx
push 0
push edi
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x4c885f
cmp dword [ebp - 0x318], 0
je 0x4c885f
push dword [ebp - 0x318]
call fcn.00593531
pop ecx
push dword [ebp - 0x318]
jmp 0x4c889a
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x314]
push 0x4101
push 0x2b4
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4c88bd
push dword [ebp - 0x314]
call fcn.00593531
pop ecx
push dword [ebp - 0x314]
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
jmp 0x4c8915
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
push 0x4111
push 0x2b4
lea eax, [ebp - 0x314]
push eax
push 0x80
push 0x6d365c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4c8915
push dword [ebp - 0x314]
call fcn.00593531
pop ecx
push dword [ebp - 0x314]
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.0056e1e5
ret 4
Function at 0x4c89c4
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x14
mov eax, 0x697a3b
call fcn.0056e207
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x704e60
push 1
push ebx
push 0x704e50
or edi, 0xffffffff
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4c8b22
push str.._rootdefault
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.004af57e
mov dword [ebp - 4], ebx
mov eax, dword [eax]
test eax, eax
je 0x4c8a17
mov edx, dword [eax]
jmp 0x4c8a19
mov edx, ebx
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x10]
push esi
push ebx
push ebx
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
sets bl
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4c8a48
call fcn.004b318f
xor esi, esi
mov dword [ebp - 0x18], esi
jmp 0x4c8a4a
xor esi, esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test bl, bl
jne 0x4c8b22
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4c8a83
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4c8b22
push str.SELECT__FROM_SystemRestore
lea ecx, [ebp - 0x1c]
call fcn.004af57e
mov esi, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18]
push 0x6d3b04
call fcn.004af57e
mov byte [ebp - 4], 2
mov ebx, dword [esi]
test ebx, ebx
je 0x4c8ab4
mov ebx, dword [ebx]
jmp 0x4c8ab6
xor ebx, ebx
mov eax, dword [eax]
test eax, eax
je 0x4c8ac0
mov esi, dword [eax]
jmp 0x4c8ac2
xor esi, esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add eax, 4
push eax
push 0
push 0x30
mov edx, dword [ecx]
push ebx
push esi
push ecx
call dword [edx + 0x50]
test eax, eax
sets bl
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4c8af1
call fcn.004b318f
and dword [ebp - 0x18], 0
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4c8b04
call fcn.004b318f
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test bl, bl
jne 0x4c8b22
push dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x10], 0
call fcn.004c8b2c
mov edi, eax
mov eax, edi
call fcn.0056e1d0
ret 4
Function at 0x4cfa94
Capabilities:
Create thread

Disassembly:
push 0x34
mov eax, 0x6987f4
call fcn.0056e23b
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x4cfb47
lea ecx, [ebx + 8]
call fcn.005627e7
mov eax, dword [ebx + 0x20]
mov esi, dword [eax]
cmp esi, eax
je 0x4cfae0
lea eax, [esi + 0x18]
cmp dword [eax + 0x14], 8
jb 0x4cfacc
mov eax, dword [eax]
push eax
push edi
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
je 0x4cfb3d
mov esi, dword [esi]
cmp esi, dword [ebx + 0x20]
jne 0x4cfac1
lea ecx, [ebp - 0x3c]
call fcn.004cf0ce
and dword [ebp - 4], 0
lea ecx, [ebx + 0x20]
push eax
push dword [ebx + 0x20]
call fcn.004ceace
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041786a
mov eax, dword [ebx + 0x20]
mov ebx, dword [ebp - 0x40]
mov esi, dword [eax + 4]
lea ecx, [ebx + 8]
add esi, 8
call fcn.005627f7
push edi
lea ecx, [esi + 0xc]
mov dword [esi], ebx
call fcn.004179fb
xor eax, eax
push eax
push eax
push esi
push 0x4d1360
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
xor eax, eax
inc eax
jmp 0x4cfb49
mov ecx, ebx
lea ecx, [ecx + 8]
call fcn.005627f7
xor eax, eax
call fcn.0056e1e5
ret 4
Function at 0x4cfd23
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x4c
mov eax, 0x69887e
call fcn.0056e23b
mov esi, ecx
mov dword [ebp - 0x50], esi
mov edi, dword [ebp + 8]
xor edx, edx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
or ebx, 0xffffffff
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov word [ebp - 0x44], ax
inc eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], edx
push edx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
push 0x6d4e1c
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
call fcn.004044d0
push 2
pop eax
mov byte [ebp - 4], al
cmp dword [esi + 0x30], 0x80000001
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x2c], eax
jne 0x4cfda0
push str.HKEY_CURRENT_USER_
call fcn.00647fd1
pop ecx
push eax
push str.HKEY_CURRENT_USER_
jmp 0x4cfdb1
push 0x6d4e48
call fcn.00647fd1
pop ecx
push eax
push 0x6d4e48
lea ecx, [ebp - 0x28]
call fcn.004044d0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404690
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.00401e50
push 0x6d4e70
lea ecx, [edi + 4]
call fcn.004179fb
cmp dword [esi + 8], 0
je 0x4cfeb3
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x58]
lea edi, [esi + 4]
push eax
mov ecx, edi
call fcn.004d1aad
mov esi, dword [eax]
cmp esi, dword [edi]
je 0x4cfeb3
mov eax, dword [esi + 0x2c]
xor ecx, ecx
push 2
pop edx
lea eax, [eax*2 + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056e306
pop ecx
mov ecx, dword [esi + 0x2c]
inc ecx
mov dword [ebp - 0x48], eax
push ecx
push eax
push dword [esi + 0x30]
push dword [esi + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4cfe9f
push dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
lea eax, [esi + 0x10]
push dword [ebp - 0x48]
mov ecx, edi
mov dword [ebp - 0x54], eax
push dword [eax + 0x24]
call fcn.004cfee0
inc dword [esi + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x4cfeaa
mov eax, dword [ebp - 0x4c]
mov ecx, dword [edi + 0x34]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x54]
lea esi, [eax + 8]
mov dword [eax], ecx
mov ecx, esi
call fcn.00401e50
mov edi, 0x6d4e74
push edi
call fcn.00647fd1
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0041cad6
push dword [ebp - 0x48]
mov ecx, esi
call fcn.0041caaf
jmp 0x4cfeaa
cmp eax, 0x103
push 1
pop eax
cmove ebx, eax
push dword [ebp - 0x48]
call fcn.0056e30f
pop ecx
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00401d60
or dword [ebp - 4], 0xffffffff
xor eax, eax
push 0
inc eax
lea ecx, [ebp - 0x44]
push eax
call fcn.00401d60
mov eax, ebx
call fcn.0056e1e5
ret 4