Function at 0x1254306
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1297403
call fcn.01160168
sub esp, 0xc8
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 0x20], ecx
jne 0x125432e
mov eax, 0x80070057
jmp 0x12546e5
push edi
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov ecx, dword [0x12d28f8]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
call dword [eax + 0x24]
mov edi, eax
cmp edi, ebx
jge 0x1254399
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1254371
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1254381
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1254392
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x12546e4
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x12543dc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x12543b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x12543c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x12543d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004003
jmp 0x12546e4
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x54]
mov edi, eax
cmp edi, ebx
jl 0x1254360
cmp dword [ebp - 0x10], ebx
je 0x12543a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1254406
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x74]
mov edi, eax
cmp edi, ebx
jl 0x1254371
cmp dword [ebp - 0x18], ebx
je 0x12543b1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1254432
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 3
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push 0x10
push ebx
push 0x102bf78
push esi
call dword [eax + 0x10]
cmp eax, ebx
jne 0x1254467
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x1254467
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x10
lea edx, [ebp - 0x7c]
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 4], 5
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0x10
push ebx
push 0x102bf10
push esi
call dword [eax + 0x10]
cmp eax, ebx
jne 0x125449d
cmp dword [ebp - 0x1c], ebx
je 0x125449d
mov ecx, dword [ebp - 0x20]
push ebx
push dword [ebp - 0x1c]
call fcn.01253ef4
xor esi, esi
cmp eax, ebx
jne 0x12544bd
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x12544bd
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 4
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 6
mov ecx, dword [0x12d28f8]
lea eax, [ebp - 0x28]
push eax
push 0x1012afc
push 0x17
push ebx
push 0x1011320
call fcn.0116b561
cmp eax, ebx
jne 0x125468f
cmp dword [ebp - 0x1c], ebx
je 0x125469f
cmp esi, ebx
je 0x125468f
mov edi, dword [ebp - 0x20]
push dword [ebp + 8]
add edi, 8
push edi
call fcn.0103d87e
fldz
cmp esi, ebx
fstp qword [ebp - 0x50]
fldz
mov dword [ebp - 0x14], ebx
fstp qword [ebp - 0x58]
mov dword [ebp + 8], ebx
fldz
mov byte [ebp - 0x34], bl
fstp qword [ebp - 0x60]
fldz
fstp qword [ebp - 0x48]
jle 0x1254681
mov dword [ebp - 0x24], esi
lea ecx, [ebp - 0xd4]
call fcn.01255084
mov byte [ebp - 4], 7
push ebx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xd4]
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call fcn.0125553a
mov esi, eax
cmp esi, ebx
jne 0x1254623
mov eax, dword [ebp - 0x80]
cmp eax, 6
je 0x12545c8
cmp eax, 3
je 0x12545c8
cmp eax, 5
je 0x12545c8
cmp eax, 4
jne 0x1254669
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 9
fld qword [ebp - 0x58]
lea eax, [ebp - 0x60]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
push eax
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x18]
lea ecx, [ebp - 0xd4]
call fcn.0125514c
mov esi, eax
cmp esi, ebx
jne 0x12545bf
fld qword [ebp - 0x68]
fstp qword [ebp - 0x58]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
jmp 0x1254617
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 8
fld qword [ebp - 0x50]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x74]
push eax
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x18]
lea ecx, [ebp - 0xd4]
call fcn.0125514c
mov esi, eax
cmp esi, ebx
jne 0x1254610
fld qword [ebp - 0x74]
fstp qword [ebp - 0x50]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x1254621
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x1254669
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], ebx
je 0x1254669
lea ecx, [ebp - 0x3c]
call fcn.0108e768
mov byte [ebp - 4], 0xa
push dword [ebp - 0x88]
lea ecx, [ebp - 0x3c]
call fcn.01032977
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], esi
call fcn.0109365e
mov byte [ebp - 0x34], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.010454b8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.012550c5
dec dword [ebp - 0x24]
jne 0x1254530
mov eax, dword [edi]
cmp eax, ebx
je 0x125468f
mov dword [edi], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x125469f
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x12546b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x12546c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x12546d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x12546e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4