Function at 0x7ac31450
Capabilities:
Get process heap flags
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0xcc
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x7c], 0
test byte [0x7ac40fe0], 8
jne 0x7ac31680
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], 0
mov esi, dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [esp], eax
call esi
mov dword [ebp - 0x94], eax
sub esp, 8
test eax, eax
jne 0x7ac31510
cmp ebx, 0x81
jne 0x7ac314d8
test byte [0x7ac40fe0], 8
jne 0x7ac31760
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x90]
xor ecx, ecx
call fcn.7ac31390
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DefWindowProcW]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xdc]
test eax, 0x10000
je 0x7ac31628
lea edx, [ebx - 0x100]
cmp edx, 9
ja 0x7ac31628
mov edi, dword [ebp - 0x94]
mov eax, dword [edi + 0x108]
lea edx, [eax + 1]
mov dword [edi + 0x108], edx
mov edx, dword [edi + 0x10]
test edx, edx
je 0x7ac315ce
mov eax, dword [edi + 0xc]
mov dword [esp + 4], 0xfffffff4
mov dword [ebp - 0x58], eax
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
sub esp, 8
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], edx
lea edx, [ebp - 0x58]
mov dword [esp + 0xc], edx
mov dword [ebp - 0x50], 0x700
mov dword [ebp - 0x44], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4e
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov edx, eax
test eax, eax
jne 0x7ac31aa0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x98], eax
sub eax, 1
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x7c], 0
mov dword [ecx + 0x108], eax
test eax, eax
je 0x7ac31710
cmp ebx, 0xd2
ja 0x7ac31a70
cmp ebx, 0xb1
ja 0x7ac317e0
cmp ebx, 0x47
ja 0x7ac31958
test ebx, ebx
je case.0x7ac31a4f.1081
cmp ebx, 0x47
ja case.0x7ac31a4f.1081
jmp dword [ebx*4 + 0x7ac4b940]
test eax, 0x20000
je 0x7ac3163e
lea edx, [ebx - 0x200]
cmp edx, 0xe
jbe 0x7ac31536
test al, 8
jne 0x7ac316f8
cmp ebx, 0xd2
ja 0x7ac31a28
cmp ebx, 0xb1
ja 0x7ac317e0
cmp ebx, 0x47
ja 0x7ac31958
test ebx, ebx
je case.0x7ac31a4f.1081
cmp ebx, 0x47
ja case.0x7ac31a4f.1081
jmp dword [ebx*4 + 0x7ac4ba60]
lea eax, [ebx - 0xb0]
mov edx, ecx
cmp eax, 0x27
jbe 0x7ac31a60
lea ecx, [ebx - 0x432]
mov eax, 0x7ac4b7fa
cmp ecx, 0x4d
jbe 0x7ac317a0
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.enter_hwnd__p_msg__04x___s___Ix__Ix__unicode__d_n
mov dword [esp + 8], str.RichEditWndProc_common
mov dword [esp + 4], 0x7ac40fe0
mov dword [esp], 3
call fcn.7ac30820
jmp 0x7ac3147e
lea eax, [ebx - 0x114]
cmp eax, 1
ja 0x7ac31646
jmp 0x7ac31536
mov eax, dword [ebp - 0x94]
movzx edx, byte [eax + 0x14]
test dl, dl
js 0x7ac31c30
cmp ebx, 0xd2
ja 0x7ac317b0
cmp ebx, 0xb1
ja 0x7ac317e0
cmp ebx, 0x47
ja 0x7ac31958
test ebx, ebx
je case.0x7ac31a4f.1081
cmp ebx, 0x47
ja case.0x7ac31a4f.1081
jmp dword [ebx*4 + 0x7ac4bb80]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xc], str.WM_NCCREATE:_hwnd__p_style_0x_08lx_n
mov dword [esp + 8], str.RichEditWndProc_common
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], 0x7ac40fe0
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.7ac30820
jmp 0x7ac314b9
mov eax, dword [ecx*4 + 0x7ac4c5c0]
jmp 0x7ac316a5
cmp ebx, 0x460
ja case.0x7ac31a4f.1081
cmp ebx, 0x437
jbe 0x7ac31800
lea eax, [ebx - 0x438]
cmp eax, 0x28
ja case.0x7ac31a4f.1081
jmp dword [eax*4 + 0x7ac4bca0]
lea eax, [ebx - 0xb2]
cmp eax, 0x20
ja case.0x7ac31a4f.1081
jmp dword [eax*4 + 0x7ac4bd44]
cmp ebx, 0x102
je 0x7ac327d0
cmp ebx, 0x318
jne 0x7ac319c0
mov esi, dword [ebp - 0x94]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp], 5
call dword [eax + 0x70]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
lea edx, [ebp - 0x78]
mov ecx, esi
mov edi, eax
mov eax, dword [esi]
sub esp, 4
mov dword [esp], edx
call dword [eax + 0x60]
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x8c]
sub esp, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], eax
mov dword [esp + 4], edi
mov edi, dword [sym.imp.gdi32.dll_SelectObject]
mov dword [esp], esi
call edi
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x74]
sub esp, 8
cmp edx, eax
jl 0x7ac32cb6
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
cmp edx, ecx
jg 0x7ac32e28
mov edx, dword [ebp - 0x78]
cmp edx, eax
jg 0x7ac32dee
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x70]
cmp eax, edx
jg 0x7ac32c7c
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x68]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [eax + 0x10]
mov eax, dword [ebp - 0x98]
sub esp, 0x30
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
cmp ebx, 0xf
je 0x7ac32784
xor eax, eax
jmp 0x7ac314ff
cmp ebx, 0x87
jne case.0x7ac31a4f.1081
mov eax, dword [ebp + 8]
test eax, eax
jne 0x7ac31e6a
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x7c], 0x83
mov edx, dword [eax + 0xd4]
mov eax, 0x83
test dl, 2
je 0x7ac31998
mov dword [ebp - 0x7c], 0x87
mov eax, 0x87
and edx, 0x40
jne 0x7ac319a8
or eax, 8
mov dword [ebp - 0x7c], eax
lea esi, [esi]
nop
test byte [0x7ac40fe0], 8
je 0x7ac314ff
mov ecx, dword [ebp - 0x8c]
jmp 0x7ac31bae
cmp ebx, 0x100
jne case.0x7ac31a4f.1081
mov eax, dword [ebp - 0x8c]
movzx edx, ax
cmp ax, 0xd
je 0x7ac322ee
cmp edx, 0x1b
je 0x7ac32f39
cmp edx, 9
je 0x7ac32ed4
mov ecx, dword [ebp - 0x94]
lea esi, [ebp - 0x7c]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov dword [esp + 0xc], esi
mov esi, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x100
mov dword [esp + 8], esi
call dword [edx + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
cmp ebx, 0x460
ja case.0x7ac31a4f.1081
cmp ebx, 0x437
jbe 0x7ac31800
lea eax, [ebx - 0x438]
cmp eax, 0x28
ja case.0x7ac31a4f.1081
jmp dword [eax*4 + 0x7ac4bdc8]
mov eax, dword [eax*4 + 0x7ac4c960]
jmp 0x7ac316a5
cmp ebx, 0x460
ja case.0x7ac31a4f.1081
cmp ebx, 0x437
jbe 0x7ac31800
lea eax, [ebx - 0x438]
cmp eax, 0x28
ja case.0x7ac31a4f.1081
jmp dword [eax*4 + 0x7ac4be6c]
mov esi, dword [ebp - 0x94]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi + 0x108]
mov dword [ebp - 0x98], eax
sub eax, 1
mov dword [esi + 0x108], eax
je 0x7ac31c20
xor eax, eax
test byte [0x7ac40fe0], 8
je 0x7ac314ff
lea eax, [ebx - 0xb0]
mov ecx, dword [ebp - 0x8c]
cmp eax, 0x27
jbe 0x7ac328aa
lea esi, [ebx - 0x432]
mov eax, 0x7ac4b7fa
cmp esi, 0x4d
ja 0x7ac31aff
mov eax, dword [esi*4 + 0x7ac4c5c0]
mov dword [esp + 0x1c], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.exit__filtered__Iu__hwnd__p_msg__04x___s___Ix__Ix____0_n
mov dword [esp + 8], str.RichEditWndProc_common
mov dword [esp + 4], 0x7ac40fe0
mov dword [esp], 3
call fcn.7ac30820
xor eax, eax
jmp 0x7ac314ff
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], edx
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
nop
cmp esi, 1
je 0x7ac32340
mov eax, dword [ebp - 0x7c]
test byte [0x7ac40fe0], 8
je 0x7ac314ff
lea edx, [ebx - 0xb0]
mov ecx, dword [ebp - 0x8c]
cmp edx, 0x27
jbe 0x7ac31d63
lea esi, [ebx - 0x432]
mov edx, 0x7ac4b7fa
cmp esi, 0x4d
ja 0x7ac31bc5
mov edx, dword [esi*4 + 0x7ac4c5c0]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.exit_hwnd__p_msg__04x___s___Ix__Ix__unicode__d_____Iu_n
mov dword [esp + 8], str.RichEditWndProc_common
mov dword [esp + 4], 0x7ac40fe0
mov dword [esp], 3
call fcn.7ac30820
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x94]
cmp byte [eax + 0x14], 0
jns 0x7ac31ac4
test byte [0x7ac40fe0], 8
jne 0x7ac32838
mov esi, dword [ebp - 0x94]
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 8]
xor eax, eax
sub esp, 4
jmp 0x7ac314ff
mov edi, dword [ebp + 8]
test edi, edi
jne 0x7ac32947
mov eax, dword [ebp - 0x94]
and byte [eax + 0x14], 0xdf
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp], 0x100000
call dword [eax + 0x4c]
sub esp, 8
jmp 0x7ac31b89
cmp dword [ebp + 0xc], 1
lea eax, [ebp - 0x58]
lea esi, [ebp - 0x7c]
sbb edi, edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
not edi
and edi, 0x4b0
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.7ac2d2f0
mov edx, eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x94], edx
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], esi
mov esi, dword [ebp - 0x8c]
mov dword [esp + 8], edx
mov dword [esp], 0xc2
mov dword [esp + 4], esi
call dword [eax + 0xc]
mov edx, dword [ebp - 0x94]
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.7ac2d410
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x7c], eax
jmp 0x7ac31b80
mov ecx, dword [ebp - 0x94]
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp], esi
call dword [eax + 0x60]
sub esp, 4
mov esi, eax
jmp 0x7ac31b80
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0x7c]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + pe_nt_image_headers32]
sub esp, 4
mov eax, dword [ebp - 0x7c]
test byte [0x7ac40fe0], 8
je 0x7ac314ff
mov ecx, dword [ebp - 0x8c]
lea edx, [ebx - 0xb0]
mov edx, dword [edx*4 + 0x7ac4c960]
jmp 0x7ac31bc5
cmp dword [ebp - 0x8c], 1
mov edx, 3
mov dword [esp + 4], 0x44d
sbb eax, eax
and ah, 0xef
add eax, 0x800
cmp dword [ebp - 0x8c], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x90]
adc edx, 0xffffffff
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov eax, 1
jmp 0x7ac314ff
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x8c]
movzx edx, word [esi + 0x104]
cmp edx, eax
je 0x7ac31d47
mov ecx, dword [esi + 0xd4]
mov word [esi + 0x104], ax
mov edx, ecx
and edx, 0xffffffef
test eax, eax
je 0x7ac31dfb
or ecx, 0x10
mov eax, 0x10
mov edx, ecx
mov esi, dword [ebp - 0x94]
mov ecx, dword [esi + 8]
mov dword [esi + 0xd4], edx
mov edx, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp], 0x10
call dword [edx + 0x4c]
sub esp, 8
jmp 0x7ac31d47
mov eax, dword [ebp - 0x94]
mov esi, dword [ebp - 0x8c]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7ac32b96
mov eax, dword [ecx]
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x7c]
mov dword [esp + 4], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp], 0xc4
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
mov eax, dword [ebp - 0x94]
or byte [eax + 0x14], 2
jmp 0x7ac3196f
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x8c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov edi, dword [ebp + 8]
mov dword [esp + 4], 0x44e
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x98], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov edx, dword [ebp - 0x98]
sub esp, 0x10
cmp edx, 3
je 0x7ac32f83
ja 0x7ac32823
cmp edx, 1
je 0x7ac31ee0
mov edi, eax
cmp edx, 2
jne 0x7ac31ee0
or edi, dword [ebp + 8]
lea esi, [esi]
and edi, 0x14099c1
xor eax, edi
mov dword [ebp - 0x98], edi
mov edx, eax
and edx, 1
je 0x7ac31f0a
mov ecx, dword [ebp - 0x94]
mov edx, pe_nt_image_headers32
xor dword [ecx + 0xd4], 0x80
test al, 0x40
je 0x7ac31f24
mov ecx, dword [ebp - 0x94]
or edx, 0x10000
xor dword [ecx + 0xd8], 0x200000
test al, 0x80
je 0x7ac31f3e
mov ecx, dword [ebp - 0x94]
or edx, 0x10000
xor dword [ecx + 0xd8], 0x100000
test ah, 1
je 0x7ac31f53
mov ecx, dword [ebp - 0x94]
or edx, 0x20
xor dword [ecx + 0xd4], 0x20
test ah, 8
je 0x7ac31f68
mov ecx, dword [ebp - 0x94]
or edx, 4
xor dword [ecx + 0xd4], 4
test ah, 0x80
je 0x7ac31f7d
mov ecx, dword [ebp - 0x94]
or edx, 0x40
xor dword [ecx + 0xd4], 0x40
test eax, 0x1000000
je 0x7ac31fc4
mov ecx, dword [ebp - 0x94]
movzx ecx, byte [ecx + 0x14]
mov byte [ebp - 0x9c], cl
not ecx
mov edi, ecx
and edi, 8
mov ecx, edi
mov byte [ebp - 0x9d], cl
movzx ecx, byte [ebp - 0x9c]
and ecx, 0xfffffff7
or ecx, edi
mov edi, dword [ebp - 0x94]
mov byte [edi + 0x14], cl
test cl, 0x20
jne 0x7ac32eaf
or dh, 2
mov ecx, eax
and ecx, 0x1000
test eax, 0x400000
je 0x7ac32a86
mov edi, dword [ebp - 0x94]
or dh, 1
mov eax, dword [edi + 0xd4]
mov dword [ebp - 0x9c], eax
xor ah, 1
mov dword [edi + 0xd4], eax
test ecx, ecx
je 0x7ac32a67
mov edi, dword [ebp - 0x94]
movzx eax, byte [edi + 0x14]
mov ecx, eax
and eax, 0xfffffffb
not ecx
and ecx, 4
or eax, ecx
mov byte [edi + 0x14], al
test edx, edx
jne 0x7ac32a5b
mov eax, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
mov dword [esp + 4], 0xfffffff0
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call esi
and eax, 0xfebf663f
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], 0xfffffff0
and eax, 0x14099c0
or eax, edx
mov dword [esp + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
mov eax, dword [ebp - 0x7c]
jmp 0x7ac319a8
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x7ac32c64
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], esi
mov dword [esp], 0x44b
mov dword [esp + 4], edx
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x7ac329b4
cmp eax, 1
je 0x7ac32fc7
cmp eax, 3
je 0x7ac32fd1
mov dword [ebp - 0x7c], 0
xor eax, eax
jmp 0x7ac319a8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7ac32cef
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], esi
mov dword [esp], 0x47c
mov dword [esp + 4], edx
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
mov esi, dword [ebp - 0x94]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp], 5
call dword [eax + 0x70]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x8c]
sub esp, 4
test eax, eax
movzx eax, byte [esi + 0x14]
sete dl
mov byte [ebp - 0x94], al
shl edx, 6
and eax, 0xffffffbf
or eax, edx
mov byte [esi + 0x14], al
test al, 0x40
je 0x7ac3216d
mov eax, dword [ebp + 8]
mov dword [esi + 0x100], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [ebp - 0x7c]
sub esp, 0xc
jmp 0x7ac319a8
mov eax, dword [ebp - 0x94]
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x7c]
mov ecx, dword [eax + 8]
mov dword [eax + 0xdc], esi
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], esi
mov dword [esp], 0x445
mov dword [esp + 4], edx
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7ac32d76
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], esi
mov dword [esp], 0x47b
mov dword [esp + 4], edx
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
test edx, edx
je 0x7ac32a09
lea edx, [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov dword [esp], 0x43e
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
call eax
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x7c]
movzx edx, byte [ecx + 0x14]
mov esi, dword [ebp - 0x94]
mov ecx, dword [esi + 0xd4]
test cl, 4
je 0x7ac3227e
or ah, 8
mov dword [ebp - 0x7c], eax
test cl, 0x20
jne 0x7ac32289
or ah, 1
mov dword [ebp - 0x7c], eax
test cl, 0x40
je 0x7ac32294
or ah, 0x80
mov dword [ebp - 0x7c], eax
test cl, 0x80
je 0x7ac3229f
or eax, 1
mov dword [ebp - 0x7c], eax
and ch, 1
je 0x7ac322ac
or eax, 0x400000
mov dword [ebp - 0x7c], eax
mov esi, dword [ebp - 0x94]
mov ecx, dword [esi + 0xd8]
test cl, 0x80
je 0x7ac322c2
or al, 0x80
mov dword [ebp - 0x7c], eax
and ecx, 0x40
je 0x7ac322cd
or eax, 0x40
mov dword [ebp - 0x7c], eax
test dl, 4
je 0x7ac322d8
or ah, 0x10
mov dword [ebp - 0x7c], eax
and edx, 8
je 0x7ac319a8
or eax, 0x1000000
mov dword [ebp - 0x7c], eax
jmp 0x7ac319a8
mov esi, dword [ebp - 0x94]
movzx ecx, byte [esi + 0x14]
mov edx, ecx
mov byte [ebp - 0x98], cl
and edx, 3
cmp dl, 2
jne 0x7ac319f1
mov eax, esi
call fcn.7ac30690
test eax, eax
jne 0x7ac3206c
mov eax, dword [ebp - 0x8c]
jmp 0x7ac319f1
mov eax, dword [ebp + 8]
test byte [eax + 0x19], 8
je 0x7ac32b0a
lea esi, [esi]
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DefWindowProcW]
mov dword [ebp - 0x7c], eax
sub esp, 0x10
jmp 0x7ac31b8c
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x8c]
jne 0x7ac3206c
lea esi, [ebp - 0x68]
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetCursorPos]
mov eax, dword [ebp - 0x90]
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0x58]
sub esp, 8
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x60]
mov eax, dword [ebp - 0x68]
sub esp, 4
cmp dword [ebp - 0x58], eax
jg 0x7ac32f8d
cmp dword [ebp - 0x50], eax
jle 0x7ac32f8d
mov edx, dword [ebp - 0x64]
cmp dword [ebp - 0x54], edx
jg 0x7ac32f8d
cmp dword [ebp - 0x4c], edx
jle 0x7ac32f8d
mov esi, dword [ebp - 0x94]
mov ecx, dword [esi + 8]
mov esi, dword [ecx]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [esi + 0x1c]
sub esp, 0x24
jmp 0x7ac3206c
mov eax, dword [ebp - 0x90]
lea ebx, [ebp - 0x58]
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov esi, dword [ebp - 0x8c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetUpdateRect]
sub esp, 0xc
test eax, eax
je 0x7ac31db2
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx]
mov dword [esp], 5
call dword [eax + 0x70]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
sub esp, 4
mov edi, eax
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.user32.dll_FillRect]
sub esp, 0xc
mov dword [esp], edi
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
jmp 0x7ac31db2
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x8c]
test edi, edi
je 0x7ac32a4a
mov dword [ebp - 0x54], 1
add eax, eax
mov dword [ebp - 0x58], eax
mov eax, 0x4b0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x4c], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], 0
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x58]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], 0x45e
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
test byte [ebp + 0xc], 1
jne 0x7ac32560
mov esi, dword [ebp + 8]
test esi, esi
je 0x7ac32560
mov esi, dword [ebp + 8]
mov edi, str._rtf
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x7ac32560
mov esi, dword [ebp + 8]
mov edi, 0x7ac4b8fe
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
jne 0x7ac328b6
nop
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], esi
mov dword [esp], 0xc
mov dword [esp + 4], edx
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
mov eax, dword [ebp - 0x94]
mov esi, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
test esi, esi
je 0x7ac3291f
mov dword [esp], 0
call eax
mov edx, dword [ebp + 8]
sub esp, 4
test edx, edx
jne 0x7ac32e9d
mov dword [ebp - 0x98], 0x4b0
xor esi, esi
mov edi, dword [ebp - 0x94]
mov ecx, dword [edi + 8]
lea edi, [ebp - 0x58]
mov eax, dword [ecx]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x43b
call dword [eax + 0xc]
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x58]
sub esp, 0x10
mov ecx, dword [eax + 8]
and edx, 0xfffffffe
mov eax, dword [ecx]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
mov dword [esp], 0x445
call dword [eax + 0xc]
mov edi, dword [ebp - 0x94]
sub esp, 0x10
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov dword [esp], esi
call dword [eax + 0x38]
mov ecx, dword [edi + 8]
mov edx, dword [ebp - 0x58]
sub esp, 4
mov eax, dword [ecx]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], 0x445
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
sub esp, 0x10
test edx, edx
je 0x7ac3206c
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.7ac2d410
jmp 0x7ac3206c
mov eax, dword [ebp - 0x94]
movzx edx, byte [eax + 0x14]
and edx, 1
mov eax, 0xd
sub eax, edx
cmp dword [ebp + 0xc], 1
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x58], eax
sbb eax, eax
not eax
and eax, 0x4b0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x58]
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], 0x45f
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x108]
test eax, eax
jne case.0x7ac3161b.2
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 8]
xor eax, eax
sub esp, 4
jmp 0x7ac314ff
mov esi, dword [ebp - 0x94]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp], 5
call dword [eax + 0x70]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
lea edx, [ebp - 0x78]
mov ecx, esi
mov edi, eax
mov eax, dword [esi]
sub esp, 4
mov dword [esp], edx
call dword [eax + 0x60]
lea eax, [ebp - 0x58]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call dword [sym.imp.user32.dll_BeginPaint]
mov esi, eax
mov eax, dword [ebp - 0x50]
sub esp, 8
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
jmp 0x7ac3186b
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call dword [sym.imp.user32.dll_EndPaint]
xor eax, eax
sub esp, 8
jmp 0x7ac314ff
mov eax, dword [ebp - 0x94]
movzx edx, byte [eax + 0x14]
xor eax, eax
jmp 0x7ac32267
xor eax, eax
jmp 0x7ac32267
mov eax, dword [ebp - 0x94]
or byte [eax + 0x14], 0x80
xor eax, eax
jmp 0x7ac314ff
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp + 0xc]
mov word [ebp - 0x58], ax
test edi, edi
je 0x7ac32ac6
cmp eax, 0xd
je 0x7ac32a93
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
movzx edx, word [ebp - 0x58]
mov dword [esp + 8], esi
mov dword [esp], 0x102
mov dword [esp + 4], edx
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
jmp 0x7ac31b80
mov edi, dword [ebp + 8]
xor edi, eax
cmp edx, 4
cmovne edi, eax
jmp 0x7ac31ee0
lea eax, [ebx - 0xb0]
mov edx, dword [ebp - 0x8c]
cmp eax, 0x27
jbe 0x7ac32e61
lea ecx, [ebx - 0x432]
mov eax, 0x7ac4b7fa
cmp ecx, 0x4d
ja 0x7ac32864
mov eax, dword [ecx*4 + 0x7ac4c5c0]
mov dword [esp + 0x18], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.exit__filtered_deferred_release__hwnd__p_msg__04x___s___Ix__Ix____0_n
mov dword [esp + 8], str.RichEditWndProc_common
mov dword [esp + 4], 0x7ac40fe0
mov dword [esp], 3
call fcn.7ac30820
jmp 0x7ac31c3d
mov eax, dword [eax*4 + 0x7ac4c960]
jmp 0x7ac31aff
lea eax, [ebp - 0x58]
mov dword [esp], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call fcn.7ac2d2f0
lea edx, [ebp - 0x7c]
mov edi, eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], edi
mov dword [esp], 0xc
mov dword [esp + 4], edx
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
cmp dword [ebp + 8], edi
je 0x7ac31b80
mov dword [esp + 4], edi
mov dword [esp], 0
call fcn.7ac2d410
jmp 0x7ac31b80
mov dword [esp], 0
call eax
mov eax, dword [ebp + 8]
sub esp, 4
test eax, eax
jne 0x7ac32e6d
mov dword [ebp - 0x98], 0
xor esi, esi
jmp 0x7ac325d3
mov eax, dword [ebp - 0x8c]
cmp eax, 1
ja 0x7ac31b89
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x94]
mov edx, dword [esi]
mov dword [ecx + 0xf0], edx
mov edx, dword [esi + 4]
mov dword [ecx + 0xf4], edx
mov edx, dword [esi + 8]
mov dword [ecx + 0xf8], edx
mov edx, dword [esi + 0xc]
mov dword [ecx + 0xfc], edx
test byte [ecx + 0x14], 0x10
je 0x7ac3299d
sub dword [ecx + 0xf0], 1
add dword [ecx + 0xf8], 1
sub dword [ecx + 0xf4], 1
test eax, eax
je 0x7ac32fdb
mov eax, dword [ebp - 0x94]
or byte [eax + 0x14], 0x20
jmp 0x7ac31c6d
mov eax, 0x100000
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x94]
mov edx, 0
test ecx, ecx
mov ecx, dword [edi + 0xd8]
cmovne edx, eax
mov esi, ecx
and esi, eax
cmp esi, edx
je 0x7ac320d6
not eax
and eax, ecx
mov ecx, dword [edi + 8]
or eax, edx
mov dword [edi + 0xd8], eax
mov eax, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call dword [eax + 0x4c]
sub esp, 8
jmp 0x7ac320d6
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x7c]
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp], 0x434
call eax
mov eax, dword [ebp + 8]
mov edx, esi
mov ecx, edi
sub esp, 0x10
mov dword [ebp - 0x50], eax
mov byte [eax], 0
mov eax, dword [ebp - 0x94]
call fcn.7ac30410
mov esi, eax
jmp 0x7ac31b80
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x54], 1
jmp 0x7ac324d9
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xd4]
mov ecx, dword [ebp - 0x94]
and eax, edx
mov ecx, dword [ecx + 8]
mov edi, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [edi + 0x4c]
sub esp, 8
jmp 0x7ac3201e
test ecx, ecx
je 0x7ac32016
jmp 0x7ac31ffd
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax + 0x14]
mov byte [ebp - 0x98], al
and eax, 3
cmp al, 3
jne 0x7ac327ee
mov eax, dword [ebp - 0x94]
call fcn.7ac30690
test eax, eax
je 0x7ac327ee
jmp 0x7ac3206c
lea eax, [ebp - 0x58]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x8c]
sub esp, 0x18
jmp 0x7ac327e5
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov esi, dword [ebp - 0x94]
sub esp, 8
test byte [esi + 0x14], 0x20
je 0x7ac32b4d
mov eax, dword [ebp - 0x50]
sub eax, dword [esi + 0xe8]
add dword [esi + 0xf8], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [esi + 0xec]
add dword [esi + 0xfc], eax
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x94]
mov dword [esi + 0xe0], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [esi + 8]
mov dword [esi + 0xe4], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0xe8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0xec], eax
mov eax, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp], 0x100000
call dword [eax + 0x4c]
sub esp, 8
jmp 0x7ac32340
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], 0xffff
xor edi, edi
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x94], ecx
movzx eax, word [eax]
mov ecx, dword [ebp + 8]
mov word [ebp - 0x98], ax
mov word [ecx], di
test ax, ax
je 0x7ac31d47
mov dword [esp + 8], 0x1fffe
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x7ac31d47
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0x58]
mov word [edi], ax
mov eax, dword [ecx]
mov dword [esp + 4], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp], 0xc4
call dword [eax + 0xc]
sub esp, 0x10
mov esi, eax
test eax, eax
jne 0x7ac32c3b
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x7ac33006
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x7ac31b80
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x7c]
call fcn.7ac30410
mov esi, eax
jmp 0x7ac31b80
sub eax, edx
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x64]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x14], 0xf00021
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_PatBlt]
mov eax, dword [ebp - 0x70]
sub esp, 0x18
mov dword [ebp - 0x60], eax
jmp 0x7ac318bb
sub eax, edx
mov ecx, dword [ebp - 0x68]
mov dword [esp + 0x14], 0xf00021
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], edx
sub eax, ecx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_PatBlt]
mov eax, dword [ebp - 0x74]
sub esp, 0x18
mov dword [ebp - 0x64], eax
jmp 0x7ac31891
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x68]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], edx
mov eax, dword [eax + 8]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.7ac2d2f0
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x58]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp], 0x47c
mov dword [esp + 4], edx
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [ebp - 0x50]
sub esp, 0x10
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.7ac2d410
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
jmp 0x7ac31b80
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x68]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], edx
mov eax, dword [eax + 8]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.7ac2d2f0
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x58]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp], 0x47b
mov dword [esp + 4], edx
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [ebp - 0x50]
sub esp, 0x10
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.7ac2d410
jmp 0x7ac31b80
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x64]
sub edx, eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x64]
mov dword [esp + 0x14], 0xf00021
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_PatBlt]
mov eax, dword [ebp - 0x78]
sub esp, 0x18
mov dword [ebp - 0x68], eax
jmp 0x7ac318ad
sub edx, ecx
mov dword [esp + 0x14], 0xf00021
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 8], ecx
sub edx, eax
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_PatBlt]
mov eax, dword [ebp - 0x6c]
sub esp, 0x18
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x68]
jmp 0x7ac318a2
mov eax, dword [eax*4 + 0x7ac4c960]
jmp 0x7ac32864
mov dword [ebp - 0x98], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x68]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.7ac2d2f0
mov esi, eax
jmp 0x7ac325d3
mov dword [ebp - 0x98], 0x4b0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
jmp 0x7ac32e7d
and ecx, 8
mov edi, dword [ebp - 0x94]
cmp cl, 1
sbb ecx, ecx
or edx, 0x100200
and ecx, 0xfffffff0
add ecx, 8
add dword [edi + 0xf0], ecx
jmp 0x7ac31fc4
mov eax, dword [ebp - 0x94]
test byte [eax + 0x14], 2
je 0x7ac3206c
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x7ac3206c
mov dword [esp], 0x10
call dword [sym.imp.user32.dll_GetKeyState]
push edx
and eax, 0x8000
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x28
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [ebp - 0x7c]
sub esp, 0x10
jmp 0x7ac319a8
mov eax, dword [ebp - 0x94]
test byte [eax + 0x14], 2
je 0x7ac3206c
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x7ac3206c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov dword [esp], eax
call dword [sym.imp.user32.dll_PostMessageW]
sub esp, 0x10
jmp 0x7ac3206c
mov edi, dword [ebp + 8]
and edi, eax
jmp 0x7ac31ee0
mov edi, dword [ebp - 0x94]
mov eax, dword [edi]
mov esi, dword [eax + 0x4c]
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
mov ecx, edi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 8
jmp 0x7ac3206c
mov eax, 0x200000
jmp 0x7ac329b9
mov eax, 0x300000
jmp 0x7ac329b9
mov esi, dword [ebp - 0x94]
lea eax, [esi + 0xf0]
lea edx, [esi + 0xe0]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_IntersectRect]
sub esp, 0xc
jmp 0x7ac329a5
movzx edx, word [ebp - 0x98]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], edx
mov dword [ebp - 0x94], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x94]
sub esp, 0x20
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x7ac33079
mov ecx, dword [ebp - 0x9c]
cmp dword [ecx + 0x34], 0x7a
je 0x7ac3307f
mov ecx, dword [ebp + 8]
mov byte [eax + ecx], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x7c], eax
jmp 0x7ac32c3b
cmp edx, eax
jle 0x7ac3306e
jmp 0x7ac33067
mov dword [ebp - 0x58], edx
jmp 0x7ac3306e