Function at 0x411060
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x433ad2
mov eax, dword fs:[0]
push eax
mov eax, 0x400c
call fcn.00418d50
mov eax, dword [0x44dd94]
xor eax, esp
mov dword [esp + 0x4008], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44dd94]
xor eax, esp
push eax
lea eax, [esp + 0x4020]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4030]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x4028], ebp
mov dword [esp + 0x14], esi
mov eax, str.PASSWORD_OR_KEYFILE_WRONG
cmp dword [0x47675c], ebp
jne 0x4110c9
mov eax, str.PASSWORD_WRONG
push eax
call fcn.00414100
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00402540
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 0xc
push 0x14
call ebx
test al, 1
je 0x411134
push str.PASSWORD_WRONG_CAPSLOCK_ON
call fcn.00414100
add esp, 4
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411100
lea edi, [esp + 0x1c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x411114
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
call fcn.004026c0
test eax, eax
je 0x4111f4
mov eax, str.PASSWORD_OR_KEYFILE_OR_MODE_WRONG
cmp dword [0x47675c], ebp
jne 0x411153
mov eax, str.PASSWORD_OR_MODE_WRONG
push eax
call fcn.00414100
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00402540
add esp, 0xc
push 0x14
call ebx
test al, 1
je 0x4111b0
push str.PASSWORD_WRONG_CAPSLOCK_ON
call fcn.00414100
add esp, 4
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411180
lea edi, [esp + 0x1c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x411194
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.SYSENC_MOUNT_WITHOUT_PBA_NOTE
call fcn.00414100
add esp, 4
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4111c0
lea edi, [esp + 0x1c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x4111d4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
lea eax, [esp + 0x1c]
mov word [esi + 4], dx
lea edx, [eax + 2]
jmp 0x411210
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411210
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00401eb0
mov dword [esp + 0x4028], ebp
mov dword [esp + 0x18], 1
cmp dword [0x47675c], ebp
je 0x411282
cmp dword [0x478afc], ebp
je 0x411282
push str.HIDDEN_FILES_PRESENT_IN_KEYFILE_PATH
call fcn.00414100
mov ecx, eax
add esp, 4
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x411260
sub ecx, esi
mov esi, dword [esp + 0x14]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00401d90
mov dword [0x478afc], ebp
mov eax, esi
mov ecx, dword [esp + 0x4020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4008]
xor ecx, esp
call fcn.0041851b
add esp, 0x4018
ret