Function at 0x660208d7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push esi
cmp ebx, ecx
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
je 0x66020e96
mov esi, dword [ebp + 0x10]
mov edi, dword [ebx + 0x28]
push 1
cmp esi, 0xf
mov dword [ebp + 8], edi
pop edx
mov eax, 0x85
jbe 0x660209f3
cmp esi, 0x1f
jbe 0x66020a8a
mov ecx, dword [ebp + 0x18]
cmp esi, 0x2b
jbe 0x66020aa7
cmp esi, 0x39
jbe 0x66020c3d
cmp esi, 0x4e
jbe 0x66020c86
cmp esi, eax
jbe 0x66020cc3
cmp esi, 0x102
jbe 0x66020d3e
mov eax, 0x111
cmp esi, eax
jbe 0x66036310
mov eax, 0x117
cmp esi, eax
jbe 0x6603640e
mov eax, 0x200
cmp esi, eax
jbe 0x66020d76
mov eax, 0x210
cmp esi, eax
jbe 0x66036523
mov eax, 0x30f
cmp esi, eax
jbe 0x66036594
mov eax, 0x1000
cmp esi, eax
jbe 0x66020d7d
mov eax, 0x100d
cmp esi, eax
jbe 0x66020d8e
mov eax, 0x101e
cmp esi, eax
ja 0x66020ddb
je 0x66020e96
add eax, 0xfffffff0
cmp esi, eax
je 0x66020dcb
jbe case.0x6603662b.4130
cmp esi, 0x1010
jbe 0x660365f9
cmp esi, 0x1011
jne 0x66020dab
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.66026743
jmp 0x66020d19
je 0x66035bf8
cmp esi, 2
je 0x66020a68
cmp esi, 3
je 0x66020a59
cmp esi, 5
je 0x66020a27
cmp esi, 6
jbe case.0x6603662b.4130
cmp esi, 8
ja case.0x6603662b.4130
call fcn.66018523
push 1
pop edx
jmp 0x66020d56
test byte [ebx + 0x25], 7
jne 0x66035b8f
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
mov eax, dword [eax]
shl eax, 4
sar eax, 0x1f
test al, al
je case.0x6603662b.4130
mov eax, dword [ebx + 0x30]
mov edi, dword [eax + 0x44]
test edi, edi
je case.0x6603662b.4130
jmp 0x66035b9c
test byte [ebx + 0x25], 7
je case.0x6603662b.4130
jmp 0x66035beb
call fcn.66018523
mov eax, dword [edi]
mov eax, dword [eax]
shl eax, 4
sar eax, 0x1f
test al, al
je case.0x6603662b.4130
push ebx
call fcn.6602b56b
jmp case.0x6603662b.4130
je 0x66020a9a
cmp esi, 0x19
jne case.0x6603662b.4130
jmp 0x660364d5
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
jmp case.0x6603662b.4130
cmp esi, 0x2b
je 0x66036075
mov eax, esi
sub eax, 0x20
jne 0x66035c06
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x66020ad4
mov ecx, dword [ecx + 0x74]
mov ecx, dword [ecx]
cmp byte [ecx + 0x37], 0x1d
je 0x6603603b
movzx eax, word [ebp + 0x18]
push eax
push ebx
call fcn.6602bfda
test eax, eax
jne 0x66035c1c
cmp dword [ebp + 0xc], eax
jne case.0x6603662b.4130
jmp 0x6603604d
cmp cl, 0x11
je 0x66035ca3
cmp cl, 0x1c
ja 0x66035c7f
cmp dword [eax + 0xc], 0
jne 0x66035c8d
jmp 0x66020cfb
cmp esi, 0xf
jbe 0x66020b55
cmp esi, 0x82
jne 0x66020bec
push ebx
push edi
call fcn.6602ae69
mov eax, dword [ebx + 0x28]
and dword [ebx + 0x3c], 0
mov eax, dword [eax]
test byte [eax + 3], 8
je 0x66020d16
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x66020d16
and dword [ebx + 0x40], 0
jmp 0x66020d16
je 0x66036019
sub esi, 7
je 0x66020bab
dec esi
jne 0x66020d16
push edi
push ebx
call fcn.6602293f
test eax, eax
jne 0x66020d16
cmp word [ebx + 0xc8], ax
lea esi, [ebx + 0xc8]
jne 0x66035cd2
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x66020d16
mov eax, dword [eax + 0x74]
mov eax, dword [eax]
cmp byte [eax + 0x37], 0x1e
je 0x66035d4f
jmp 0x66020d16
mov eax, dword [ebx + 0x30]
push edi
push ebx
mov esi, dword [eax + 0x34]
call fcn.6602293f
test eax, eax
jne 0x66020d16
cmp word [ebx + 0xc8], ax
mov eax, dword [0x6610e7c8]
jne 0x66035d80
test eax, eax
je 0x66020be1
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x66035dac
push ebx
call fcn.6602377f
jmp 0x66020d16
cmp esi, 0x85
je 0x66036019
cmp esi, 0x87
je 0x66036010
cmp esi, 0x1ff
jbe 0x66020d16
cmp esi, 0x209
ja 0x66035dc1
push edi
push ebx
call fcn.6602293f
test eax, eax
jne 0x66036006
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push ebx
call fcn.6602c2c2
jmp 0x66020d16
je 0x660360f1
cmp esi, 0x2c
je 0x660360ed
cmp esi, 0x2d
je 0x660360e8
jbe case.0x6603662b.4130
cmp esi, 0x2f
jbe 0x660360ba
cmp esi, 0x30
jne 0x66036097
mov eax, dword [edi]
mov eax, dword [eax]
sar eax, 0x1f
test al, al
je 0x66020d56
push dword [ebp + 0x14]
push ebx
call fcn.6602167d
jmp 0x66020e96
je 0x66036106
mov eax, esi
sub eax, 0x46
jne 0x66020cac
cmp dword [ebp + 0xc], 0
je case.0x6603662b.4130
mov eax, dword [ebx + 0x24]
test al, 2
je case.0x6603662b.4130
test eax, 0x40000
je case.0x6603662b.4130
jmp 0x660360f6
dec eax
jne case.0x6603662b.4130
mov eax, dword [ebx + 0x30]
test byte [eax + 0x20], 0x10
jne 0x66020c93
push dword [ebp + 0xc]
push ebx
call fcn.66023a97
jmp 0x66020c93
je 0x66020d2f
cmp esi, 0x82
je 0x66020d20
mov edi, dword [ebx + 0x3c]
test edi, edi
mov dword [ebp + 0xc], edi
je 0x66020d0c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov cl, byte [eax + 0x37]
cmp cl, 0xa
jne 0x66020af5
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x58]
test byte [eax + 0x99], 0x10
jne 0x66035cbf
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x66020b16
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14
push ebx
call fcn.6602adbb
mov dword [ebp - 8], 1
jmp case.0x6603662b.4130
mov eax, dword [ebx + 0x24]
test eax, 0x40000
je case.0x6603662b.4130
jmp 0x66036128
cmp esi, 0x100
jae 0x6603632e
cmp esi, 0x87
jne case.0x6603662b.4130
mov dword [ebp - 8], edx
jmp case.0x6603662b.4130
push 0
push ebx
call fcn.6602b49d
jmp 0x66020e0c
push ebx
call fcn.6602b4b6
jmp 0x66020e96
je 0x66020d56
jmp 0x660364bd
jne 0x660365ca
push dword [ebp + 0xc]
push ebx
call fcn.6602188a
jmp 0x66020d19
je 0x66020e96
cmp esi, 0x1001
jne case.0x6603662b.4130
push ebx
call fcn.660221e1
jmp 0x66020d19
cmp esi, 0x1012
je 0x660365eb
cmp esi, 0x1015
jne case.0x6603662b.4130
push 7
pop eax
jmp 0x66020d19
push 0
push dword [ebp + 0x14]
push ebx
call fcn.66022982
jmp 0x66020d19
cmp esi, 0x1033
jbe 0x66036609
mov eax, 0x105c
cmp esi, eax
ja 0x660361a9
jne 0x6603614a
mov eax, dword [edi]
mov eax, dword [eax]
shl eax, 0x17
sar eax, 0x1f
test al, al
jne 0x66020d5e
mov ax, word [edi + 0x2a]
test al, 0x40
jne 0x66036167
push ebx
call fcn.6602aef1
mov eax, dword [ebx + 0xa4]
test eax, eax
jne 0x6603617f
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x20]
mov esi, eax
or eax, 0x20000
shr esi, 0x11
mov dword [ecx + 0x20], eax
mov ecx, ebx
and esi, 1
call fcn.6602afff
test eax, eax
jne 0x66036193
mov eax, dword [ebx + 0x24]
shr eax, 0xf
test al, 1
jne 0x6603619e
mov eax, dword [ebx + 0x30]
and esi, 1
shl esi, 0x11
mov ecx, dword [eax + 0x20]
and ecx, 0xfffdffff
or esi, ecx
mov ecx, ebx
mov dword [eax + 0x20], esi
call fcn.6602b00f
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
test byte [eax + 1], 1
jne 0x66020d6b
cmp byte [eax + 0x37], 0x1d
je 0x66020d6b
xor eax, eax
jmp 0x66020d19
push 0
push ebx
call fcn.6608bd11
jmp 0x66020a31
cmp dword [ebp + 0x14], 1
je case.0x6603662b.4130
mov esi, dword [ebp + 0x18]
mov edx, dword [eax + 0x4c]
shr esi, 0x10
movsx esi, si
sub esi, dword [eax + 0x54]
mov ecx, dword [eax + 0x48]
push 1
sub esi, edx
push esi
movsx esi, word [ebp + 0x18]
sub esi, dword [eax + 0x50]
sub esi, ecx
push esi
push edx
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebx + 0x30]
test byte [eax + 0x20], 0x10
jne 0x66020e96
push dword [ebp + 0xc]
push ebx
call fcn.66023a97
jmp 0x66020e96
push 0
push ebx
call fcn.6608bd11
jmp case.0x6603662b.4130
cmp dword [ebp + 0x14], ecx
jne case.0x6603662b.4130
jmp 0x66020d2f
dec eax
je 0x66035c23
sub eax, 3
jne case.0x6603662b.4130
push ecx
push dword [ebp + 0xc]
push ebx
call fcn.66079760
push 1
jmp 0x66020dc5
mov edi, dword [ebx + 0x30]
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x4e4]
test eax, eax
je 0x66035c3d
cmp dword [eax + 0x18], 0
jne case.0x6603662b.4130
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0x38]
cmp dword [ebp + 0x14], ecx
jne case.0x6603662b.4130
cmp dword [ebp + 0xc], ecx
je case.0x6603662b.4130
mov eax, dword [eax + 0x34]
xor ecx, ecx
cmp eax, dword [edi + 0xa0]
lea esi, [eax + 0x18c]
sete cl
mov eax, dword [esi]
and ecx, 1
shl ecx, 3
and al, 0xf7
or ecx, eax
mov dword [esi], ecx
mov esi, dword [ebp + 0x10]
jmp case.0x6603662b.4130
cmp cl, 0x20
jbe 0x66020ce8
jmp 0x66020b07
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push edi
push dword [edx + 0xc]
call dword [sym.imp.USER32.dll_CallWindowProcA]
jmp 0x66020d09
push dword [ebp + 0x18]
mov eax, dword [ebx + 0x30]
push dword [ebp + 0x14]
mov eax, dword [eax + 0x2c]
push esi
push dword [eax + 0x3c]
push edi
call dword [sym.imp.USER32.dll_DefFrameProcA]
jmp 0x66020d09
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push edi
call dword [sym.imp.USER32.dll_DefMDIChildProcA]
jmp 0x66020d09
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x66035cf5
cmp eax, dword [ebp + 0x14]
je 0x66035ced
push 2
push eax
jmp 0x66035cdd
test eax, eax
jne 0x66020b89
mov eax, dword [ebx + 0x30]
cmp word [esi], 3
mov edi, dword [eax + 0x34]
mov eax, dword [0x6610e7c8]
je 0x66035d25
test eax, eax
je 0x66020b89
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x66035d25
push 0
push esi
push dword [ebp + 0xc]
call ecx
mov eax, dword [0x6610e7c8]
add esp, 0xc
test eax, eax
je 0x66020b89
mov eax, dword [eax + 0x34]
test eax, eax
je 0x66020b89
movzx ecx, word [edi + 0xe5c]
push 0
push ecx
push dword [ebp + 0xc]
call eax
add esp, 0xc
jmp 0x66020b89
cmp dword [ebp + 0x14], 0
je 0x66035d72
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
cmp byte [eax + 0x37], 5
jne 0x66035d72
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [ebp + 0xc]
je 0x66020d16
mov ecx, dword [ebx + 0x30]
push ebx
call fcn.6609f0c8
jmp 0x66020d16
test eax, eax
je 0x66020be1
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x66020bd2
add esi, 0xe5c
push 0
push esi
push edi
call ecx
mov eax, dword [0x6610e7c8]
add esp, 0xc
jmp 0x66020bd2
movzx ecx, word [ebx + 0xc8]
push 0
push ecx
push edi
call eax
add esp, 0xc
jmp 0x66020be1
mov eax, 0x1032
cmp esi, eax
je 0x66035fb5
cmp esi, 0x1033
jne 0x66020d16
push dword [ebp + 0x18]
mov ecx, dword [ebx + 0x28]
push dword [ebp + 0x14]
mov ecx, dword [ecx]
push eax
push dword [ebx + 0x3c]
push ebx
call dword [ecx + 0x10]
mov eax, dword [ebp + 8]
mov ax, word [eax + 0x28]
shr eax, 0xf
test al, 1
je 0x66020d16
mov esi, dword [ebp + 0x18]
push 5
pop ecx
lea edi, [ebp - 0x34]
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x4c]
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x66035ea3
mov eax, dword [esi + 0x24]
test eax, 0x2000000
je 0x66035e9b
test al, 4
je 0x66035e9b
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0x68]
mov edx, dword [0x6610e6fc]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 4]
add eax, dword [esi + 0x6c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x60]
call fcn.6601ff06
add eax, dword [ebp - 0x20]
mov edx, dword [0x6610e6f8]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x64]
call fcn.6601ff06
add eax, dword [ebp - 0x1c]
push dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_SaveDC]
test eax, eax
je 0x66035e9b
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp + 0x14]
mov eax, dword [eax]
push 0x1032
push dword [esi + 0x3c]
push esi
call dword [eax + 0x10]
push 0xffffffffffffffff
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov esi, dword [esi + 0x44]
jmp 0x66035e19
cmp dword [ebp + 0xc], 0
mov edi, dword [sym.imp.USER32.dll_GetWindow]
jne 0x66035fa6
and dword [ebp + 0x10], 0
cmp dword [ebp + 0x10], 0
je 0x66020d16
push 0
push dword [ebx + 0x30]
push dword [ebp + 0x10]
call fcn.6602371f
test eax, eax
jne 0x66035ee0
push 2
push dword [ebp + 0x10]
call edi
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x66035ec1
cmp dword [ebp + 0x10], 0
je 0x66020d16
push 1
push dword [ebp + 0x10]
call edi
test eax, eax
mov dword [ebp + 8], eax
je 0x66020d16
push 3
push eax
call edi
push 0
mov dword [ebp - 0xc], eax
push dword [ebx + 0x30]
push dword [ebp + 8]
call fcn.6602371f
mov esi, eax
test esi, esi
je 0x66035f92
test byte [esi + 0x24], 4
je 0x66035f92
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_SaveDC]
test eax, eax
je 0x66035f92
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push 2
push eax
push dword [ebp + 0xc]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp + 0x14]
mov eax, dword [eax]
push 0x1033
push dword [esi + 0x3c]
push esi
call dword [eax + 0x10]
push 0xffffffffffffffff
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 8], eax
je 0x66020d16
mov eax, dword [ebp - 0xc]
jmp 0x66035ef1
push 5
push dword [ebp + 0xc]
call edi
mov dword [ebp + 0x10], eax
jmp 0x66035eb7
mov eax, dword [ebp + 8]
push 0
movzx eax, word [eax + 0x28]
shr eax, 0xf
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x30]
mov edi, dword [eax + 0x34]
pop eax
sete al
push eax
push ebx
mov dword [edi + 0xe3c], eax
call fcn.660847bc
mov esi, eax
test esi, esi
je 0x66035ff7
mov eax, dword [ebp + 0x18]
push esi
push dword [eax + 8]
push dword [ebp + 0x14]
call fcn.66085a04
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0xe3c], 1
jmp 0x66020d16
call fcn.66018523
jmp 0x66020d16
or byte [ebp - 4], 0x80
jmp 0x66020d16
cmp dword [0x6610e7b4], 0
je 0x66036037
mov ebx, dword [ebx + 0x24]
shr ebx, 0x1d
and ebx, 1
push ebx
push edi
call fcn.6607c432
jmp 0x66020d16
xor ebx, ebx
jmp 0x6603602b
test byte [eax + 0x1b4], 0x20
jne case.0x6603662b.4130
jmp 0x66020ad4
push ebx
call fcn.6602a421
mov ebx, eax
test ebx, ebx
je 0x66020e96
movzx eax, word [ebp + 0x18]
push eax
push ebx
call fcn.6602bfda
test eax, eax
je case.0x6603662b.4130
jmp 0x66035c1c
mov eax, dword [ecx + 0x14]
push eax
push ecx
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push esi
push dword [ebp + 0xc]
push eax
call fcn.6607990d
test eax, eax
jne 0x66020d16
jmp case.0x6603662b.4130
cmp esi, 0x31
jne case.0x6603662b.4130
mov eax, dword [edi]
mov eax, dword [eax]
sar eax, 0x1f
test al, al
je case.0x6603662b.4130
mov eax, dword [ebx + 0xdc]
jmp 0x66020d19
push dword [ebp + 0x18]
call fcn.66027ab7
test eax, eax
je 0x660360e0
push dword [ebp + 0x18]
add esi, 0x2000
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x18]
call fcn.6601ffcb
jmp 0x66020d19
or eax, 0xffffffff
jmp 0x66020d19
mov eax, dword [ecx + 0xc]
jmp 0x66036078
xor eax, eax
jmp 0x66036078
mov eax, dword [ecx + 8]
jmp 0x66036078
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.6607c3c1
jmp case.0x6603662b.4130
mov eax, dword [ebp + 0x18]
push dword [eax]
call fcn.66027ab7
test eax, eax
je 0x66020e96
mov eax, dword [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push 0x204e
push dword [eax]
jmp 0x660360d6
test al, 2
je case.0x6603662b.4130
push ebx
call fcn.6602a421
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
cmp byte [eax + 0x37], 0x11
je case.0x6603662b.4130
jmp 0x66020d26
cmp esi, 0x1058
jb case.0x6603662b.4130
cmp esi, 0x105b
ja case.0x6603662b.4130
jmp 0x66020e96
test byte [edi + 0x28], 0x10
jne 0x66020e18
test ah, 8
je 0x66020e1e
jmp 0x66020e18
push eax
push 0
push dword [0x6610e6c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x66020e2c
push ebx
call fcn.660c8ef0
jmp 0x66020e51
push ebx
call fcn.66094382
jmp 0x66020e5f
mov eax, 0x1080
cmp esi, eax
ja 0x660361d6
je 0x660361c5
cmp esi, 0x105d
jne case.0x6603662b.4130
jmp 0x66020e96
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.66086ea8
jmp 0x66020d19
mov eax, 0x1090
cmp esi, eax
ja 0x66036251
je 0x66036247
mov eax, esi
sub eax, 0x1087
je 0x66036239
dec eax
dec eax
jne case.0x6603662b.4130
push dword [ebp + 0x18]
push ebx
call fcn.660c8899
push dword [ebp + 0x18]
mov esi, eax
push 0
push dword [0x6610e6c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
je 0x66020e96
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebx + 0x28]
movzx eax, byte [eax + 0xf8]
push eax
push ebx
call fcn.66022982
jmp 0x66020e96
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
jmp 0x66020d19
mov eax, 0x600545f
jmp 0x66020d19
mov eax, 0x2019
cmp esi, eax
ja 0x660362a7
je 0x66036505
mov eax, esi
sub eax, 0x1091
je 0x6603628a
dec eax
jne case.0x6603662b.4130
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x66036282
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0xc]
jmp 0x66020d19
mov eax, dword [edi + 0xc]
jmp 0x66020d19
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x6603629c
mov eax, dword [eax + 0x84]
jmp 0x66020d19
mov eax, dword [ebx + 0x84]
jmp 0x66020d19
cmp esi, 0x202b
jb case.0x6603662b.4130
cmp esi, 0x202d
jbe 0x66020e96
cmp esi, 0x2039
je 0x66020e96
cmp esi, 0x2111
je 0x66020e96
cmp esi, 0x2113
jbe case.0x6603662b.4130
cmp esi, 0x2115
jbe 0x66020e96
cmp esi, 0x2210
jne case.0x6603662b.4130
cmp dword [ebp + 0x14], 2
jne 0x66020e96
push ebx
call fcn.6602b56b
jmp 0x66020e96
je 0x660363f1
cmp esi, 0x104
jb case.0x6603662b.4130
cmp esi, 0x105
ja case.0x6603662b.4130
push 0
lea eax, [ebp + 0x18]
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebx + 0x3c]
push ebx
call fcn.6607a11e
test eax, eax
jne 0x66020e96
cmp esi, 0x100
jne 0x66036394
cmp dword [ebp + 0x14], 0x70
jne 0x66036394
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jl 0x66036394
push 0x11
call edi
test ax, ax
jl 0x66036394
mov eax, dword [ebx + 0x30]
push ebx
push dword [eax + 0xa0]
call fcn.66070b81
test eax, eax
jne 0x66036394
push eax
push ebx
call fcn.6607a704
test eax, eax
jne 0x66020e96
mov edi, 0x102
cmp esi, edi
jne case.0x6603662b.4130
mov eax, dword [ebx + 0x28]
cmp dword [eax], 0x6610dfe0
jne case.0x6603662b.4130
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je case.0x6603662b.4130
push 0
push 0
push 0x18b
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne case.0x6603662b.4130
push 3
push edi
push edi
lea eax, [ebp - 0x3c]
push dword [ebx + 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x66020e96
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.6607995d
test eax, eax
je case.0x6603662b.4130
jmp 0x66020e96
je 0x66036460
cmp esi, 0x114
jb case.0x6603662b.4130
cmp esi, 0x115
ja case.0x6603662b.4130
cmp word [ebp + 0x14], 0xb6
je case.0x6603662b.4130
mov edi, dword [ebp + 0x18]
test edi, edi
je case.0x6603662b.4130
push edi
call fcn.66027ab7
test eax, eax
je case.0x6603662b.4130
push dword [ebp + 0x18]
add esi, 0x2000
push dword [ebp + 0x14]
push esi
push edi
jmp 0x660360d6
mov eax, dword [ebp + 0x18]
shr eax, 0x10
test ax, ax
jne case.0x6603662b.4130
push dword [ebp + 0x14]
mov eax, dword [ebx + 0x30]
mov edi, dword [eax + 0x34]
push ebx
call fcn.66091db0
mov esi, eax
test esi, esi
je 0x66035c77
push ebx
call fcn.66070a18
cmp dword [ebp + 0x14], eax
je 0x66035c77
movzx eax, word [esi + 0xe4]
push ebx
push eax
push 0x105b
mov dword [edi + 0x4d8], 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x66035c77
cmp esi, 0x132
jb case.0x6603662b.4130
cmp esi, 0x138
ja case.0x6603662b.4130
push dword [ebp + 0x18]
call fcn.660159f5
test eax, eax
je 0x66036505
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx]
test byte [ecx + 3], 2
jne 0x66036503
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0x2019
push dword [eax + 0x3c]
push eax
call dword [ecx + 0x10]
jmp 0x66020d19
mov ebx, eax
push 1
lea eax, [ebp - 0x10]
push 0
push eax
push dword [ebp + 0x14]
push ebx
call fcn.66026c46
push dword [ebp - 0xc]
call fcn.66026b6a
jmp 0x66020d19
je 0x66036542
cmp esi, 0x201
jb case.0x6603662b.4130
cmp esi, 0x209
ja case.0x6603662b.4130
jmp 0x66020a1a
cmp word [ebp + 0x14], dx
je 0x66036553
cmp word [ebp + 0x14], 2
jne case.0x6603662b.4130
push 0
push dword [ebx + 0x30]
push dword [ebp + 0x18]
call fcn.6602371f
test eax, eax
je case.0x6603662b.4130
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx]
test byte [ecx + 3], 2
jne 0x66036583
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0x2210
jmp 0x660364f7
cmp word [ebp + 0x14], 2
jne case.0x6603662b.4130
push eax
jmp 0x66020a80
je 0x660365a7
cmp esi, 0x286
jne case.0x6603662b.4130
jmp 0x6603632e
mov eax, dword [edi]
cmp byte [eax + 0x37], 0x11
je 0x66020e96
mov ebx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x1c]
lea eax, [ebx + 0x1c]
push eax
call dword [ecx + 0x30]
neg eax
sbb eax, eax
inc eax
jmp 0x66020d19
cmp esi, 0x311
jne case.0x6603662b.4130
mov ebx, dword [ebx + 0x30]
push dword [ebp + 0x14]
mov ecx, dword [ebx + 0x1c]
lea eax, [ebx + 0x1c]
push eax
call dword [ecx + 0x34]
jmp 0x66020e96
push dword [ebp + 0x14]
push ebx
call fcn.66079eb2
jmp 0x66020e96
lea eax, [ebp + 0x18]
push eax
push esi
push ebx
call fcn.660cacf6
jmp 0x66020d19
cmp esi, 0x1032
jae 0x66020d56
lea eax, [esi - 0x101f]
cmp eax, 0xf
ja case.0x6603662b.4130
movzx eax, byte [eax + 0x660366f8]
jmp dword [eax*4 + 0x660366d0]
mov eax, 0x200050
jmp 0x66020d19
push dword [ebp + 0x14]
push ebx
call fcn.66086d70
jmp 0x66020d19
cmp dword [ebp + 0x14], 0x25
jb 0x66020e96
cmp dword [ebp + 0x14], 0x28
ja 0x66020e96
mov eax, dword [edi]
mov eax, dword [eax]
shl eax, 0x1f
sar eax, 0x1f
jmp 0x66020d19
cmp dword [ebp + 0x14], 1
jne 0x66036681
push dword [ebp + 0x18]
push ebx
call fcn.66079fa3
jmp 0x66020e96
cmp dword [ebp + 0x14], 0
jne 0x66020e96
push dword [ebp + 0x18]
push ebx
call fcn.660798ba
jmp 0x66020d19
push 2
jmp 0x66020dc5
push dword [ebp + 0x18]
push ebx
call fcn.660b3808
jmp 0x66020d19
push dword [ebp + 0x18]
push ebx
call fcn.660b3937
jmp 0x66020d19
push 1
push dword [ebp + 0x18]
push ebx
call fcn.66079802
jmp 0x66020d19
push 0
jmp 0x660366be