joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7cfa8ffa
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
push esi
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test byte [esi + 0x11bc], 1
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x7cfa9070
push 9
push ebx
call ebp
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x18]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
call edi
lea eax, [esp + 0x28]
push eax
push 2
push ebx
call ebp
push eax
call edi
push 0
push 0
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x30]
push eax
push 2
push 0x7d04b3f0
push ebx
call fcn.7cfa8cbb
push 0x2020
push ebx
call ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
and dword [esp + 0x10], 0
cmp dword [esi + 0x11b8], 0
jle 0x7cfa90ee
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x44]
add eax, 4
push eax
push 0
push 0x143
push ebx
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x7cfa90d6
push dword [esp + 0x44]
push eax
push 0x151
push ebx
call edi
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp eax, dword [esi + 0x11c0]
jne 0x7cfa90d6
push 0
push dword [esp + 0x18]
push 0x14e
push ebx
call edi
inc dword [esp + 0x10]
add dword [esp + 0x44], 0x288
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x11b8]
jl 0x7cfa9092
push 0
push 0
push 0x147
push ebx
call edi
cmp eax, 0xffffffff
jne 0x7cfa910b
push 0
push 0
push 0x14e
push ebx
call edi
push 0x2021
push dword [esp + 0x40]
call ebp
push eax
push ebx
call fcn.7cfa9163
push 1
pop eax
pop edi
mov dword [esi + 0x11c4], eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
Function at 0x7cfa934e
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
push esi
push 0x20019
push esi
push esi
push esi
mov ebx, reloc.SHLWAPI.dll_ParseURLA
push 0x7cf33008
push ebx
call edi
cmp eax, esi
jne 0x7cfa93ac
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push 0x7cf38ed4
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
push 2
pop eax
jne 0x7cfa93b7
mov dword [ebp - 8], eax
push esi
push esi
push eax
push dword [ebp + 0x10]
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.7cfa92eb
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x7cfa940f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x7cf33008
push ebx
call edi
test eax, eax
jne 0x7cfa940f
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push esi
push 0x7cf38ed4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
and dword [ebp - 0x2c8], 0
push esi
push edi
mov ecx, 0xb1
xor eax, eax
lea edi, [ebp - 0x2c4]
push 0x104
push dword [ebp + 8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7cfa9d04
test ah, 0x10
jne 0x7cfa9d04
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.7cf5915c
test eax, eax
je 0x7cfa9d04
mov eax, dword [0x7d04cdfc]
and dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2c8]
push eax
mov dword [ebp - 0x2c8], 0x2c8
mov dword [ebp - 0x2bc], 0x413
mov dword [ebp - 0x2b0], 0x7cfa9ba3
call dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageW]
mov esi, eax
test esi, esi
je 0x7cfa9d04
push dword [ebp + 0x10]
push esi
call dword [ebp + 0xc]
test eax, eax
jne 0x7cfa9d04
push esi
call dword [sym.imp.COMCTL32.dll_DestroyPropertySheetPage]
pop edi
pop esi
leave
ret 0xc
Function at 0x7cfab272
Capabilities:
Get file size
Query environment variable
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov eax, dword [0x7cf3a19c]
push esi
push edi
push 8
mov esi, 0x7cf3a17c
pop ecx
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ebx, ebx
push 0x8001
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
call esi
cmp dword [0x7ffe02c0], 1
mov edi, eax
jne 0x7cfab2cd
lea eax, [ebp - 0x1c]
push 3
push eax
push 0x7cf3a098
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x7cfab2cd
mov ax, word [ebp - 0x1c]
mov word [ebp - 0x3c], ax
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x3c]
push ParseURLA
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
mov dword [ebp - 0x10], eax
call esi
mov edi, dword [ebp - 0x10]
cmp edi, 0xffffffff
jne 0x7cfab2fc
xor eax, eax
jmp 0x7cfab3da
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x7cfab3c2
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x7cfab3c2
lea ecx, [ebp - 0x14]
push ebx
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x7cfab3c2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax], bl
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.7d0422ac
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x7cfab3bc
mov al, byte [esi]
cmp al, bl
je 0x7cfab370
cmp al, 0x20
jne 0x7cfab370
inc esi
jmp 0x7cfab363
cmp byte [esi], 0x40
jne 0x7cfab376
inc esi
mov al, byte [esi]
cmp al, bl
je 0x7cfab380
cmp al, 0x20
je 0x7cfab375
push 4
push 0x7cf3a174
push esi
call sub.ntdll.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x7cfab39d
push dword [ebp + 8]
push esi
call fcn.7cfaaff0
push 3
push 0x7cf3a170
push esi
call sub.ntdll.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x7cfab34e
push dword [ebp + 8]
push esi
call fcn.7cfab24a
jmp 0x7cfab34e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x7cfab3d7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x7cfab5cd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push edi
xor esi, esi
push eax
push 0x20019
push esi
push 0x7cf3a1f8
push reloc.SHLWAPI.dll_ParseURLW
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cfab623
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x7cf3a1d4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
je 0x7cfab657
push 0x7cf3a1b8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, esi
je 0x7cfab657
push 0x7cf3a1a0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x7cfab650
push esi
push esi
push dword [ebp + 8]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
leave
ret 4
Function at 0x7cfad309
Capabilities:
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
mov ebx, esi
jne 0x7cfad32f
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
jmp 0x7cfad383
and word [ebp - 2], 0
push edi
lea edi, [eax + 0x41]
lea eax, [ebp - 8]
push eax
mov word [ebp - 8], 0x3d
mov word [ebp - 6], di
mov word [ebp - 4], 0x3a
call fcn.7cfad279
test eax, eax
jne 0x7cfad36c
mov word [esi], di
inc esi
inc esi
mov word [esi], 0x3a
inc esi
inc esi
mov word [esi], 0x5c
and word [esi + 2], ax
jmp 0x7cfad375
push eax
push esi
call sub.ntdll.dll_wcscpy
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
pop edi
neg eax
sbb eax, eax
inc eax
pop esi
pop ebx
leave
ret 8

