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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x487886
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4a9070]
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 0x454c9e
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.0044d744
add esp, 0x14
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00449cb4
xor edi, edi
cmp dword [ebx + 0x694], edi
je 0x454d9a
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 0x454d9a
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 0x454d9a
mov eax, ebx
call fcn.004489de
cmp dword [ebx + 0x660], edi
jle 0x455020
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 0x454e01
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x454e01
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 0x454e27
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x454e27
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 0x454eee
cmp dword [ebx + 0x660], edi
mov dword [esp + 0x10], edi
jle 0x45501e
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, dword [ebp + 0x10]
je 0x45518a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x454ed5
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 0x454ed5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
je 0x454ed5
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 0x454ed5
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 0x45518a
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x660]
jl 0x454e52
jmp 0x45501e
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.0044d744
and dword [esp + 0x24], 0
add esp, 0x14
cmp dword [ebx + 0x660], 0
jle 0x45500d
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, dword [ebp + 0x10]
je 0x455181
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x454ff9
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 0x454ff9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
mov eax, dword [esi]
mov ecx, esi
je 0x454fca
call dword [eax + 0x40]
push eax
lea eax, [ebx + 0x174]
push eax
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x454ff9
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 0x455181
push dword [esp + 0x50]
push dword [ebp + 8]
call edi
jmp 0x454ff9
call dword [eax + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x454ff9
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 0x455181
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x660]
jl 0x454f25
lea esi, [esp + 0x3c]
mov byte [esp + 0x80], 0
call fcn.0044d725
xor edi, edi
mov eax, dword [ebx + 0x694]
cmp eax, edi
je 0x4550bd
test dword [eax + 0x14], 0x200
je 0x4550bd
mov eax, dword [ebx + 0x5c]
cmp byte [eax + 0x14d], 0
je 0x4550bd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
test al, al
je 0x4550bd
cmp byte [ebx + 0x6b0], 0
je 0x4550bd
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 0x4550bd
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.004504b6
add esp, 0xc
mov eax, dword [ebx + 0x688]
cmp eax, edi
je 0x455117
cmp eax, dword [ebp + 0x10]
je 0x45518a
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x455117
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 0x455117
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 0x45518a
mov eax, dword [ebx + 0x68c]
cmp eax, edi
je 0x45519a
cmp eax, dword [ebp + 0x10]
je 0x45518a
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x45519a
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 0x45519a
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 0x45519a
xor bl, bl
lea esi, [esp + 0x58]
call fcn.0044d725
mov al, bl
jmp 0x454c89
lea esi, [esp + 0x3c]
call fcn.0044d725
lea esi, [esp + 0x58]
call fcn.0044d725
xor al, al
jmp 0x454c89
mov bl, 1
jmp 0x455171