Function at 0x450a6c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47cc5f
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x49e0b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
and dword [esp + 0x2c], 0
xor eax, eax
lea edi, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebx + 0x174]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x450ad8
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
and dword [esp + 0x80], 0
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x68]
push eax
mov eax, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
call fcn.00446bbc
add esp, 0x14
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044e99f
xor edi, edi
cmp dword [ebx + 0x694], edi
je 0x450bd4
mov eax, dword [ebx + 0x694]
mov ecx, dword [eax + 0x40]
push edi
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x48]
push edi
push edi
push dword [ebp + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x44]
push edi
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x50]
push ecx
push edi
push dword [ebp + 8]
mov ecx, eax
push edi
push edi
push edi
push 1
call dword [edx + 0x10]
cmp byte [ebx + 0x698], 0
je 0x450bd4
mov ecx, dword [ebx + 0x688]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
or dword [esp + 0x1c], 0xffffffff
or dword [esp + 0x20], 0xffffffff
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x694]
mov dword [esp + 0x10], edi
mov esi, dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [eax + 0x88]
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push edi
push edi
push eax
push 1
mov ecx, esi
call dword [edx + 0x44]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
cmp dword [esp + 0x10], eax
jg 0x450bd4
mov eax, ebx
call fcn.0044d6c8
cmp dword [ebx + 0x660], edi
jle 0x450e5a
mov eax, dword [ebx + 0x668]
lea esi, [ebx + 0x174]
lea edi, [esp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x66c]
add dword [esp + 0x20], eax
mov eax, dword [ebx + 0x670]
sub dword [esp + 0x24], eax
mov eax, dword [ebx + 0x674]
sub dword [esp + 0x28], eax
lea esi, [ebx + 0x688]
xor edi, edi
cmp dword [esi], edi
je 0x450c3b
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x450c3b
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub dword [esp + 0x24], eax
lea esi, [ebx + 0x68c]
cmp dword [esi], edi
je 0x450c61
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x450c61
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x450d28
cmp dword [ebx + 0x660], edi
mov dword [esp + 0x10], edi
jle 0x450e58
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, dword [ebp + 0x10]
je 0x450fc4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x450d0f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x450d0f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
test al, al
je 0x450d0f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
push eax
lea eax, [ebx + 0x174]
push eax
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x450d0f
push dword [ebp + 0x10]
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x138]
test al, al
je 0x450fc4
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x660]
jl 0x450c8c
jmp 0x450e58
mov byte [esp + 0x80], 1
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
call fcn.00446bbc
and dword [esp + 0x24], 0
add esp, 0x14
cmp dword [ebx + 0x660], 0
jle 0x450e47
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, dword [ebp + 0x10]
je 0x450fbb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x450e33
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x450e33
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
test al, al
mov eax, dword [esi]
mov ecx, esi
je 0x450e04
call dword [eax + 0x40]
push eax
lea eax, [ebx + 0x174]
push eax
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x450e33
push dword [esp + 0x54]
mov edi, dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp + 8]
call edi
push dword [ebp + 0x10]
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x138]
test al, al
je 0x450fbb
push dword [esp + 0x50]
push dword [ebp + 8]
call edi
jmp 0x450e33
call dword [eax + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x450e33
push dword [ebp + 0x10]
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x138]
test al, al
je 0x450fbb
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x660]
jl 0x450d5f
lea esi, [esp + 0x3c]
mov byte [esp + 0x80], 0
call fcn.00446b9d
xor edi, edi
mov eax, dword [ebx + 0x694]
cmp eax, edi
je 0x450ef7
test dword [eax + 0x14], 0x200
je 0x450ef7
mov eax, dword [ebx + 0x5c]
cmp byte [eax + 0x14d], 0
je 0x450ef7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
test al, al
je 0x450ef7
cmp byte [ebx + 0x6b0], 0
je 0x450ef7
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCaretPos]
push dword [esp + 0x18]
lea eax, [ebx + 0x174]
push dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x450ef7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x694]
mov edx, dword [eax + 0x1c]
push edi
push dword [eax + 0x18]
add edx, ecx
push dword [ebp + 8]
mov eax, 0xff000000
lea esi, [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], edx
call fcn.00449929
add esp, 0xc
mov eax, dword [ebx + 0x688]
cmp eax, edi
je 0x450f51
cmp eax, dword [ebp + 0x10]
je 0x450fc4
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x450f51
mov ecx, dword [ebx + 0x688]
mov eax, dword [ecx]
call dword [eax + 0x40]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450f51
push dword [ebp + 0x10]
mov ecx, dword [ebx + 0x688]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x138]
test al, al
je 0x450fc4
mov eax, dword [ebx + 0x68c]
cmp eax, edi
je 0x450fd4
cmp eax, dword [ebp + 0x10]
je 0x450fc4
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x450fd4
mov ecx, dword [ebx + 0x68c]
mov eax, dword [ecx]
call dword [eax + 0x40]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450fd4
push dword [ebp + 0x10]
mov ebx, dword [ebx + 0x68c]
push dword [ebp + 0xc]
mov eax, dword [ebx]
push dword [ebp + 8]
mov ecx, ebx
call dword [eax + 0x138]
test al, al
jne 0x450fd4
xor bl, bl
lea esi, [esp + 0x58]
call fcn.00446b9d
mov al, bl
jmp 0x450ac3
lea esi, [esp + 0x3c]
call fcn.00446b9d
lea esi, [esp + 0x58]
call fcn.00446b9d
xor al, al
jmp 0x450ac3
mov bl, 1
jmp 0x450fab