joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f660
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489470
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x4b38b4]
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 esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f6a0
sub eax, edx
cmp eax, 2
push 0x105
lea eax, [ebp - 0x11c]
jae 0x40f72f
mov ecx, dword [0x4dc364]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x40a
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x32c]
push ecx
call fcn.0042fc30
add esp, 0xc
cmp dword [ebp - 0x330], 0
je 0x40f84b
mov edx, dword [0x4dc364]
push 0x3ef
push edx
call esi
push eax
call fcn.0040c9d0
add esp, 4
test ax, ax
je 0x40f739
cmp dword [ebp + 0xc], 0
jne 0x40f85e
push str.SELECT_FREE_DRIVE
jmp 0x40f856
push esi
push eax
call fcn.0046adb0
add esp, 0xc
lea ecx, [ebp - 0x11c]
push 0x5c
push ecx
call fcn.0046a760
add esp, 8
test eax, eax
je 0x40f84b
push str.Partition0
push eax
call fcn.0046b2c4
add esp, 8
test eax, eax
je 0x40f84b
mov ecx, dword [0x4b89d4]
lea edx, [ebp - 0x396]
push edx
mov dword [ebp - 4], 0
call fcn.00423cd0
mov ecx, 0x17
mov esi, eax
mov edi, 0x4b8798
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp dword [0x4b879e], 0
je 0x40f819
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 0x11c]
push 0x48e690
push ecx
call fcn.0046a9ba
add esp, 0xc
cmp eax, 1
je 0x40f7d3
cmp dword [ebp + 0xc], 0
jne 0x40f85e
push str.INVALID_PATH
call fcn.00432fe0
jmp 0x40f85b
mov edx, dword [ebp - 0x334]
push edx
push 0x48e670
lea eax, [ebp - 0x224]
push 0x105
push eax
call fcn.0046a8a1
call fcn.004309a0
mov ecx, dword [0x4dc364]
push 1
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.004466f0
add esp, 0x1c
mov esi, eax
call fcn.00433ac0
cmp esi, 2
je 0x40f820
mov eax, 1
jmp 0x40f860
cmp dword [ebp + 0xc], 0
jne 0x40f85e
push str.MOUNT_WITHOUT_PBA_VOL_ON_ACTIVE_SYSENC_DRIVE
jmp 0x40f856
cmp dword [ebp + 0xc], 0
jne 0x40f85e
push str.NO_SYSENC_PARTITION_SELECTED
call fcn.00432f40
add esp, 4
xor eax, eax
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.00469f7b
mov esp, ebp
pop ebp
ret

Function at 0x4111d0
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [0x4dc37c]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x40a
push esi
call edi
push eax
call fcn.0042ac80
add esp, 8
cmp dword [0x4b0354], 0
je 0x411206
push esi
call fcn.0040f240
add esp, 4
cmp dword [0x4b89f0], 0
je 0x411230
mov edx, dword [0x4b118c]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push 0
push 0x222030
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
invalid
invalid
invalid
Function at 0x4112a0
Capabilities:
Access the windows event log

