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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 1
push eax
push 0x7cf38840
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cf52269
push edi
push esi
push ebx
push 0x4e
pop ebx
xor esi, esi
push esi
push esi
push esi
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push esi
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x7cf5225d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x74]
push eax
call sym.SHELL32.dll_SHCLSIDFromString
test eax, eax
jl 0x7cf52240
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push dword [ebp + 8]
push eax
call fcn.7cf52270
test eax, eax
jne 0x7cf52240
mov eax, dword [ebp - 0x14]
cmp eax, 1
jne 0x7cf5225a
inc dword [ebp - 8]
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 4], ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
jmp 0x7cf5220d
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
pop edi
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x7cf526ee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
push 1
pop esi
lea eax, [ebp + 0x10]
push eax
push esi
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cf5278a
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x4e
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x7cf38d60
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
jne 0x7cf52781
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x64]
push eax
call sym.SHELL32.dll_SHCLSIDFromString
test eax, eax
jl 0x7cf52781
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.7cfa75f1
test eax, eax
jl 0x7cf5277e
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.7cf5992f
mov esi, eax
cmp esi, 1
jne 0x7cf52773
xor esi, esi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x7cf52781
push 1
pop esi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0x10

Function at 0x7cf528c1
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 8]
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.COMCTL32.dll_DSA_GetItemPtr]
test eax, eax
je 0x7cf528ea
push dword [esp + 0x14]
push dword [esp + 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
jmp 0x7cf528ed
push 0x57
pop eax
pop esi
ret 0x10
Function at 0x7cf55427
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
lea eax, [ebp - 0x84]
push 0x40
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_Ordinal_24]
test eax, eax
je 0x7cf554a0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp + 8]
mov edi, 0x20019
push eax
xor ebx, ebx
push edi
push ebx
push 0x7cf43a0c
push reloc.SHLWAPI.dll_ParseURLW
call esi
test eax, eax
je 0x7cf5546f
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x7cf554a0
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x84]
push ebx
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x7cf5548d
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
jne 0x7cf554a4
cmp dword [ebp + 8], ebx
je 0x7cf554a0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x7cf554eb
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
push ebx
push dword [eax*4 + 0x7cf43858]
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
cmp eax, ebx
sete cl
cmp dword [ebp - 4], ebx
mov edi, ecx
je 0x7cf554df
push dword [ebp - 4]
call esi
cmp dword [ebp + 8], ebx
je 0x7cf554e9
push dword [ebp + 8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7cf57d07
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x7cf57d8c
push dword [ebp + 8]
call fcn.7cf57da4
test eax, eax
jne 0x7cf57d8c
mov edi, 0x104
lea eax, [ebp - 0x20c]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameW]
and dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov esi, 0x7cf47754
push dword [esi - 4]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x7cf57d7e
cmp dword [esi], eax
je 0x7cf57d95
lea eax, [ebp - 0x414]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi]
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x7cf57d95
inc dword [ebp - 4]
add esi, 0xc
cmp esi, 0x7cf477e4
jb 0x7cf57d4a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x7cf47758]
jmp 0x7cf57d8e

Function at 0x7cf57dcc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40000023
call sym.SHELL32.dll_SHRestricted
test eax, eax
je 0x7cf57de5
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
ret
push 1
push 0
push 0x7cf3badc
push 0x7cf358cc
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
ret
Function at 0x7cf580b2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call sym.SHELL32.dll_SHGetPathFromIDListW
test eax, eax
je 0x7cf58112
lea eax, [ebp - 0x208]
push eax
push 0
push 0x7cf48a84
push 0x7cf3df78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x7cf58112
xor edx, edx
mov ecx, 0x7cf48be0
cmp eax, dword [ecx]
je 0x7cf58104
add ecx, 8
inc edx
cmp ecx, 0x7cf48bf8
jb 0x7cf580f2
jmp 0x7cf58112
lea eax, [ebp - 0x208]
push eax
call dword [edx*8 + 0x7cf48be4]
leave
ret 4

