Function at 0x41a5b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x35b1d4]
test eax, eax
jne 0x41a9c7
mov eax, dword [esi + 0x35b1d0]
test eax, eax
jne 0x41a9c7
mov eax, dword [esi + 0x2f8870]
test eax, eax
jle 0x41a635
mov al, byte [esi + 0x35b148]
push 0xffffffffffffffff
push 0
push 0
test al, al
lea edi, [esi + 0x2f8780]
push 0
jne 0x41a616
mov al, byte [esi + 0x2f8841]
mov ecx, edi
push eax
push 0
call fcn.00410840
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov cl, byte [esi + 0x2f8841]
push ecx
push 0x1d
mov ecx, edi
call fcn.00410840
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov cl, byte [esi + 0x2f8841]
mov edx, dword [esi + 0x2f8850]
lea eax, [esp + 0x18]
lea ebx, [esi + 0xf5200]
push eax
mov eax, dword [esi + 0x2f884c]
push 1
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0043cc30
test eax, eax
jne 0x41a694
cmp byte [esi + 0x2f8809], 7
jne 0x41a694
mov eax, dword [esi + 0x35b268]
test eax, eax
je 0x41a694
mov dl, byte [esi + 0x2f8841]
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
push 0
push 0xffffffffffffffff
push edx
push 0xb
lea ecx, [esi + 0x2f8780]
call fcn.00410840
mov ecx, dword [esi + 0x364450]
test ecx, ecx
je 0x41a9c7
mov eax, dword [ecx + 0x61c74]
test eax, eax
jne 0x41a9c7
mov al, byte [ecx + 0x88]
test al, al
je 0x41a6ea
cmp al, 1
je 0x41a6ea
cmp al, 3
jne 0x41a6d8
mov al, byte [ecx + 0x8a]
cmp al, 0x1a
je 0x41a6ea
cmp al, 0x71
je 0x41a6ea
cmp al, 0x72
je 0x41a6ea
cmp al, 0x73
je 0x41a6ea
add ecx, 8
push 0x28
push ecx
call fcn.00468bf0
add esp, 8
test eax, eax
je 0x41a728
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x41a70a
mov edi, dword [0x8ab7b0]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x41a728
mov edx, dword [esi + 0x364450]
mov eax, dword [edx + 0x61c70]
cmp eax, 0xff
je 0x41a728
cmp eax, 0x6bef
jne 0x41a9c7
mov eax, dword [esi + 0x364450]
mov cl, byte [eax + 0x88]
cmp cl, 3
jne 0x41a746
cmp byte [eax + 0xc0], 4
je 0x41a9c7
cmp cl, 1
ja 0x41a758
cmp byte [eax + 0xc0], 0x13
je 0x41a9c7
mov ecx, dword [eax + 0xd0]
mov edx, dword [eax + 0xcc]
mov eax, dword [esi + 0x2f8850]
push ecx
mov ecx, dword [esi + 0x2f884c]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0043d290
mov edi, dword [esi + 0x364450]
mov ebp, dword [esi + 0x2f8850]
mov byte [esp + 0x10], al
mov eax, ebp
mov ebx, dword [edi + 0xd0]
mov edx, dword [edi + 0xcc]
sub eax, ebx
mov ebx, dword [esi + 0x2f884c]
mov ecx, ebx
sub ecx, edx
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fsqrt
call fcn.00468520
cmp eax, 2
jge 0x41a815
mov al, byte [esi + 0x35b148]
test al, al
jne 0x41a9c7
mov eax, dword [edi + 0x61c74]
test eax, eax
jne 0x41a9c7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 0x61c74]
mov ecx, dword [edi + 4]
lea edx, [esp + 0x18]
push 0xffffffffffffffff
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push 0xb
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x2f884c]
push 1
push ebx
lea edi, [esi + 0xf5200]
push ebp
push eax
mov ecx, edi
call fcn.0043cc30
test eax, eax
je 0x41a876
mov al, byte [esi + 0x35b148]
lea ecx, [esp + 0x18]
test al, al
mov eax, dword [esi + 0x364450]
push 0xffffffffffffffff
push ecx
mov edx, dword [eax + 0x61c74]
mov eax, dword [eax + 4]
push edx
push eax
push ebx
jne 0x41a9a5
push 0x15
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov edx, dword [esi + 0x2f8850]
mov eax, dword [esi + 0x2f884c]
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
push edx
push eax
mov ecx, edi
call fcn.0043cc30
test eax, eax
jne 0x41a928
mov edi, ebx
mov byte [esp + 0x22], al
mov cl, 5
mov al, 6
and edi, 0xff
xor ebp, ebp
mov byte [esp + 0x20], 7
mov byte [esp + 0x21], 1
mov byte [esp + 0x23], 2
mov byte [esp + 0x24], 1
mov byte [esp + 0x25], 3
mov byte [esp + 0x26], 2
mov byte [esp + 0x27], 4
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 3
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], 4
mov byte [esp + 0x2c], 7
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], 0
mov byte [esp + 0x2f], al
shl edi, 1
lea eax, [esp + edi + 0x20]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x2f884c]
mov dl, byte [eax + ebp]
mov eax, dword [esi + 0x2f8850]
push 1
push edx
push eax
push ecx
lea ecx, [esi + 0xf5200]
call fcn.0043cc30
test eax, eax
jne 0x41a950
inc ebp
cmp ebp, 2
jl 0x41a8f6
mov al, byte [esi + 0x35b148]
push 0xffffffffffffffff
push 0
push 0
test al, al
push 0
push ebx
jne 0x41a9ba
push 0
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov al, byte [esi + 0x35b148]
push 0xffffffffffffffff
test al, al
mov eax, dword [esi + 0x364450]
jne 0x41a98e
mov ecx, dword [eax + 0x61c74]
lea edx, [esp + 0x1c]
add edi, ebp
push edx
mov edx, dword [eax + 4]
push ecx
mov al, byte [esp + edi + 0x2c]
push edx
push eax
push 0x15
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov edx, dword [eax + 0x61c74]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1c]
add edi, ebp
push ecx
push edx
mov cl, byte [esp + edi + 0x2c]
push eax
push ecx
push 0x1e
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0x1d
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret