Function at 0x4129c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x61c58]
mov dword [esi + 0x62ae8], 0
test eax, eax
je 0x4129ec
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [0x8a68bc]
test eax, eax
jbe 0x412a04
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [0x7da1d0]
test eax, eax
jne 0x412a1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
push edi
push ebx
mov ecx, 0x7243a4
call fcn.0042aab0
test eax, eax
jne 0x412a4c
mov al, byte [0x72a94c]
test al, al
je 0x412a4c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 0x80
je 0x412a93
mov ecx, dword [0x7e335c]
test ecx, ecx
je 0x412a93
mov eax, dword [ecx + 4]
mov edx, dword [esi + 4]
cmp eax, edx
je 0x412a93
mov al, byte [ecx + 0x88]
test al, al
je 0x412a7a
cmp al, 1
jne 0x412a93
mov eax, dword [ecx + 0x61c74]
test eax, eax
jne 0x412a93
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [0x777404]
test eax, eax
je 0x412aab
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
push edi
push ebx
mov ecx, 0x7e04c8
call fcn.00418460
test eax, eax
je 0x412aca
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esi + 0x62a54]
test eax, eax
jne 0x4130b3
mov eax, dword [esi + 0x62a50]
test eax, eax
jne 0x4130b3
mov eax, dword [esi + 0xf0]
test eax, eax
jle 0x412b0a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
test eax, eax
je 0x412b0a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
push edi
lea eax, [esp + 0x34]
push ebx
push eax
mov ecx, esi
call fcn.00412100
mov ebx, dword [eax]
mov ecx, dword [esi + 0xd0]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x24], ebx
mov eax, dword [eax + 4]
push eax
push ebx
push ecx
mov ecx, dword [esi + 0x62a58]
push edx
mov dword [esp + 0x38], eax
call fcn.0043d290
mov ebp, dword [esi + 0xd0]
mov edx, dword [esp + 0x28]
mov edi, dword [esi + 0xcc]
mov ecx, ebp
mov byte [esp + 0x30], al
sub ecx, edx
mov eax, edi
mov edx, ecx
sub eax, ebx
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 0x412bac
mov al, byte [esi + 0x629c8]
push 0xffffffffffffffff
push 0
push 0
test al, al
push 0
jne 0x4130a5
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
push 0
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esi + 0x62a5c]
test eax, eax
je 0x412f3d
mov al, byte [esi + 0x629c8]
mov dword [esi + 0x62a5c], 0
test al, al
je 0x412d9e
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x62a58]
push 1
push ebx
push ebp
push edi
call fcn.0043cc30
test eax, eax
je 0x412c7f
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xcc]
lea edx, [esp + 0x1c]
push edx
push 2
push ebx
push eax
push ecx
mov ecx, dword [esi + 0x62a58]
call fcn.0043cc30
test eax, eax
je 0x412c7f
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xcc]
lea edx, [esp + 0x1c]
push edx
push 3
push ebx
push eax
push ecx
mov ecx, dword [esi + 0x62a58]
call fcn.0043cc30
test eax, eax
je 0x412c7f
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xcc]
lea edx, [esp + 0x1c]
push edx
push 3
push ebx
push eax
push ecx
mov ecx, dword [esi + 0x62a58]
call fcn.0043cc30
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
push 0
push 0
push ebx
push 0x1f
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov ecx, dword [esi + 0xd0]
mov edx, dword [esi + 0xcc]
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push ecx
mov ecx, dword [esi + 0x62a58]
push edx
call fcn.0043cc30
test eax, eax
je 0x412cc5
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push 0
push 0
push ebx
push 0x1e
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
xor bl, bl
mov byte [esp + 0x30], 9
mov edi, 0x64
mov byte [esp + 0x14], bl
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0xd0]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0xcc]
push 1
push edx
push eax
push ecx
mov ecx, dword [esi + 0x62a58]
call fcn.0043cc30
test eax, eax
je 0x412d37
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
sub ecx, edx
sub eax, ebp
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fsqrt
call fcn.00468520
cmp eax, edi
jg 0x412d37
mov edi, eax
mov byte [esp + 0x30], bl
inc bl
cmp bl, 8
mov byte [esp + 0x14], bl
jb 0x412cd5
cmp byte [esp + 0x30], 9
je 0x412d8f
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xcc]
lea edx, [esp + 0x1c]
push edx
push 1
push edi
push eax
push ecx
mov ecx, dword [esi + 0x62a58]
call fcn.0043cc30
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
push 0
push 0
push edi
push 0x1e
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
push 0xffffffffffffffff
push 0
push 0
push 0
push 9
jmp 0x4130aa
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
push 1
push ecx
mov ecx, dword [esi + 0x62a58]
push ebp
push edi
call fcn.0043cc30
test eax, eax
je 0x412e26
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xcc]
lea edx, [esp + 0x1c]
push edx
push 2
push edi
push eax
push ecx
mov ecx, dword [esi + 0x62a58]
call fcn.0043cc30
test eax, eax
je 0x412e2a
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xcc]
lea edx, [esp + 0x1c]
push edx
push 2
push edi
push eax
push ecx
mov ecx, dword [esi + 0x62a58]
call fcn.0043cc30
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
push 0
push 0
push edi
push 0x16
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 0xd0]
mov edx, dword [esi + 0xcc]
lea eax, [esp + 0x1c]
push eax
push 1
push edi
push ecx
mov ecx, dword [esi + 0x62a58]
push edx
call fcn.0043cc30
test eax, eax
jne 0x412efd
mov byte [esp + 0x10], 9
mov edi, 0x64
mov byte [esp + 0x30], al
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0xd0]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0xcc]
push 1
push edx
push eax
push ecx
mov ecx, dword [esi + 0x62a58]
call fcn.0043cc30
test eax, eax
je 0x412ec3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
sub ecx, edx
mov edx, ecx
sub eax, ebx
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, edi
jg 0x412ec3
mov dl, byte [esp + 0x30]
mov edi, eax
mov byte [esp + 0x10], dl
mov al, byte [esp + 0x30]
inc al
cmp al, 8
mov byte [esp + 0x30], al
jb 0x412e61
cmp byte [esp + 0x10], 9
je 0x412f1e
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0xd0]
mov edx, dword [esi + 0xcc]
lea eax, [esp + 0x1c]
push eax
push 1
push edi
push ecx
mov ecx, dword [esi + 0x62a58]
push edx
call fcn.0043cc30
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push 0
push 0
push edi
push 0x15
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
push 0xffffffffffffffff
push 0
push 0
push 0
push 9
push 0
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x62a58]
push 1
push edx
push ebp
push edi
call fcn.0043cc30
test eax, eax
je 0x412fac
mov al, byte [esi + 0x629c8]
push 0xffffffffffffffff
test al, al
jne 0x412f89
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push ecx
push 0x15
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push eax
push 0x1e
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov byte [esp + 0x14], 9
mov edi, 0x64
mov byte [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0xd0]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0xcc]
push 1
push edx
push eax
push ecx
mov ecx, dword [esi + 0x62a58]
call fcn.0043cc30
test eax, eax
je 0x41301d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
sub ecx, edx
mov edx, ecx
sub eax, ebx
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 0x41301d
mov dl, byte [esp + 0x10]
mov edi, eax
mov byte [esp + 0x14], dl
mov al, byte [esp + 0x10]
inc al
cmp al, 8
mov byte [esp + 0x10], al
jb 0x412fbb
cmp byte [esp + 0x14], 9
je 0x412b7c
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0xd0]
mov edx, dword [esi + 0xcc]
lea eax, [esp + 0x1c]
push eax
push 1
push edi
push ecx
mov ecx, dword [esi + 0x62a58]
push edx
call fcn.0043cc30
mov al, byte [esi + 0x629c8]
push 0xffffffffffffffff
test al, al
jne 0x413086
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push 0
push 0
push edi
push 0x15
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push edi
push 0x1e
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x40]
push eax
push 0x1d
mov ecx, esi
call fcn.00410840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8