Function at 0x125458b
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1297678
call fcn.01160118
sub esp, 0xc8
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 0x20], ecx
jne 0x12545b3
mov eax, 0x80070057
jmp 0x125496a
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 0x125461e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x12545f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1254606
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1254617
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x1254969
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x1254661
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1254636
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1254646
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1254657
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004003
jmp 0x1254969
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x54]
mov edi, eax
cmp edi, ebx
jl 0x12545e5
cmp dword [ebp - 0x10], ebx
je 0x1254625
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x125468b
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 0x12545f6
cmp dword [ebp - 0x18], ebx
je 0x1254636
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x12546b7
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 0x12546ec
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x12546ec
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 0x1254722
cmp dword [ebp - 0x1c], ebx
je 0x1254722
mov ecx, dword [ebp - 0x20]
push ebx
push dword [ebp - 0x1c]
call fcn.0125415a
xor esi, esi
cmp eax, ebx
jne 0x1254742
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1254742
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.0116b761
cmp eax, ebx
jne 0x1254914
cmp dword [ebp - 0x1c], ebx
je 0x1254924
cmp esi, ebx
je 0x1254914
mov edi, dword [ebp - 0x20]
push dword [ebp + 8]
add edi, 8
push edi
call fcn.010b7e63
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 0x1254906
mov dword [ebp - 0x24], esi
lea ecx, [ebp - 0xd4]
call fcn.01255309
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.012557bf
mov esi, eax
cmp esi, ebx
jne 0x12548a8
mov eax, dword [ebp - 0x80]
cmp eax, 6
je 0x125484d
cmp eax, 3
je 0x125484d
cmp eax, 5
je 0x125484d
cmp eax, 4
jne 0x12548ee
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.012553d1
mov esi, eax
cmp esi, ebx
jne 0x1254844
fld qword [ebp - 0x68]
fstp qword [ebp - 0x58]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
jmp 0x125489c
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.012553d1
mov esi, eax
cmp esi, ebx
jne 0x1254895
fld qword [ebp - 0x74]
fstp qword [ebp - 0x50]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x12548a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x12548ee
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], ebx
je 0x12548ee
lea ecx, [ebp - 0x3c]
call fcn.0108e762
mov byte [ebp - 4], 0xa
push dword [ebp - 0x88]
lea ecx, [ebp - 0x3c]
call fcn.01044f8b
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], esi
call fcn.01093616
mov byte [ebp - 0x34], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.0104508a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.0125534a
dec dword [ebp - 0x24]
jne 0x12547b5
mov eax, dword [edi]
cmp eax, ebx
je 0x1254914
mov dword [edi], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1254924
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 0x1254935
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1254946
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x1254956
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1254967
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