Function at 0x7cfad3d7
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
lea eax, [ebp - 0x41c]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx eax, word [ebp - 0x41c]
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
push eax
call edi
mov esi, dword [ebp + 8]
mov ebx, eax
mov word [ebp - 0xc], 0x3d
mov ax, word [esi]
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaW]
test eax, eax
je 0x7cfad437
cmp word [esi + 2], 0x3a
jne 0x7cfad437
movzx eax, word [esi]
push eax
call edi
mov bx, ax
add esi, 4
mov word [ebp - 0xa], bx
jmp 0x7cfad43b
mov word [ebp - 0xa], bx
mov ax, word [esi]
and word [ebp - 6], 0
cmp ax, 0x5c
mov word [ebp - 8], 0x3a
je 0x7cfad4ba
cmp ax, 0x2f
je 0x7cfad4ba
lea eax, [ebp - 0xc]
push eax
call fcn.7cfad279
test eax, eax
mov dword [ebp - 4], eax
je 0x7cfad476
push eax
lea eax, [ebp - 0x214]
push eax
call sub.ntdll.dll_wcscpy
pop ecx
pop ecx
jmp 0x7cfad494
mov ax, word [ebp - 0xa]
and word [ebp - 0x210], 0
mov word [ebp - 0x214], ax
mov ax, word [ebp - 8]
mov word [ebp - 0x212], ax
lea eax, [ebp - 0x214]
push eax
call sub.ntdll.dll_wcslen
lea eax, [ebp + eax*2 - 0x214]
pop ecx
mov dword [ebp - 4], eax
push esi
mov word [eax], 0x5c
add dword [ebp - 4], 2
push dword [ebp - 4]
jmp 0x7cfad4d2
lea eax, [ebp - 0x210]
push esi
mov word [ebp - 0x214], bx
mov word [ebp - 0x212], 0x3a
push eax
call sub.ntdll.dll_wcscpy
pop ecx
lea eax, [ebp - 4]
pop ecx
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x7cfad54c
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7cfad54c
test al, 0x10
je 0x7cfad54c
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.7cfad251
test eax, eax
je 0x7cfad528
push 8
jmp 0x7cfad54e
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x41c]
push eax
push 0x7d04db78
call sub.ntdll.dll_wcscpy
pop ecx
xor eax, eax
pop ecx
jmp 0x7cfad54f
push 5
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cfae4ef
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
mov esi, dword [esp + 0xc]
jge 0x7cfae508
or byte [esi + 3], 0x10
push 0x11
call edi
test ax, ax
jge 0x7cfae515
or byte [esi + 3], 0x20
pop edi
pop esi
ret 4

