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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b66b0
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x74]
test ebx, ebx
jne 0x46b6f5
xor eax, eax
jmp 0x46b6f8
mov eax, dword [ebx + 4]
push esi
push edi
mov edi, dword [esp + 0x80]
push edi
push eax
push 0x136
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], eax
call fcn.00444970
mov dword [esp + 0xc], vtable.CRgn.0
lea eax, [esp + 0x3c]
mov dword [esp + 0x74], 0
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
push 5
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x46b89e
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
push ebp
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebp, eax
test ebp, 0x10000000
je 0x46b883
lea edx, [esp + 0x50]
push 0x20
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x20
lea eax, [esp + 0x54]
push 0x4d61c8
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x46b7b6
mov ecx, ebp
and ecx, 0xf
cmp cl, 7
je 0x46b883
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
push ecx
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call ebx
lea edx, [esp + 0x28]
push edx
push edi
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.CRgn.0
push edx
push ebp
push eax
push ecx
mov byte [esp + 0x88], 1
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 4
and eax, ebp
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x18], vtable.CObject.0
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x46b76a
mov ebx, dword [esp + 0x80]
pop ebp
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
pop edi
and eax, edx
pop esi
test ebx, ebx
jne 0x46b8b6
xor ecx, ecx
jmp 0x46b8b9
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x78]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_FillRgn]
mov dword [esp + 4], vtable.CGdiObject.0
lea ecx, [esp + 4]
mov dword [esp + 0x6c], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x64]
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret