Function at 0x48a703
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x4c
mov eax, 0x68449c
call fcn.005b85cd
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x50], esi
and dword [ebp - 4], 0
and dword [ebp - 0x54], 0
lea ecx, [esi + 0xa0]
call fcn.004b97a9
mov edi, dword [ebp + 8]
test edi, edi
je 0x48abf6
test ebx, ebx
je 0x48abf6
push dword [ebx + 0x20]
call dword [0x69b9f0]
test eax, eax
jne 0x48a75f
xor esi, esi
inc esi
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040124d
mov eax, esi
jmp 0x48ac04
lea eax, [ebp + 0x10]
push eax
lea ecx, [esi + 8]
mov dword [esi + 4], edi
call fcn.0040191c
mov eax, dword [esi + 8]
mov dword [esi + 0xc], ebx
xor ebx, ebx
mov dword [esi + 0x98], ebx
cmp dword [eax - 0xc], ebx
jne 0x48a7c1
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str._g_NextStartScreen
call fcn.00401b65
mov ecx, dword [0x7534c4]
lea eax, [ebp - 0x44]
push eax
add ecx, 0x130
call fcn.0040dad5
push eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.0040191c
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x4c]
call fcn.004015a6
mov byte [ebp - 4], 3
call fcn.004037b3
push dword [eax + 0x110]
push 5
call dword [0x69b218]
push eax
push 0x7f00
push ebx
call dword [0x69b9cc]
push eax
push 3
call fcn.004c268f
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040196c
mov dword [ebp - 4], 2
jmp 0x48a833
mov ecx, esi
call fcn.0048a195
test eax, eax
je 0x48a848
mov ebx, dword [eax + 0x1a8]
test ebx, ebx
jg 0x48a84d
mov ebx, 0x1f1
test eax, eax
je 0x48a85e
mov eax, dword [eax + 0x1ac]
mov dword [ebp - 0x50], eax
test eax, eax
jg 0x48a865
mov dword [ebp - 0x50], 0x16a
mov edi, dword [0x69b9d0]
push 7
call edi
lea eax, [ebx + eax*2]
push 8
mov dword [ebp - 0x44], eax
call edi
add eax, eax
push 4
mov dword [ebp - 0x48], eax
call edi
mov ebx, eax
add ebx, dword [ebp - 0x48]
mov eax, dword [0x7534c4]
add ebx, dword [ebp - 0x50]
xor edx, edx
cmp dword [eax + 0x79c], edx
je 0x48a8fa
push edx
mov dword [eax + 0x79c], edx
call edi
sub eax, dword [ebp - 0x44]
mov ecx, dword [0x7534c4]
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [ecx + 0x794], eax
call edi
mov ecx, dword [0x7534c4]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x798], eax
mov eax, dword [0x7534c4]
xor edx, edx
cmp dword [eax + 0x794], edx
jge 0x48a8e7
mov dword [eax + 0x794], edx
mov eax, dword [0x7534c4]
cmp dword [eax + 0x798], edx
jge 0x48a8fa
and dword [eax + 0x798], edx
mov eax, dword [0x7534c4]
mov ecx, dword [eax + 0x794]
mov eax, dword [eax + 0x798]
push 0
push 0
push dword [esi + 0xc]
mov dword [ebp - 0x20], eax
add eax, ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x44]
push 0x84c80000
push ecx
mov dword [ebp - 0x1c], ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str._ProductName__Setup
call fcn.00401b65
mov ecx, dword [0x7534c4]
lea eax, [ebp - 0x48]
push eax
add ecx, 0x70c
call fcn.0041e8a8
mov eax, dword [eax]
push eax
push dword [ebp - 0x4c]
lea edi, [esi + 0x10]
mov edx, dword [edi]
push 0x30001
mov ecx, edi
mov byte [ebp - 4], 5
call dword [edx + 0x58]
mov ecx, dword [ebp - 0x48]
test eax, eax
sete bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040124d
test bl, bl
je 0x48a99e
push 0
push 0
push str.Failed_to_create_canvas
call fcn.004c3eb8
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040124d
push 3
pop esi
jmp 0x48a74d
mov eax, dword [0x7534c4]
xor ebx, ebx
push ebx
push 0x10000
push ebx
mov ecx, edi
mov dword [eax + 0x790], edi
call fcn.004bbcce
mov ecx, esi
call fcn.0048a652
test eax, eax
je 0x48a9cb
mov ecx, esi
call fcn.0048a049
mov eax, dword [0x7534c4]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov edi, dword [eax + 0x198]
cmp dword [ebp + 0x14], ebx
jne 0x48aba2
jmp 0x48ab91
mov eax, dword [esi + 0xc]
push dword [eax + 0x20]
call dword [0x69b9f0]
test eax, eax
je 0x48aba2
cmp edi, ebx
jne 0x48aba2
jmp 0x48ab30
cmp edi, ebx
jne 0x48ab47
mov eax, dword [ebp - 0x2c]
sub eax, 0xa3
je 0x48aadc
sub eax, 0x5d
je 0x48aa8b
sub eax, 4
je 0x48aa57
sub eax, 0x31a
jne 0x48aaed
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004515ab
pop ecx
pop ecx
mov ecx, esi
call fcn.0048a049
jmp 0x48ab25
test dword [ebp - 0x24], 0x2000000
jne 0x48aaed
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x44], ebx
call fcn.004515ab
pop ecx
pop ecx
test al, al
je 0x48aaed
push dword [ebp - 0x44]
mov ecx, esi
call fcn.0048a085
neg eax
sbb eax, eax
inc eax
jmp 0x48aae9
cmp dword [ebp - 0x28], 0xd
jne 0x48aaa3
push ebx
push ebx
push 0x40f
push dword [esi + 0x30]
call dword [0x69b9e4]
jmp 0x48aaed
cmp dword [ebp - 0x28], 0x41
jne 0x48aacd
push 0x11
call dword [0x69b8d0]
mov ecx, 0x8000
test cx, ax
je 0x48aaed
push ebx
push ebx
push 0x410
push dword [esi + 0x30]
call dword [0x69b9e4]
jmp 0x48ab25
cmp dword [ebp - 0x28], 0x1b
jne 0x48aaed
push ebx
push ebx
push 0x411
jmp 0x48aac2
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x20]
jne 0x48aaed
xor eax, eax
cmp eax, ebx
je 0x48ab25
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x48ab25
push dword [eax + 0x20]
call dword [0x69b9f0]
test eax, eax
je 0x48ab25
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.004bbc37
test eax, eax
jne 0x48ab25
lea eax, [ebp - 0x30]
push eax
call dword [0x69ba00]
lea eax, [ebp - 0x30]
push eax
call dword [0x69ba04]
mov eax, dword [0x7534c4]
mov edi, dword [eax + 0x198]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
call dword [0x69b9fc]
test eax, eax
jne 0x48aa11
push 0xa
call dword [0x69b5d8]
mov eax, dword [0x7534c4]
push dword [esi + 0x30]
mov edi, dword [eax + 0x198]
call dword [0x69b9f0]
test eax, eax
je 0x48ab91
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x30]
call dword [0x69ba44]
mov eax, dword [0x7534c4]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x794], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x7534c4]
mov dword [ecx + 0x798], eax
push dword [esi + 0x30]
call dword [0x69b9f0]
test eax, eax
jne 0x48a9f0
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x69c5b8
call fcn.00401b65
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str._g_NextStartScreen
mov byte [ebp - 4], 6
call fcn.00401b65
mov ecx, dword [0x7534c4]
add ecx, 0x130
mov byte [ebp - 4], 2
call fcn.0040ca70
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040124d
mov eax, dword [ebp - 0x54]
jmp 0x48ac04
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040124d
xor eax, eax
inc eax
call fcn.005b8629
ret 0x10