Function at 0x40cec0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x834
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x844]
push edi
lea edi, [esi + 0x884]
xor ebx, ebx
cmp byte [edi], bl
je 0x40d3bf
mov eax, dword [esi + 0x19c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1009
push eax
call ebp
mov edx, dword [esi + 0x19c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x1007
push edx
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x3c], str.__________
call ebp
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x40cf54
push edi
call fcn.004322c0
test eax, eax
jne 0x40d363
lea eax, [esp + 0x40]
push eax
push str.Type
push edi
call fcn.00431e00
test eax, eax
jne 0x40d363
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x44]
push 0x49e59c
push edx
call fcn.0048108c
add esp, 0xc
cmp dword [esp + 0x10], 0x23
je 0x40cf97
mov dword [esp + 0x10], 0x199
jmp 0x40d36b
lea eax, [esp + 0x40]
push eax
push str.Volume
push edi
call fcn.00431e00
test eax, eax
jne 0x40d363
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40cfb6
sub eax, edx
cmp eax, 0x20
ja 0x40d363
mov edx, dword [esi + 0x1a0]
lea ecx, [esp + 0x40]
push ecx
push 0x4a6
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [esp + 0x10]
push eax
push str.Link
push edi
call fcn.00432020
test eax, eax
jne 0x40d363
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40d00a
cmp eax, 1
jne 0x40d363
mov edx, dword [esi + 0x1a0]
xor ecx, ecx
cmp eax, ebx
setne cl
push ecx
push 0x49f
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
lea eax, [esp + 0x10]
push eax
push str.ShowDVD
push edi
call fcn.00432020
test eax, eax
je 0x40d03c
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x1a0]
push ebx
push ecx
push 0x130c
push 0x53e
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
lea eax, [esp + 0x10]
push eax
push str.RecTypeCD
push edi
call fcn.00432020
test eax, eax
je 0x40d078
mov dword [esp + 0x10], 0x2101
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x1a0]
push 0x2101
push ecx
push 0x53c
push edx
call fcn.00474940
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push str.FileSystemCD
push edi
call fcn.00432020
test eax, eax
je 0x40d0b2
mov dword [esp + 0x10], 0x90
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x1a0]
push 0x90
push ecx
push 0x49e
push edx
call fcn.00474940
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push str.RecTypeDVD
push edi
call fcn.00432020
test eax, eax
je 0x40d0ec
mov dword [esp + 0x10], 0x1220
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x1a0]
push 0x1220
push ecx
push 0x53d
push edx
call fcn.00474940
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push str.FileSystemDVD
push edi
call fcn.00432020
test eax, eax
je 0x40d126
mov dword [esp + 0x10], 0x1010
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x1a0]
push 0x1010
push ecx
push 0x4a0
push edx
call fcn.00474940
push esi
call fcn.00462810
add esp, 0x14
test eax, eax
je 0x40d363
lea eax, [esp + 0x14]
push eax
push str.NumEntries
push edi
call fcn.00432020
test eax, eax
jne 0x40d363
cmp dword [esp + 0x14], ebx
jl 0x40d363
push ebx
push ebx
push esi
mov dword [esi + 0x99c], ebx
mov dword [esi + 0x998], ebx
mov dword [esi + 0x994], ebx
call fcn.0040b980
push 0x78
call fcn.0046d810
mov ecx, dword [esi + 0x1b0]
add esp, 0x10
push eax
push 0x449
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x1b0]
push edx
push ebx
push 0x406
push 0x407
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, 1
cmp dword [esp + 0x14], ecx
mov dword [esi + 0x6dc], ebx
mov dword [esp + 0x10], ecx
jl 0x40d2cc
push ecx
lea ecx, [esp + 0x44]
push str.Entry_07d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x440]
push edx
lea eax, [esp + 0x44]
push eax
push edi
call fcn.00431e00
test eax, eax
jne 0x40d357
lea ecx, [esp + 0x440]
push 0x49ea10
push ecx
call fcn.004814f4
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x40d357
push 0x49ea10
push ebx
call fcn.004814f4
add esp, 8
cmp eax, ebx
je 0x40d357
mov edx, dword [esp + 0x10]
push ebp
push eax
add edx, 0xffffffff
push edx
push esi
call fcn.0040c4c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, ecx
add esp, 0x10
cmp eax, 0xa
jl 0x40d283
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
mov eax, ecx
sub eax, edx
jne 0x40d2b3
push esi
call fcn.0040bb50
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x1b0]
add esp, 4
push ebx
push ecx
push 0x402
push 0x407
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebx
call fcn.00432430
mov ecx, dword [esp + 0x10]
cmp dword [esi + 0x6dc], ebx
jne 0x40d2cc
add ecx, 1
cmp ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
jle 0x40d1e1
push 0x64
call fcn.00432430
mov ecx, dword [esi + 0x1b0]
push ebx
push ebx
push 0x402
push 0x407
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edx, dword [esi + 0x1b0]
push 0x49e5e0
push 0x449
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 1
push esi
call fcn.0040b980
mov eax, dword [esi + 0x19c]
add esp, 0xc
push ebx
push ebx
push 0x1013
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call fcn.0040bac0
push esi
call fcn.0040b800
push ebx
push esi
call fcn.0045dd90
mov ecx, dword [esp + 0x850]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004810ab
add esp, 0x834
ret
push ebx
push 1
push esi
call fcn.0040b980
add esp, 0xc
mov dword [esp + 0x10], 0x19a
mov eax, dword [esi + 0x1a0]
push 0x49e5e0
push 0x449
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [esi + 0x1b0]
push ebx
push ebx
push 0x402
push 0x407
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edx, dword [esp + 0x10]
push 0x30
push 0x4dec98
push edi
push edx
call fcn.0046d6b0
add esp, 8
push eax
mov eax, dword [esi + 0x18]
push eax
call fcn.00470860
add esp, 0x10
mov byte [edi], bl
mov ecx, dword [esi + 0x19c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1009
push ecx
call edi
mov eax, dword [esi + 0x19c]
lea edx, [esp + 0x18]
push edx
push ebx
push 0x1007
push eax
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x3c], str.__________
call edi
push esi
mov dword [esi + 0x99c], ebx
mov dword [esi + 0x998], ebx
mov dword [esi + 0x994], ebx
call fcn.0040bb50
lea ecx, [esp + 0x44]
push ecx
call fcn.0046f810
mov eax, dword [esi + 0x1a0]
add esp, 8
lea edx, [esp + 0x40]
push edx
push 0x4a6
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [0x50a238]
mov edx, dword [esi + 0x1a0]
push ecx
push 0x49f
push edx
call fcn.004743d0
mov eax, dword [0x50a23c]
mov ecx, dword [esi + 0x1a0]
add esp, 0xc
push ebx
push eax
push 0x130c
push 0x53e
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
mov edx, dword [0x50a240]
mov eax, dword [esi + 0x1a0]
push ebx
push edx
push 0x53c
push eax
call fcn.00474940
mov ecx, dword [0x50a244]
mov edx, dword [esi + 0x1a0]
push ebx
push ecx
push 0x49e
push edx
call fcn.00474940
mov eax, dword [0x50a248]
mov ecx, dword [esi + 0x1a0]
push ebx
push eax
push 0x53d
push ecx
call fcn.00474940
mov edx, dword [0x50a24c]
mov eax, dword [esi + 0x1a0]
push ebx
push edx
push 0x4a0
push eax
call fcn.00474940
add esp, 0x40
jmp 0x40d323