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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a94d3
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4dd070]
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 0x461e34
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.00472e39
add esp, 0x14
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045fdb9
xor edi, edi
cmp dword [ebx + 0x694], edi
je 0x461f30
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 0x461f30
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 0x461f30
mov eax, ebx
call fcn.0045eae3
cmp dword [ebx + 0x660], edi
jle 0x4621b6
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 0x461f97
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x461f97
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 0x461fbd
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x461fbd
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 0x462084
cmp dword [ebx + 0x660], edi
mov dword [esp + 0x10], edi
jle 0x4621b4
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, dword [ebp + 0x10]
je 0x462320
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x46206b
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 0x46206b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
je 0x46206b
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 0x46206b
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 0x462320
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x660]
jl 0x461fe8
jmp 0x4621b4
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.00472e39
and dword [esp + 0x24], 0
add esp, 0x14
cmp dword [ebx + 0x660], 0
jle 0x4621a3
mov eax, dword [ebx + 0x65c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, dword [ebp + 0x10]
je 0x462317
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x46218f
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 0x46218f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
mov eax, dword [esi]
mov ecx, esi
je 0x462160
call dword [eax + 0x40]
push eax
lea eax, [ebx + 0x174]
push eax
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x46218f
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 0x462317
push dword [esp + 0x50]
push dword [ebp + 8]
call edi
jmp 0x46218f
call dword [eax + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x46218f
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 0x462317
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x660]
jl 0x4620bb
lea esi, [esp + 0x3c]
mov byte [esp + 0x80], 0
call fcn.00472e1a
xor edi, edi
mov eax, dword [ebx + 0x694]
cmp eax, edi
je 0x462253
test dword [eax + 0x14], 0x200
je 0x462253
mov eax, dword [ebx + 0x5c]
cmp byte [eax + 0x14d], 0
je 0x462253
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
test al, al
je 0x462253
cmp byte [ebx + 0x6b0], 0
je 0x462253
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 0x462253
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.00475ba6
add esp, 0xc
mov eax, dword [ebx + 0x688]
cmp eax, edi
je 0x4622ad
cmp eax, dword [ebp + 0x10]
je 0x462320
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x4622ad
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 0x4622ad
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 0x462320
mov eax, dword [ebx + 0x68c]
cmp eax, edi
je 0x462330
cmp eax, dword [ebp + 0x10]
je 0x462320
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x462330
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 0x462330
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 0x462330
xor bl, bl
lea esi, [esp + 0x58]
call fcn.00472e1a
mov al, bl
jmp 0x461e1f
lea esi, [esp + 0x3c]
call fcn.00472e1a
lea esi, [esp + 0x58]
call fcn.00472e1a
xor al, al
jmp 0x461e1f
mov bl, 1
jmp 0x462307