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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47fa6c
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4a20b0]
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 0x4535cf
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.004496cb
add esp, 0x14
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004514ab
xor edi, edi
cmp dword [ebx + 0x694], edi
je 0x4536cb
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 0x4536cb
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 0x4536cb
mov eax, ebx
call fcn.004501d4
cmp dword [ebx + 0x660], edi
jle 0x453951
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 0x453732
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x453732
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 0x453758
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x453758
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 0x45381f
cmp dword [ebx + 0x660], edi
mov dword [esp + 0x10], edi
jle 0x45394f
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, dword [ebp + 0x10]
je 0x453abb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x453806
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 0x453806
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
je 0x453806
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 0x453806
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 0x453abb
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x660]
jl 0x453783
jmp 0x45394f
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.004496cb
and dword [esp + 0x24], 0
add esp, 0x14
cmp dword [ebx + 0x660], 0
jle 0x45393e
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, dword [ebp + 0x10]
je 0x453ab2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x45392a
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 0x45392a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
mov eax, dword [esi]
mov ecx, esi
je 0x4538fb
call dword [eax + 0x40]
push eax
lea eax, [ebx + 0x174]
push eax
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x45392a
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 0x453ab2
push dword [esp + 0x50]
push dword [ebp + 8]
call edi
jmp 0x45392a
call dword [eax + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x45392a
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 0x453ab2
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x660]
jl 0x453856
lea esi, [esp + 0x3c]
mov byte [esp + 0x80], 0
call fcn.004496ac
xor edi, edi
mov eax, dword [ebx + 0x694]
cmp eax, edi
je 0x4539ee
test dword [eax + 0x14], 0x200
je 0x4539ee
mov eax, dword [ebx + 0x5c]
cmp byte [eax + 0x14d], 0
je 0x4539ee
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
test al, al
je 0x4539ee
cmp byte [ebx + 0x6b0], 0
je 0x4539ee
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 0x4539ee
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.0044c438
add esp, 0xc
mov eax, dword [ebx + 0x688]
cmp eax, edi
je 0x453a48
cmp eax, dword [ebp + 0x10]
je 0x453abb
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x453a48
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 0x453a48
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 0x453abb
mov eax, dword [ebx + 0x68c]
cmp eax, edi
je 0x453acb
cmp eax, dword [ebp + 0x10]
je 0x453abb
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x453acb
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 0x453acb
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 0x453acb
xor bl, bl
lea esi, [esp + 0x58]
call fcn.004496ac
mov al, bl
jmp 0x4535ba
lea esi, [esp + 0x3c]
call fcn.004496ac
lea esi, [esp + 0x58]
call fcn.004496ac
xor al, al
jmp 0x4535ba
mov bl, 1
jmp 0x453aa2