Function at 0x1006e530
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20dc
call fcn.100ac6d0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, ecx
mov dword [ebp - 0x20a0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20bc], ebx
mov dword [ebp - 0x20a4], ecx
mov dword [ebp - 0x209c], eax
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2098], esi
push edi
test ecx, ecx
je 0x1006e598
cmp byte [ebx + 0x25c], 0
jne 0x1006e598
mov eax, dword [0x100eb254]
mov byte [ebx + 0x25c], 1
test eax, eax
je 0x1006e598
push 2
push ecx
call eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp edi, 0x100
je 0x1006e5c1
cmp edi, 0x104
je 0x1006e5c1
cmp edi, 0x101
je 0x1006e5c1
cmp edi, 0x105
jne 0x1006e609
cmp dword [ebx + 0x124], 0
je 0x1006e609
mov edx, dword [ebp + 0x10]
lea eax, [edx - 1]
cmp eax, 0xfe
ja 0x1006e609
cmp edx, 0xe5
je 0x1006e5e3
mov al, dl
jmp 0x1006e5f8
mov eax, esi
sar eax, 0x10
push 1
and eax, 0xff
push eax
call ecx
mov ecx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp al, byte [ebx + 0x128]
jne 0x1006e609
mov eax, dword [ebp - 0x20a0]
mov byte [eax], 1
xor al, al
mov byte [ebp - 0x2091], 0
mov byte [ebp - 0x20b1], 0
mov dword [ebp - 0x20a8], eax
mov byte [ebp - 0x2092], al
cmp edi, 0x100
je 0x1006e645
cmp edi, 0x104
je 0x1006e645
cmp edi, 0x101
je 0x1006e645
cmp edi, 0x105
jne 0x1006e6a1
mov edx, dword [ebp + 0x10]
lea eax, [edx - 1]
cmp eax, 0xfe
ja 0x1006e69b
cmp edx, 0xe5
je 0x1006e65e
mov al, dl
jmp 0x1006e66d
mov eax, esi
sar eax, 0x10
push 1
and eax, 0xff
push eax
call ecx
mov byte [ebp - 0x2092], al
mov dword [ebp - 0x20a8], eax
cmp edi, 0x100
je 0x1006e692
cmp edi, 0x104
je 0x1006e692
mov byte [ebp - 0x2091], 0
jmp 0x1006e6a1
mov byte [ebp - 0x2091], 1
jmp 0x1006e6a1
mov eax, dword [ebp - 0x20a8]
cmp edi, 0x201
je 0x1006e778
cmp edi, 0x202
je 0x1006e778
cmp edi, 0x204
je 0x1006e76e
cmp edi, 0x205
je 0x1006e76e
cmp edi, 0x207
je 0x1006e764
cmp edi, 0x208
je 0x1006e764
cmp edi, 0x20b
jne 0x1006e731
mov ecx, dword [ebp + 0x10]
test cl, 0x20
je 0x1006e70d
mov al, 5
mov dl, 1
mov byte [ebp - 0x2092], al
mov dword [ebp - 0x20a8], eax
mov byte [ebp - 0x2091], dl
jmp 0x1006e75e
test cl, 0x40
movzx eax, al
mov ecx, 6
mov dl, 1
cmovne eax, ecx
mov byte [ebp - 0x2091], dl
mov byte [ebp - 0x2092], al
mov dword [ebp - 0x20a8], eax
jmp 0x1006e75e
cmp edi, 0x20c
jne 0x1006e758
cmp byte [ebx + 0xd], 0
sete al
add al, 5
xor dl, dl
mov dword [ebp - 0x20a8], eax
mov byte [ebp - 0x2092], al
mov byte [ebp - 0x2091], dl
jmp 0x1006e75e
mov dl, byte [ebp - 0x2091]
test al, al
je 0x1006e7ad
jmp 0x1006e795
mov al, 4
cmp edi, 0x207
jmp 0x1006e780
mov al, 2
cmp edi, 0x204
jmp 0x1006e780
mov al, 1
cmp edi, 0x201
sete dl
mov dword [ebp - 0x20a8], eax
mov byte [ebp - 0x2092], al
mov byte [ebp - 0x2091], dl
movzx ecx, al
cmp byte [ecx + ebx + 8], 0
setne byte [ebp - 0x20b1]
test dl, dl
setne al
mov byte [ecx + ebx + 8], al
cmp edi, 0x113
jne 0x1006e7cd
cmp dword [ebp + 0x10], 0x80
jne 0x1006e7d2
mov ecx, dword [0x100ec614]
inc ecx
mov dword [0x100ec614], ecx
jmp 0x1006e7d8
cmp edi, 7
je 0x1006e7ec
mov ecx, dword [0x100ec614]
mov eax, 0xcccccccd
mul ecx
shr edx, 4
lea eax, [edx + edx*4]
shl eax, 2
sub ecx, eax
jne 0x1006e81d
xor esi, esi
mov edi, 0x8000
cmp byte [ebx + esi + 8], 0
je 0x1006e80b
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
test di, ax
jne 0x1006e80b
mov byte [ebx + esi + 8], 0
inc esi
cmp esi, 0x100
jl 0x1006e7f3
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x2098]
cmp edi, 0x201
je 0x1006eda0
cmp edi, 0x202
je 0x1006eda0
cmp edi, 0x204
je 0x1006eda0
cmp edi, 0x205
je 0x1006eda0
cmp edi, 0x200
je 0x1006eda0
cmp edi, 0x20a
je 0x1006eda0
cmp edi, 0x2a3
je 0x1006eda0
cmp edi, 0x410
jne 0x1006e88d
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x184], esi
jmp case.0x1006eef5.515
cmp edi, 0x240
jne 0x1006ebfd
cmp dword [0x100eb25c], 0
je case.0x1006eef5.515
cmp dword [0x100eb258], 0
je case.0x1006eef5.515
mov eax, dword [ebp + 0x10]
xor ecx, ecx
movzx eax, ax
mov edx, 0x28
mov dword [ebp - 0x2098], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100ab8c2
add esp, 4
mov dword [ebp - 0x20a0], eax
test eax, eax
je case.0x1006eef5.515
push 0x28
push eax
push dword [ebp - 0x2098]
push esi
call dword [0x100eb25c]
test eax, eax
je 0x1006ebe9
push esi
call dword [0x100eb258]
mov esi, dword [ebp - 0x20a4]
lea eax, [ebp - 0x2038]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebp - 0x2098], 0
jbe 0x1006ebe9
mov edi, dword [ebp - 0x20a0]
add edi, 0x10
nop
mov eax, 0x51eb851f
imul dword [edi - 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x20b0], eax
mov eax, 0x51eb851f
imul dword [edi - 0xc]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x20ac], eax
lea eax, [ebp - 0x20b0]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x20ac]
lea ecx, [ebp - 0x2020]
mov esi, dword [ebp - 0x20b0]
push ecx
lea ecx, [ebp - 0x2038]
mov dword [ebp - 0x2020], esi
push ecx
mov ecx, dword [ebx + 0x260]
mov dword [ebp - 0x201c], eax
call fcn.1001f220
mov edx, dword [edi]
mov ecx, edx
and ecx, 0x10
jne 0x1006e9b8
mov eax, dword [edi - 4]
add eax, 0x42d
mov dword [ebp - 0x2018], eax
jmp 0x1006e9c2
mov dword [ebp - 0x2018], 1
mov eax, dword [ebp - 0x2020]
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp - 0x201c]
mov dword [ebp - 0x2010], eax
test dl, 3
jne 0x1006eaf5
test dl, 4
je 0x1006eae6
mov dword [ebp - 0x200c], 0
test ecx, ecx
je 0x1006ebbf
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [ebp - 0x20b8], eax
call esi
mov esi, eax
mov eax, 0x88888889
imul esi
mov eax, dword [ebx + 0x114]
add edx, esi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp eax, ecx
jge 0x1006ebbf
mov ecx, dword [ebp - 0x20ac]
sub ecx, eax
mov eax, 0x88888889
imul esi
mov dword [ebp - 0x20c0], ecx
add edx, esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jle 0x1006ebbf
mov eax, dword [ebp - 0x20b0]
sub eax, dword [ebx + 0x110]
cdq
mov ecx, eax
mov eax, dword [ebp - 0x20c0]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jge 0x1006ebbf
mov eax, dword [ebp - 0x2030]
sub eax, dword [ebp - 0x2038]
cmp eax, dword [ebp - 0x20b8]
jge 0x1006eaac
mov eax, dword [ebp - 0x202c]
sub eax, dword [ebp - 0x2034]
cmp eax, esi
jl 0x1006ebbf
mov byte [ebx + 0x118], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [ebx + 0x260]
add ecx, 0xf34
mov dword [ebx + 0x11c], eax
call fcn.1003e080
mov ecx, dword [ebx + 0x260]
add ecx, 0xf34
call fcn.1003c5e0
jmp 0x1006ebbf
mov dword [ebp - 0x200c], 1
jmp 0x1006ebbf
mov dword [ebp - 0x200c], 1
test ecx, ecx
je 0x1006eb13
cmp byte [ebx + 0x108], 0
je 0x1006eb13
mov byte [ebx + 0x108], 0
mov eax, dword [edi]
test al, 0x10
je 0x1006ebbf
test al, 2
je 0x1006ebbf
cmp byte [ebx + 0x118], 0
je 0x1006ebad
mov ecx, dword [ebx + 0x260]
lea eax, [ebp - 0x2048]
push eax
add ecx, 0xf34
call fcn.1003e290
push dword [ebp - 0x20ac]
lea eax, [ebp - 0x2048]
push dword [ebp - 0x20b0]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1006eb74
mov eax, dword [ebx + 0x260]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0xc8]
mov eax, dword [ebx + 0x260]
mov ecx, 1
mov byte [ebx + 0x118], 0
mov byte [eax + 0xfc4], 0
add eax, 0xfd8
lock xadd dword [eax], ecx
mov ecx, dword [ebx + 0x260]
add ecx, 0xf34
call fcn.1003c5e0
mov esi, dword [ebp - 0x20b0]
mov eax, dword [ebp - 0x20ac]
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x114], eax
mov ecx, dword [ebp - 0x209c]
lea eax, [ebp - 0x2018]
push eax
call fcn.10030dc0
mov esi, dword [ebp - 0x20a4]
add edi, 0x28
dec dword [ebp - 0x2098]
jne 0x1006e930
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x20a0]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp case.0x1006eef5.515
cmp edi, 5
jne 0x1006ec1f
cmp byte [ebx + 0x10b], 0
je case.0x1006eef5.515
mov ecx, dword [ebp - 0x20a4]
call fcn.100711c0
jmp case.0x1006eef5.515
cmp edi, 0xff
jne 0x1006ed82
mov eax, dword [ebx + 0x260]
cmp byte [eax + 0xf2d], 0
je case.0x1006eef5.515
cmp byte [ebx + 0x10b], 0
je 0x1006ec50
cmp byte [ebx + 0x25d], 0
jne 0x1006ec5d
cmp byte [ebx + 0x1c8], 0
je case.0x1006eef5.515
push 0x10
lea eax, [ebp - 0x20a0]
mov dword [ebp - 0x20a0], 0
push eax
push 0
push 0x10000003
push esi
call dword [sym.imp.USER32.dll_GetRawInputData]
push 0x1fff
lea eax, [ebp - 0x2007]
mov byte [ebp - 0x2008], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [ebp - 0x20a0], 0x2000
ja case.0x1006eef5.515
push 0x10
lea eax, [ebp - 0x20a0]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x10000003
push esi
call dword [sym.imp.USER32.dll_GetRawInputData]
test eax, eax
je case.0x1006eef5.515
cmp dword [ebp - 0x2008], 0
jne case.0x1006eef5.515
test byte [ebp - 0x1ff8], 1
jne case.0x1006eef5.515
cmp byte [ebx + 0x1c8], 0
je 0x1006ed3f
movd xmm0, dword [ebp - 0x1fec]
movsd xmm1, qword [ebx + 0x1d8]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
addsd xmm0, qword [ebx + 0x1e0]
movsd qword [ebx + 0x1e0], xmm0
movd xmm0, dword [ebp - 0x1fe8]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
addsd xmm0, qword [ebx + 0x1e8]
movsd qword [ebx + 0x1e8], xmm0
jmp case.0x1006eef5.515
mov ecx, dword [ebx + 0x260]
add ecx, 0x18
call fcn.1005fc90
test al, al
jne case.0x1006eef5.515
mov ecx, dword [ebp - 0x1fec]
mov eax, dword [ebp - 0x1fe8]
test ecx, ecx
jne 0x1006ed6d
test eax, eax
je case.0x1006eef5.515
mov esi, dword [ebp - 0x209c]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.10070750
jmp case.0x1006eef5.515
cmp edi, 0x413
jne case.0x1006eef5.515
push dword [ebp - 0x209c]
mov ecx, ebx
call fcn.10070690
jmp case.0x1006eef5.515
lea eax, [ebp - 0x2038]
push eax
push dword [ebp - 0x20a4]
call dword [sym.imp.USER32.dll_GetClientRect]
movsx eax, si
shr esi, 0x10
movsx ecx, si
mov dword [ebp - 0x20b8], eax
mov dword [ebp - 0x20b0], eax
mov dword [ebp - 0x20c0], ecx
mov dword [ebp - 0x20ac], ecx
cmp edi, 0x20a
jne 0x1006edfb
lea eax, [ebp - 0x20b0]
push eax
push dword [ebp - 0x20a4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x20b0]
mov ecx, dword [ebp - 0x20ac]
mov edx, dword [ebx + 0x260]
mov dword [ebp - 0x2020], eax
mov dword [ebp - 0x201c], ecx
mov esi, dword [edx + 0xeb0]
test esi, esi
je 0x1006ee5f
cmp esi, 0xb4
je 0x1006ee5f
movd xmm1, dword [edx + 0x14]
movd xmm0, eax
mov eax, dword [ebp - 0x2030]
sub eax, dword [ebp - 0x2038]
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, qword [0x100ce140]
cvttsd2si esi, xmm1
movd xmm1, dword [edx + 0x10]
jmp 0x1006ee9d
movd xmm1, dword [edx + 0x10]
movd xmm0, eax
mov eax, dword [ebp - 0x2030]
sub eax, dword [ebp - 0x2038]
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, qword [0x100ce140]
cvttsd2si esi, xmm1
movd xmm1, dword [edx + 0x14]
mov eax, dword [ebp - 0x202c]
sub eax, dword [ebp - 0x2034]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x20a0], esi
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm0
movd xmm0, eax
lea eax, [edi - 0x200]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, qword [0x100ce140]
cvttsd2si ecx, xmm1
mov dword [ebp - 0x2098], ecx
cmp eax, 0xa3
ja case.0x1006eef5.515
movzx eax, byte [eax + 0x10070090]
jmp dword [eax*4 + 0x10070070]
inc dword [ebx + 0x1c4]
cmp byte [ebx + 0x10b], 0
je 0x1006f08c
mov eax, dword [ebx + 0x120]
test eax, eax
je case.0x1006eef5.515
cmp byte [ebx + 0x152], 0
mov esi, dword [ebp - 0x209c]
mov byte [ebx + 0x168], 1
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x158], xmm0
movd xmm0, dword [eax + 4]
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x160], xmm0
jne 0x1006ef95
movzx eax, byte [ebx + 0x128]
mov ecx, esi
mov dword [ebp - 0x2018], eax
cvttsd2si eax, qword [ebx + 0x170]
mov dword [ebp - 0x200c], 1
mov dword [ebp - 0x2014], eax
cvttsd2si eax, qword [ebx + 0x178]
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
call fcn.10030dc0
mov ecx, dword [ebx + 0x120]
push 2
mov dword [ebp - 0x2028], 1
mov dword [ebp - 0x201c], 1
mov eax, dword [ecx]
mov dword [ebp - 0x2024], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 0x260]
mov dword [ebp - 0x2020], eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2080]
push eax
call fcn.1001f570
push eax
mov ecx, esi
call fcn.10030dc0
cmp byte [ebx + 0x152], 0
je case.0x1006eef5.515
cmp byte [ebx + 0x153], 0
je case.0x1006eef5.515
movzx eax, byte [ebx + 0x128]
mov ecx, esi
mov dword [ebp - 0x2028], eax
cvttsd2si eax, qword [ebx + 0x170]
mov dword [ebp - 0x201c], 0
mov dword [ebp - 0x2024], eax
cvttsd2si eax, qword [ebx + 0x178]
mov dword [ebp - 0x2020], eax
lea eax, [ebp - 0x2028]
push eax
call fcn.10030dc0
mov eax, dword [ebx + 0x124]
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x170], xmm0
movd xmm0, dword [eax + 4]
mov eax, dword [ebx + 0x1bc]
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x178], xmm0
test eax, eax
je case.0x1006eef5.515
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebx + 0x1bc], 0
jmp case.0x1006eef5.515
cmp byte [ebx + 0x10f], 0
jne case.0x1006eef5.515
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, eax
and ecx, 0xffffff00
cmp ecx, 0xff515700
jne 0x1006f0b7
test al, al
js case.0x1006eef5.515
push dword [ebp - 0x20a4]
mov byte [ebx + 0x108], 1
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x2018], 1
mov dword [ebp - 0x200c], 1
mov dword [ebp - 0x2014], esi
mov eax, dword [ebp - 0x2098]
mov ecx, dword [ebp - 0x209c]
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
call fcn.10030dc0
jmp case.0x1006eef5.515
inc dword [ebx + 0x1c4]
cmp byte [ebx + 0x108], 0
je 0x1006f153
mov dword [ebp - 0x2014], esi
lea eax, [ebp - 0x2018]
mov esi, dword [ebp - 0x209c]
mov dword [ebp - 0x2010], ecx
mov ecx, esi
push eax
mov byte [ebx + 0x108], 0
mov dword [ebp - 0x2018], 1
mov dword [ebp - 0x200c], 0
call fcn.10030dc0
jmp 0x1006f159
mov esi, dword [ebp - 0x209c]
cmp byte [ebx + 0x168], 0
je 0x1006f1b7
mov ecx, dword [ebx + 0x120]
mov byte [ebx + 0x168], 0
push 2
mov dword [ebp - 0x2018], 1
mov eax, dword [ecx]
mov dword [ebp - 0x2014], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 0x260]
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2090]
mov dword [ebp - 0x200c], 0
push eax
call fcn.1001f570
push eax
mov ecx, esi
call fcn.10030dc0
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x20a4]
jne case.0x1006eef5.515
cmp byte [ebx + 0x109], 0
jne case.0x1006eef5.515
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x1006eef5.515
cmp byte [ebx + 0x10a], 0
jne case.0x1006eef5.515
sub esp, 8
mov ecx, edx
call fcn.1001f8a0
test al, al
jne case.0x1006eef5.515
push dword [ebp - 0x20a4]
mov byte [ebx + 0x109], 1
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebp - 0x2098]
mov ecx, dword [ebp - 0x209c]
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
mov dword [ebp - 0x2018], 2
mov dword [ebp - 0x200c], 1
mov dword [ebp - 0x2014], esi
call fcn.10030dc0
jmp case.0x1006eef5.515
cmp byte [ebx + 0x109], 0
je case.0x1006eef5.515
lea eax, [ebp - 0x2018]
mov dword [ebp - 0x2010], ecx
mov ecx, dword [ebp - 0x209c]
push eax
mov byte [ebx + 0x109], 0
mov dword [ebp - 0x2018], 2
mov dword [ebp - 0x200c], 0
mov dword [ebp - 0x2014], esi
call fcn.10030dc0
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x20a4]
jne case.0x1006eef5.515
cmp byte [ebx + 0x108], 0
jne case.0x1006eef5.515
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x1006eef5.515
cmp byte [ebx + 0x10b], 0
je 0x1006f4c4
cmp byte [ebx + 0x1c8], 0
jne 0x1006f4ad
lea ecx, [edx + 0x18]
call fcn.1005fc90
test al, al
jne 0x1006f4ad
mov eax, dword [ebx + 0x260]
cmp byte [eax + 0xf2d], 0
jne 0x1006f31c
mov eax, dword [ebp - 0x2098]
mov ecx, ebx
sub eax, dword [ebx + 0x184]
push eax
mov eax, esi
sub eax, dword [ebx + 0x180]
push eax
push dword [ebp - 0x209c]
call fcn.10070750
mov eax, 0x88888889
imul dword [0x100ec60c]
add edx, dword [0x100ec60c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov eax, dword [0x100ec60c]
shl ecx, 2
sub eax, ecx
jne 0x1006f3d2
push 2
push dword [ebp - 0x20a4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
lea ecx, [ebp - 0x2070]
push ecx
movdqu xmmword [ebp - 0x2070], xmm0
push eax
movdqu xmmword [ebp - 0x2060], xmm0
mov dword [ebp - 0x2070], 0x28
movq qword [ebp - 0x2050], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x1006f3d2
push 0x100ec5fc
push dword [ebp - 0x20a4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x2054]
mov edx, dword [ebp - 0x2050]
mov dword [0x100ec620], 0
mov dword [0x100ec61c], 0
mov dword [0x100ec624], ecx
mov dword [0x100ec628], edx
jmp 0x1006f3de
mov ecx, dword [0x100ec624]
mov edx, dword [0x100ec628]
movdqu xmm0, xmmword [ebp - 0x2038]
inc dword [0x100ec60c]
cmp dword [0x100ec5fc], 0
movdqu xmmword [ebp - 0x2018], xmm0
jge 0x1006f40f
mov eax, dword [ebp - 0x2038]
sub eax, dword [0x100ec5fc]
mov dword [ebp - 0x2018], eax
mov eax, dword [0x100ec600]
test eax, eax
jns 0x1006f41e
sub dword [ebp - 0x2014], eax
mov eax, dword [0x100ec604]
cmp eax, ecx
jle 0x1006f42f
sub ecx, eax
add dword [ebp - 0x2010], ecx
mov eax, dword [0x100ec608]
cmp eax, edx
jle 0x1006f440
sub edx, eax
add dword [ebp - 0x200c], edx
push 0xffffffffffffffce
push 0xffffffffffffffce
lea eax, [ebp - 0x2018]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp - 0x20ac]
lea eax, [ebp - 0x2018]
push dword [ebp - 0x20b0]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1006f4ad
lea eax, [ebp - 0x2020]
mov ecx, ebx
push eax
call fcn.1006d860
push dword [ebp - 0x201c]
push dword [ebp - 0x2020]
push 0x410
push dword [ebp - 0x20a4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x2020]
mov ecx, ebx
push eax
push dword [ebp - 0x20a4]
call fcn.1006d790
mov eax, dword [ebp - 0x2098]
mov dword [ebx + 0x180], esi
mov dword [ebx + 0x184], eax
jmp case.0x1006eef5.515
cmp byte [ebx + 0x108], 0
je 0x1006f4ff
lea eax, [ebp - 0x2018]
mov dword [ebp - 0x2010], ecx
mov ecx, dword [ebp - 0x209c]
push eax
mov dword [ebp - 0x2018], 1
mov dword [ebp - 0x200c], 1
mov dword [ebp - 0x2014], esi
call fcn.10030dc0
cmp byte [ebx + 0x109], 0
je 0x1006f540
mov eax, dword [ebp - 0x2098]
mov ecx, dword [ebp - 0x209c]
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
mov dword [ebp - 0x2018], 2
mov dword [ebp - 0x200c], 1
mov dword [ebp - 0x2014], esi
call fcn.10030dc0
cmp byte [ebx + 0x10c], 0
je case.0x1006eef5.515
mov eax, dword [ebp - 0x2098]
mov ecx, dword [ebp - 0x209c]
mov dword [ebp - 0x2020], eax
lea eax, [ebp - 0x2028]
push eax
mov dword [ebp - 0x2028], 0
mov dword [ebp - 0x201c], 0
mov dword [ebp - 0x2024], esi
call fcn.10030dc0
cmp byte [ebx + 0x10d], 0
je 0x1006f5aa
push 0
mov byte [ebx + 0x10d], 0
call dword [sym.imp.USER32.dll_ShowCursor]
cmp eax, 0xffffffff
je 0x1006f5aa
push eax
mov ecx, ebx
call fcn.10070360
mov eax, dword [ebp - 0x20a4]
xorps xmm0, xmm0
movq qword [ebp - 0x2014], xmm0
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
mov dword [ebp - 0x2018], 0x10
mov dword [ebp - 0x200c], 0
mov dword [ebp - 0x2014], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
jmp case.0x1006eef5.515
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movsx ecx, ax
mov eax, 0x88888889
imul ecx
mov eax, 0xfffffffd
add edx, ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, eax
cmovl esi, eax
mov eax, 3
cmp esi, eax
cmovg esi, eax
test byte [ebp + 0x10], 8
mov dword [ebp - 0x20a4], esi
je 0x1006f6bb
test esi, esi
je case.0x1006eef5.515
setg al
cmp byte [ebx + 0x21c], 0
mov byte [ebp - 0x20a4], al
jne 0x1006f686
push dword [ebp - 0x2098]
mov eax, dword [ebp - 0x20a0]
mov ecx, ebx
push eax
lea eax, [ebx + 0x22c]
mov byte [ebx + 0x21c], 1
push eax
lea eax, [ebx + 0x224]
mov dword [ebx + 0x220], 0
push eax
push dword [ebp - 0x20a4]
call fcn.1006d8d0
jmp 0x1006f698
cmp al, byte [ebx + 0x21d]
je 0x1006f698
mov dword [ebx + 0x220], 0
mov eax, esi
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx + 0x220], eax
mov al, byte [ebp - 0x20a4]
mov byte [ebx + 0x21d], al
jmp case.0x1006eef5.515
push dword [ebp - 0x20ac]
lea eax, [ebp - 0x2038]
push dword [ebp - 0x20b0]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.0x1006eef5.515
cmp byte [ebx + 0x10c], 0
je 0x1006f716
test esi, esi
je 0x1006f716
xor eax, eax
mov dword [ebp - 0x200c], 0
test esi, esi
setg al
add eax, 0x414
mov dword [ebp - 0x2018], eax
mov eax, dword [ebp - 0x20a0]
mov dword [ebp - 0x2014], eax
jmp 0x1006f0e4
cmp dword [ebx + 0x244], 0
jne 0x1006f756
mov eax, dword [ebp - 0x20a0]
mov dword [ebx + 0x234], eax
mov eax, dword [ebp - 0x2098]
mov dword [ebx + 0x238], eax
mov eax, dword [ebp - 0x20b8]
mov dword [ebx + 0x23c], eax
mov eax, dword [ebp - 0x20c0]
mov dword [ebx + 0x240], eax
mov byte [ebx + 0x248], 1
mov ecx, dword [ebx + 0x260]
lea eax, [ebp - 0x20d0]
push eax
call fcn.10012430
mov ecx, dword [ebx + 0x260]
lea esi, [eax + 4]
lea eax, [ebp - 0x20c8]
push eax
call fcn.10012430
mov ecx, dword [ebx + 0x260]
mov eax, dword [eax]
cmp eax, dword [esi]
jle 0x1006f799
lea eax, [ebp - 0x20d8]
push eax
call fcn.10012430
mov eax, dword [eax]
jmp 0x1006f7a8
lea eax, [ebp - 0x2040]
push eax
call fcn.10012430
mov eax, dword [eax + 4]
imul ecx, eax, 0x8c
mov eax, 0x51eb851f
imul ecx
mov eax, 0x66666667
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, dword [ebp - 0x20a4]
add ecx, dword [ebx + 0x244]
imul ecx
mov dword [ebx + 0x244], ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x254], eax
jne 0x1006f7ff
xor eax, eax
test ecx, ecx
setg al
lea eax, [eax*2 - 1]
mov dword [ebx + 0x254], eax
mov ecx, ebx
mov dword [ebx + 0x258], 0xf
call fcn.10071f20
test al, al
jne 0x1006f81f
mov ecx, ebx
call fcn.10071f80
test al, al
je case.0x1006eef5.515
mov dword [ebx + 0x258], 3
jmp case.0x1006eef5.515
mov esi, dword [sym.imp.USER32.dll_ShowCursor]
push 1
call esi
test eax, eax
je 0x1006f859
jle 0x1006f844
push 0
call esi
cmp eax, 0xffffffff
jmp 0x1006f84f
cmp eax, 0xffffffff
jge 0x1006f859
push 1
call esi
test eax, eax
je 0x1006f859
push eax
mov ecx, ebx
call fcn.10070360
mov byte [ebx + 0x10d], 1
cmp dword [ebx + 0x124], 0
je 0x1006facd
mov edx, dword [ebp - 0x20a8]
xor al, al
mov dword [ebp - 0x2098], eax
test dl, dl
je 0x1006fa87
mov al, byte [ebx + 0x128]
cmp dl, al
jne 0x1006f916
cmp byte [ebp - 0x2091], 0
jne 0x1006f8d2
mov ecx, dword [ebx + 0x260]
movzx esi, al
push esi
call fcn.10054920
test al, al
jne 0x1006f8d2
mov ecx, dword [ebx + 0x260]
push esi
call fcn.10054980
mov ecx, dword [ebp - 0x2098]
test al, al
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x2098], ecx
mov esi, dword [ebx + 0x260]
mov eax, dword [esi + 0xf94]
test eax, eax
je 0x1006f916
push dword [eax + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
push dword [esi + 0xf94]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0xf94], 0
lea eax, [esi + 0xfd8]
mov ecx, 1
lock xadd dword [eax], ecx
cmp byte [ebx + 0x1f8], 0
je 0x1006f95c
lea eax, [ebp - 0x2092]
push eax
lea eax, [ebp - 0x20bc]
lea ecx, [ebx + 0x1fc]
push eax
call fcn.100242c0
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x1fc]
je 0x1006fa8d
call esi
sub eax, 0xffffff80
mov dword [ebx + 0x204], eax
jmp 0x1006fa8d
mov eax, dword [ebx + 0x1fc]
mov edx, eax
mov esi, eax
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x20a8]
cmp byte [ecx + 0xd], 0
jne 0x1006f989
cmp byte [ecx + 0xe], dl
jae 0x1006f97f
mov ecx, dword [ecx + 8]
jmp 0x1006f983
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1006f975
mov ecx, dword [ebx + 0x1fc]
cmp esi, ecx
je 0x1006f99e
mov dword [ebp - 0x20b8], esi
cmp dl, byte [esi + 0xe]
jae 0x1006f9a4
mov dword [ebp - 0x20b8], ecx
lea ecx, [ebp - 0x20b8]
cmp dword [ecx], eax
je 0x1006fa87
cmp byte [ebp - 0x2091], 0
je 0x1006fa64
movdqa xmm0, xmmword [0x100ce4b0]
xor al, al
xor esi, esi
movzx edx, dl
mov dword [ebp - 0x20a0], eax
mov ebx, 0x8000
movdqu xmmword [ebp - 0x2018], xmm0
mov dword [ebp - 0x20b8], edx
lea edi, [esi + 1]
lea ebx, [ebx]
mov ecx, dword [ebp + esi*4 - 0x2018]
cmp ecx, edx
je 0x1006fa1d
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp - 0x20b8]
test bx, ax
mov eax, dword [ebp - 0x20a0]
movzx eax, al
cmovne eax, edi
mov dword [ebp - 0x20a0], eax
inc esi
cmp esi, 4
jb 0x1006f9f0
cmp byte [ebp - 0x20b1], 0
mov ebx, dword [ebp - 0x20bc]
mov edi, dword [ebp + 0xc]
jne 0x1006fa87
test al, al
jne 0x1006fa87
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
cmp byte [ebx + 0x10b], al
je 0x1006fa5b
mov al, 1
mov dword [ebx + 0x204], 0
mov dword [ebp - 0x2098], eax
jmp 0x1006fa8d
mov byte [0x100ec610], 1
jmp 0x1006fa8d
cmp byte [0x100ec610], 0
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
je 0x1006fa8d
mov byte [0x100ec610], 0
call esi
add eax, 0x60
mov dword [ebx + 0x204], eax
jmp 0x1006fa8d
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [ebx + 0x204], 0
je 0x1006faae
call esi
cmp dword [ebx + 0x204], eax
ja 0x1006faae
mov dword [ebx + 0x204], 0
mov al, 1
jmp 0x1006fab4
mov eax, dword [ebp - 0x2098]
cmp edi, 0x412
je 0x1006fac0
test al, al
je 0x1006facd
push dword [ebp - 0x209c]
mov ecx, ebx
call fcn.10070390
mov eax, dword [ebp - 0x20a8]
test al, al
je 0x1006fb02
cmp dword [ebx + 0x124], 0
je 0x1006fb02
cmp al, byte [ebx + 0x208]
jne 0x1006fb02
cmp byte [ebp - 0x2091], 0
jne 0x1006fb02
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, 0x1f4
mov dword [ebx + 0x20c], eax
cmp edi, 0x113
jne 0x1006ffc3
cmp dword [ebp + 0x10], 0x80
jne 0x1006ffc3
cmp byte [ebx + 0x10b], 0
je 0x1006ffb2
cmp byte [ebx + 0x1b8], 0
je 0x1006ffb2
mov esi, dword [ebx + 0x1bc]
test esi, esi
je 0x1006ff7b
mov eax, dword [ebx + 0x1c0]
cmp eax, dword [ebx + 0x1c4]
jne 0x1006ff62
cmp byte [ebx + 0x168], 0
jne 0x1006ff62
cmp byte [ebx + 0x108], 0
jne 0x1006ff62
cvttsd2si ecx, qword [ebx + 0x170]
mov eax, dword [ebx + 0x124]
mov edx, dword [esi]
mov eax, dword [eax]
sub edx, eax
mov dword [ebp - 0x20a0], edx
mov dword [ebp - 0x2098], ecx
sub ecx, eax
mov eax, edx
mov dword [ebp - 0x20bc], ecx
imul eax, ecx
test eax, eax
jle 0x1006ff22
mov eax, ecx
cdq
mov ecx, eax
mov eax, dword [ebp - 0x20a0]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
sub eax, ecx
cmp eax, 0x1e
jle 0x1006ff1c
cmp ecx, 0x78
jle 0x1006ff1c
movzx eax, byte [ebx + 0x128]
mov ecx, dword [ebp - 0x2098]
mov dword [ebp - 0x2018], eax
cvttsd2si eax, qword [ebx + 0x178]
mov dword [ebp - 0x2014], ecx
mov ecx, dword [ebp - 0x209c]
mov dword [ebp - 0x200c], 0
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
call fcn.10030dc0
mov eax, dword [ebx + 0x124]
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x170], xmm0
movd xmm0, dword [eax + 4]
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x178], xmm0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [sym.imp.MSVCR120.dll_rand]
mov dword [ebx + 0x19c], eax
mov byte [ebx + 0x198], 1
call esi
cdq
mov ecx, 5
idiv ecx
mov edi, 2
mov eax, edi
sub eax, edx
movd xmm0, eax
mov eax, dword [ebx + 0x260]
cvtdq2pd xmm0, xmm0
movd xmm1, dword [eax + 0x10]
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm0
movd xmm0, dword [eax + 0xf24]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si eax, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ebx + 0x170]
movsd qword [ebx + 0x170], xmm0
call esi
cdq
mov ecx, 5
idiv ecx
mov eax, dword [ebx + 0x260]
sub edi, edx
movd xmm1, dword [eax + 0x10]
movd xmm0, edi
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm0
movd xmm0, dword [eax + 0xf24]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si eax, xmm1
movd xmm0, eax
mov eax, dword [ebx + 0x1bc]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ebx + 0x178]
movsd qword [ebx + 0x178], xmm0
test eax, eax
je 0x1006fd1a
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebx + 0x1bc], 0
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 0x20c], 0
je 0x1006fe10
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [ebx + 0x20c], eax
ja 0x1006fe10
cmp byte [ebx + 0x10b], 0
je 0x1006fe06
movzx eax, byte [ebx + 0x128]
mov ecx, dword [ebp - 0x209c]
mov dword [ebp - 0x2018], eax
cvttsd2si eax, qword [ebx + 0x170]
mov dword [ebp - 0x200c], 0
mov dword [ebp - 0x2014], eax
cvttsd2si eax, qword [ebx + 0x178]
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
call fcn.10030dc0
mov ecx, dword [ebx + 0x124]
mov dword [ebp - 0x200c], 1
mov eax, dword [ecx]
mov dword [ebp - 0x2014], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x209c]
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
call fcn.10030dc0
mov eax, dword [ebx + 0x124]
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x170], xmm0
movd xmm0, dword [eax + 4]
mov eax, dword [ebx + 0x1bc]
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x178], xmm0
test eax, eax
je 0x1006fe06
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebx + 0x1bc], 0
mov dword [ebx + 0x20c], 0
cmp byte [ebx + 0x118], 0
je 0x1006fe4f
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebx + 0x11c]
cmp eax, 0x1388
jbe 0x1006fe4f
mov eax, dword [ebx + 0x260]
mov ecx, 1
mov byte [eax + 0xfc4], 0
add eax, 0xfd8
lock xadd dword [eax], ecx
inc ecx
mov byte [ebx + 0x118], 0
cmp byte [ebx + 0x109], 0
je 0x1006ffc3
cmp byte [ebx + 0xa], 0
jne 0x1006ffc3
lea eax, [ebp - 0x20b0]
mov byte [ebx + 0x109], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2038]
push eax
mov eax, dword [ebx + 0x260]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20b0]
push eax
mov eax, dword [ebx + 0x260]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x20b0]
mov ecx, dword [ebx + 0x260]
mov dword [ebp - 0x2020], eax
mov eax, dword [ebp - 0x20ac]
mov dword [ebp - 0x201c], eax
lea eax, [ebp - 0x2020]
push eax
lea eax, [ebp - 0x2038]
push eax
call fcn.1001f220
mov eax, dword [ebp - 0x2020]
mov esi, dword [ebp - 0x209c]
mov ecx, esi
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp - 0x201c]
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2018]
push eax
mov dword [ebp - 0x200c], 0
mov dword [ebp - 0x2018], 2
call fcn.10030dc0
jmp 0x1006ffc9
mov edx, dword [ebp - 0x20a0]
mov eax, edx
cdq
mov ecx, eax
mov eax, dword [ebp - 0x20bc]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x1006fd1d
cvttsd2si eax, qword [ebx + 0x178]
mov ecx, dword [ebp - 0x2098]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x1c4]
mov dword [ebx + 0x1c0], eax
jmp 0x1006fd1d
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebx + 0x1bc], 0
jmp 0x1006fd1d
push 8
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
cvttsd2si ecx, qword [ebx + 0x170]
mov dword [ebx + 0x1bc], eax
add esp, 4
cvttsd2si edx, qword [ebx + 0x178]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x1c4]
mov dword [ebx + 0x1c0], eax
jmp 0x1006fd1d
mov eax, dword [ebx + 0x1bc]
test eax, eax
je 0x1006fd1d
push eax
jmp 0x1006ff63
mov esi, dword [ebp - 0x209c]
mov al, byte [ebx + 0x1cb]
test al, al
je 0x1006ffea
movzx eax, al
cmp byte [eax + ebx + 8], 0
je 0x1006ffea
mov eax, dword [ebx + 0x260]
mov byte [eax + 0xf2c], 1
push esi
lea eax, [ebx + 8]
mov ecx, ebx
push eax
call fcn.1006e3e0
cmp edi, 8
jne 0x10070016
cmp byte [ebx + 0x10b], 0
je 0x1007005d
cmp byte [ebx + 0x129], 0
jne 0x1007005d
mov byte [ebx + 0x129], 1
jmp 0x10070055
cmp byte [ebx + 0x129], 0
je 0x1007005d
cmp edi, 7
je 0x10070045
cmp edi, 0x200
jne 0x1007005d
mov eax, dword [ebx + 0x260]
mov esi, dword [eax + 8]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x1007005d
mov esi, dword [ebp - 0x209c]
cmp byte [ebx + 0x10b], 0
mov byte [ebx + 0x129], 0
jne 0x1007005d
push esi
mov ecx, ebx
call fcn.10070390
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ab974
mov esp, ebp
pop ebp
ret 0x18