Disassembly:
sub esp, 8
push esi
push edi
push str.TrueCryptSystemFavorites
push 0
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x4112fc
cmp dword [edi + 0x18], 0x10
mov dword [esp + 8], str.TrueCryptSystemFavorites
jb 0x4112d1
mov eax, dword [edi + 4]
mov dword [esp + 0xc], eax
jmp 0x4112d8
add edi, 4
mov dword [esp + 0xc], edi
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 2
push 0
push 0xc0000001
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
add esp, 8
ret
Function at 0x412b80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489660
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4b89d4]
lea eax, [ebp - 0x72]
push eax
mov dword [ebp - 4], 0
call fcn.00423cd0
mov ecx, 0x17
mov esi, eax
mov edi, 0x4b8798
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
jge 0x412ced
push 0x11
call esi
test ax, ax
jge 0x412ced
mov esi, dword [0x4b87a6]
test esi, esi
jne 0x412c16
xor eax, eax
xor edx, edx
jmp 0x412c65
mov eax, dword [0x4b87ca]
sub eax, dword [0x4b87c2]
mov ecx, dword [0x4b87ce]
sbb ecx, dword [0x4b87c6]
push 0
add eax, 1
push 0x64
adc ecx, 0
push ecx
push eax
call fcn.0046b780
mov ecx, dword [0x4b87ba]
sub ecx, dword [0x4b87b2]
mov edi, dword [0x4b87be]
sbb edi, dword [0x4b87b6]
add ecx, 1
adc edi, 0
push edi
push ecx
push edx
push eax
call fcn.0046b6d0
mov ecx, dword [0x4b87c6]
push edx
mov edx, dword [0x4b87ce]
push eax
mov eax, dword [0x4b87ca]
push edx
mov edx, dword [0x4b87c2]
push eax
mov eax, dword [0x4b87be]
push ecx
mov ecx, dword [0x4b87ba]
push edx
mov edx, dword [0x4b87b6]
push eax
mov eax, dword [0x4b87b2]
push ecx
mov ecx, dword [0x4b87ee]
push edx
mov edx, dword [0x4b87ea]
push eax
xor eax, eax
cmp dword [0x4b87e6], eax
push ecx
mov ecx, dword [0x4b879e]
push edx
mov edx, dword [0x4b87a2]
setne al
push eax
mov eax, dword [0x4b87da]
push esi
push ecx
mov ecx, dword [0x4b87d6]
push edx
movzx edx, word [0x4b879c]
push eax
mov eax, dword [0x4b8798]
push ecx
push edx
push eax
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__
call fcn.00433340
add esp, 0x54
cmp dword [0x4b87a6], 0
jne 0x412d1e
cmp dword [0x4b879e], 0
jne 0x412d1e
push str.SYS_DRIVE_NOT_ENCRYPTED
call fcn.00432ee0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4dc364]
mov edx, dword [0x4dc3d0]
push 1
push 0x411f80
push ecx
push 0x6c
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413c50
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x489852
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x874], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0x88c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x89c]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edx, dword [0x4dc364]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
call edi
push eax
call fcn.0040c9d0
mov esi, eax
mov eax, 0xf
mov dword [esp + 0x120], eax
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
xor ecx, ecx
mov dword [esp + 0x898], ebx
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], cx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
push 0x254
lea edx, [esp + 0x128]
push ebx
push edx
mov byte [esp + 0x8a4], 2
call fcn.0046a470
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
add esp, 0x10
cmp si, bx
je 0x413d67
mov eax, 0xffff
cmp si, ax
je 0x413d67
mov ecx, esi
shr ecx, 0x10
cmp ecx, eax
je 0x413d67
invalid
invalid
invalid
Function at 0x416250
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x489933
mov eax, dword fs:[0]
push eax
sub esp, 0x3f0
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x3ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0x404]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], edi
mov byte [esp + 0x90], 0
mov dword [esp + 0x40c], edi
lea ebp, [edi + 0x10]
cmp dword [esp + 0x414], edi
je 0x41632b
lea eax, [esp + 0x18]
push eax
xor ecx, ecx
call fcn.00413c50
add esp, 4
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x418], 1
call fcn.00401e90
mov byte [esp + 0x40c], 0
cmp dword [esp + 0x30], ebp
jb 0x4162fc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00469789
add esp, 4
cmp dword [esp + 0xa0], edi
jne 0x4164c1
cmp dword [esp + 0xa4], ebp
jb 0x416746
mov edx, dword [esp + 0x90]
push edx
call fcn.00469789
add esp, 4
jmp 0x416746
mov eax, dword [0x4dc364]
cmp dword [esp + 0x418], edi
je 0x41644f
push 0x3ef
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0040c9d0
mov esi, eax
mov ecx, 0xffff
add esp, 4
cmp si, cx
je 0x41642d
push 0x254
lea edx, [esp + 0xac]
push edi
push edx
call fcn.0046a470
add esp, 0xc
push edi
mov eax, esi
shr eax, 0x10
movsx ecx, al
lea edx, [esp + 0x54]
push edx
mov edx, dword [0x4b118c]
push 0x254
lea eax, [esp + 0xb4]
push eax
sub ecx, 0x41
push 0x254
mov dword [esp + 0xbc], ecx
mov ecx, eax
push ecx
push 0x22201c
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4163ce
mov eax, dword [0x4dc364]
push eax
call fcn.00433e20
add esp, 4
jmp 0x41673a
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402960
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x414], 2
call fcn.0043e450
add esp, 8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x418], 3
call fcn.00401e90
lea ecx, [esp + 0x54]
call fcn.00401cf0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40c], 0
call fcn.0043a110
jmp 0x41649e
cmp dword [esp + 0xa4], ebp
jb 0x416746
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00469789
add esp, 4
jmp 0x416746
push 0x104
lea edx, [esp + 0x300]
push edx
push 0x40a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x2fc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416480
sub eax, edx
push eax
lea ecx, [esp + 0x300]
push ecx
lea ecx, [esp + 0x94]
call fcn.00402150
cmp dword [esp + 0xa0], edi
jne 0x4164c1
push str.NO_VOLUME_SELECTED
call fcn.00432f40
add esp, 4
cmp dword [esp + 0xa4], 0x10
jmp 0x416310
call fcn.004309a0
mov eax, dword [esp + 0x90]
cmp dword [esp + 0xa4], ebp
jae 0x4164dd
lea eax, [esp + 0x90]
invalid
invalid
invalid
Function at 0x416770
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x4150]
mov eax, 0x4150
call fcn.0046a9e0
push 0xffffffffffffffff
push 0x489978
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4b38b4]
xor eax, ebp
mov dword [ebp + 0x414c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4b89d4]
lea eax, [ebp - 0x92]
push eax
mov dword [ebp - 4], 0
call fcn.00423cd0
mov ecx, 0x17
mov esi, eax
mov edi, 0x4b8798
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 4], 0xffffffff
call fcn.00433520
test eax, eax
je 0x416812
push str.CANNOT_CREATE_RESCUE_DISK_ON_HIDDEN_OS
jmp 0x4169b7
cmp dword [0x4b87a6], 0
jne 0x416840
cmp dword [0x4b879e], 0
jne 0x416840
cmp dword [0x4b87a2], 0
jne 0x416840
call fcn.0040a3d0
test eax, eax
jne 0x416840
push str.SYS_DRIVE_NOT_ENCRYPTED
jmp 0x4169b7
call fcn.0040a3d0
test eax, eax
jne 0x4169b2
cmp dword [0x4b87d6], eax
jne 0x4169b2
call fcn.00434230
test eax, eax
je 0x4169ab
push str.RESCUE_DISK_NON_WIZARD_CREATION_SELECT_PATH
mov dword [ebp - 4], 2
call fcn.004330e0
add esp, 4
cmp eax, 1
je 0x416889
call fcn.00434290
jmp 0x4169bf
lea eax, [ebp + 0x3f40]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov eax, dword [0x4dc364]
push 0x48fd44
push str.TrueCrypt_Rescue_Disk.iso
push 0
push 1
push 0
lea ecx, [ebp + 0x4044]
push ecx
lea edx, [ebp + 0x3f40]
push edx
push str.OPEN_TITLE
push eax
call fcn.004391a0
add esp, 0x24
test eax, eax
je 0x41687f
call fcn.004309a0
lea ecx, [ebp + 0x4044]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004028e0
mov ecx, dword [0x4b89d4]
lea edx, [ebp - 0x34]
push edx
push 0
mov byte [ebp - 4], 3
call fcn.00429a90
lea ecx, [ebp - 0x34]
call fcn.00401cf0
call fcn.00436140
test eax, eax
mov eax, str.RESCUE_DISK_NON_WIZARD_CREATION_WIN_ISOBURN
jne 0x416917
mov eax, str.RESCUE_DISK_NON_WIZARD_CREATION_BURN
lea ecx, [ebp + 0x4044]
push ecx
push eax
call fcn.0044ab30
add esp, 4
push eax
lea edx, [ebp]
push 0x1fa0
push edx
call fcn.0046b572
add esp, 0x10
call fcn.00436140
test eax, eax
lea eax, [ebp]
push eax
je 0x416975
call fcn.00433040
add esp, 4
cmp eax, 6
jne 0x416969
mov edx, dword [0x4dc364]
lea ecx, [ebp + 0x4044]
push ecx
push edx
call fcn.0043eb20
add esp, 8
call fcn.00434290
call fcn.00433ac0
jmp 0x4169bf
call fcn.00432f10
add esp, 4
call fcn.00434290
call fcn.00433ac0
jmp 0x4169bf
push str.SYSTEM_ENCRYPTION_IN_PROGRESS_ELSEWHERE
jmp 0x4169b7
push str.SYSTEM_ENCRYPTION_NOT_COMPLETED
call fcn.00432f40
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414c]
xor ecx, ebp
call fcn.00469f7b
add ebp, 0x4150
mov esp, ebp
pop ebp
ret
Function at 0x416bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x222e4
call fcn.0046a9e0
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x222e0], eax
push ebp
mov ebp, dword [esp + 0x222ec]
push esi
mov esi, dword [esp + 0x222f8]
push edi
push 1
xor edi, edi
push ebp
push esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x40], edi
mov dword [esp + 0x78], edi
call fcn.004466f0
dec eax
add esp, 0xc
cmp eax, 1
ja 0x416c36
push str.BACKUP_HEADER_NOT_FOR_SYS_DEVICE
call fcn.00433210
add esp, 4
cmp eax, 6
jne 0x416c1c
call fcn.00416770
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x222e0]
xor ecx, esp
call fcn.00469f7b
add esp, 0x222e4
ret
push ebx
push esi
call fcn.00440aa0
add esp, 4
test eax, eax
je 0x416c58
push str.DISMOUNT_FIRST
call fcn.00432f40
add esp, 4
xor esi, esi
jmp 0x4170d9
push esi
call fcn.0043e980
add esp, 4
test eax, eax
jne 0x416c75
push ebp
call fcn.00433e20
add esp, 4
xor esi, esi
jmp 0x4170d9
push str.EXTERNAL_VOL_HEADER_BAK_FIRST_INFO
call fcn.00432ee0
add esp, 4
call fcn.004309a0
mov dword [esp + 0x10], edi
jmp 0x416c90
cmp dword [esp + 0x10], 1
jne 0x416ca4
lea ebx, [esp + 0x70]
lea edi, [esp + 0xa8]
jmp 0x416cb0
lea ebx, [esp + 0x38]
mov edi, 0x4b85d0
lea ecx, [ecx]
mov esi, 1
mov eax, str.ENTER_HIDDEN_VOL_PASSWORD
cmp dword [esp + 0x10], esi
je 0x416cc5
mov eax, str.ENTER_NORMAL_VOL_PASSWORD
push edi
push 0x4155e0
push ebp
mov dword [0x4b87f8], eax
mov eax, dword [0x4dc3d0]
push 0x68
push eax
mov dword [0x4b4e20], esi
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, esi
jne 0x416ecd
call fcn.004309a0
cmp dword [0x4dc3a4], 0
je 0x416d0e
mov eax, dword [0x4dc3a8]
test eax, eax
je 0x416d0e
push eax
push edi
call fcn.004493b0
add esp, 8
mov ecx, dword [0x4b1188]
mov edx, dword [esp + 0x18]
push 0
push ecx
push 0
push edi
push edx
push ebx
call fcn.00435bf0
add esp, 0x18
mov esi, eax
call fcn.00433ac0
test esi, esi
jne 0x416ea5
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x416e76
mov eax, dword [ebx + 4]
cmp dword [eax + 0x29a0], esi
jne 0x416e8f
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x43ec]
push eax
call fcn.0044d8a0
xor edi, edi
add esp, 4
cmp esi, edi
jne 0x416da9
lea ecx, [esp + 0x20]
push edi
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], str.DOES_VOLUME_CONTAIN_HIDDEN
mov dword [esp + 0x30], str.VOLUME_CONTAINS_HIDDEN
mov dword [esp + 0x34], str.VOLUME_DOES_NOT_CONTAIN_HIDDEN
mov dword [esp + 0x38], str.IDCANCEL
mov dword [esp + 0x3c], edi
call fcn.00435ba0
add esp, 8
sub eax, 1
jne 0x416ebd
inc esi
cmp esi, 1
mov dword [esp + 0x10], esi
jle 0x416c90
cmp dword [esp + 0x70], edi
je 0x416dd7
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x443c]
mov ecx, dword [esp + 0x74]
cmp eax, dword [ecx + 0x443c]
jne 0x4170d4
mov edx, dword [esp + 0x18]
push edx
push str.CONFIRM_VOL_HEADER_BAK
call fcn.0044ab30
add esp, 4
push eax
lea eax, [esp + 0x2f8]
push eax
call fcn.00409e10
add esp, 0xc
cmp dword [esp + 0x222fc], edi
je 0x416e26
invalid
invalid
invalid
Function at 0x419510
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489b10
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4b89d4]
lea eax, [ebp - 0x72]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00423cd0
mov ecx, 0x17
mov esi, eax
mov edi, 0x4b8798
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 4], 0xffffffff
jmp 0x419586
cmp dword [0x4b87a6], ebx
jne 0x4195b1
cmp dword [0x4b879e], ebx
jne 0x4195b1
cmp dword [0x4b87a2], ebx
jne 0x4195b1
call fcn.0040a3d0
test eax, eax
jne 0x4195b1
push str.SYS_DRIVE_NOT_ENCRYPTED
jmp 0x4196e4
call fcn.0040a3d0
test eax, eax
jne 0x4196df
cmp dword [0x4b87d6], ebx
jne 0x4196df
call fcn.00434230
test eax, eax
je 0x4196d8
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and eax, 0xffff
push eax
push str._08X
push str.00000409
call fcn.0046a534
mov ecx, dword [ebp + 8]
mov edx, dword [0x4dc3d0]
add esp, 0xc
xor eax, eax
cmp dword [ebp + 0xc], ebx
push ebx
push 0x40af40
setne al
push ecx
push 0x66
push edx
mov dword [0x4b8a64], 1
mov dword [0x4b8a60], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
mov dword [0x4b8a64], ebx
cmp dword [0x4b8a50], ebx
je 0x41965c
push 3
push str.00000409
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutA]
test eax, eax
jne 0x419656
push str.CANNOT_RESTORE_KEYBOARD_LAYOUT
call fcn.00432f40
add esp, 4
jmp 0x41965c
mov dword [0x4b8a50], ebx
mov dword [0x4b8a54], ebx
cmp esi, 1
jne 0x4196c1
mov eax, dword [0x4b8a60]
cmp eax, esi
je 0x419694
jle 0x419677
cmp eax, 3
jle 0x4196c1
push str.PASSWORD_CHANGED
call fcn.00432ee0
add esp, 4
call fcn.00433520
test eax, eax
jne 0x4196c1
push str.SYS_PASSWORD_CHANGED_ASK_RESCUE_DISK
jmp 0x4196af
push str.PKCS5_PRF_CHANGED
call fcn.00432ee0
add esp, 4
call fcn.00433520
test eax, eax
jne 0x4196c1
push str.SYS_HKD_ALGO_CHANGED_ASK_RESCUE_DISK
call fcn.00433120
add esp, 4
cmp eax, 6
jne 0x4196c1
call fcn.00416770
call fcn.00434290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.SYSTEM_ENCRYPTION_IN_PROGRESS_ELSEWHERE
jmp 0x4196e4
push str.SYSTEM_ENCRYPTION_NOT_COMPLETED
call fcn.00432f40
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b450
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x489e66
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3918
call fcn.0046a9e0
push ebx
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
test byte [0x4b8d78], 1
mov dword [ebp + 0x6c], edi
jne 0x41b4a7
mov eax, dword [0x4b0334]
or dword [0x4b8d78], 1
mov dword [0x4b8d74], eax
lea ecx, [ebp - 0x3928]
push ecx
call fcn.00432d60
mov ecx, dword [ebp - 0x3928]
mov eax, dword [0x4b0334]
add esp, 4
cmp ecx, dword [0x4b8d70]
jne 0x41b4d1
cmp eax, dword [0x4b8d74]
je 0x41b506
cmp dword [0x4b8a58], edi
je 0x41b506
mov dword [0x4b8d70], ecx
mov dword [0x4b8d74], eax
cmp ecx, edi
je 0x41b4f1
cmp eax, edi
mov eax, 0x21c
jne 0x41b4f6
mov eax, 0x1f5
mov edx, dword [0x4dc364]
push eax
push edx
call fcn.0040e250
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
cmp dword [0x4b8664], eax
jne 0x41b53f
mov eax, 0x3674
xor ecx, ecx
jmp 0x41b520
mov edx, dword [ecx + 0x4b4f58]
cmp edx, dword [ebp + ecx - 0x3928]
jne 0x41b53f
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x41b520
jmp 0x41b5f0
call fcn.004309a0
push 0x3674
lea eax, [ebp - 0x3928]
push eax
push 0x4b4f58
call fcn.0046b7c0
mov ecx, dword [0x4dc364]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0x3ef
push ecx
call esi
push eax
call fcn.0040c9d0
mov edx, dword [0x4dc364]
add esp, 4
push edi
mov ebx, eax
push 0x3ef
shr ebx, 0x10
push edx
mov byte [ebp + 0x70], bl
call esi
push eax
call fcn.00414770
add esp, 8
call fcn.00433ac0
cmp bl, 0xff
je 0x41b5f0
movsx eax, bl
lea ecx, [eax - 0x41]
mov eax, 1
shl eax, cl
test dword [ebp - 0x3928], eax
jne 0x41b5d5
push ecx
call fcn.004324a0
add esp, 4
test eax, eax
jne 0x41b5d5
mov dword [0x4b035c], 0xffffffff
jmp 0x41b991
mov ecx, dword [ebp + 0x70]
mov edx, dword [0x4dc364]
push ecx
push 0x3ef
push edx
call esi
push eax
call fcn.0040f880
add esp, 8
mov ecx, dword [0x4b89d4]
lea eax, [ebp - 0x132]
push eax
mov dword [ebp - 4], edi
call fcn.00423cd0
mov ecx, 0x17
mov esi, eax
mov edi, 0x4b8d10
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [0x4b8d4e]
cmp ecx, dword [0x4b8776]
jne 0x41b687
mov edx, dword [0x4b8d42]
cmp edx, dword [0x4b876a]
jne 0x41b687
mov eax, dword [0x4b8d46]
cmp eax, dword [0x4b876e]
jne 0x41b687
mov ecx, dword [0x4b8d1e]
cmp ecx, dword [0x4b8746]
jne 0x41b687
mov edx, dword [0x4b8d16]
cmp edx, dword [0x4b873e]
jne 0x41b6b3
mov eax, dword [0x4b8d52]
cmp eax, dword [0x4b877a]
jne 0x41b687
mov ecx, dword [0x4b8d3a]
cmp ecx, dword [0x4b8762]
jne 0x41b687
mov edx, dword [0x4b8d3e]
cmp edx, dword [0x4b8766]
je 0x41b759
mov eax, dword [0x4b8d16]
cmp dword [0x4b873e], eax
jne 0x41b6b3
push 1
call fcn.0040a650
add esp, 4
test eax, eax
je 0x41b6a9
mov esi, 0x40
jmp 0x41b6b5
call fcn.00432e70
movsx esi, al
jmp 0x41b6b5
xor esi, esi
invalid
invalid
invalid
Function at 0x41c090
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40a
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jg 0x41c0bf
push str.NO_VOLUME_SELECTED
call fcn.00432f40
add esp, 4
pop esi
pop ebx
push 0x3ef
push ebx
call esi
push eax
call fcn.0040c9d0
add esp, 4
test ax, ax
jne 0x41c16b
cmp dword [esp + 0x10], 0
push edi
mov ecx, 0x19
mov esi, 0x4b86d0
mov edi, 0x4b8800
rep movsd dword es:[edi], dword [esi]
mov dword [0x4b8a68], 0
pop edi
jne 0x41c10a
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x41c151
mov eax, dword [0x4dc3d0]
push 0x4b8800
push 0x410130
push ebx
push 0x1f8
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 2
je 0x41c178
cmp dword [0x4b8808], 0
je 0x41c151
cmp dword [0x4b4e40], 0
je 0x41c151
mov ecx, dword [0x4b4e44]
push ecx
push 0x4b8814
call fcn.004493b0
add esp, 8
call fcn.0041b450
test eax, eax
je 0x41c178
push 0
xor ecx, ecx
mov edx, ebx
call fcn.00418ba0
add esp, 4
pop esi
pop ebx
push str.SELECT_FREE_DRIVE
call fcn.00432f40
add esp, 4
pop esi
pop ebx
ret