Function at 0x431a25
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x45fd18
call fcn.0045e9d0
mov eax, 0x102c
call fcn.0045e9a0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
xor edx, edx
push edi
mov dword [ebx + 4], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], edx
mov dword [ebp + 8], edx
lea edi, [ebx + 0x10c]
mov ecx, 0x200
xor eax, eax
cmp esi, edx
mov byte [ebp - 4], 2
rep stosd dword es:[edi], eax
je 0x431d66
lea ecx, [ebp - 0x1c]
call fcn.0043c4bc
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
push esi
mov dword [ebp - 0x1c], edi
call dword [eax + 0x48]
cmp dword [ebp - 0x1c], edi
je 0x431d66
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041a99d
cmp eax, edi
jge 0x431aad
cmp eax, 0x80004002
je 0x431aad
push eax
call fcn.0045e716
cmp dword [ebp - 0x18], edi
je 0x431d66
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0043c4bc
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
jne 0x431ad7
push 0x80004003
call fcn.0045e716
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp + 0xc]
cmp eax, edi
je 0x431bba
mov dword [ebp - 0x10], edi
mov dword [ebp + 0xc], edi
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 5
call dword [ecx + 0x40]
push 0x403590
lea eax, [ebp + 0xc]
push dword [ebp - 0x10]
push eax
call fcn.00427151
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x431b9b
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x431b98
cmp word [ebp - 0x38], 8
jne 0x431b98
cmp dword [ebp - 0x30], edi
je 0x431b98
push dword [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.00414932
push 0x460a68
push 0x40b4f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0041519d
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [0x402c28]
fild dword [esi]
pop ecx
fdiv st(1)
call sub.MSVCRT.dll__ftol
fild dword [esi + 4]
mov dword [esi], eax
fdiv st(1)
call sub.MSVCRT.dll__ftol
push dword [ebp - 0x30]
mov dword [esi + 4], eax
fstp st(0)
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00412266
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov byte [ebp - 4], 4
je 0x431ba9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x431bba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x431bce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 8]
mov ecx, ebx
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp + 8], edi
call fcn.00431dad
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x431d44
cmp dword [ebp + 8], esi
je 0x431d44
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
push edi
push dword [ebp + 8]
mov dword [ebp + 0xc], esi
call fcn.00432616
test eax, eax
je 0x431cdf
mov dword [ebp - 0x10], esi
cmp dword [ebp + 8], esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], esi
jne 0x431c28
push 0x80004003
call fcn.0045e716
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x9c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x24]
push eax
call fcn.0041a99d
cmp eax, esi
jge 0x431c55
cmp eax, 0x80004002
je 0x431c55
push eax
call fcn.0045e716
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x431c69
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0xa0]
lea eax, [ebp - 0x1038]
push 0x1000
push eax
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00432a8e
lea esi, [ebx + 0x10c]
push 0x7ff
lea eax, [ebp - 0x1038]
push esi
push eax
call fcn.0042523f
add esp, 0xc
test eax, eax
je 0x431cc3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
shr eax, 0x10
test ax, ax
jne 0x431cc3
push dword [ebp + 0x10]
mov ecx, ebx
push esi
push edi
call fcn.004320fd
mov dword [ebp - 0x28], eax
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 7
test eax, eax
je 0x431cdd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x431ced
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x28], 1
jne 0x431d44
cmp dword [0x476b1c], esi
je 0x431d44
cmp dword [ebp + 8], esi
mov byte [ebp - 4], 9
mov dword [ebp + 0x10], esi
jne 0x431d11
push 0x80004003
call fcn.0045e716
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x431d36
mov ecx, dword [eax]
push 0x40b700
push eax
call dword [ecx + 0x20c]
mov eax, dword [ebp + 0x10]
cmp eax, esi
mov byte [ebp - 4], 7
je 0x431d44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x431d55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x431d66
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [ebp - 4], 1
test eax, eax
pop ebx
je 0x431d7a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x431d8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x431d9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov dword fs:[0], ecx
leave
ret 0xc