Function at 0x1001ed18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x101f9e44]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0xbc], 1
cmp edi, 0x11
je 0x1001ec37
cmp edi, 0x10
je 0x1001ec37
push 0x11
call ebx
bt ax, 0xf
jae 0x1001ebb8
push 0x10
call ebx
bt ax, 0xf
jae 0x1001ebb8
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 3
push edi
push 0x100
push dword [eax + 0x20]
call ebx
jmp 0x1001ebbe
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1001ebeb
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
push 1
push edi
push 0x100
push dword [eax + 0x20]
call ebx
jmp 0x1001ec57
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov eax, dword [esi + 0x20]
push eax
je 0x1001ec1c
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
push 2
push edi
push 0x100
push dword [eax + 0x20]
call ebx
jmp 0x1001ec57
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
push 0
push edi
push 0x100
push dword [eax + 0x20]
call ebx
jmp 0x1001ec57
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
push 0
push edi
push 0x100
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x53c]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
cmp eax, dword [esi + 0x2c8]
jge 0x1001ec7c
mov edx, 1
mov dword [esp + 0x24], edx
jmp 0x1001ec94
mov eax, dword [esi + 0x540]
mov edi, 1
cmp eax, dword [esi + 0x2d0]
cmovl ecx, edi
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x54c]
test eax, eax
js 0x1001ecb8
cmp eax, dword [esi + 0x2c4]
jge 0x1001ecb8
mov eax, dword [esi + 0x550]
test eax, eax
js 0x1001ecb8
cmp eax, dword [esi + 0x2cc]
jl 0x1001ecc4
test edx, edx
jne 0x1001ecc4
test ecx, ecx
je 0x1001ee96
mov edi, dword [esi + 0x54c]
mov ebx, dword [esi + 0x550]
push 0x11
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae case.0x1001ed11.46
mov eax, dword [ebp + 8]
add eax, 0xffffffd3
cmp eax, 0x2b
ja case.0x1001ed11.46
movzx eax, byte [eax + 0x1001f804]
jmp dword [eax*4 + 0x1001f7f0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x190]
jmp case.0x1001ed11.46
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x184]
jmp case.0x1001ed11.46
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x188]
jmp case.0x1001ed11.46
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
push 0
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
mov ecx, 0x8000
test cx, ax
je 0x1001ed7a
cmp edx, 0x2d
jne 0x1001ed7a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
mov edx, dword [ebp + 8]
cmp dword [esp + 0x24], 0
jne 0x1001f7d7
cmp dword [esp + 0x14], 0
jne 0x1001f7d7
cmp edx, 0x2e
jne 0x1001edb1
cmp dword [esi + 0x10c], 0
je 0x1001f389
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
jmp 0x1001f389
cmp edx, 0x28
jne 0x1001ee08
mov ecx, dword [esi + 0x2c4]
mov edx, edi
lea edi, [edx + 1]
mov dword [esp + 0xc], edi
cmp edi, ecx
jge 0x1001ee51
nop dword [eax]
test edi, edi
js 0x1001edf4
cmp edi, ecx
jge 0x1001edf4
cmp edi, dword [esi + 0x2dc]
jge 0x1001f7eb
mov eax, dword [esi + 0x2d8]
cmp dword [eax + edi*4], 0
jg 0x1001f389
inc edi
mov dword [esp + 0xc], edi
cmp edi, ecx
jl 0x1001edd0
mov edi, edx
mov dword [esp + 0xc], edi
jmp 0x1001f389
cmp edx, 0x26
jne 0x1001ee5c
mov ecx, dword [esi + 0x2c8]
mov edx, edi
lea edi, [edx - 1]
mov dword [esp + 0xc], edi
cmp edi, ecx
jl 0x1001ee51
test edi, edi
js 0x1001ee48
cmp edi, dword [esi + 0x2c4]
jge 0x1001ee48
cmp edi, dword [esi + 0x2dc]
jge 0x1001f7eb
mov eax, dword [esi + 0x2d8]
cmp dword [eax + edi*4], 0
jg 0x1001f389
dec edi
mov dword [esp + 0xc], edi
cmp edi, ecx
jge 0x1001ee20
mov edi, edx
mov dword [esp + 0xc], edi
jmp 0x1001f389
cmp edx, 0x27
je 0x1001f27a
cmp edx, 9
jne 0x1001eeb1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1001f277
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1001f17c
mov ecx, esi
call fcn.1003be41
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10174d8d
mov esp, ebp
pop ebp
ret 0xc
cmp edx, 0x25
je 0x1001f17f
cmp edx, 0x22
jne 0x1001ef1d
push ecx
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.10024150
push 0
push 3
push 0x115
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 1
push eax
mov ecx, esi
call fcn.10024150
mov eax, dword [esi + 0x2c4]
mov ecx, dword [esp + 0x14]
dec eax
sub ecx, dword [esp + 0x24]
je 0x1001ef12
add edi, ecx
mov dword [esp + 0xc], edi
cmp edi, eax
jle 0x1001f389
mov edi, eax
mov dword [esp + 0xc], edi
jmp 0x1001f389
cmp edx, 0x21
jne 0x1001ef7f
push ecx
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.10024150
push 0
push 2
push 0x115
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 1
push eax
mov ecx, esi
call fcn.10024150
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x2c8]
sub ecx, dword [esp + 0x24]
je 0x1001ef12
add edi, ecx
mov dword [esp + 0xc], edi
cmp edi, eax
jge 0x1001f389
mov edi, eax
mov dword [esp + 0xc], edi
jmp 0x1001f389
cmp edx, 0x24
jne 0x1001f06a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov eax, dword [esi + 0x20]
push 0
push 6
je 0x1001efd1
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x115
push eax
call ebx
push 0
push 6
push 0x114
push dword [esi + 0x20]
call ebx
mov edi, dword [esi + 0x2c8]
mov dword [esp + 0x1c], 1
mov dword [esp + 0xc], edi
jmp 0x1001efdd
push 0x114
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x2cc]
mov ebx, dword [esi + 0x2d0]
mov dword [esp + 0x10], ebx
lea edx, [ecx - 1]
cmp ebx, edx
jge 0x1001f01d
test ebx, ebx
js 0x1001f014
cmp ebx, ecx
jge 0x1001f014
cmp ebx, dword [esi + 0x2f0]
jge 0x1001f7eb
mov eax, dword [esi + 0x2ec]
cmp dword [eax + ebx*4], 0
jg 0x1001f01d
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, edx
jl 0x1001eff4
mov ecx, dword [esi + 0x2c4]
lea edx, [ecx - 1]
cmp edi, edx
jge 0x1001f145
nop
test edi, edi
js 0x1001f054
cmp edi, ecx
jge 0x1001f054
cmp edi, dword [esi + 0x2dc]
jge 0x1001f7eb
mov eax, dword [esi + 0x2d8]
cmp dword [eax + edi*4], 0
jg 0x1001f145
inc edi
mov dword [esp + 0xc], edi
cmp edi, edx
jl 0x1001f030
mov dword [esp + 0x20], 1
jmp 0x1001f389
cmp edx, 0x23
jne 0x1001f152
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov eax, dword [esi + 0x20]
push 0
push 7
je 0x1001f0bd
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x115
push eax
call ebx
push 0
push 7
push 0x114
push dword [esi + 0x20]
call ebx
mov edi, dword [esi + 0x2c4]
dec edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0xc], edi
jmp 0x1001f0c9
push 0x114
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esi + 0x2cc]
mov ecx, dword [esi + 0x2d0]
dec ebx
inc ecx
mov dword [esp + 0x10], ebx
cmp ebx, ecx
jle 0x1001f10d
nop
test ebx, ebx
js 0x1001f104
cmp ebx, dword [esi + 0x2cc]
jge 0x1001f104
cmp ebx, dword [esi + 0x2f0]
jge 0x1001f7eb
mov eax, dword [esi + 0x2ec]
cmp dword [eax + ebx*4], 0
jg 0x1001f10d
dec ebx
mov dword [esp + 0x10], ebx
cmp ebx, ecx
jg 0x1001f0e0
mov ecx, dword [esi + 0x2c8]
inc ecx
cmp edi, ecx
jle 0x1001f145
test edi, edi
js 0x1001f13c
cmp edi, dword [esi + 0x2c4]
jge 0x1001f13c
cmp edi, dword [esi + 0x2dc]
jge 0x1001f7eb
mov eax, dword [esi + 0x2d8]
cmp dword [eax + edi*4], 0
jg 0x1001f145
dec edi
mov dword [esp + 0xc], edi
cmp edi, ecx
jg 0x1001f118
mov dword [esp + 0x20], 1
jmp 0x1001f389
cmp edx, 0x71
jne 0x1001ee96
mov eax, dword [esi]
mov ecx, esi
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x550]
push dword [esi + 0x54c]
call dword [eax + 0x1a0]
jmp 0x1001f389
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov eax, ebx
mov dword [esp + 0x24], eax
cmp edx, 9
jne 0x1001f19f
cmp dword [esi + 0x94], 0
jne 0x1001f296
lea ebx, [eax - 1]
mov dword [esp + 0x10], ebx
mov ecx, ebx
cmp edx, 9
jne 0x1001f225
mov eax, dword [esi + 0x2d0]
dec eax
cmp ebx, eax
jne 0x1001f21c
mov ecx, dword [esi + 0x2c8]
cmp edi, ecx
jle 0x1001f21c
dec edi
mov dword [esp + 0xc], edi
cmp edi, ecx
jle 0x1001f207
nop dword [eax + eax]
test edi, edi
js 0x1001f1f4
cmp edi, dword [esi + 0x2c4]
jge 0x1001f1f4
cmp edi, dword [esi + 0x2dc]
jge 0x1001f7eb
mov eax, dword [esi + 0x2d8]
cmp dword [eax + edi*4], 0
jg 0x1001f1ff
dec edi
mov dword [esp + 0xc], edi
cmp edi, ecx
jg 0x1001f1d0
jmp 0x1001f207
mov dword [esp + 0x14], 1
mov ebx, dword [esi + 0x2cc]
dec ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x10], ebx
jmp 0x1001f223
mov ecx, esi
call fcn.1003be41
mov ecx, ebx
mov edx, dword [esi + 0x2d0]
cmp ecx, edx
jl 0x1001f263
nop
test ecx, ecx
js 0x1001f258
cmp ecx, dword [esi + 0x2cc]
jge 0x1001f258
cmp ecx, dword [esi + 0x2f0]
jge 0x1001f7eb
mov eax, dword [esi + 0x2ec]
cmp dword [eax + ecx*4], 0
jg 0x1001f389
dec ebx
mov dword [esp + 0x10], ebx
mov ecx, ebx
cmp ebx, edx
jge 0x1001f230
cmp dword [esp + 0x14], 0
jne 0x1001f389
mov ebx, dword [esp + 0x24]
jmp 0x1001f385
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov eax, ebx
mov dword [esp + 0x24], eax
cmp edx, 9
jne 0x1001f2c3
cmp dword [esi + 0x94], 0
je 0x1001f2c3
push ecx
mov eax, esp
mov ecx, esi
push ebx
push edi
push eax
call fcn.1002b710
mov eax, dword [esi]
mov ecx, esi
push ebx
push edi
call dword [eax + 0x1a4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10174d8d
mov esp, ebp
pop ebp
ret 0xc
lea ebx, [eax + 1]
mov dword [esp + 0x10], ebx
mov ecx, ebx
cmp edx, 9
jne 0x1001f340
cmp ebx, dword [esi + 0x2cc]
jne 0x1001f337
mov ecx, dword [esi + 0x2c4]
lea eax, [ecx - 1]
cmp edi, eax
jge 0x1001f337
inc edi
mov dword [esp + 0xc], edi
cmp edi, ecx
jge 0x1001f323
nop
test edi, edi
js 0x1001f310
cmp edi, ecx
jge 0x1001f310
cmp edi, dword [esi + 0x2dc]
jge 0x1001f7eb
mov eax, dword [esi + 0x2d8]
cmp dword [eax + edi*4], 0
jg 0x1001f31b
inc edi
mov dword [esp + 0xc], edi
cmp edi, ecx
jl 0x1001f2f0
jmp 0x1001f323
mov dword [esp + 0x14], 1
mov ebx, dword [esi + 0x2d0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], 1
jmp 0x1001f33e
mov ecx, esi
call fcn.1003be41
mov ecx, ebx
mov edx, dword [esi + 0x2cc]
cmp ecx, edx
jge 0x1001f37b
nop word [eax + eax]
test ecx, ecx
js 0x1001f370
cmp ecx, edx
jge 0x1001f370
cmp ecx, dword [esi + 0x2f0]
jge 0x1001f7eb
mov eax, dword [esi + 0x2ec]
cmp dword [eax + ecx*4], 0
jg 0x1001f389
inc ebx
mov dword [esp + 0x10], ebx
mov ecx, ebx
cmp ebx, edx
jl 0x1001f350
cmp dword [esp + 0x14], 0
cmove ebx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
cmp edi, dword [esi + 0x54c]
jne 0x1001f39d
cmp ebx, dword [esi + 0x550]
je 0x1001f7ca
cmp dword [esi + 0x520], 0
jne 0x1001f506
lea ecx, [esi + 0x590]
call fcn.1002c7c0
mov eax, dword [esi + 0x274]
neg eax
push 0x10
sbb eax, eax
add eax, 4
mov dword [esi + 0x520], eax
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1001f3dd
cmp dword [ebp + 8], 9
jne 0x1001f3e9
mov dword [esi + 0x544], edi
mov dword [esi + 0x548], ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001f45b
mov eax, dword [esi + 0x20]
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], eax
call fcn.10041fe1
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x38], 0xffffff9c
test eax, eax
jne 0x1001f428
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001f45b
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001f45b
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
push 0x4e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.10022330
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001f4fc
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
push ebx
push edi
push 0x478
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x20]
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], eax
call fcn.10041fe1
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x38], 0xffffff9b
test eax, eax
jne 0x1001f4c9
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001f4fc
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001f4fc
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
push 0x4e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x520], 0
push ebx
push edi
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.10021a50
push ebx
push edi
mov ecx, esi
call fcn.100275d0
test eax, eax
jne 0x1001f791
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
cmp eax, 0x1f
ja case.0x1001f53b.10
movzx eax, byte [eax + 0x1001f848]
jmp dword [eax*4 + 0x1001f830]
xor edx, edx
mov ecx, dword [esi + 0x550]
sub ecx, 1
mov dword [esp + 0x14], edx
js 0x1001f572
cmp ecx, dword [esi + 0x2cc]
jge 0x1001f572
cmp ecx, dword [esi + 0x2f0]
jge 0x1001f7eb
mov eax, dword [esi + 0x2ec]
mov eax, dword [eax + ecx*4]
jmp 0x1001f575
or eax, 0xffffffff
cmp edx, eax
jge 0x1001f773
push 0
push 1
push 0x114
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x14]
inc edx
jmp 0x1001f544
xor edx, edx
mov ecx, dword [esi + 0x550]
mov dword [esp + 0x14], edx
test ecx, ecx
js 0x1001f5c5
cmp ecx, dword [esi + 0x2cc]
jge 0x1001f5c5
cmp ecx, dword [esi + 0x2f0]
jge 0x1001f7eb
mov eax, dword [esi + 0x2ec]
mov eax, dword [eax + ecx*4]
jmp 0x1001f5c8
or eax, 0xffffffff
cmp edx, eax
jge 0x1001f773
push 0
push 0
push 0x114
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x14]
inc edx
jmp 0x1001f598
push 0
push 1
push 0x115
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c], 1
jmp case.0x1001f53b.10
push 0
push 0
jmp 0x1001f5ed
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1001f6ce
cmp dword [esp + 0x2c], 0
je 0x1001f67b
push 0
push 0
push 0x115
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x300]
mov ecx, esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push 1
push eax
push 0
mov dword [esp + 0x28], 1
mov dword [esi + 0x554], 0xffffffff
mov dword [esp + 0x3c], 0x1c
mov dword [esp + 0x40], 4
call fcn.1003eeb0
jmp case.0x1001f53b.10
xor edx, edx
mov ecx, dword [esi + 0x550]
mov dword [esp + 0x14], edx
test ecx, ecx
js 0x1001f6aa
cmp ecx, dword [esi + 0x2cc]
jge 0x1001f6aa
cmp ecx, dword [esi + 0x2f0]
jge 0x1001f7eb
mov eax, dword [esi + 0x2ec]
mov eax, dword [eax + ecx*4]
jmp 0x1001f6ad
or eax, 0xffffffff
cmp edx, eax
jge 0x1001f773
push 0
push 0
push 0x114
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x14]
inc edx
jmp 0x1001f67d
cmp dword [esp + 0x2c], 0
je 0x1001f723
push 0
push 1
push 0x115
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
lea eax, [esp + 0x34]
mov dword [esp + 0x20], 1
push eax
push 0
mov ecx, esi
mov dword [esi + 0x554], 0xffffffff
mov dword [esp + 0x3c], 0x1c
mov dword [esp + 0x40], 4
mov dword [esp + 0x50], 0
call fcn.1003eeb0
jmp case.0x1001f53b.10
xor edx, edx
mov ecx, dword [esi + 0x550]
sub ecx, 1
mov dword [esp + 0x14], edx
js 0x1001f753
cmp ecx, dword [esi + 0x2cc]
jge 0x1001f753
cmp ecx, dword [esi + 0x2f0]
jge 0x1001f7eb
mov eax, dword [esi + 0x2ec]
mov eax, dword [eax + ecx*4]
jmp 0x1001f756
or eax, 0xffffffff
cmp edx, eax
jge 0x1001f773
push 0
push 1
push 0x114
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x14]
inc edx
jmp 0x1001f725
mov dword [esp + 0x20], 1
push ebx
push edi
mov ecx, esi
call fcn.10027100
push 1
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push edi
mov ecx, esi
call fcn.10027100
cmp dword [esp + 0x20], 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
je 0x1001f7b5
push 0
push 8
push 0x114
push dword [esi + 0x20]
call ebx
cmp dword [esp + 0x1c], 0
je 0x1001f7ca
push 0
push 8
push 0x115
push dword [esi + 0x20]
call ebx
push 0
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10174d8d
mov esp, ebp
pop ebp
ret 0xc
call fcn.100393ac
xor ch, ch
add dword [eax], edx
sbb ch, ch
add dword [eax], edx
cmp al, 0xed
add dword [eax], edx
and al, 0xed
add dword [eax], edx
push ebx
in eax, dx
add dword [eax], edx
add byte [esp + eax], al
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 1
add al, 0
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, byte [ebx + eax]
push cs
test byte [ecx], 16
xchg esi, eax
cmc
add dword [eax], edx
or dh, dh
add dword [eax], edx
inc edx
cmc
add dword [eax], edx
jmp 0x8b11fa3a