Function at 0x7cfae617
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor edi, edi
push edi
push 0x20100000
push 3
push edi
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x7cfae675
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x7cfae67d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
lea eax, [ebp - 0x40]
push 0x20
push eax
push 0x10
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x7cfae69f
push 3
pop eax
leave
ret
mov edx, dword [ebp - 0x40]
push edi
push esi
xor eax, eax
lea ecx, [ebp - 0x40]
cmp dx, 0x30
je 0x7cfae6d4
movzx esi, dx
lea edi, [esi - 0x30]
cmp edi, 0xa
jae 0x7cfae6c3
lea eax, [eax + eax*4]
lea eax, [esi + eax*2 - 0x30]
jmp 0x7cfae6c8
test dx, dx
je 0x7cfae6cf
inc ecx
inc ecx
mov dx, word [ecx]
jmp 0x7cfae6a9
lea eax, [eax + eax*4]
shl eax, 1
pop esi
pop edi
leave
ret
Function at 0x7cfae6ed
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
cmp dword [ebp + 0x18], 0
push ebx
push esi
push edi
mov esi, 0x400
je 0x7cfae7f7
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x7cfae712
and dword [ebp + 0x20], eax
test byte [ebp + 0x20], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrToIntW]
je 0x7cfae72b
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
jmp 0x7cfae742
lea eax, [ebp - 0x4c]
push 0x14
push eax
push 0x11
push esi
call edi
lea eax, [ebp - 0x4c]
push eax
call ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
test byte [ebp + 0x20], 2
je 0x7cfae750
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
jmp 0x7cfae767
lea eax, [ebp - 0x4c]
push 0x14
push eax
push 0x12
push esi
call edi
lea eax, [ebp - 0x4c]
push eax
call ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
test byte [ebp + 0x20], 4
je 0x7cfae775
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
jmp 0x7cfae78c
lea eax, [ebp - 0x4c]
push 0x14
push eax
push 0x10
push esi
call edi
lea eax, [ebp - 0x4c]
push eax
call ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
test byte [ebp + 0x20], 8
je 0x7cfae79a
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
jmp 0x7cfae7ae
lea eax, [ebp - 0x24]
push 5
push eax
push 0xe
push esi
call edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
test byte [ebp + 0x20], 0x10
je 0x7cfae7bc
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
jmp 0x7cfae7d0
lea eax, [ebp - 0x58]
push 5
push eax
push 0xf
push esi
call edi
lea eax, [ebp - 0x58]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
test byte [ebp + 0x20], 0x20
je 0x7cfae7db
mov eax, dword [eax + 0x14]
jmp 0x7cfae7ef
lea eax, [ebp - 0x4c]
push 0x14
push eax
push 0x1010
push esi
call edi
lea eax, [ebp - 0x4c]
push eax
call ebx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x18]
jmp 0x7cfae7fa
mov edi, dword [ebp + 0x1c]
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.7cf55d74
cmp dword [ebp + 0x18], 0
push dword [ebp + 0x14]
je 0x7cfae830
push dword [ebp + 0x10]
lea eax, [ebp - 0x264]
push edi
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
je 0x7cfae849
dec eax
jmp 0x7cfae849
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x7cfae892
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push ebx
xor ebx, ebx
push eax
push 0x20019
push ebx
push 0x7cf3c3f0
push reloc.SHLWAPI.dll_ParseURLW
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cfae927
push edi
push esi
push 4
lea eax, [ebp - 4]
pop edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x7cf3c3d8
mov dword [ebp - 8], ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x7cfae91c
lea eax, [ebp - 4]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x7cf3c3bc
mov dword [ebp - 4], edi
push dword [ebp - 0xc]
call esi
test eax, eax
jne 0x7cfae91c
push 1
pop eax
cmp dword [ebp - 0x14], eax
jne 0x7cfae919
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], eax
ja 0x7cfae91c
mov dword [ebp - 0x10], ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov eax, dword [ebp - 0x10]
pop ebx
leave
ret