Function at 0x7cf59024
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x7cf59103
cmp word [eax], si
je 0x7cf59103
push eax
mov dword [ebp + 8], esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], eax
push ecx
push esi
push eax
push 2
push 2
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
jl 0x7cf5908a
push esi
push esi
push esi
push esi
push 0x7cf3c8b8
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
jne 0x7cf59081
mov dword [ebp + 8], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], esi
jne 0x7cf590fe
lea eax, [ebp - 4]
mov ebx, 0x7cf3c830
push eax
push esi
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x7cf3c81c
mov edi, reloc.SHLWAPI.dll_ParseURLW
push ebx
push edi
call esi
test eax, eax
jne 0x7cf590fe
cmp dword [ebp - 4], 2
jbe 0x7cf590fe
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [ebp - 0xc], eax
je 0x7cf590fe
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push 0x7cf3c81c
push ebx
push edi
call esi
test eax, eax
jne 0x7cf590f5
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x7cf590f5
mov dword [ebp + 8], 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
jmp 0x7cf59106
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cf59e9a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
lea ecx, [ebp - 0x214]
call fcn.7cf5a06c
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x7cf59ee3
cmp dword [ebp + 0x10], ebx
je 0x7cf59ed1
push 0x824
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x214]
call fcn.7cf5a11f
xor eax, eax
jmp 0x7cf5a067
mov eax, dword [ebp + 0xc]
push edi
and eax, 4
push esi
cmp al, 4
je 0x7cf59fcb
mov ax, word [ebx + 2]
cmp ax, 0x3a
je 0x7cf59f0d
cmp ax, 0x7c
je 0x7cf59f0d
cmp word [ebx], 0x5c
jne 0x7cf59fcb
mov esi, 0x104
lea ecx, [ebp - 0x214]
push esi
call fcn.7cf5a083
mov edi, eax
test edi, edi
jl 0x7cf5a058
mov eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x41c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x7cf59f5a
lea eax, [ebp - 0x41c]
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x7cf59f6a
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x214]
call fcn.7d041506
mov edi, eax
test edi, edi
jl 0x7cf5a058
lea eax, [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_UrlCreateFromPathW]
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0xc]
call esi
mov edi, eax
cmp edi, 0x80004003
jne 0x7cf5a043
push dword [ebp + 0xc]
lea ecx, [ebp - 0x214]
call fcn.7cf5a083
mov edi, eax
test edi, edi
jl 0x7cf5a058
mov eax, dword [ebp - 0xc]
push 0
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0xc]
call esi
mov edi, eax
jmp 0x7cf5a043
push 0x824
lea ecx, [ebp - 0x214]
call fcn.7cf5a083
mov edi, eax
test edi, edi
jl 0x7cf5a058
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_UrlApplySchemeW]
neg eax
sbb eax, eax
push 1
and eax, dword [ebp - 8]
pop ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and eax, ebx
cmp al, bl
jne 0x7cf5a010
lea eax, [ebp - 4]
push 2
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
jne 0x7cf5a043
mov eax, dword [ebp + 0xc]
and eax, 2
cmp al, 2
jne 0x7cf5a03a
mov eax, dword [ebp - 0xc]
push ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
jne 0x7cf5a043
mov edi, 0x80041001
test edi, edi
jl 0x7cf5a058
push 0x824
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x214]
call fcn.7cf5a11f
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x7cf5aa0a
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0
push 0x7cf38e28
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
mov dword [ebp - 4], eax
je 0x7cf5aab1
mov ebx, dword [ebp + 0xc]
cmp dword [ebx], 0x24
ja 0x7cf5aab1
push 9
mov esi, ebx
pop ecx
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x40]
cmp esi, 2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], 0x30
mov dword [ebp - 8], ecx
jb 0x7cf5aa80
cmp esi, 3
jbe 0x7cf5aa70
cmp esi, 5
jne 0x7cf5aa80
push eax
push 0x24
push ebx
call fcn.7cf5aaba
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x7cf5aab1
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 4]
push 0x4a
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x18], edi
mov esi, eax
je 0x7cf5aaad
push dword [ebp - 0x14]
push 0x24
push ebx
push dword [ebp - 0x18]
call fcn.7cf5ab16
test eax, eax
jne 0x7cf5aaad
xor esi, esi
mov eax, esi
jmp 0x7cf5aab3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7cf5aef1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x7cf5af1c
cmp word [eax], si
je 0x7cf5af1c
lea ecx, [ebp + 0xc]
push ecx
push 1
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x7cf5af22
jmp 0x7cf5af61
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push edi
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov ebx, eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x7cf5af46
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
pop ecx
cmp ebx, ecx
jne 0x7cf5af5f
cmp edi, esi
je 0x7cf5af54
mov word [edi], si
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x7cf5af5d
mov dword [eax], ecx
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x7cf6004a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xa4]
not eax
and eax, 8
shl eax, 2
mov dword [ebp - 4], eax
push eax
push dword [ebp + 8]
push dword [esi + 0xb4]
push dword [esi + 0x90]
call fcn.7cf4d805
mov ebx, eax
test ebx, ebx
jge 0x7cf6016d
cmp ebx, reloc.COMCTL32.dll_DPA_SaveStream
jne 0x7cf601ba
test byte [ebp - 4], 0x20
je 0x7cf601ba
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x7cf6010e
cmp dword [esi + 0x178], edi
jne 0x7cf6010e
mov eax, dword [ebp - 0xc]
lea edi, [esi + 0x17c]
mov ecx, eax
sub ecx, dword [edi]
cmp ecx, 0x9c4
jb 0x7cf600cd
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [edi]
lea ebx, [esi + 0x174]
mov dword [ebp - 0xc], eax
sub edi, eax
mov eax, dword [ebx]
xor ecx, ecx
add edi, 0x1f4
cmp eax, ecx
jne 0x7cf60103
push ecx
push ecx
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [ebx], eax
jne 0x7cf6010e
xor edi, edi
jmp 0x7cf6010e
cmp edi, ecx
jle 0x7cf6010e
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x10]
and dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push esi
call fcn.7cf5864f
test eax, eax
jl 0x7cf6015e
lea ebx, [esi + 0x178]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x10000000
push 0
push 0x7cf39d20
push dword [ebp - 8]
push esi
call fcn.7cf643b2
test eax, eax
jne 0x7cf60171
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHLWAPI.dll_IUnknown_AtomicRelease]
push dword [ebp + 0xc]
and dword [ebp - 4], 0xffffffdf
push dword [ebp - 4]
jmp 0x7cf60073
xor eax, eax
jmp 0x7cf601bc
push 1
test edi, edi
pop ebx
jle 0x7cf601b0
push edi
push dword [esi + 0x174]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x7cf601b0
test eax, eax
jne 0x7cf601b0
mov eax, dword [ebp - 0x10]
add esi, 0x178
push esi
or dword [eax + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [eax + 0x18]
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHLWAPI.dll_IUnknown_AtomicRelease]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7cf618d9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 4
xor edi, edi
pop eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0x7cf3d45c
push 0x7cf33008
call esi
mov eax, dword [ebp - 4]
cmp eax, 3
jne 0x7cf6196a
push 0x10
mov dword [ebp - 4], edi
pop eax
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push 0x7cf3d438
push 0x7cf3d3e4
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x18]
push 0x7cf3d3d8
push eax
call esi
test eax, eax
jne 0x7cf61957
push 2
pop eax
jmp 0x7cf61967
lea eax, [ebp - 0x18]
push 0x7cf3d3d0
push eax
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
sub eax, edi
mov ecx, 0x1800
je 0x7cf61980
dec eax
je 0x7cf61987
dec eax
jne 0x7cf61984
mov edi, 0x800
jmp 0x7cf61987
mov edi, ecx
jmp 0x7cf61987
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
push edi
push ecx
push 0x1036
push dword [eax + 0xd4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
leave
ret 4
Function at 0x7cf62d4b
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
and byte [esi + 0x149], 0xf3
mov eax, dword [esi + 0x148]
test ah, 2
jne 0x7cf62d8e
push 0
push 0
push 0x7cf3d610
push 0x7cf33008
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x7cf62d8a
push 0x7cf39d20
mov ecx, esi
call fcn.7cfba3be
test eax, eax
jne 0x7cf62d8e
xor eax, eax
jmp 0x7cf62d91
push 1
pop eax
push dword [esp + 0x1c]
mov ecx, dword [esi + 0x148]
and eax, 1
and ch, 0xfd
push dword [esp + 0x1c]
shl eax, 9
push dword [esp + 0x1c]
or ecx, eax
mov dword [esi + 0x148], ecx
mov ecx, esi
push dword [esp + 0x1c]
call fcn.7cf62e17
mov ebx, eax
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x7cf62e0f
test ebx, ebx
jl 0x7cf62df3
mov eax, dword [esi + 0x148]
mov ecx, eax
shr ecx, 0x12
test cl, 1
je 0x7cf62e0f
and eax, 0xfffbffff
mov ecx, esi
mov dword [esi + 0x148], eax
call fcn.7cfb8115
jmp 0x7cf62e0f
mov edi, 0x40000
test dword [esi + 0x148], edi
jne 0x7cf62e09
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [esi + 0x148], edi
pop edi
mov eax, ebx
pop esi
pop ebx
ret 0x10
Function at 0x7cf64f46
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [ebp - 4], 0xd
mov edi, 0x104
jne 0x7cf64f7b
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea esi, [ebp - 0x20c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
je 0x7cf64fce
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [ebp - 0x208]
push 0x5c
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x7cf64fc9
lea eax, [ebp - 0x20c]
push 0x7cf35574
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x7cf64ff6
push 1
pop eax
jmp 0x7cf65023
mov ax, word [esi]
push ebx
dec eax
and eax, 0x1f
push eax
call sym.SHELL32.dll_RealDriveType
cmp eax, 2
mov ax, word [esi]
jne 0x7cf65019
dec eax
and eax, 0x1f
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathBuildRootW]
push ebx
push ebx
lea eax, [ebp - 4]
push ebx
push eax
push ebx
push ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0xc
pop eax
cmp eax, dword [ebp - 4]
sbb eax, eax
neg eax
jmp 0x7cf65023
dec eax
and eax, 0x1f
push eax
call fcn.7cfdb86f
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cf66e32
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0x7d04ea10], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
jne 0x7cf66e4a
call esi
mov dword [0x7d04ea10], eax
cmp dword [0x7d04ea14], 0
mov edi, dword [esp + 0x10]
jne 0x7cf66e72
test edi, edi
je 0x7cf66e80
call esi
push eax
push 0
push 0x7d02ac94
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x7d04ea14], eax
test edi, edi
je 0x7cf66e80
call esi
cmp dword [0x7d04ea10], eax
jne 0x7cf66ec6
mov eax, edi
xor esi, esi
neg eax
sbb eax, eax
mov ecx, edi
not eax
and eax, dword [esp + 0xc]
mov edx, 0x7d04ea20
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0xc]
cmp dword [edx], eax
je 0x7cf66eaf
add edx, 4
inc esi
cmp edx, 0x7d04ea60
jl 0x7cf66e9d
jmp 0x7cf66eb6
mov dword [esi*4 + 0x7d04ea20], ecx
test edi, edi
je 0x7cf66ec6
cmp esi, 0x10
jl 0x7cf66ec6
or dword [0x7d04ea10], 0xffffffff
pop edi
pop esi
ret 8
Function at 0x7cf67a69
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0xc
pop esi
xor edi, edi
push edi
lea eax, [ebp - 0x44]
push 0x400
push eax
mov dword [ebp - 0x10], esi
xor ebx, ebx
call sym.SHELL32.dll_SHGetSetSettings
cmp dword [ebp + 8], edi
je 0x7cf67be2
cmp dword [ebp + 0xc], edi
je 0x7cf67be2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
or al, 8
push 0x43
and al, 0xfe
mov dword [ebp - 0xc], edi
or al, 2
mov word [ebp - 0x24], si
shr ecx, 7
and al, 0xfb
and ecx, 1
and al, 0xdf
mov word [ebp - 0x22], 2
shl ecx, 5
or eax, ecx
mov dword [ebp - 0x1c], 0x60
and al, 0xbf
or ah, 1
and al, 0x7f
and ah, 1
mov dword [ebp - 0x20], eax
call fcn.7cf5b11e
test eax, eax
jne 0x7cf67b6e
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push 0x7cf32628
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cf67b6e
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push 0x7cf326a8
mov dword [ebp - 8], edi
push dword [ebp - 4]
mov dword [ebp - 0x14], 4
call esi
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push 0x7cf326c0
push dword [ebp - 4]
neg ebx
sbb ebx, ebx
inc ebx
call esi
test eax, eax
jne 0x7cf67b62
xor ecx, ecx
cmp dword [ebp - 8], edi
push 1
setne cl
xor ecx, dword [ebp - 0x20]
pop eax
mov dword [ebp - 0xc], eax
and ecx, eax
xor dword [ebp - 0x20], ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xc
pop esi
cmp ebx, edi
je 0x7cf67bbf
cmp word [ebp - 0x22], 2
jae 0x7cf67bbf
cmp word [ebp - 0x22], 1
jb 0x7cf67b87
jne 0x7cf67bac
cmp dword [ebp - 0xc], edi
jne 0x7cf67bac
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
and ecx, 0x80
and ax, 0x1df
or ch, 4
mov dword [ebp - 0x1c], 0x60
shr ecx, 7
shl ecx, 5
or eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
mov word [ebp - 0x24], si
push eax
mov word [ebp - 0x22], 2
call sym.SHELL32.dll_Ordinal_652
mov ecx, dword [ebp + 0xc]
mov word [ebp - 0x24], si
cmp ecx, esi
ja 0x7cf67bce
mov word [ebp - 0x24], cx
mov edi, dword [ebp + 8]
mov eax, ecx
lea esi, [ebp - 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 8
Function at 0x7cf67beb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov word [esi], cx
mov eax, dword [ebx]
add eax, 0xffffffdc
cmp eax, 8
ja case.0x7cf67c0c.39
jmp dword [eax*4 + 0x7cf67d08]
push esi
push dword [ebp + 0xc]
call fcn.7cf9de85
jmp 0x7cf67cef
push esi
push 0x7cf37874
jmp 0x7cf67c3f
push esi
push 0x7cf37854
jmp 0x7cf67c3f
push esi
push 0x7cf37828
jmp 0x7cf67c3f
push esi
push 0x7cf377fc
call fcn.7cf9dee2
jmp 0x7cf67cef
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x7cf67cef
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x7cf67cef
mov eax, dword [ebx + 0x10]
mov edi, 0x104
and eax, 0xf
dec eax
je 0x7cf67cc2
dec eax
je 0x7cf67cb8
dec eax
je 0x7cf67cb0
dec eax
push esi
je 0x7cf67c9e
push dword [ebp + 0xc]
call fcn.7cf9de85
test eax, eax
jne 0x7cf67cd1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebx], 5
jne 0x7cf67cd1
jmp 0x7cf67cca
push ecx
push dword [ebp + 0xc]
push 5
push ecx
call sym.SHELL32.dll_SHGetFolderPathW
test eax, eax
jge 0x7cf67cd1
jmp 0x7cf67d01
push esi
call fcn.7d03fb26
jmp 0x7cf67cd1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x7cf67cd1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [ebp - 0x208]
push edi
push eax
push dword [ebx + 4]
call fcn.7cf9df17
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret 0xc