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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c0d17
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c0d4d
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp - 8], 7
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4c0d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c0d97
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c0dcd
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp - 8], 1
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4c0de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c0e17
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c0e4d
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp - 8], 1
pop esi
sete al
mov esp, ebp
pop ebp
ret
Function at 0x4c0e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c0e97
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c0ecd
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp - 8], 3
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4c0ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x4c0f2e
mov ecx, dword [ebp + 0x18]
dec ecx
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call fcn.004ec074
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push edi
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x4c0f78
mov ecx, dword [ebp + 0x18]
dec ecx
push ecx
push dword [ebp + 0x10]
push esi
call fcn.004ec074
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 1
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c0f90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4c0fd1
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c1005
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c1010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4c1051
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c1085
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c1090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4c10d1
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov ecx, edx
push esi
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c10e0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
xor eax, eax
cmp dword [ebp + 0x14], eax
push edx
setne al
inc eax
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c112d
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c1140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4c1181
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 3
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c11b5
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c11c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4c1201
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov ecx, edx
push esi
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c1210
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c1255
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c8ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 0x14]
mov dword [ebp - 0x1020], ebx
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x4c8ca0
cmp dword [ebp + 8], 0
push 0
push esi
jne 0x4c8c09
push 0x200
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 0x18
lea eax, [ebp - 0x101c]
push eax
push 0
push 0
push 0x70000
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x4c8ca0
mov ecx, dword [ebp - 0x1008]
lea eax, [ecx - 0x200]
cmp eax, 0xe00
ja 0x4c8c98
push 0
mov ebx, 0x200
lea eax, [ebp - 0x1004]
cmp ecx, ebx
push esi
cmovb ecx, ebx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4c8ca0
cmp dword [esi], ebx
lea eax, [ebp - 0x1004]
cmovb ebx, dword [esi]
push ebx
push eax
push dword [ebp - 0x1020]
call fcn.004e4130
add esp, 0xc
cmp dword [esi], 0x200
jbe 0x4c8c82
mov dword [esi], 0x200
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4c97b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20118
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x20], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x20108], eax
mov dword [ebp - 0x20110], esi
je 0x4c97ef
test ebx, ebx
je 0x4c97ef
mov byte [0], 0
push edi
push 1
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.004bfdb0
add esp, 0xc
test eax, eax
je 0x4c994a
nop
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.004b6f80
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c994f
test ebx, ebx
je 0x4c983e
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
sub esi, 0x20000
sbb edi, eax
jmp 0x4c9855
xorps xmm0, xmm0
movlpd qword [ebp - 0x20118], xmm0
mov edi, dword [ebp - 0x20114]
mov esi, dword [ebp - 0x20118]
add esi, dword [ebp + 0x10]
push 0
adc edi, dword [ebp + 0x14]
push 0
push edi
push esi
push dword [ebp - 0x20108]
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x4c99b4
push 0
lea eax, [ebp - 0x2010c]
push eax
push 0x20000
lea eax, [ebp - 0x20104]
push eax
push dword [ebp - 0x20108]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4c99b4
cmp dword [ebp - 0x2010c], 0x200
jb 0x4c99b4
push dword [ebp - 0x20110]
lea eax, [ebp - 0x1ff04]
push 0
push 0x1fe00
push eax
call fcn.004b7190
add esp, 0x10
push 0
push 0
push edi
mov edi, dword [ebp - 0x20108]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x4c99b4
push 0
lea eax, [ebp - 0x2010c]
push eax
push 0x20000
lea eax, [ebp - 0x20104]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4c99b4
cmp dword [ebp - 0x2010c], 0x20000
jne 0x4c99b4
test ebx, ebx
jne 0x4c999a
cmp dword [ebp + 0x20], ebx
jne 0x4c999a
mov ebx, 1
lea eax, [ebp - 0x104]
push ebx
push 0x100
push eax
call fcn.004bfdb0
mov esi, dword [ebp - 0x20110]
add esp, 0xc
test eax, eax
jne 0x4c9810
mov esi, 0x1e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea ecx, [ebp - 0x104]
mov edx, 0x100
mov ebx, eax
mov edi, ecx
mov eax, edx
mov byte [edi], 0
lea edi, [edi + 1]
sub eax, 1
jne 0x4c9966
pop edi
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x4c9972
test esi, esi
je 0x4c9988
push ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20110]
lea eax, [ecx + 0x41a8]
push eax
push ecx
call fcn.004b6f80
add esp, 8
mov esi, eax
jmp 0x4c994f
mov esi, 1
jmp 0x4c994f
Function at 0x4cc5c0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push str.CnCrypt_SystemFavorites
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x4cc612
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], str.CnCrypt_SystemFavorites
cmp dword [ecx + 0x14], 8
jb 0x4cc5ec
mov ecx, dword [ecx]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
push 0
push 2
push 0
push 0xc0000001
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cd1b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514bf0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4fb8
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4fbc]
mov ecx, dword [0x56aac8]
push eax
mov dword [ebp - 0x4fc0], ebx
mov dword [ebp - 4], 0
call fcn.004af0c0
mov ecx, 0x17
mov esi, eax
mov edi, 0x56aad0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x4cd236
mov dword [ebp - 4], 0xffffffff
call fcn.004b0d40
test eax, eax
je 0x4cd252
push 0
push str.CANNOT_CREATE_RESCUE_DISK_ON_HIDDEN_OS
jmp 0x4cd3e6
cmp dword [0x56aade], 0
jne 0x4cd285
cmp dword [0x56aad6], 0
jne 0x4cd285
cmp dword [0x56aada], 0
jne 0x4cd285
push ebx
call fcn.0042c9b0
add esp, 4
test eax, eax
jne 0x4cd285
push eax
push str.SYS_DRIVE_NOT_ENCRYPTED
jmp 0x4cd3e6
push ebx
call fcn.0042c9b0
add esp, 4
test eax, eax
jne 0x4cd3df
cmp dword [0x56ab0e], eax
jne 0x4cd3df
call fcn.00419e30
push 0
test eax, eax
jne 0x4cd2b7
push str.SYSTEM_ENCRYPTION_IN_PROGRESS_ELSEWHERE
jmp 0x4cd3e6
push str.RESCUE_DISK_NON_WIZARD_CREATION_SELECT_PATH
mov dword [ebp - 4], 2
call fcn.00419550
add esp, 8
cmp eax, 1
je 0x4cd2da
call fcn.00419db0
jmp 0x4cd3ee
lea eax, [ebp - 0x101c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x52f3b8
push str.CnCrypt_Rescue_Disk.iso
push 0
push 1
push 0
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x101c]
push eax
push str.OPEN_TITLE
push ebx
call fcn.00404030
add esp, 0x24
test eax, eax
je 0x4cd2d0
call fcn.00421850
mov ecx, dword [0x56aac8]
lea eax, [ebp - 0x818]
push eax
push 0
call fcn.004ad310
call fcn.0042a490
test eax, eax
mov edx, str.RESCUE_DISK_NON_WIZARD_CREATION_BURN
mov ecx, str.RESCUE_DISK_NON_WIZARD_CREATION_WIN_ISOBURN
cmove ecx, edx
push ecx
call fcn.004bb8b0
add esp, 4
lea ecx, [ebp - 0x818]
push ecx
push eax
lea eax, [ebp - 0x4f5c]
push 0x1fa0
push eax
call fcn.00405500
add esp, 0x10
call fcn.0042a490
test eax, eax
lea eax, [ebp - 0x4f5c]
push 0
push eax
je 0x4cd39f
call fcn.004198e0
add esp, 8
cmp eax, 6
jne 0x4cd3a7
lea eax, [ebp - 0x818]
push eax
push ebx
call fcn.0042a540
jmp 0x4cd3a4
call fcn.00419b70
add esp, 8
mov dword [ebp - 4], 0xffffffff
call fcn.00419db0
call fcn.00421690
jmp 0x4cd3ee
push 0
push str.SYSTEM_ENCRYPTION_NOT_COMPLETED
call fcn.00419c20
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4cdcc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514d40
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x74]
mov ecx, dword [0x56aac8]
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 4], 0
call fcn.004af0c0
mov ecx, 0x17
mov esi, eax
mov edi, 0x56aad0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x4cdd2f
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
mov dword [ebp - 4], 0xffffffff
call esi
test ax, ax
jns 0x4cde3e
push 0x11
call esi
test ax, ax
jns 0x4cde3e
mov edi, dword [0x56aade]
test edi, edi
jne 0x4cdd70
xorps xmm0, xmm0
movlpd qword [ebp - 0x7c], xmm0
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
jmp 0x4cddbf
mov ecx, dword [0x56ab02]
sub ecx, dword [0x56aafa]
mov eax, dword [0x56ab06]
sbb eax, dword [0x56aafe]
add ecx, 1
push 0
push 0x64
adc eax, 0
push eax
push ecx
call fcn.004e2b40
mov esi, dword [0x56aaf2]
sub esi, dword [0x56aaea]
mov ecx, dword [0x56aaf6]
sbb ecx, dword [0x56aaee]
add esi, 1
adc ecx, 0
push ecx
push esi
push edx
push eax
call fcn.004e1fc0
push edx
push eax
push dword [0x56ab06]
xor eax, eax
push dword [0x56ab02]
cmp dword [0x56ab1e], eax
push dword [0x56aafe]
setne al
push dword [0x56aafa]
push dword [0x56aaf6]
push dword [0x56aaf2]
push dword [0x56aaee]
push dword [0x56aaea]
push dword [0x56ab26]
push dword [0x56ab22]
push eax
movzx eax, word [0x56aad4]
push edi
push dword [0x56aad6]
push dword [0x56aada]
push dword [0x56ab12]
push dword [0x56ab0e]
push eax
push dword [0x56aad0]
push str.Debugging_information_for_system_encryption:_n_nDeviceFilterActive:__d_nBootLoaderVersion:__x_nSetupInProgress:__d_nSetupMode:__d_nVolumeHeaderPresent:__d_nDriveMounted:__d_nDriveEncrypted:__d_nHiddenSystem:__d_nHiddenSystemPartitionStart:__I64d_nConfiguredEncryptedAreaStart:__I64d_nConfiguredEncryptedAreaEnd:__I64d_nEncryptedAreaStart:__I64d_nEncryptedAreaEnd:__I64d_nEncrypted:__I64d__
push ebx
call fcn.00419990
add esp, 0x58
cmp dword [0x56aade], 0
jne 0x4cde61
cmp dword [0x56aad6], 0
jne 0x4cde61
push 0
push str.SYS_DRIVE_NOT_ENCRYPTED
call fcn.00419b10
add esp, 8
jmp 0x4cde6e
push 0xffffffffffffffff
push 1
push ebx
call fcn.004a0030
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4d0750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xbc]
push esi
push edi
push 0x48
mov ecx, 0x1c
lea edi, [ebp - 0x74]
mov esi, 0x57f7e0
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004e46b0
add esp, 0xc
cmp dword [ebx + 0x64], 0
jne 0x4d07fb
mov eax, dword [0x57f71c]
mov dword [0x57f788], eax
cmp dword [ebx + 0x28], 0
je 0x4d080e
cmp dword [ebx + 0x2c], 8
lea eax, [ebx + 0x18]
jb 0x4d07ac
mov eax, dword [eax]
movzx eax, word [eax]
push eax
call fcn.004f842a
mov ecx, dword [0x5801a8]
add esp, 4
or ecx, dword [0x58d380]
lea esi, [eax - 0x41]
bt ecx, esi
setae al
test al, al
jne 0x4d07da
cmp dword [ebx + 0x80], 0
jne 0x4d080e
cmp esi, 0xffffffff
je 0x4d0811
test al, al
jne 0x4d0811
cmp dword [0x57f788], 0
jne 0x4d07fb
push 0
push str.DRIVE_LETTER_UNAVAILABLE
call fcn.00419a00
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
or esi, 0xffffffff
xor eax, eax
cmp dword [ebx + 0x74], eax
push 0x11
setne al
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x70], eax
xor eax, eax
cmp dword [ebx + 0x7c], eax
setne al
mov dword [ebp - 0x68], eax
mov eax, dword [0x57f79c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebx + 0x70]
mov dword [0x57f79c], eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4d08a2
lea eax, [ebp - 0xc8]
push eax
call fcn.004ba480
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [0x5685fc]
call fcn.0048dc20
add esp, 0x10
cmp eax, 2
jne 0x4d087b
xor edi, edi
jmp 0x4d08d1
cmp dword [ebp - 0x58], 0
je 0x4d08a2
cmp dword [ebp - 0xc8], 0
je 0x4d08a2
push dword [0x5685fc]
lea eax, [ebp - 0x50]
push dword [ebp - 0xc4]
push eax
call fcn.004b9c20
add esp, 0xc
add ebx, 0x30
cmp dword [ebx + 0x14], 8
jb 0x4d08ad
mov ebx, dword [ebx]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xbc]
push eax
push ebx
push esi
push dword [0x5685fc]
call fcn.004d0c00
add esp, 0x14
mov edi, eax
neg edi
sbb edi, edi
and edi, 1
mov eax, dword [ebp - 0xc0]
mov ecx, 0x48
mov dword [0x57f79c], eax
mov esi, ecx
lea eax, [ebp - 0xbc]
mov dword [0x57f788], 0
mov edx, eax
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4d08f5
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4d0900
test edi, edi
je 0x4d091c
cmp dword [0x57f7c4], ecx
je 0x4d091c
call fcn.004c2be0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4d30e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [0x56860c], 0
je 0x4d3194
push esi
push 0x30
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.004e46b0
mov eax, dword [0x568608]
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x28], 0x421680
push eax
mov dword [ebp - 8], str.CnCryptEnableElevatedCursorChange
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push dword [0x568608]
push 0
push dword [ebp + 8]
push 1
call esi
push eax
push 0
call esi
push eax
push 0
push 0
push 0
push str.CnCrypt_UAC
push str.CnCryptEnableElevatedCursorChange
push 0x80080
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 2
push 1
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x568608]
push str.CnCryptEnableElevatedCursorChange
call dword [sym.imp.USER32.dll_UnregisterClassW]
pop esi
mov esp, ebp
pop ebp
ret