Function at 0x7cfae92d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
or word [esi], 0x2820
cmp dword [0x7d04ce40], edi
je 0x7cfae94f
xor eax, eax
jmp 0x7cfae95b
push edi
call dword [sym.imp.SHLWAPI.dll_SHIsLowMemoryMachine]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esi]
and eax, 1
and ecx, 0xffffffbf
push edi
shl eax, 6
or ecx, eax
push 0x7cf3c510
lea eax, [ebp - 0x214]
push 0x104
push eax
mov dword [esi], ecx
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], edi
mov dword [ebp - 8], 4
call fcn.7d032e56
lea eax, [ebp - 8]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push 0x7cf3c4f0
mov ebx, reloc.SHLWAPI.dll_ParseURLA
push eax
push ebx
call edi
mov eax, dword [0x7d04dd88]
mov eax, dword [eax]
cmp eax, 0x10
je 0x7cfae9c5
cmp eax, 0x18
jne 0x7cfae9dc
mov eax, dword [esi]
mov ecx, eax
shr eax, 3
and eax, 1
and ecx, 0xffffffef
shl eax, 4
or ecx, eax
or ecx, 8
mov dword [esi], ecx
mov eax, 0x10e
cmp dword [ebp + 8], eax
je 0x7cfaea1e
jbe 0x7cfaea39
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x7cf3c4d4
push 0x7cf3c478
push ebx
mov dword [ebp - 8], 4
call edi
cmp dword [ebp - 4], 0x10e
je 0x7cfaea1e
cmp dword [ebp - 4], 0x10f
jne 0x7cfaea39
call fcn.7cfae892
mov ecx, dword [esi]
xor edx, edx
and ecx, 0xffffffbf
test eax, eax
sete dl
and edx, 1
shl edx, 6
or ecx, edx
mov dword [esi], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cfaea82
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ecx
mov eax, dword [0x7d04dd88]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [esp + 0x10], esi
jne 0x7cfaeaab
mov dword [0x7d04dd88], 0x7d04dd90
mov dword [esp + 0x14], 0x24
jmp 0x7cfaeab1
mov eax, dword [eax]
mov dword [esp + 0x14], eax
push 1
pop edi
push edi
push reloc.SHLWAPI.dll_ParseURLA
call fcn.7cf5afcc
mov ebp, eax
cmp ebp, esi
je 0x7cfaeb3f
lea eax, [esp + 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push eax
mov ebx, 0x7cf3c5a0
push dword [0x7d04dd88]
push esi
push esi
push ebx
push ebp
call edi
mov esi, eax
cmp esi, 0xea
jne 0x7cfaeb20
push dword [esp + 0x14]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [0x7d04dd88], eax
je 0x7cfaeb20
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push 0
push ebx
push ebp
call edi
mov esi, eax
test esi, esi
je 0x7cfaeb35
push dword [0x7d04dd88]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x7cfaeb35
and dword [0x7d04dd90], 0
mov dword [0x7d04dd88], 0x7d04dd90
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop edi
mov eax, dword [0x7d04dd88]
mov ecx, dword [eax]
cmp ecx, 0x10
je 0x7cfaeba0
cmp ecx, 0x18
je 0x7cfaeba0
cmp ecx, 0x1c
jb 0x7cfaeb76
mov ecx, dword [eax + 0x18]
push 0xa
pop edx
cmp ecx, edx
jae 0x7cfaeb63
mov dword [esp + 0x10], edi
cmp ecx, 9
jne 0x7cfaeb70
mov dword [eax + 0x18], edx
mov eax, dword [0x7d04dd88]
or byte [eax + 5], 0x20
jmp 0x7cfaebc4
mov dword [eax], 0x24
mov eax, dword [0x7d04dd88]
mov dword [eax + 0x14], edi
mov eax, dword [0x7d04dd88]
add eax, 4
push eax
call fcn.7cfae92d
mov eax, dword [0x7d04dd88]
mov dword [eax + 0x18], 0xa
jmp 0x7cfaebc0
add eax, 4
push eax
call fcn.7cfae92d
mov eax, dword [0x7d04dd88]
mov dword [eax + 0x18], 0xa
mov eax, dword [0x7d04dd88]
mov dword [eax], 0x24
mov dword [esp + 0x10], edi
push 0x4000004a
call sym.SHELL32.dll_SHRestricted
test eax, eax
je 0x7cfaebdd
mov eax, dword [0x7d04dd88]
or dword [eax + 4], 0x40
jmp 0x7cfaebf4
push 0x40000004
call sym.SHELL32.dll_SHRestricted
test eax, eax
je 0x7cfaebf4
mov eax, dword [0x7d04dd88]
and dword [eax + 4], 0xffffffbf
push 0x40000033
call sym.SHELL32.dll_SHRestricted
test eax, eax
mov esi, 0xffffdfff
je 0x7cfaec0f
mov eax, dword [0x7d04dd88]
and dword [eax + 4], esi
push 0x40000008
call sym.SHELL32.dll_SHRestricted
test eax, eax
je 0x7cfaec40
mov eax, dword [0x7d04dd88]
or byte [eax + 4], 0x80
mov eax, dword [0x7d04dd88]
and dword [eax + 4], 0xffffffdf
mov eax, dword [0x7d04dd88]
and dword [eax + 4], esi
mov eax, dword [0x7d04dd88]
and dword [eax + 4], 0xffffffbf
push 0x40000037
call sym.SHELL32.dll_SHRestricted
test eax, eax
je 0x7cfaec57
mov eax, dword [0x7d04dd88]
and byte [eax + 5], 0x7f
push 0x800000
call sym.SHELL32.dll_SHRestricted
test eax, eax
je 0x7cfaec6d
mov eax, dword [0x7d04dd88]
or dword [eax + 0x20], edi
cmp dword [esp + 0x10], 0
je 0x7cfaec7d
call fcn.7cfaea40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x7cfaf384
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
ret 0xc
Function at 0x7cfb0157
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov word [ebp - 0x200], di
mov esi, 0x80
jne 0x7cfb0190
lea eax, [ebp - 0x200]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x200]
mov dword [ebp + 0xc], eax
push edi
lea eax, [ebp - 0x100]
push esi
push eax
push edi
push 0xe
mov word [ebp - 0x100], di
push edi
mov edi, 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov ebx, dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, ebx
or eax, 0x10000
push eax
lea eax, [ebp - 0x100]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
jne 0x7cfb01e7
or ebx, edi
lea eax, [ebp - 0x100]
push ebx
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 0xc