Function at 0x41a9d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x35b1d4]
test eax, eax
jne 0x41af58
mov eax, dword [esi + 0x35b1d0]
test eax, eax
jne 0x41af58
mov eax, dword [esi + 0x2f8870]
test eax, eax
jle 0x41aa55
mov al, byte [esi + 0x35b148]
push 0xffffffffffffffff
push 0
push 0
test al, al
lea edi, [esi + 0x2f8780]
push 0
jne 0x41aa36
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, 0x14
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, 0x14
ret
mov cl, byte [esi + 0x2f8841]
mov edx, dword [esi + 0x2f8850]
lea eax, [esp + 0x1c]
lea ebp, [esi + 0xf5200]
push eax
mov eax, dword [esi + 0x2f884c]
push 1
push ecx
push edx
push eax
mov ecx, ebp
call fcn.0043cc30
test eax, eax
jne 0x41aab4
cmp byte [esi + 0x2f8809], 7
jne 0x41aab4
mov eax, dword [esi + 0x35b268]
test eax, eax
je 0x41aab4
mov dl, byte [esi + 0x2f8841]
lea ecx, [esp + 0x1c]
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 0x41af58
mov eax, dword [ecx + 0x61c74]
test eax, eax
jne 0x41af58
mov al, byte [ecx + 0x88]
test al, al
je 0x41ab0a
cmp al, 1
je 0x41ab0a
cmp al, 3
jne 0x41aaf8
mov al, byte [ecx + 0x8a]
cmp al, 0x1a
je 0x41ab0a
cmp al, 0x71
je 0x41ab0a
cmp al, 0x72
je 0x41ab0a
cmp al, 0x73
je 0x41ab0a
add ecx, 8
push 0x28
push ecx
call fcn.00468bf0
add esp, 8
test eax, eax
je 0x41ab48
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x41ab48
mov edi, dword [0x8ab7b0]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x41ab48
mov edx, dword [esi + 0x364450]
mov eax, dword [edx + 0x61c70]
cmp eax, 0xff
je 0x41ab48
cmp eax, 0x6bef
jne 0x41af58
mov eax, dword [esi + 0x364450]
mov cl, byte [eax + 0x88]
cmp cl, 3
jne 0x41ab66
cmp byte [eax + 0xc0], 4
je 0x41af58
cmp cl, 1
ja 0x41ab78
cmp byte [eax + 0xc0], 0x13
je 0x41af58
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, ebp
call fcn.0043d290
mov edi, dword [esi + 0x364450]
mov ebx, dword [esi + 0x2f8850]
mov byte [esp + 0x10], al
mov eax, ebx
mov ecx, dword [edi + 0xd0]
mov edx, dword [edi + 0xcc]
sub eax, ecx
mov ecx, dword [esi + 0x2f884c]
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
mov al, byte [esi + 0x35b148]
jge 0x41ac39
test al, al
jne 0x41af58
mov eax, dword [edi + 0x61c74]
test eax, eax
jne 0x41af58
mov eax, dword [esi + 0x2f884c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x61c74]
mov ecx, dword [edi + 4]
lea edx, [esp + 0x1c]
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, 0x14
ret
mov edi, dword [esp + 0x10]
mov ecx, ebp
test al, al
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x2f884c]
push 1
push edi
push ebx
push eax
je 0x41adee
call fcn.0043cc30
test eax, eax
je 0x41ace4
mov edx, dword [esi + 0x2f8850]
mov eax, dword [esi + 0x2f884c]
lea ecx, [esp + 0x1c]
push ecx
push 2
push edi
push edx
push eax
mov ecx, ebp
call fcn.0043cc30
test eax, eax
je 0x41ace4
mov edx, dword [esi + 0x2f8850]
mov eax, dword [esi + 0x2f884c]
lea ecx, [esp + 0x1c]
push ecx
push 3
push edi
push edx
push eax
mov ecx, ebp
call fcn.0043cc30
test eax, eax
je 0x41ace4
mov edx, dword [esi + 0x2f8850]
mov eax, dword [esi + 0x2f884c]
lea ecx, [esp + 0x1c]
push ecx
push 3
push edi
push edx
push eax
mov ecx, ebp
call fcn.0043cc30
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push 0
push 0
push edi
push 0x1f
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esi + 0x2f8850]
mov ecx, dword [esi + 0x2f884c]
lea edx, [esp + 0x1c]
push edx
push 1
push edi
push eax
push ecx
mov ecx, ebp
call fcn.0043cc30
test eax, eax
jne 0x41adae
xor bl, bl
mov byte [esp + 0x10], 9
mov edi, 0x64
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x2f8850]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x2f884c]
push 1
push ecx
push edx
push eax
mov ecx, ebp
call fcn.0043cc30
test eax, eax
je 0x41ad7b
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x35b2b4]
mov edx, dword [esi + 0x35b2b0]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, edx
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fsqrt
call fcn.00468520
cmp eax, edi
jg 0x41ad7b
mov edi, eax
mov byte [esp + 0x10], bl
inc bl
cmp bl, 8
mov byte [esp + 0x14], bl
jb 0x41ad19
cmp byte [esp + 0x10], 9
je 0x41adcf
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x2f8850]
mov ecx, dword [esi + 0x2f884c]
lea edx, [esp + 0x1c]
push edx
push 1
push edi
push eax
push ecx
mov ecx, ebp
call fcn.0043cc30
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
push 0
push 0
push edi
push 0x1e
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push 0
push 0
push 0
push 9
push 0x1d
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
call fcn.0043cc30
test eax, eax
je 0x41ae56
mov edx, dword [esi + 0x2f8850]
mov eax, dword [esi + 0x2f884c]
lea ecx, [esp + 0x1c]
push ecx
push 2
push edi
push edx
push eax
mov ecx, ebp
call fcn.0043cc30
test eax, eax
je 0x41ae56
mov edx, dword [esi + 0x2f8850]
mov eax, dword [esi + 0x2f884c]
lea ecx, [esp + 0x1c]
push ecx
push 2
push edi
push edx
push eax
mov ecx, ebp
call fcn.0043cc30
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push 0
push 0
push edi
push 0x16
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esi + 0x2f8850]
mov ecx, dword [esi + 0x2f884c]
lea edx, [esp + 0x1c]
push edx
push 1
push edi
push eax
push ecx
mov ecx, ebp
call fcn.0043cc30
test eax, eax
jne 0x41af20
xor bl, bl
mov byte [esp + 0x10], 9
mov edi, 0x64
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x2f8850]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x2f884c]
push 1
push ecx
push edx
push eax
mov ecx, ebp
call fcn.0043cc30
test eax, eax
je 0x41aeed
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x35b2b4]
mov edx, dword [esi + 0x35b2b0]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, edx
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fsqrt
call fcn.00468520
cmp eax, edi
jg 0x41aeed
mov edi, eax
mov byte [esp + 0x10], bl
inc bl
cmp bl, 8
mov byte [esp + 0x14], bl
jb 0x41ae8b
cmp byte [esp + 0x10], 9
je 0x41af41
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x2f8850]
mov ecx, dword [esi + 0x2f884c]
lea edx, [esp + 0x1c]
push edx
push 1
push edi
push eax
push ecx
mov ecx, ebp
call fcn.0043cc30
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
push 0
push 0
push edi
push 0x15
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push 0
push 0
push 0
push 9
push 0
lea ecx, [esi + 0x2f8780]
call fcn.00410840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret