Function at 0x4df3e2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
cmp dword [0x535af0], 0
je 0x4df3fd
push dword [ebp + 8]
call sub.USER32.dll_GetParent
mov ebx, eax
jmp 0x4df400
mov ebx, dword [ebp + 8]
push 0x461
push ebx
call sub.USER32.dll_GetDlgItem
mov esi, eax
call sub.USER32.dll_GetFocus
cmp esi, eax
jne 0x4df41d
xor eax, eax
jmp 0x4df747
push 0x543bd3
push 0x3e7
push 0xd
push 0x480
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp byte [0x543bd3], 0
je 0x4df463
push 0x2a
push 0x543bd3
call fcn.0051833c
add esp, 8
test eax, eax
jne 0x4df463
push 0x3f
push 0x543bd3
call fcn.0051833c
add esp, 8
test eax, eax
je 0x4df46a
xor eax, eax
jmp 0x4df747
push 0x55d984
push 0x64
push 0xd
push 0x98
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
mov byte [0x55d984], 0
push 0x5437ec
push 0x64
push 0xd
push 0x98
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
mov esi, 0x5437ec
jmp 0x4df4a5
inc esi
cmp byte [esi], 0x20
je 0x4df4a4
cmp byte [esi], 0
je 0x4df4f9
push esi
mov edi, esi
mov esi, 0x55d984
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x55d984
call fcn.005183dc
pop ecx
mov edi, eax
dec edi
lea eax, [edi + 0x55d984]
jmp 0x4df4f0
mov byte [eax], 0
dec edi
dec eax
test edi, edi
jle 0x4df4f9
cmp byte [eax], 0x20
je 0x4df4eb
cmp byte [0x55d984], 0
jne 0x4df526
push 0x98
push dword [ebp + 8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_SetFocus
push 0
call fcn.00415bea
mov eax, 1
jmp 0x4df747
push 0x90
push dword [ebp + 8]
call sub.USER32.dll_IsDlgButtonChecked
test eax, eax
je 0x4df543
mov dword [0x5357bc], 1
jmp 0x4df54b
xor edx, edx
mov dword [0x5357bc], edx
push 0x97
push dword [ebp + 8]
call sub.USER32.dll_IsDlgButtonChecked
test eax, eax
je 0x4df568
mov dword [0x5357b8], 1
jmp 0x4df570
xor ecx, ecx
mov dword [0x5357b8], ecx
push 0x92
push dword [ebp + 8]
call sub.USER32.dll_IsDlgButtonChecked
test eax, eax
je 0x4df58d
mov dword [0x5357cc], 1
jmp 0x4df594
xor eax, eax
mov dword [0x5357cc], eax
mov byte [0x55db68], 0
cmp dword [0x535af0], 0
je 0x4df602
xor edi, edi
mov esi, dword [0x560aeb]
jmp 0x4df5f7
push esi
call fcn.005183dc
pop ecx
mov ebx, eax
add ebx, esi
inc ebx
test edi, edi
jne 0x4df5cc
cmp byte [ebx], 0
je 0x4df5cc
mov edi, 1
mov esi, ebx
jmp 0x4df5f7
cmp byte [0x55db68], 0
je 0x4df5e7
push 0x535b87
push 0x55db68
call fcn.00518300
add esp, 8
push esi
push 0x55db68
call fcn.00518300
add esp, 8
mov esi, ebx
test esi, esi
je 0x4df672
cmp byte [esi], 0
jne 0x4df5ae
jmp 0x4df672
xor edi, edi
mov esi, dword [0x560aeb]
jmp 0x4df669
mov ebx, esi
jmp 0x4df611
inc ebx
mov al, byte [ebx]
test al, al
je 0x4df61b
cmp al, 0x20
jne 0x4df610
cmp byte [ebx], 0
je 0x4df625
mov byte [ebx], 0
jmp 0x4df627
xor ebx, ebx
test edi, edi
jne 0x4df639
test ebx, ebx
je 0x4df639
mov edi, 1
lea esi, [ebx + 1]
jmp 0x4df669
cmp byte [0x55db68], 0
je 0x4df654
push 0x535b8a
push 0x55db68
call fcn.00518300
add esp, 8
push esi
push 0x55db68
call fcn.00518300
add esp, 8
test ebx, ebx
je 0x4df672
lea esi, [ebx + 1]
test esi, esi
je 0x4df672
cmp byte [esi], 0
jne 0x4df60c
cmp byte [0x55db68], 0
jne 0x4df698
push 0x460
push dword [ebp + 8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_SetFocus
mov eax, 1
jmp 0x4df747
push 0x12
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x4df6db
push 0x53
call sub.USER32.dll_GetKeyState
test ax, ax
jl 0x4df6db
push 9
push 0x55db68
call fcn.0051833c
add esp, 8
test eax, eax
jne 0x4df6d4
push 0
push 0x555704
push 0x55db68
call fcn.004e4326
mov eax, 1
jmp 0x4df747
push 0
push 0
push 0x147
push 0x9a
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
cmp eax, 0xffffffff
jne 0x4df6f8
xor eax, eax
mov dword [0x5357c0], 0x200
test eax, eax
jle 0x4df719
mov edx, dword [0x5357c0]
add edx, edx
mov dword [0x5357c0], edx
dec eax
test eax, eax
jg 0x4df706
cmp dword [0x5357c0], 0x200
jge 0x4df72f
mov dword [0x5357c0], 0x200
cmp dword [0x5357c0], 0x2000
jle 0x4df745
mov dword [0x5357c0], 0x2000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4